Utilities for formats found in various Paradox games (Europa Universalis 3/4, Crusader Kings 2, Hearts of Iron 4 etc.)
There are also source files for some of my mods including Modern Times for CK2, Fun and Balance for EU4.
If you have any questions, feel free to create a github issue.
There are over 160 scripts in this repository.
You need ruby installed to run them.
If you're not sure how to run a script just run it without any arguments, and it should print you usage instructions. If it doesn't
On OSX you can just run them with:
$ folder/scriptname
On Windows depending on how you installed ruby, you'll need to use:
$ ruby folder/scriptname
$ jruby folder/scriptname
Most scripts follow similar order of arguments, like:
$ folder/scriptname path/to/save/file path/to/game
$ folder/scriptname path/to/save/file path/to/game path/to/mod1 path/to/mod2 ...
$ folder/scriptname path/to/game
$ folder/scriptname path/to/game path/to/mod1 path/to/mod2 ...
Save files must be text-based (not ironman), and not compressed.
bin/unpack_save
script can remove compression, but for removing ironman you'll need third party tools.
analysis_ck2
- script for analyses of CK2 game data and CK2 save gamesanalysis_eu4
- script for analyses of EU4 game dataanalysis_eu4_save
- script for analyses of EU4 save gamesanalysis_hoi4
- script for analyses of HOI4 game data and HOI4 save gamesbin
- various utilites that work with all gamesck2
- some CK2-specific codeck2_hacks
- some code snippets for CK2 that can go into mods to help with debuggingck2_modpack
- code to help me prepare CK2 modpack from many mods, and detect and fix issuesck2_mods
- source files for my various CK2 modsdata
- some graphics data needed by my modsdebug
- some debugging scriptseu4
- some EU4-specific codeeu4_idea_explorer
- data exporter for EU4 idea explorereu4_minimods
- tiny EU4 modseu4_trade_graph
- scripts to edit EU4 trade mapfun_and_balance
- source code for my Fun and Balance EU4 modhoi4
- some HOI4-specific codehoi4_division_designer
- data exporter for online HOI4 Division Designerlib
- code for parsing Paradox data formats, shared between gamesmod_tutorials
- source file for my "mission modding tutorial" blog post series (that never got finished)pictures
- thumbnails for my various modssave_game_scripts
- some very old EU4 save game analysis and modification scriptssave_modification_ck2
- CK2 broken save game fixing scriptssource
- empty folder for dropping links to game sources and modssublime_text_syntax
- Paradox .txt syntax highlighting for Sublime Texttest
- some tests for this codevisualization_ck2
- map visualization scripts for CK2visualization_eu4
- map visualization scripts for EU4visualization_hoi4
- map visualization scripts for HOI4