• 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.

unmerged(51378)

Field Marshal
Dec 5, 2005
2.893
0
Hey.

I have several times tried to create a moddir folder, but always found myself not understanding anything. Maybe I'm just stupid, but could anyone be very kind and give me step-by-steps advice on how to do it?
 

Ayeshteni

Jehanne's Slave
111 Badges
Jul 31, 2002
6.280
106
  • 500k Club
  • Europa Universalis III Complete
  • March of the Eagles
  • Europa Universalis III Complete
  • Penumbra - Black Plague
  • Europa Universalis IV: Res Publica
  • Europa Universalis: Rome
  • Semper Fi
  • Sengoku
  • Victoria 2
  • Victoria 2: A House Divided
  • Rome: Vae Victis
  • 200k Club
  • Heir to the Throne
  • Cities: Skylines
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis III: Collection
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Pride of Nations
  • Rise of Prussia
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Cities: Skylines - After Dark
  • Hearts of Iron IV: No Step Back
  • Europa Universalis III
  • Hearts of Iron II: Armageddon
  • Crusader Kings II
  • 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
  • Darkest Hour
  • Deus Vult
  • A Game of Dwarves
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • For The Glory
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
SunZyl said:
Hey.

I have several times tried to create a moddir folder, but always found myself not understanding anything. Maybe I'm just stupid, but could anyone be very kind and give me step-by-steps advice on how to do it?

1) A moddir folder is a folder that goes inside your EU2 folder.
2) This folder (lets call it SunZylMod) 'acts' as your EU2 folder (I will explain this in a minute). The Shortcut you will use to run your mod will have its properties changed to read all the information from this folder BEFORE reading your EU2 folder.
3) The folders in your moddir folder will be set out as if SunZylMod was your EU2 folder. So you will have a DB folder, GFX folder etc (imaging that SunZylMod is your EU2 folder) so the layout is the same as your EU2 folder.
4) Only files you wish to change (from vanilla) will be in this folder. So for example if you want a new colourscales for your mod but do not want to have it for vanilla, you would place it in the SUNZYLMOD/MAP folder rather than the EU2/MAP folder. Different shields would go into SUNZYLMOD/GFX/SHIELDS folder rather than EU2/GFX/SHIELDS folder and so on.
5) Shortcut properties target field should be set to your moddir folder. So you would have "C:\Program Files\Paradox Entertainment\Europa Universalis 2\EU2.exe" SunZylMod (i.e. have a space after your address and then your moddir folder name. What this does is as I have explained. It reads all information from the moddir folder and uses those files rather than those in the EU2 folder. Any file it doesn't find in your moddir folder (i.e. you haven't changed so havent included) will be read from the EU2 folder instead (this way you do not need to put all EU2 files in your moddir folder, just the things you wish to change).

Thats it basically.

EDIT: a few more things. Your scenario files will be going into the moddir folder, so make sure the scenario file reads the correct files (inc files and events for example). As these new stuff will be in SUNZYLMOD/SCENARIOS/1419 folder (for the inc files) you must make sure that that is the 'address' you have down in your scenario file (i.e. they are not reading the inc files from the EU2/SCENARIOS/1419 folder.

As an example this is what I have for my NAJF campaign...

Code:
include = "scenarios\1419\1419_wal.inc"
include = "NAJF\scenarios\1419\1419_wur.inc"
include = "scenarios\1419\1419_xho.inc"
include = "scenarios\1419\1419_zan.inc"
include = "scenarios\1419\1419_zap.inc"
include = "scenarios\1419\1419_zim.inc"
include = "scenarios\1419\1419_zul.inc"
include = "NAJF\scenarios\1419\1419_con.inc"
include = "NAJF\scenarios\1419\1419_lei.inc"
include = "NAJF\scenarios\1419\1419_mst.inc"
include = "NAJF\scenarios\1419\1419_uls.inc"

etc. So that I point to inc files I have changed and I want to read (the bottom four is because I have four independent countries in Ireland) - just remember to make sure that everything is above board (in my case that I have hashed out EIR (ireland) tag, and that there is not two countries owning the same province etc.

Events: my scenario files read these:

Code:
include = "NAJF\scenarios\1419.inc"
include = "NAJF\db\events.txt"

the first is telling the game to read the NAJF 1419 inc file for the scenario (which has the changes I have just said) and the event.txt in the NAJF\DB\events.txt for my scenario which contains all the new events I want in my scenario (the entries in this events.txt will point to the events in vanilla and in my NAJF/DB/EVENTS folder

Code:
event = "db\events\major_tur.txt"
event = "db\events\major_tve.txt"
event = "NAJF\db\events\major_usa.txt"
event = "db\events\major_ven.txt"
event = "db\events\major_vie.txt"
event = "db\events\major_vij.txt"
.
.
.
#NAJF event files
event = "NAJF\db\events\whiteblob.txt"
event = "NAJF\db\events\swiss_events.txt"
event = "NAJF\db\events\borgia.txt"
event = "NAJF\db\events\burgundy.txt"
event = "NAJF\db\events\tradingstraits.txt"
event = "NAJF\db\events\celtic.txt"

like so.

Ayeshteni
 
Last edited:

unmerged(51378)

Field Marshal
Dec 5, 2005
2.893
0
Ah, thanks! :) I already knew the basic concept of moddir, what I had problems (mostly) was how I was gonna get the game to read the .exe file without me risking to be banned for piracy if I would distribute the mod on the forum. Now I know, thanks! :)
 

Ayeshteni

Jehanne's Slave
111 Badges
Jul 31, 2002
6.280
106
  • 500k Club
  • Europa Universalis III Complete
  • March of the Eagles
  • Europa Universalis III Complete
  • Penumbra - Black Plague
  • Europa Universalis IV: Res Publica
  • Europa Universalis: Rome
  • Semper Fi
  • Sengoku
  • Victoria 2
  • Victoria 2: A House Divided
  • Rome: Vae Victis
  • 200k Club
  • Heir to the Throne
  • Cities: Skylines
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis III: Collection
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Pride of Nations
  • Rise of Prussia
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Cities: Skylines - After Dark
  • Hearts of Iron IV: No Step Back
  • Europa Universalis III
  • Hearts of Iron II: Armageddon
  • Crusader Kings II
  • 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
  • Darkest Hour
  • Deus Vult
  • A Game of Dwarves
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • For The Glory
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
SunZyl said:
Ah, thanks! :) I already knew the basic concept of moddir, what I had problems (mostly) was how I was gonna get the game to read the .exe file without me risking to be banned for piracy if I would distribute the mod on the forum. Now I know, thanks! :)

Ah good. yes you just change the properties for the shortcut as I described.

Ayeshteni
 

unmerged(51378)

Field Marshal
Dec 5, 2005
2.893
0
Problems again...

I didn't get it... Could you give me a step-by-step description on... well.. how I create the .exe file. What I did was copying the program "EU2" in the Europa Universalis 2 folder, pasted it into the "SunZylMod" folder and created a shortcut. Yet it doesn't work. What am I doing wrong? :(
 

unmerged(6509)

Dominique de Villepin
Nov 25, 2001
215
1
www.total.net
Look on Havard's site on how to modify your shortcut.
 

Ayeshteni

Jehanne's Slave
111 Badges
Jul 31, 2002
6.280
106
  • 500k Club
  • Europa Universalis III Complete
  • March of the Eagles
  • Europa Universalis III Complete
  • Penumbra - Black Plague
  • Europa Universalis IV: Res Publica
  • Europa Universalis: Rome
  • Semper Fi
  • Sengoku
  • Victoria 2
  • Victoria 2: A House Divided
  • Rome: Vae Victis
  • 200k Club
  • Heir to the Throne
  • Cities: Skylines
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis III: Collection
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Pride of Nations
  • Rise of Prussia
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Cities: Skylines - After Dark
  • Hearts of Iron IV: No Step Back
  • Europa Universalis III
  • Hearts of Iron II: Armageddon
  • Crusader Kings II
  • 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
  • Darkest Hour
  • Deus Vult
  • A Game of Dwarves
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • For The Glory
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
SunZyl said:
Problems again...

I didn't get it... Could you give me a step-by-step description on... well.. how I create the .exe file. What I did was copying the program "EU2" in the Europa Universalis 2 folder, pasted it into the "SunZylMod" folder and created a shortcut. Yet it doesn't work. What am I doing wrong? :(

Ah, I should have explained better. :eek:o

You do NOT copy the .exe file. You do not have any exe file at all in your folder.

If you look at the address you put in the target field of properties...

"C:\Program Files\Paradox Entertainment\Europa Universalis 2\EU2.exe" SunZylMod

You will see that it reads the exe file in the normal EU2 folder. However by placing your folder AFTER the quotation marks (remember the space) it tells the game to use this folder for its files first (like an over-ride folder if you will).

so copy your ordinary EU2 shortcut and change the target field to have your folder name at the end (as above) and it will work

Ayeshteni