• 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.
Dec 15, 2002
579
0
What's moddir and where can I download it?
 

Steel

Field Marshal
56 Badges
May 4, 2001
7.689
0
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Hearts of Iron IV: Cadet
  • Europa Universalis IV: Rights of Man
  • Tyranny: Archon Edition
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Hearts of Iron IV: Together for Victory
  • Pillars of Eternity
  • Steel Division: Normandy 44
  • Europa Universalis IV: Mandate of Heaven
  • Steel Division: Normandy 44 Deluxe Edition
  • Europa Universalis IV: Third Rome
  • BATTLETECH
  • Hearts of Iron IV: Death or Dishonor
  • Age of Wonders III
  • Europa Universalis IV: Cradle of Civilization
  • Hearts of Iron IV: Expansion Pass
  • Shadowrun: Dragonfall
  • Shadowrun: Hong Kong
  • Imperator: Rome - Magna Graecia
  • Europa Universalis IV: Call to arms event
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Crusader Kings II
  • Hearts of Iron III
  • Majesty 2
  • Europa Universalis IV: Res Publica
  • Victoria 2
  • 500k Club
  • Cities: Skylines
  • Cities: Skylines Deluxe Edition
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Hearts of Iron II: Beta
Originally posted by Merlin_111
What's moddir and where can I download it?


It's a game feature which allows game files to be read from an alternate directory, thus avoiding problems with original game files being over-written.
 
Dec 15, 2002
579
0
How do I get moddir?
 
Dec 15, 2002
579
0
Okey. How do I install it?
 
Dec 15, 2002
579
0
Doesn't anyone know? I've tried the serch forums, but it doesnt work.
 

unmerged(14603)

Captain
Feb 10, 2003
464
0
Visit site
Since no one else has answered I will try.

moddir is already part of HOI - there is no need to install anything.

The 1.04 readme (which introduced moddir to HOI) says

"HoI can now be started with a "moddir" as an argument. This will make the game look for files in that directory structure before looking at the normal place."

This allows mods to change the content of files (such as infantry.txt) without destroying the basic HOI files. In this way both the mod and basic HOi can exist in the same installation without one destroying the other.

For example the CORE mod uses moddir. Their startup icon has the following command line:

Files\Strategy First\Hearts of Iron\HoI.exe" mod-CORE

What CORE has done is set up a directory called "mod-CORE" underneath the HOI main directory. The command line then uses the files in the mod-CORE directory.

moddir does not work perfectly. There are some "issues" that the modder needs to work around. I think you can find a discussion of that in the CORE thread.

My suggestion is to install a mod (such as CORE) that uses moddir and look at what was done as far as the directory-file structure is concerned.
 
Dec 15, 2002
579
0
Thanks.