Use the In-Game Community Mods - Original PA Mod Manager (PAMM) is Obsolete

Discussion in 'Released Mods' started by Raevn, August 17, 2013.

Thread Status:
Not open for further replies.
  1. bluestrike01

    bluestrike01 Active Member

    Messages:
    258
    Likes Received:
    66
    Updating to the latest version and now its complaining it can;t find the PA exe.
    B:\planAn\PA is where my PA.exe is located but when i enter B:\planAn\PA\PA.exe is says it can't find it.

    *edit* funny now it suddenly works :)
    But it does not see my previous installed mods .

    Nevermind looks like it uninstalled all mods ;)
    Last edited: January 24, 2014
  2. Raevn

    Raevn Moderator Alumni

    Messages:
    4,226
    Likes Received:
    4,324
    It isn't intelligent (yet) about detecting steam. It literally just checks a default location ("C:\Program Files (x86)\Steam\SteamApps\common\Planetary Annihilation\PA.exe") to see if it's there, if not it will prompt.

    Uber changed the modding system a few builds ago, moving the mods to a completely new location; therefore it appears as no mods are installed. Just need to re-install them from the online mods list :)


    Upcoming features being worked on:
    • PAMM properly checks to see if it has a network connection
    • Localisation support
    • Displays number of likes from the forum post for mods
    • Sort online mods list by Likes
    • PAMM now remembers last filter/sort settings
    • Settings screen
      • Set Default tab when PAMM is opened
      • Set log to verbose/debug modes
    • Log
    Credit to @DeathByDenim for several of these ideas :D
  3. proeleert

    proeleert Post Master General

    Messages:
    1,681
    Likes Received:
    1,656
  4. reallexx

    reallexx New Member

    Messages:
    19
    Likes Received:
    2
    getting the access denied message (yes/no) thing, the file is unblocked, not sure how to allow it in IE (sure its IE10 that is blocking it)
  5. cptconundrum

    cptconundrum Post Master General

    Messages:
    4,186
    Likes Received:
    4,900
    Can I use a wildcard in modinfo.json for loading files in a scene? I have a /themes folder and I don't want to make people modify modinfo.json every time they add a new theme.
  6. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
    cptconundrum likes this.
  7. cptconundrum

    cptconundrum Post Master General

    Messages:
    4,186
    Likes Received:
    4,900
    I mean I want to automatically load every is file in a folder. It isn't really necessary, but it simplifies the process of adding a new theme just a little.

    Each theme attaches itself to my mod object as a property then it loads. The mod object can then send the theme list to the settings manager for the drop-down option.

    If my mod could automatically attach theme files, they could be just Jason files instead of JavaScript. They wouldn't need to run any code themselves. My goal is to remove as much logic as possible from the theme files.
  8. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
    Make the player enter the name of the file of the json definition in the settings.
    cptconundrum likes this.
  9. cptconundrum

    cptconundrum Post Master General

    Messages:
    4,186
    Likes Received:
    4,900
    I would prefer to leave it as a drop-down for fast switching of themes. I can leave it the way it is, but it means my theme definitions have to be JavaScript and each theme needs to be in modinfo. A wildcard in PAMM's modinfo.Jason would let me load every JavaScript file in that folder automatically. A JavaScript function to read all the jsons in a folder would probably be ideal. I just don't like hard coding these file names in there.

    It's not a big deal though. I'm mostly just being OCD and a perfectionist.
  10. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
    Make the player write the name of the file and add that name to the combox thing from that point onwards?
    Or have an online webservice that serves a list of themes. Allow people to upload themes, etc...
    Perfectionism can go a long way. :p
    Actually using github as a host for that kind of thing probably would not even be that hard.
    cptconundrum likes this.
  11. proeleert

    proeleert Post Master General

    Messages:
    1,681
    Likes Received:
    1,656
    That's not needed.
    You can just load json's from your directory.
    I do it in hotbuild2 to load the defaults.
  12. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
    You can list all files in a direction using javascript?
    Cool

    EDIT:
    Now I am unhappy. It's impossible after all.
    Last edited: January 26, 2014
    cptconundrum likes this.
  13. cptconundrum

    cptconundrum Post Master General

    Messages:
    4,186
    Likes Received:
    4,900
    You have the defaults hard-coded in, and then you use getJSON. What I basically want is to be able to create a new json in your defaults folder with any name I want and then have the javascript still be able to load it. For security reasons, Javascript doesn't ever get that kind of filesystem access as far as I know. My workaround is to include each file in modinfo.json and then have a line of javascript at the top that attaches the file's contents to an existing object.

    I'm comfortable with leaving it as it is, but I was looking for a way to make it so that users could just drop a new file into the folder and run it. Right now they need to edit modinfo.json to get it to show up.
  14. proeleert

    proeleert Post Master General

    Messages:
    1,681
    Likes Received:
    1,656
    Ah yes didn't see you wanted to list from a folder that's indeed not possible with javascript.
    Maybe uber will make some api functions we can use to read /write files from our own mod folder.
  15. cptconundrum

    cptconundrum Post Master General

    Messages:
    4,186
    Likes Received:
    4,900
    I'm ok with using javascript files to define the themes though. Being able to use a wildcard in modinfo.json would let me do "coui://ui/mods/cPlanetNameThemes/themes/*.js" instead of list each one separately.
  16. fierceseaman

    fierceseaman New Member

    Messages:
    13
    Likes Received:
    0
    Is the host down? I'm unable to download the file.
  17. Raevn

    Raevn Moderator Alumni

    Messages:
    4,226
    Likes Received:
    4,324
    It's working fine for me, is anyone else having an issue?
  18. cptconundrum

    cptconundrum Post Master General

    Messages:
    4,186
    Likes Received:
    4,900
    Worked for me. I didn't try installing though. Did you mean the installer was broken?
  19. lokiCML

    lokiCML Post Master General

    Messages:
    1,973
    Likes Received:
    953
    Does anybody know what this error is? (error 800a003e)
    Raevn's_ PA_Mod_Manager_error800a003e.PNG
    Been looking around. Don't know what the solution is but some of the symptoms are unable to launch the game from the mod manager. Have to refresh to see anything. Can download and install mods. Any help would be appreciated.

    Downloads fine for me.
  20. Raevn

    Raevn Moderator Alumni

    Messages:
    4,226
    Likes Received:
    4,324
    800a003e is "input past end of file". Given the symptoms, I'm thinking it's something to do with the PAMM settings file, and the detection of where PA is installed.

    Try deleting pamm.json from C:\Users\<username>\AppData\Local\Uber Entertainment\Planetary Annihilation\pamm_cache\, and see if that corrects the issue. If it doesn't, where do you currently have PA installed?
Thread Status:
Not open for further replies.

Share This Page