Paradox Mod Merger
A piece of shitty code i wrote to simplify merging Paradox Interacive's game modifications. Works for HOI4 and Stellaris.
Installation
-
install 7z and add it to path
-
install dotnet7.0 sdk
-
copy
Makefilein a new directory where mod merging will be happening -
set
CSPROJ_FILEandWORKSHOP_DIRinMakefile -
Build mod merger and copy it to your directory. On windows use
/usr/bin/make(from MSYS2 repository) instead of/mingw64/bin/makemake update_merger -
Prepare directories for each mod cathegory
make create_dirs -
Copy mods from workshop directory to human-readable directories. Automatically deletes trash files mod developers forgot about. Downloads mod descriptions from steam workshop.
make clear_workshop -
Copy mods from src/ to separate/ according to their cathegory.
- Example:
src/src_1999.12.31/Merger of rules->separate/pre/Merger of rules
- Example:
-
Now you can merge each cathegory using command
make <cathegory>. See other options of stellasis-mod-merger by command./merger -h.
dir structure
separate/ mods sorted by categories
├── content/
├── graphics/
├── localisation/
├── post/
├── pre/
├── ui/
└── unused/
src/
├── src_yyy.MM.dd_hh-mm-ss/
│ └── ... unsorted mods copied from steam workshop copied by clean_workshop task
└── ...
merged/
└── ... merged mod categories