Eu4 Mods Not Working
This tutorial will teach you how to add a new province to the EU4 map in a step by step manner.
I recommend that you use Notepad++ for coding, and Photoshop CS4 or above for editing the image files. GIMP and Paint.NET will work with the files used in this tutorial, but I will not be including specific instructions for them.
Azurewave technology inc desktop. Step 1 – Mod Setup
First, you need to create a mod. To do this on Windows, go to C:UsersNameDocumentsParadox InteractiveEuropa Universalis IVmod and create a folder.
May 11, 2018 Not so much the case on console, but installing mods incorrectly or with other mods which aren’t compatible can cause some pretty serious crashes and errors. The most common being ‘Not responding’ after launching the game. Thankfully, there are a few steps you can take in order to fix Fallout 4 mods not working. 1) Contact the publisher of the game and get them to unlock it (this sometimes works - Klei unlocked Invisible Inc workshop mods for example). 2) See if the mod is available elsewhere, such as Moddb or NexusMods - if not, contact the developer of the mod and get them to get their shit together. 3) Buy the game on Steam.
I will be calling this mod new_provinces, but you can call the folder whatever you want.
Once we have created the new_provinces folder, we need to create a new_provinces.mod. This is what the game reads to detect your mod.
Below is a basic .mod file for this tutorial:
The supported_version line should match the version of the game you are modding for. So in the future, you’d change the line to 1.15.*.* . The asterisks are wildcards used so your mod will work with any of the hotfixes pushed out for the version specified.
Now that we created our new_provinces.mod file, we need to place it in C:UsersNameDocumentsParadox InteractiveEuropa Universalis IVmod.
Navigate to C:UsersNameDocumentsParadox InteractiveEuropa Universalis IVmodnew_provinces, and create these folders:
- map
- localisation
Now go to your game installation, which for me is J:SteamLibrarySteamAppscommonEuropa Universalis IV. Copy the files specified below into C:UsersNameDocumentsParadox InteractiveEuropa Universalis IVmodnew_provincesmap:
- provinces.bmp
- default.map
- positions.txt
- definition.csv
- continent.txt
- area.txt
Only the first four are vital, but you will probably want to assign any new provinces to a continent (otherwise clicking on the province will cause a crash to desktop) and area.txt is used to add provinces to specific areas within the game (i.e. the Scottish Highlands)
Go to J:SteamLibrarySteamAppscommonEuropa Universalis IVlocalisation and copy these files into C:UsersNameDocumentsParadox InteractiveEuropa Universalis IVmodnew_provinceslocalisation
- prov_names_l_english.yml
Go to C:UsersNameDocumentsParadox InteractiveEuropa Universalis IVmodnew_provinceshistory and create a provinces folder. We will return to this folder once we have added the new province to the map files.
Step 2 – Editing the map
Now open default.map and change max_provinces to 4021 or higher. This number must be higher than the highest province id you are using, otherwise the game will not load any new province id definitions.
Open definitions.csv. Scroll to the bottom and you should see this:
The format following this pattern: province_id, red, green, blue, reference name. So, if I wanted to add a new province, I would do this:
I have added a new province definition for the province id of 4020, telling the game to look for the province with the colour (255, 20, 33) in provinces.bmp and to assign it the id of 4020.
We have now told the game to accept province IDs up to 4021 and added a province definition to for the province 4020.
Now open provinces.bmp in Photoshop. You should see a image very similar to this:
Now, I want to add this new province to Iceland, so I will zoom in on the area containing the Icelandic provinces:
Now, remember the colour code I set earlier for province ID 2026? It was 255, 20, 33.
So click on the Palette Picker and enter these values:
Now to add this new province, use the Pencil Tool set to 1 pixel and draw it in, as below. If you use the Paint Bucket tool, ensure that Anti-alias is disabled and Contiguous is enabled. Otherwise you will get feathering which will break the provinces.bmp.
Save provinces.bmp. You have now added the province ID 4020 to the province map, and will appear ingame like so:
This is obviously not we want, so what we need to do now is add the actual province information.
Step 3 – Adding province information
Navigate to C:UsersNameDocumentsParadox InteractiveEuropa Universalis IVmodnew_provinceshistoryprovinces.
Copy this file into that folder: J:SteamLibrarySteamAppscommonEuropa Universalis IVhistoryprovinces370 – Reykjavik.txt.
You may download and use the Content solely for your personal, non-commercial use and at your own risks. Instal printer canon ip2770 online. DisclaimerAll software, programs (including but not limited to drivers), files, documents, manuals, instructions or any other materials (collectively, “Content”) are made available on this site on an 'as is' basis.Canon Singapore Pte. And its affiliate companies (“Canon”) make no guarantee of any kind with regard to the Content, expressly disclaims all warranties, expressed or implied (including, without limitation, implied warranties of merchantability, fitness for a particular purpose and non-infringement) and shall not be responsible for updating, correcting or supporting the Content.Canon reserves all relevant title, ownership and intellectual property rights in the Content.
Now copy it and rename it 4020 – Province Name. You can name the province anything you want after the hyphen.
Now open this new file and edit it so it looks like this:
This will give the new province to Norway and give it the Norwegian culture and the Catholic religion. Now launch your game with the mod enabled and you should see:
Almost there! We will now add the province to continent.txt and region.txt.
Open up continent.txt and under europe = { add 4020, telling the game that province id is on the European continent.
Then open area.txt and under subarctic_islands_area = { and add 4020 to the list there.
Which area a province belongs to is dependent on where you are adding new provinces, and if you have created a new area, in which case you might want to make a new area. To do so, you’d add this to the bottom of area.txt:
Step 4 – Adding localisation
We have now added a new province to Iceland, but the province name is PROV4020. This means that province does not have an entry in prov_names_l_english.
Therefore we need to add one. Go to C:UsersNameDocumentsParadox InteractiveEuropa Universalis IVmodnew_provinceslocalisationprov_names_l_english and open it with Notepad++.
Now scroll to the bottom and add a new entry:
Make sure you have a space in front of this new entry to maintain the correct format.
Save this file and in game you should see:
Step 5 – Adding new positions
We will now add the new province to positions.txt. Launch EU4 and once in game, use the nudge command in the console to open up the positions editor. Below is an example of me using the positions editor.
Have an experiment with the various modes to ensure the province matches your desires.
Once you have modified the information, click Save.
The game will generate a new file in C:UsersNameDocumentsParadox InteractiveEuropa Universalis IVmap called positions.txt.
Copy it to C:UsersNameDocumentsParadox InteractiveEuropa Universalis IVmodnew_provincesmap and overwrite the current positions.txt within your mod.
Return to C:UsersNameDocumentsParadox InteractiveEuropa Universalis IVmap and delete the positions.txt, otherwise the game will load this version over the version within your mod.
Conclusion
You have now added a new province to the Europa Universalis 4 map. In addition to the steps above, you may need to add new province IDs to these files found in the common folder:
- 00_colonial_regions.txt – Assigns the province id to a specific colonial region for use with colonial nations.
- 00_tradenodes.txt – Assigns the province to a trade region. Without adding a new province here the province will belong to no region.
- 00_trade_companies.txt – Assigns the province id to a specific trade company region.
- 00_natives.txt – Controls which natives, if any appear in a province. If your province is not found in this file and is colonisable, then the Kill Natives button with Armies will fail to work.