• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

Firegolem

First Lieutenant
19 Badges
Oct 19, 2019
265
123
  • Stellaris: Apocalypse
  • Stellaris: Nemesis
  • Stellaris: Necroids
  • Crusader Kings III: Royal Edition
  • Crusader Kings III
  • Stellaris: Federations
  • Stellaris: Lithoids
  • Stellaris: Ancient Relics
  • Stellaris: Megacorp
  • Stellaris: Distant Stars
  • Crusader Kings II: The Old Gods
  • Stellaris: Humanoids Species Pack
  • Age of Wonders III
  • Stellaris: Synthetic Dawn
  • Knights of Honor
  • Stellaris - Path to Destruction bundle
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Stellaris
I've created a mod-updater tool for all your needs. You can now auto- update your whole mod scripts to the current version. It is also available as standalone EXE (for Windows, THX to @FragJacker) without warranty. Modifiers are currently not really touched (only few).

Standalone exe https://github.com/F1r3Pr1nc3/StellarisModpackUtility/blob/master/modupdater3.3.4.exe
* How to use: Simply drop the .exe file in your mod root folder and run it. It will scan all folders recursively in the current directory and update your scripts.

Py source script: https://github.com/F1r3Pr1nc3/StellarisModpackUtility/blob/master/modupdater3.8.py
* How to use: needs Python and tkinter module installed (for manually folder selection).
* With v.3.8 you can use the only_upto_version to update only to a specific version (so all the old script versions are not needed anymore).

THX @OldEnt for the detailed analysis.

Warning: as this script is more or less always WiP, you should better run it at backup(s) of your mod(s).

Few things are only warnings, as they need (more difficult) dependent decision for replacement/deletion.

Hints and suggestions for improvement are always appreciated.
 
Last edited:
  • 2Like
  • 1Love
Reactions:
Just updated with some more features. replace obsolete icon_frame(s) from army, ship, planet classes, e.g.:
JSON:
"1": "desert",
"2": "arid",
"3": "tundra",
"4": "continental",
"5": "tropical",
"6": "ocean",
"7": "arctic",
"8": "gaia",
"9": "barren_cold",
"10": "barren",
"11": "toxic",
"12": "molten",
"13": "frozen",
"14": "gas_giant",
"15": "machine",
"16": "hive",
"17": "nuked",
"18": "asteroid",
"19": "alpine",
"20": "savannah",
"21": "ringworld",
"22": "habitat",
"23": "shrouded",
"25": "city",
"26": "m_star",
"27": "f_g_star",
"28": "k_star",
"29": "a_b_star",
"30": "pulsar",
"31": "neutron_star",
"32": "black_hole"
 
Updated to 3.2:
There was not much to do. I added only 2 warnings (slot 0 & pc_ringworld_habitable) and 5-6 replacements (removed scripted effects and effect opt, reduction: guarantee_country, clear_uncharted_space ).

You can now also enable code cosmetic with code_cosmetic = True

EDIT: added 5 removed scripted triggers (pop_jobs/districts)
 
Last edited:
Update 3.3.
Added 2 more in-script choice (boolean) parameters (on request, overall):
Python:
only_warning  = False # True/False optional (if True, implies code_cosmetic = False)
code_cosmetic = False # True/False optional (only if only_warning = False)
only_actual   = False # speedup search to only last relevant version
The changes to 3.3 are still backward compatible (so I removed the 3.2 version).
 
Last edited:
Update 3.4.4.
The changes to 3.4 are heavy (and mostly can't be done automatically) so they are not backward compatible.
Added a new beta state parameter
Python:
mergerofrules = False   # Support global compatibility for The Merger of Rules; needs scripted_trigger file or mod
Try it out, have fun.
 
Last edited:
Update 3.8.
Added a new parameter to update only to a specific version:
Python:
only_upto_version = 3.6  # Only supports numbers as int or with one digit after the decimal point (only 3-3.8 is supported yet)
(so all the old script versions are not needed anymore).
* Some more fixes. Thanks to yggdrasil75 for command parameter options (+help doc) and compat fix.

Try it out, have fun:
 
Last edited: