• 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.
The converter puts the tangut, zhangzhung and sumpa cultures in EU4's 'burman' culture group when they should probably be in EU4's 'tibetan_group' culture group.

Also, could you break up CK2's Buddhist religion into EU4's Mahayana, Vajrayana and Theravada ('buddhism' in EU4's code) on conversion? Doing this based on the sect traits of rulers seems unworkable to me (what about Buddhist provinces with non-Buddhist owners?) but a geographical breakup similar to the way German or Italian are broken up seems feasible (maybe have the Tibetan Empire, Mongolia and other nomad- dominated regions convert to Vajrayana, Sri Lanka to Theravada and everything else - Khotan, India, Afghanistan, etc - to Mahayana)
 
The converter puts the tangut, zhangzhung and sumpa cultures in EU4's 'burman' culture group when they should probably be in EU4's 'tibetan_group' culture group.

Also, could you break up CK2's Buddhist religion into EU4's Mahayana, Vajrayana and Theravada ('buddhism' in EU4's code) on conversion? Doing this based on the sect traits of rulers seems unworkable to me (what about Buddhist provinces with non-Buddhist owners?) but a geographical breakup similar to the way German or Italian are broken up seems feasible (maybe have the Tibetan Empire, Mongolia and other nomad- dominated regions convert to Vajrayana, Sri Lanka to Theravada and everything else - Khotan, India, Afghanistan, etc - to Mahayana)
Thanx for the suggestions. We've discussed this internally. First we can do. Second, we're not dismissing but we're not sure how to do it. Splitting someone's state into 3 religions on conversion is not really expected or wanted. Geographically messing with religions is an invitation to a lot of absurdities. We'll think about this some more.
 
  • 1
Reactions:
Thanx for the suggestions. We've discussed this internally. First we can do. Second, we're not dismissing but we're not sure how to do it. Splitting someone's state into 3 religions on conversion is not really expected or wanted. Geographically messing with religions is an invitation to a lot of absurdities. We'll think about this some more.

My inspiration for the Buddhism idea was largely how much it bothered me to see Theravada Tibetan or Mongol nations from the conversion bordering Vajrayana Tibetan or Mongol provinces from the Vanilla history, clearly delineating the edge of the CK2 map. Finding that your Tibetan Empire has suddenly abandoned Tibetan Buddhism for some 'inferior Sri Lankan sect' while your fellow Tibetans under Chinese occupation have kept the true faith is rather immersion breaking.

As to how to fix the 'splitting the state religion' problem, you could either convert all Buddhist group provinces that would ruled by a state with the wrong Buddhist religion in the EU4 conversion to the state's religion (deciding the state religion by the primary title in CK2 or the location of the capital for titular or custom titles) or give every Buddhist nation a +3 tolerance of heretics event modifier like the +3 tolerance of heathens Indian Sultanates get (by event if this can't be done in the history files). Additionally, adding an option to toggle this Buddhism balkanisation like the Sibiricide has would help to reduce unfortunate surprises (having it off by default, perhaps)
 
My inspiration for the Buddhism idea was largely how much it bothered me to see Theravada Tibetan or Mongol nations from the conversion bordering Vajrayana Tibetan or Mongol provinces from the Vanilla history, clearly delineating the edge of the CK2 map. Finding that your Tibetan Empire has suddenly abandoned Tibetan Buddhism for some 'inferior Sri Lankan sect' while your fellow Tibetans under Chinese occupation have kept the true faith is rather immersion breaking.

As to how to fix the 'splitting the state religion' problem, you could either convert all Buddhist group provinces that would ruled by a state with the wrong Buddhist religion in the EU4 conversion to the state's religion (deciding the state religion by the primary title in CK2 or the location of the capital for titular or custom titles) or give every Buddhist nation a +3 tolerance of heretics event modifier like the +3 tolerance of heathens Indian Sultanates get (by event if this can't be done in the history files). Additionally, adding an option to toggle this Buddhism balkanisation like the Sibiricide has would help to reduce unfortunate surprises (having it off by default, perhaps)
Right.

After some discussions, we decided to use political geography by looking at capital placement.

1591609676808.png
As for cultures, my test save now looks like this:
1591609876008.png

Please grab the latest Capet and if you find more errors feel free to report them. We enjoy these kinds of reports about areas we're not familiar with.
 
  • 1Like
  • 1
Reactions:
Not sure if this is possible, but could we tweak China depending on the dynasty’s status in CK2? Ex, lower stability & spawn rebels/devastation if China had unrest, split it into warring states during a civil war, add prosperity & stability during a golden age, etc.
 
  • 1
Reactions:
Not sure if this is possible, but could we tweak China depending on the dynasty’s status in CK2? Ex, lower stability & spawn rebels/devastation if China had unrest, split it into warring states during a civil war, add prosperity & stability during a golden age, etc.
Technically, yes, it kinda falls into CK2 scope, but I have no idea how this is going to affect game balance for that region. I'll consider this with the rest of the team. Thanx for the suggestion.
 
  • 1
Reactions:
Eu4 province 2336 is not properly mapped and its always owned by Dawasir.
Thanx, I remapped those and surrounding provinces to be a tad more accurate.
 
Also, 156 Temes and 1954 Torontal are converted as if they were on an opposite side of the Danube, and 2998 Buzau is mapped as part of Bulgaria.
1592298174204.png


1592298206639.png

Thanx. Fixed these and a few other in bosnia, serbia, hungary and romania. Keep them coming and also feel free to grab the province mapper tool from our github and test the mappings yourself. We sure could use a fresh pair of eyes especially throughout asia which uses terribly skewed projection so mapping is difficult.

(Oh and of course, if you do that, use the latest mappings from dunbar build or directly downloaded from github).
 
Technically, yes, it kinda falls into CK2 scope, but I have no idea how this is going to affect game balance for that region. I'll consider this with the rest of the team. Thanx for the suggestion.
It'd kind of be hard to quantify balance there, as half the time, even with conversion, the China Mingsplosions fairly early on quite often. If you convert a game at 936, when China is in another "warring states" period literally called 10 kingdoms 5 dynasties it doesn't necessarily make sense for the whole thing to be unified either.

Maybe if you're hesitant to have it broken up already in that case, the converted China could have a penalty to mandate based on its condition in CK2?
 
It'd kind of be hard to quantify balance there, as half the time, even with conversion, the China Mingsplosions fairly early on quite often. If you convert a game at 936, when China is in another "warring states" period literally called 10 kingdoms 5 dynasties it doesn't necessarily make sense for the whole thing to be unified either.

Maybe if you're hesitant to have it broken up already in that case, the converted China could have a penalty to mandate based on its condition in CK2?
That's the thing, such changes fall well out of converter scope. Only place where we felt comfortable doing that is sunset scenario. Converters are really not suited to be ran for dated far removed from 1444 as vanilla eu4 mechanics cant handle those without extensive modding - again not in converter scope.

I'm hesitant to further alter China at this moment.
 
So, I've been looking into how the annexing process in resolvePersonalUnions() interacts with HRE electors and emperor setting in distributeHRESubtitles() , and I found it rather problematic.

If an elector is annexed, it leads to the elector disappearing entirely, that status isn't copied to the annexing tag. Same thing happens for the emperor, which is arguably worse. I believe the same thing can happen to free cities, but I don't have a save where that happens.

Now, I wrote a fix for it, but I'm not entirely happy with it. Firstly, it doesn't deal with the case where an elector annexes another elector. EU4 simply doesn't support one tag having multiple electoral votes. And secondly, it points to a bunch more structural issues.

Now, as a background, I'm testing this with a save where I'm HRE-ifying the Roman Empire, which is Hellenic, and still mostly tribal. (Ruler designer and nomad shenanigans, don't ask.)

HRE titles get assigned before secondary titles are annexed, which makes a lot of sense when you're a Christian HRE. From that perspective, you'll want cases where you have potential PU junior electors, and titles, not total lands giving electorates make a lot of sense. However, with a Hellenic religion, where PU's aren't a thing, it would make more sense to look at the total amount of DEV a ruler has, not which title (before merging) has the most DEV.

So, I see multiple ways of solving this:
A) The minimal fix: merge Emperor/Elector status during the annexing process, correct the emperor tag and government reform, but nothing more. If we come up short on electors, it'll be up to the Emperor to hand them out manually.
B) Not just merge the Emperor and Elector status, but keep a list of monarchy Electors on standby in case an Elector annexes another one.
C) Doing resolvePersonalUnions() first, then distributeHRESubtitles() , and making sure the emperor status is set for the primary title.
D) Choosing based on the religion of the Emperor, if it supports PU's, use A or B, if it doesn't, use C.

I'm happy to implement any of these, just want to know what the preference is, to increase the chance of the pull request being accepted.

Also, the wiki says "HRE Electors from CK2 are preserved if possible - they need to hold elector duchies and survive the conversion process.", but the current code doesn't actually do that. I could look into adding that as well, if you'd like?
 
  • 1
Reactions:
So, I've been looking into how the annexing process in resolvePersonalUnions() interacts with HRE electors and emperor setting in distributeHRESubtitles() , and I found it rather problematic.

If an elector is annexed, it leads to the elector disappearing entirely, that status isn't copied to the annexing tag. Same thing happens for the emperor, which is arguably worse. I believe the same thing can happen to free cities, but I don't have a save where that happens.

Now, I wrote a fix for it, but I'm not entirely happy with it. Firstly, it doesn't deal with the case where an elector annexes another elector. EU4 simply doesn't support one tag having multiple electoral votes. And secondly, it points to a bunch more structural issues.

Now, as a background, I'm testing this with a save where I'm HRE-ifying the Roman Empire, which is Hellenic, and still mostly tribal. (Ruler designer and nomad shenanigans, don't ask.)

HRE titles get assigned before secondary titles are annexed, which makes a lot of sense when you're a Christian HRE. From that perspective, you'll want cases where you have potential PU junior electors, and titles, not total lands giving electorates make a lot of sense. However, with a Hellenic religion, where PU's aren't a thing, it would make more sense to look at the total amount of DEV a ruler has, not which title (before merging) has the most DEV.

So, I see multiple ways of solving this:
A) The minimal fix: merge Emperor/Elector status during the annexing process, correct the emperor tag and government reform, but nothing more. If we come up short on electors, it'll be up to the Emperor to hand them out manually.
B) Not just merge the Emperor and Elector status, but keep a list of monarchy Electors on standby in case an Elector annexes another one.
C) Doing resolvePersonalUnions() first, then distributeHRESubtitles() , and making sure the emperor status is set for the primary title.
D) Choosing based on the religion of the Emperor, if it supports PU's, use A or B, if it doesn't, use C.

I'm happy to implement any of these, just want to know what the preference is, to increase the chance of the pull request being accepted.

Also, the wiki says "HRE Electors from CK2 are preserved if possible - they need to hold elector duchies and survive the conversion process.", but the current code doesn't actually do that. I could look into adding that as well, if you'd like?
I think we need to have a chat about the whole system, starting at the source.

1. Electorates are assigned to an elector's primary title. in majority of cases this will mean a kingdom, primary duchy or similar.
- If the elector doesn't own an independent title (he was a duke under an existing kingdom and we're not shattering those through config), the electorate is lost. We'll assign someone else, later.
- If through shattering shenanigans the elector lost his primary title (kingdom for example), and it's not clear what should be his primary, we assign electorate to the first title that holds some land.
- Is it possible to lose electors at this stage? Absolutely, someone is always lost but more importantly to remember, most common outcome is to have 6-7 duchies. We want a historical mix of up to 3 bishoprics, and 4 secular ones anyway so no harm done.

2. We take great care to preserve the emperorship. The emperor is flagged as such, we hive him absolute priority when mapping provinces so he always has a capital. His e_hre title is of course always lost, but whatever actual land he holds will have to suffice.

3. Now we come to distributeHRESubtitles(). We haven't annexed any title yet.
- without an emperor, we bail and there's no HRE.
- Otherwise we set up free cities and electors in that order. This is important as we never assign electorates to free cities so we need to know which those are.

4. setFreeCities()
- During free city generation, chances of finding 12 OPM republics in an incoming CK2 game is absolutely zero. We take first all the OPM republics we have, and then bolster the number with OPM bishoprics or duchies/counties, providing they aren't electors (from ck2 stage) and not someone's vassals. Will we get all 12? Doubtful but possible, depending on the number of incoming OPMs.
- Keep in mind, free cities cannot be electors. This is why we generate them first, to leave the larger duchies and similar available to populate elector slots.

5. setElectors()
- we start on elector generation.
- first we look at incoming titles flagged as electors. If we have 3 bishoprics, great, otherwise we take random ones, or substitute with non-free-city republics. If neither are available, we'll shove some duchies in later.
- Then we take 4 duchies, preferably marked in ck2 as electorates, and if not enough of those, we take random ones to fill out the slots.
- Pope is a special snowflake and if in HRE will always override and take the first elector position.

This part usually ooks like so:
Code:
2020-08-11 15:08:37     [INFO] -> Setting Electors
2020-08-11 15:08:37     [INFO]     - Electorate set: BAD (from c_baden)
2020-08-11 15:08:37     [INFO]     - Electorate set: MAI (from d_mainz)
2020-08-11 15:08:37     [INFO]     - Electorate set: SAX (from d_saxony)
2020-08-11 15:08:37     [INFO]     - Electorate set: Z83 (from c_trier)
2020-08-11 15:08:37     [INFO]     - Electorate set: HAN (from d_angria)
2020-08-11 15:08:37     [INFO]     - Electorate set: ALS (from d_alsace)
2020-08-11 15:08:37     [INFO]     - Electorate set: Z29 (from d_cordoba)

We've - wherever possible - preserved electorate seats from CK2, and there is an emperor, who is or is not an elector.

6. We come to resolvePersonalUnions()
- No matter what happens with auxiliary titles, the primary title will remain an elector for incoming ck2 electors (see step 1), so no fear of losing electorates/emperorship for those with a set primary title.
- if there was no primary title, we take the first one that has some land and use that one as primary. will this be the same one as in step 1? Maybe, maybe not.
- for catholics this means that in that rare case the electorate may fall under a PU. While unfortunate, I'm against transferring the electorate as the electorate PU might break away from primary title, which is the whole point of doing PUs in the first place.
- for non-catholics this means the electorate may be destroyed. The emperor will assign new ones immediately, but yes, we can fix this on annex as you proposed by transferring the electorate status.
- is it possible for the emperor to die in this fashion? Huh, that's a new one, I've never seen it happen but I suppose it's possible. Again, as you proposed, in annexCountry() we can transfer over the emperorship flag.

I've pushed a patch where these flags (emperor/elector) will be preserved on annex. I see no need to preserve reforms or similar as those have been set for every incoming tag according tho their title specifics. I'd also like to see your test save so I can give the patch a whirl, along with your log.txt.
 
  • 1
Reactions:
Suggestion: tweak the estate privileges so countries which use patriarch authority, fervor, church power can use their unique clergy privilege that Orthodox/Protestant/Reformed countries can in the base game.

Edit: Did it myself and seemed to work, file attached
 

Attachments

  • 00_privileges.txt
    133,1 KB · Views: 0
Last edited:
Suggestion: tweak the estate privileges so countries which use patriarch authority, fervor, church power can use their unique clergy privilege that Orthodox/Protestant/Reformed countries can in the base game.

Edit: Did it myself and seemed to work, file attached
Didn't see you posting an example. We fixed it internally (I hope) so please give it a shot with the freshly released Dunbar build.
 
@Zemurin
Issue with "Dunbar" release : The Age of Reformation never comes in a CK2 import where Catholicism is dead. ( Europe eaten by a Reformed Slavic religion that's Warmongering with a Temporal head of religion - FUN! )

How the DLC Save Game Importer did it was that if Catholicism was dead the year 1500 was instead used to mark the start of the Age of Reformation.
You could do the same. Yeah year 1500 is really as arbitrary as it can get, but at least it's a milestone that a CK2 import can't screw up and an appropriate palceholder if you ever want to revisit the issue of "what to do with EU IV Ages if Catholicism is dead?".
 
  • 1
Reactions:
@Zemurin
Issue with "Dunbar" release : The Age of Reformation never comes in a CK2 import where Catholicism is dead. ( Europe eaten by a Reformed Slavic religion that's Warmongering with a Temporal head of religion - FUN! )

How the DLC Save Game Importer did it was that if Catholicism was dead the year 1500 was instead used to mark the start of the Age of Reformation.
You could do the same. Yeah year 1500 is really as arbitrary as it can get, but at least it's a milestone that a CK2 import can't screw up and an appropriate palceholder if you ever want to revisit the issue of "what to do with EU IV Ages if Catholicism is dead?".
That's actually working as intended. Without catholicism/fraticelli there is no age of reformation, as there's no reformation. It makes no sense to include it, TBH. As time goes by and global trade kicks off, it whould trigger the age of absolutism on schedule.
 
  • 1
Reactions:
That's actually working as intended. Without catholicism/fraticelli there is no age of reformation, as there's no reformation. It makes no sense to include it, TBH. As time goes by and global trade kicks off, it whould trigger the age of absolutism on schedule.

Unfortunately it seems that Age skipping is not something that works. Ages must be consecutive. As such, the Age of Reformation -must- happen for the subsequent ages to trigger correctly. It's been a couple of decades since Global Trade hit and the Age of Absolutism has not fired yet.

I can supply a save game in which the Age of Absolutism has not fired even though it should because the Age of Reformation will never fire.