Repository navigation
Contributing
Eetu Palo edited this page Nov 3, 2026
·
2 revisions
The packs are built from the sources in the repository by build.ps1; nothing under packs/<pack>/ except descriptor.mod is written by hand, and its thumbnail.png is rendered from assets/thumbnail.json by the Modding Manager's New-HoiThumbnail.ps1. docs/source-format.md describes the source files and every switch.
- Clone the repository.
- Run
build.ps1 -DevLink -Pack <pack>to link one pack directly to your Hearts of Iron IV launcher. - Change the sources under
source/<pack>/, then runbuild.ps1 -Generate -Pack <pack>andbuild.ps1 -Check -Pack <pack>. - Execute validation with
build.ps1 -ValidateOnlyand tests withbuild.ps1 -Test.
- Photos come from Wikimedia Commons under public domain, CC0 or CC BY only, fetched with
build.ps1 -FetchPhoto, which checks the licence. - Portraits are made from those photos with a local ComfyUI and picked by the maintainer; no image from the game is ever committed.