Difference between revisions of "EU4 Converter modding"

From Crusader Kings II Wiki
Jump to navigation Jump to search
(Added religion_table.csv based upon culture_table.csv)
m (Clarified folders)
Line 1: Line 1:
 
The [[Europa Universalis 4 Save Converter]] is a DLC that was released together with patch 1.11.  
 
The [[Europa Universalis 4 Save Converter]] is a DLC that was released together with patch 1.11.  
  
In order to modify it, you need to edit the Crusader Kings II\'''eu4_converter\''' folder, in which all files related to the EUIV converter are stored. The vanilla files are inside ''DLC\dlc030.zip''.  
+
In order to modify it, you need to add a \'''eu4_converter\''' folder to your mod, in which all files related to the EUIV converter should be stored. The vanilla files are inside ''DLC\dlc030.zip''.  
  
 
Modifying the converter does not change the checksum of the game.  
 
Modifying the converter does not change the checksum of the game.  

Revision as of 06:18, 27 November 2016

The Europa Universalis 4 Save Converter is a DLC that was released together with patch 1.11.

In order to modify it, you need to add a \eu4_converter\ folder to your mod, in which all files related to the EUIV converter should be stored. The vanilla files are inside DLC\dlc030.zip.

Modifying the converter does not change the checksum of the game.

religion_table.csv

In religion_table.csv, what Europa Universalis IV religion a Crusader Kings II religion converts to is defined.

The format of the file is the following:

CK2 religion;EU4 religion;Whether or not the religion is custom defined by the converter;EU4 religion name

Here are two examples:

finnish_pagan_reformed;finnish_pagan_reformed;1;Reformed Suomenusko

In this case, finnish_pagan_reformed is the name of the religion in Crusader Kings II (religions are defined in the \common\religions folder), finnish_pagan_reformed is the religion the converter will map it to in Europa Universalis IV (as it is custom it is defined in the \eu4_converter\copy\common\religions folder), 1 implies that it is a custom religion from the converter, and Reformed Suomenusko is the name of the religion in Europa Universalis IV.

catholic;catholic;0;Catholic

In this case, the catholic religion is already present in Europa Universalis IV, so the value is set to 0, and the converter will map it to the existant religion in Europa Universalis IV (religions are defined in the common\religions folder).

culture_table.csv

In culture_table.csv, what Europa Universalis IV culture a Crusader Kings II culture converts to is defined.

The format of the file is the following:

CK2 culture;EU4 culture;Whether or not the culture is custom defined by the converter;EU4 culture name

Here are two examples:

norse;norse;1;Norse

In this case, norse is the name of the culture in Crusader Kings II (cultures are defined in the \common\cultures folder), norse is the culture the converter will map it to in Europa Universalis IV (as it is custom it is defined in the \eu4_converter\common\cultures folder), 1 implies that it is a custom culture from the converter, and Norse is the name of the culture in Europa Universalis IV.

swedish;swedish;0;Swedish

In this case, the swedish culture is already present in Europa Universalis IV, so the value is set to 0, and the converter will map it to the existant culture in Europa Universalis IV (cultures are defined in the common\cultures folder).

province_table.csv

Inside province_table.csv, what province in Europa Universalis IV a Crusader Kings II title converts to is defined.

The file works based upon a point system, with the more "hits" in the province list the more likely the realm is to get the province in EU4. So if a county is listed twice it corresponds to two points, while a county that is listed once will have one point. That is the reason for why duchies are in the list, as it gives more weight to the one who owns the duchy for the conversion.[1]

The format of the file is the following:

CK2 title ID;EU4 province ID;EU4 province ID - EU4 province name (filename);CK2 title name - EU4 province name

Here is an example:

c_vestisland;370;370 - Reykjavik;Vestisland - Reykjavik

In the example, c_vestisland is the title ID in Crusader Kings II (title IDs are defined in the \common\landed_titles folder), 370 is the province ID in Europa Universalis IV, while 370 - Reykjavik is the province ID and name in Europa Universalis IV (which is the filename in the \history\provinces folder) and Vestisland - Reykjavik are the title name in Crusader Kings II and province name in Europa Universalis IV.

Both duchy and province titles from Crusader Kings II can be defined, but in case there is both a duchy and a county for the same Europa Universalis IV province, the duchy needs to be specified, by adding Duchy before the Crusader Kings II title name.

Here is an example of that:

d_munster;375;375 - Munster;Duchy Munster - Munster
c_desmond;375;375 - Munster;Desmond - Munster

This is also the case if there is a duchy and a county with identical names, then both the duchy and the county need to be specified.

Here is an example of this case:

d_leinster;374;374 - Leinster;Duchy Leinster - Leinster
c_leinster;374;374 - Leinster;County Leinster - Leinster