Various converters between different grand strategy games
Well, I think multiple months between releases is the new normal. Though I was out of town twice during this time and had plenty of personal stuff going on. There are lots of changes this time around. But first, due to the changes in Paradox's rules, I've created a Patreon for the converters. The team plans to use any funds to provide DLC for the team members. If we somehow end up with funds beyond that, we might pay for some useful tools or even introduce bug bounties. If you'd like to support, the Patreon is at https://www.patreon.com/ParadoxGameConverters or you can directly donate at Paypal using the email address [email protected].
If you're interested in joining the team, I have now fully removed the old parser, so getting set up is considerably easier. And debugging is easier, too.
In map-related changes:
Many more building types are placed, though I still recommend using the nudger to validate everything. Forts and coastal forts are created. State capitals are better placed in a few extreme cases. Some province mappings have been improved. Vic2 mods with changed province mappings are better supported. Just create a copy of the province mappings called
In country-related changes: War support is now based on war-like things, while stability is not converted. A bunch of ideas have been added that reflect the country's Vic2 culture. These are intended to tie into some decisions, including country-formation decisions. Tech mappings have been updated. Some portraits have been added. Country mappings have been updated. And the ideological conversion decisions and events should be fixed.
In text/localisation-related changes: Names should convert better, surnames should convert better, country names should convert better, text that got garbled should convert better. Some ministers localisations should be fixed. And if localisations are missing, the English ones are grabbed so there's something at least.
In national focus-related changes: Many focuses now pull from data files (either HoI4 itself or one with the converter) to fill most of themselves out. There have been a handful of other fixes as well.
In military-related changes: Individual armies and navies now convert. The force multiplier works again. The unit mappings file now actually works. Some unit types can be substituted for others when converting armies. You now get multiple aircraft types. There's a quick-n-dirty conversion of generals and admirals.
There are many other changes: faction formation is optional, secondary powers will appear on the bookmark, flickering flags should be fixed, the default HoI4 version is 1.5.4, fascists should now take land during peace deals, some Vic2 save names should work instead of crashing, the the faction formed news event is back.
How you can help
Any help should be on the development thread on the forums.
First, we can use more portraits. It would help a great deal if you could create new portraits and update cultureGroupToGraphics.txt to point at them correctly. As the name implies, culture groups are mapped to sets of portraits (also, ideologies). I'd like to stick with HoI4's existing art style if possible. However, if you add a truly large number of portraits, I'll not object to you changing the overall style. Bears and Equine portraits are an exception. Feel free to not match the existing style with them, as they're already just in there for fun.
With the military mappings now working, please play around with them and try and make them better. Let us know what you find. Also, if you have any ideas for how divisions should be named, let me know. It's not the best right now.
We can use help with female names, callsigns, and company names. Some might be able to be pulled from HoI4. They go in names.txt. Create a debug mod to get a list of missing ones.
We can use help with translations. We have a bunch more localisations in, but they're either translated with google translate or semi-educated edits of default localisations. Either way, they probably need review.
Province mappings are pretty good now, but please double-check and fix anything you notice may be off.
If you know C++ or would like to learn, we can always use more people programming. I’m focused on country internals right now, but you could work on whatever part strikes your fancy, or I could give specific direction. Either way, that’s the biggest aspect of working on the converter. If you're learning, this is a good project to improve your skills. If you know a lot, I would love to have your feedback so I can improve my skills.
If you can test, that would be helpful. Catching bugs and oddities earlier means they get fixed earlier. I try to release test versions of the converter on the forum for testing, so running those and looking things over is helpful. With CI now running, I could probably even set up test builds to be automatic. And if you have professional experience in testing, well, I'm sure we could be doing things far better. Tell me how!
We can always use help figuring out how things work, and how we can do them better. If you know how to mod HoI4, we can use your help figuring it out. As well, there's always more room for flavor events, decisions, and the like.
We can always handle more discussion on how things are converted over on the development thread. As well, I try to document implemented items over on the project wiki. And your encouragement helps more than you know.
If you're curious about how conversion works, you can check the tool's [wiki page](http://www.hoi4wiki.com/Victoria_2_to_Hearts_of_Iron_IV_converter) for all kinds of details. If any of it is unclear, feel free to ask us to clarify (and even suggest how we can be more clear).
Changes
Overall
Map related
Country internals
Text/localisation improvements
National focuses
Military
Code cleanup
Debugging
Tests
This is a quick update to fix CK2 to EU4 to Vic2 conversions. Support for EU4 version 1.26 will take some more time.
As well, with the changes to Paradox's rules regarding donations, the converters now have a Patreon! The team plans to use any funds to provide DLC for the team members. If we somehow end up with funds beyond that, we might pay for some useful tools or even introduce bug bounties. If you'd like to support, the Patreon is at https://www.patreon.com/ParadoxGameConverters or you can directly donate at Paypal using the email adress [email protected].
Sadly, Kratostatic, the lead for EU4toVic2, will be out for somewhat over a month. So if you've been on the fence about volunteering, now's the time! We are more than happy to train and provide advice for programmers willing to learn.
Changelog:
After long last, the release supporting HoI 1.5 is out!
In addition to 1.5 support, I began incorporating a new parser for 'paradox script' throughout the converter. While that's mostly of interest to developers instead of users (I left most of that off the changelog), it does mean your saves should be read faster. On my machine it went from ~45 seconds to ~6 seconds.
I also spent considerable time making sure that if not all ideologies are converted, the necessary change are made throughout the resulting mod.
There are many other changes: an improved bookmark file, the naval invasion crash bug is fixed, there's the beginning of localisations for more languages, some graphical improvements, and more. All in all, this update should significantly improve your conversion experience.
First, we can use more portraits. It would help a great deal if you could create new portraits and update cultureGroupToGraphics.txt to point at them correctly. As the name implies, culture groups are mapped to sets of portraits (also, ideologies). I'd like to stick with HoI4's existing art style if possible. However, if you add a truly large number of portraits, I'll not object to you changing the overall style. Bears and Equine portraits are an exception. Feel free to not match the existing style with them, as they're already just in there for fun.
We can use help with female names, callsigns, and company names. Some might be able to be pulled from HoI4. They go in names.txt. Create a debug mod to get a list of missing ones.
We can use help with translations. We have a bunch more localisations in, but they're either translated with google translate or semi-educated edits of default localisations. Either way, they probably need review.
Province mappings are pretty good now, but please double-check and fix anything you notice may be off.
If you know C++ or would like to learn, we can always use more people programming. I’m focused on country internals right now, but you could work on whatever part strikes your fancy, or I could give specific direction. Either way, that’s the biggest aspect of working on the converter. If you're learning, this is a good project to improve your skills. If you know a lot, I would love to have your feedback so I can improve my skills.
If you can test, that would be helpful. Catching bugs and oddities earlier means they get fixed earlier. I try to release test versions of the converter on the forum for testing, so running those and looking things over is helpful. With CI now running, I could probably even set up test builds to be automatic. And if you have professional experience in testing, well, I'm sure we could be doing things far better. Tell me how!
We can always use help figuring out how things work, and how we can do them better. If you know how to mod HoI4, we can use your help figuring it out. As well, there's always more room for flavor events, decisions, and the like.
We can always handle more discussion on how things are converted over on the development thread. As well, I try to document implemented items over on the project wiki. And your encouragement helps more than you know.
General Updates:
New parser:
Localisations:
Bookmark:
General 1.5 updates:
Graphical improvements:
Decisions:
Focus trees:
Events:
Code cleanup:
Ideologies:
Discussion
Oh boy, this was a bit of an epic. So first of all, an enormous thank you to @Idhrendur for stepping in to deal with a pretty horrendous bug that could have scuppered the whole thing. Thanks, as always for the last few versions, go to @IohannesIohannium , who did all of the flags and most of the not coding related stuff. I thought that this would mostly just be a compatibility patch but there's actually quite a lot of interesting new decisions which we'd discussed a while ago in this version. No thanks at all to the flu virus, without who this would have been done weeks ago.
Features
Compatibility with EU4 versions 1.23 and 1.24, including many many new flags. New cultures and religions, for compatibility with quite a few mods in EU4 and CK2 including WTWSMS. New nation forming decisions. Basic dynamic colonial cultures, and new names for key New World provinces. No more Spanish New York, English Rio de Janeiro or Japanese San Francisco. The converter will now tell you if you haven't put the right folders for EU4 and Vicky 2. Thanks to @woggy slave pops should make a bit more sense in most places - most of the world now uses the same culture as the main one rather than a generic "African minor". Also thanks to @woggy factory conversion should now work rather better.
This release adds menu items that replicate all existing functions (except changing zoom levels). This should help make the existing options more discoverable.
It also makes the + and - buttons move mappings up and down. However, because entering any character zooms to the first mapping starting with that character, - also inadvertently adds a mapping and moves your selection.
There's also been some light code cleanup, but nothing exciting.
''
''
This continued big push with this update is updating the province mappings and modernizing the code. Africa and much of Asia now have updated mappings. As well, there's a list of city locations that was pulled from the game, and that has been used to fix up some previously-done mappings.
If you would, please help out the project by doing a debug conversion, loading it up, and examining the Americas, Europe Africa, West Asia, South Asia, and South-East Asia, particularly any areas you know well. Let me know of any bad province mappings, or even go ahead and update them.
As well, I went back and did some state-level fixes. Impassable states are now converted (the impassability is pulled from HoI4, so it'll be in the same areas the game is). And I finally got naval bases placed well. It turns out that with one exception (which looks like a bug in HoI4) I could just import the locations from HoI4. Who knew?
I've also gone through and done more country conversion stuff. We were provided some updated tech and unit mappings, I got research slot conversion finalized, and set starting laws appropriately. There are some other things in the changelog.
And as always, there were a handful of bugs I went and fixed. Please keep reporting bugs, oddities, and rough edges, as that means I can keep fixing them.
It might be a little while until the next release, as I'm planning to help address the root issue behind the latest EU4 difficulties. Wish us luck, as it requires doing major work with the deepest, darkest, most confusing part of the converter (or finally replacing it).
How you can help First, we can use more portraits. It would help a great deal if you could create new portraits and update cultureGroupToGraphics.txt to point at them correctly. As the name implies, culture groups are mapped to sets of portraits (also, ideologies). I'd like to stick with HoI4's existing art style if possible. However, if you add a truly large number of portraits, I'll not object to you changing the overall style. Bears and Equine portraits are an exception. Feel free to not match the existing style with them, as they're already just in there for fun.
We can use help with female names, callsigns, and company names. Some might be able to be pulled from HoI4. They go in names.txt. Create a debug mod to get a list of missing ones.
We can use help with translations. We have a bunch more localisations in, but they're either translated with google translate or semi-educated edits of default localisations. Either way, they probably need review.
Province mappings are always an issue. Some of @derhochmeister's are in, and there are some more improvements from @derhochmeister that still need integration. If you want to integrate them and make more improvements, that would be very helpful. Or double-check the work in the Americas, Europe, Africa, West Asia, South Asia, and Southeast Asia. If you generate a debug mod you can more easily see what got mapped to where.
If you know C++ or would like to learn, we can always use more people programming. I’m focused on country internals right now, but you could work on whatever part strikes your fancy, or I could give specific direction. Either way, that’s the biggest aspect of working on the converter. If you're learning, this is a good project to improve your skills. If you know a lot, I would love to have your feedback so I can improve my skills.
If you can test, that would be helpful. Catching bugs and oddities earlier means they get fixed earlier. I try to release test versions of the converter on the forum for testing, so running those and looking things over is helpful. With CI now running, I could probably even set up test builds to be automatic. And if you have professional experience in testing, well, I'm sure we could be doing things far better. Tell me how!
We can always use help figuring out how things work, and how we can do them better. If you know how to mod HoI4, we can use your help figuring it out. As well, there's always more room for flavor events, decisions, and the like.
We can always handle more discussion on how things are converted over on the development thread. As well, I try to document implemented items over on the project wiki. And your encouragement helps more than you know.
Changelog Bug-fixes: Fix issue #416 (Leaders in all upper-case) Fix issue #417 (HoI country mappings disappeared again) Hopefully fix issue #404, (capitals getting moved by landless nations) A quick logic fix Update a FAQ item with an improved method. Add a missing header that was breaking the Linux build Fix a crash bug Fix another crash bug Missing localisations for countries should not block conversion
Country conversion: Updated Tech/Unit Mappings Add more depth to the HPM theocracy government. Set a default graphical culture and 2d graphical culture Update culture group to graphics mappings for my megacampaign Further improve localisations for Vic2 dynamic nations Convert research slots Convert starting laws Correct the submarine equipment type
State conversion: Create impassable states Import impassable provinces from HoI4 Make sure impassable states get their manpower. Better handle finding the capital of partially-impassable states Major fix to naval base positions.
Province mappings: Update province mappings in Turkey Update province mappings in Caucasus Update province mappings in Levant Update province mappings in Arabia Update province mappings in Iran Update Egyptian province mappings Update province mappings in Libya Update province mappings in Tunisia Update provinces in Algeria Update province mappings in Morocco and Western Sahara Update province mappings in Sudan Update province mappings with correction from cities in wrong mappings Update province mappings in western Africa Update Central African province mappings Update the remaining African province mappings Update province mappings in Central Asia Update province mappings in Afghanistan and Pakistan Update remaining South Asian province mappings Update province mappings in South-East Asia
Clean-up and modernization: Enable C++17 on EU4toVic2 Use std::optional in some common items Replace all cases where "" was returned with std::optional Fix up both CMakeLists.txt files Use optional in V2World Use std::optional throughout HoI4World Dead code removal Another addition of std::optional in mappers and general components Return a const object in date::operator = Clean up the parser interfaces Clean up the interface to Object Eliminate some uses of null_ptr in the common items Add a mode to to code analysis Some corrections from the C++ Standard Guidelines Update .gitignore Fixes to EU4toVic2 after the changes to common items Don't try to return references when objects must be returned Change V2Party from a class to a struct so it's more explicit about permissions Make members of Vic2Agreement private Rework V2Party again, making it a class with private members
This update is coming out relatively sooner than I normally would do a release, but it's fixing a couple of sigfinicant crash bugs. As well, province mappings in Europe have been updated.
If you would, please help out the project by doing a debug conversion, loading it up, and examining the Americas and Europe, particularly any areas you know well. Let me know of any bad province mappings, or even go ahead and update them.
How you can help First, we can use more portraits. It would help a great deal if you could create new portraits and update cultureGroupToGraphics.txt to point at them correctly. As the name implies, culture groups are mapped to sets of portraits (also, ideologies). I'd like to stick with HoI4's existing art style if possible. However, if you add a truly large number of portraits, I'll not object to you changing the overall style. Bears and Equine portraits are an exception. Feel free to not match the existing style with them, as they're already just in there for fun.
We can use help with female names, callsigns, and company names. Some might be able to be pulled from HoI4. They go in names.txt. Create a debug mod to get a list of missing ones.
We can use help with translations. We have a bunch more localisations in, but they're either translated with google translate or semi-educated edits of default localisations. Either way, they probably need review.
Province mappings are always an issue. Some of @derhochmeister's are in, and there are some more improvements from @derhochmeister that still need integration. If you want to integrate them and make more improvements, that would be very helpful. Or double-check the work in the Americas and Europe. If you generate a debug mod you can more easily see what got mapped to where.
For the more math or programming types, I can use some assistance with naval base placement. The converter generates a list of border points between provinces, but they aren’t in proper order. I tried fixing that for this release, but was stymied by several provinces in the northern Baltic, with their inlets and bays and fjords. I have the beginnings of an algorithm, but I'm a little stuck on understanding the necessary math. If you'd care to explain it to me or implement it, let me know.
If you know C++ or would like to learn, we can always use more people programming. I’m focused on country internals right now, but you could work on whatever part strikes your fancy, or I could give specific direction. Either way, that’s the biggest aspect of working on the converter.
If you can test, that would be helpful. Catching bugs and oddities earlier means they get fixed earlier. I try to release test versions of the converter on the forum for testing, so running those and looking things over is helpful. With CI now running, I could probably even set up test builds to be automatic. And if you have professional experience in testing, well, I'm sure we could be doing things far better. Tell me how!
We can always use help figuring out how things work, and how we can do them better. If you know how to mod HoI4, we can use your help figuring it out. As well, there's always more room for flavor events, decisions, and the like.
We can always handle more discussion on how things are converted over on the development thread. As well, I try to document implemented items over on the project wiki. And your encouragement helps more than you know.
Changes Bugfixes
Province mappings
Cleanup and modernization
Other
It's taken longer than I like, but not as long as last time. Here's another big update. There have been a few areas of improvement. First, a bunch of bugfixes! Followed up with a debug mode you can set when converting. If you set debug mode, you'll get more warnings while converting, plus all mapped provinces will have a name, making it easier to double-check province mappings. Speaking of which, much of western europe has had updated province mappings (see the full changelog for details). There are also more flags, country mapping improvments, more localisations, and a FAQ entry for some of you who get the problem where HoI4 doesn't change. There's been more work rebalancing the focuses and ideas. There have been some fixes and improvements to ideologies. Someone asked for an option to only have the default ideologies, and that's in now. I also activated elections and put in all the normal election events, but updated for all ideologies. I did a bunch of work to clean up the code, and also got continuous integration going, so we know right away if there are problems that break the code. Not how many changes it took for me to get that working; Travis-CI is cool but a pain. Also, the code cleanup included fixing some significant slowdowns. It should take about half as long to convert now. Finally, there was a request for an option to leave cores for dead nations. I've put it in, but in the future some other plans should make it unnecessary.
How you can help First, we can use more portraits. It would help a great deal if you could create new portraits and update cultureGroupToGraphics.txt to point at them correctly. As the name implies, culture groups are mapped to sets of portraits (also, ideologies). I'd like to stick with HoI4's existing art style if possible. However, if you add a truly large number of portraits, I'll not object to you changing the overall style. Bears and Equine portraits are an exception. Feel free to not match the existing style with them, as they're already just in there for fun.
We can use help with female names, callsigns, and company names. Some might be able to be pulled from HoI4. They go in names.txt. Create a debug mod to get a list of missing ones.
We can use help with translations. We have a bunch more localisations in, but they're either translated with google translate or semi-educated edits of default localisations. Either way, they probably need review.
Province mappings are always an issue. Some of @derhochmeister's are in, and there are some more improvements from @derhochmeister that still need integration. If you want to integrate them and make more improvements, that would be very helpful. Or double-check the work in the Americas and western Europe. If you generate a debug mod you can more easily see what got mapped to where.
For the more math or programming types, I can use some assistance with naval base placement. The converter generates a list of border points between provinces, but they aren’t in proper order. I tried fixing that for this release, but was stymied by several provinces in the northern Baltic, with their inlets and bays and fjords. I have the beginnings of an algorithm, but I'm a little stuck on understanding the necessary math. If you'd care to explain it to me or implement it, let me know.
If you know C++ or would like to learn, we can always use more people programming. I’m focused on country internals right now, but you could work on whatever part strikes your fancy, or I could give specific direction. Either way, that’s the biggest aspect of working on the converter.
If you can test, that would be helpful. Catching bugs and oddities earlier means they get fixed earlier. I try to release test versions of the converter on the forum for testing, so running those and looking things over is helpful. With CI now running, I could probably even set up test builds to be automatic. And if you have professional experience in testing, well, I'm sure we could be doing things far better. Tell me how!
We can always use help figuring out how things work, and how we can do them better. If you know how to mod HoI4, we can use your help figuring it out. As well, there's always more room for flavor events, decisions, and the like.
We can always handle more discussion on how things are converted over on the development thread. As well, I try to document implemented items over on the project wiki. And your encouragement helps more than you know.
Bugfixes:
Debug mode:
Data File Updates:
Ideas and Focuses:
Ideologies and elections:
Code cleanup:
Continuous Integration:
Other: