Hoi4 modding Wiki

The .mod file is the file that tells the HOI4 launcher where your mod is located, and as a result it will show up in the launcher's mod list. In windows, the mod folder files are saved in :

 Documents\Paradox Interactive\Hearts of Iron IV\mod

(This folder might not exist yet if you haven't downloaded any mods yet.)

When playing the game through steam, this folder will be filled with .mod files from all the mods you have downloaded from the steam workshop. The link to where the actual mod is located can be found inside the .mod files. The .mod files are best saved in UTF-8 BOM encoding.

Example of a .mod file for an archive (.zip) mod :

archive="C:\\Steam\\program files\\workshop\\content\\684652\\4564628875/Mod"

To use relative pathing for a folder you can use this :

name="~ World Imperia"
	"Alternative History"
	"National Focuses"

Warning: When using relative paths, the relative path starts moved up one directory from where you might expect.

Tip: You can use asterisk (*) within the version, so that it supports all versions regardless of the number that was replaced with the asterisk.

Tip: For google drive support in windows, you can use the following path :

path="../../../Google Drive/mymod/"

(the ".." means it moves up one directory)