ThibautSF / ParadoxosModManager

Software to manage mods for recent Paradox games
36 stars 6 forks source link

Custom load order no longer applied #58

Open Mithril-Leaf opened 4 years ago

Mithril-Leaf commented 4 years ago

When using the custom load order feature currently, mods are made into local mods as appropriate. However once that is done, those mods are no longer sorted properly in the launcher, basically being randomly sorted. This feature previously worked, but something seems to have broken it.

Shadowedcross commented 4 years ago

I'm having the same issue, it's frustrating because I need the function for a collection I'm trying to use.

Perhelion commented 4 years ago

I used the tool first time (I've over 260 mods installed) and now I must see it is not working. Are the old versions not working to?

Perhelion commented 4 years ago

I see now the tool is fully missing the 2.5.* compatible support for the official (Stellaris) mod launcher. As the load order is stored in the ´game_data.json´ (not in the ´dlc_load.json´)

https://github.com/ThibautSF/ParadoxosModManager/blob/master/ParadoxGameModManager/supported_games.json

Perhelion commented 4 years ago

(As I've yesterday learned Python) I've written a script to solve this for Stellaris. (The script expects the correct order in the dlc_load.json (removes the 'pmm_' prefix from PMM) to simply translate them in to the official launcher manager ids in game_data.json): https://gist.github.com/Perhelion/990b67406e0a15359ae08b97e7d415d4

PS: Backup your "game_data.json" first, as PMM can only handle the load order of enabled mods. Update: Better handling of disabled mods order simultaneously (needs custom order enabled in tool) Edit: Code replaced with Gists link

Vargtazz commented 4 years ago

Sry but where does the script go?

danielnichols commented 4 years ago

Sry but where does the script go?

Looks like a python script that can be run from anywhere, but it may have issues if the stellaris user files are not in the default location

Edit: I should note that this script isn't foolproof as some mods have the status of "invalid_mod" in the mod registry (this is not visible in launcher ui) and these mods don't have a registry id, causing the script to crash

Perhelion commented 4 years ago

@Hexellate Yea, I fixed this and made the script much more robust (now a own gist): https://gist.github.com/Perhelion/990b67406e0a15359ae08b97e7d415d4 @Vargtazz PS: If your system not get the python path (after you installed python3), search the python.exe and run from the shell (or simply put the py in the python path), eg: Python34\python.exe someFile.py

Vargtazz commented 4 years ago

Thanks for the help. Got it working now.

Perhelion commented 4 years ago

I made today also a FIX-script for a annoying defect mods_registry (invalid or double registration, local instead steam location etc...) https://gist.github.com/Perhelion/90733950e78a68c0fe89282edb0eaeff

KarlSchwartz commented 4 years ago

hello there! opened a new issue, dunno if was important, btw, mod list order it's not working since yesterday with the new launcher version