Releases: ParadoxGameConverters/paradoxGameConverters
Vic2ToHoI4-0.2H
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 _province_mappings.txt, and the converter will look for it whenever the mod is used.
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
- Make faction formation optional
- Give secondary powers focus trees so they appear on the bookmark
- Fixing flickering flags
- Change default HoI4 version to 1.5.4
- Fix a major problem with the AI peaces that prevents fascists from taking land
- Some on_actions fixes
- Fix Filename error
- Restoring some News events (faction formed)
Map related
- Update province mappings with corrected city locations
- Update to debug output of VPs
- Place coastal bunkers.
- Output bunkers that match known positions.
- Fix typos in province mappings
- Prepare for more extensive HoI4 map data
- Handle missing bunkers
- Place airports, using existing airport locations where possible.
- Place dockyards
- Refactor building placement a little
- Place synthetic refineries and nuclear reactors.
- Place anti-air buildings
- Place arms factories and industrial complexes
- Update OnActions.cpp (province renaming on start)
- Handle province mappings for mods
- Support for HoI forts
- Support for coastal forts
- Record Vic2 state capitals
- When state capital can't be determined, use the most populous province.
- Eliminate some false-positive warnings
- Internally record province names
Country internals
- War support now based on war related matters
- don't convert stability
- Cultural ideas for HoI4
- Output culture ideas
- Adding back absolutist icons
- Create army_portraits.txt
- New tech mappings & converted units have equipment factor 0.7
- Correct the army portraits file
- Update HoI4Country.cpp
- Better artwork for some cultures
- New decisions and related files for HoI4
- Link 'hold the referendum' decision to the necessary events
- Update culture_ideas.gfx
- Flag updates
- Adding some more slave cultures
- Provide transport technology
- Aromanian culture
- Parse prestige (but still unused)
- More HoI4 portraits
- Update country_mappings.txt
Text/localisation improvements
- Override country localisation with the proper one.
- Update how names are handled
- Update names import to work on Linux
- Ministers' localisations
- Fix surname output
- Slight localisation fix
- Handle missing localisations from Vic2 by using the English ones
- Fix correction of bad characters to actually do it.
- Add capability to translate from Win1252 to UTF-8
- Add capability to convert into win1252
- Convert Vic2 localisations from WIn1252 instead of ISO 8859-15.
National focuses
- communist focus branches now use data files
- Code changes to addAbsolutistEmpireNationalFocuses
- Add localisations for Absolutist focuses
- improved alliance event
- changes to addAbsolutistEmpire focuses and localisation
- Make the influence_ focus in the communist coup tree have all ideologies
- Update HoI4FocusTree.cpp
- changes to Fascist focuses & War Creator
- changes to addGPWarBranch and Fascist fixes
Military
- Convert individual armies
- Convert armies as a whole, not just individual brigades
- Make the force multiplier work again
- Convert individual navies
- Quick-n-dirty conversion of generals
- Quick-n-dirty conversion of admirals
- Improvements to naval positions
- Mobilised regiment detection
- Artillery substitutes
- Airplane types
- Military mapping from files
- Various minor bugfixes to military mappings and related tests
- Allow substitutes to be imported from file.
- Pass all military mappings to functions that use all the sub-items
- Get brigade substitutes from military mapping file.
Code cleanup
- Remove last references to the old parser in V2World
- Make configuration use the new parser
- Clean up HoI4 Army code
- Refactor Vic2 state definitions
- Clean up state categories
- Remove the unused Vic2 reforms
- Clean up the province mapper
- Improve the paser helpers for strings
- Remove references to some old unused functions
- Update inventions to use the new parser
- Support for removing the old dead leader functions
- Make impassable ...
EU4ToVic2-1.0I
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:
- various bits of code cleanup
- add more functionality to the new parser
- use the new parser in more places (culture updates may cause problems in pre-1.14 saves)
- No longer spend time updating saves (as the new parser doesn't need it)
- Update Russian province mappings
- Fix a bug that removed cores
- Fixing colonial flag related converter crash
- Fixing Colonial nations disappearing
- Add some new countries
- Add some new flags
- New and updated decisions
- New and updated mappings
- Misc Data files
- Adding governments to blank mod
- Updated cultures file
- Updated Localisation
- Adding experimental 1821 bookmark
Vic2ToHoI4-0.2G
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.
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 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.
Changelog
General Updates:
- province mapping updates
- Add province mappings for 1.5.2
- Convert ship names
- Log when states have wasteland parts
- Add names for more cultures
- Country mapping updates
- Roll HoI4 version number
- Allow unowned provinces to be placed into states.
- Don't output non-existent owner string
- Roll HoI4 version number in data files
- More config file updates
- Resolve assorted errors
- Update the frontend default configuration a little
- Update test saves with up-to-date configuration
- Fix a potential crash bug, and also simplify some code
- improved the starting production
- Roll version number
New parser:
- created a new parser for 'paradox script'
- Add capability for reading Vic2 issues file
- Import pops' attitudes on issues
- Significantly speed up conversion speeds
- Handle the HPM 'serfs' pop type
Localisations:
- Some improved Spanish localisations from Skulltcarretilla
- Update V2Localisations.cpp - Editing "Portugese" and the apostrophe
- GFX and name conversion update
- Fix some localisation files
Bookmark:
- Generate a bookmark for selecting nations
- Fixes to the bookmarks file
- Update bookmark generation
General 1.5 updates:
- Move portraits file to the new location
- Update common/ai_peace_1_fascist.txt
- Update combat_tactics.txt
- Add blanked ai focuses
- Update the ai_strategies
- Add ai_strategy_plans
- Update the ai_templates
- Update the autonomous states for cornflakes
- Update common/country_leader/00_traits.txt for HoI4 1.5
- Update common/country_leader/00_traits.txt for 1.5.1
- Update output/interface/eventwindow.gui for 1.5
- Update output/interface/countrypoliticsview.gfx for 1.5
- Localisation updates for 1.5
- Initial update of events for 1.5
- Update technologies for 1.5
- Update scripted triggers for 1.5
- Update on_actions for 1.5
- First update of focus trees for 1.5
- Update ideas for 1.5
- Adjust on_actions.
- Finish updating scripted triggers for 1.5
- Update most HoI4 events for 1.5
- Replace unity_factor to stability_factor
- Update ideological ministers for 1.5
- Replace national unity with stability and war support
- Allow checking Vic2 countries for average attitudes
- Adjust war support by checking pop attitudes
- Update blankMod to match 1.5.2 updates
- Update stability effects according to the major ideologies.
Graphical improvements:
- Update portrait mappings
- If there's not a government-specific flag try to use the general flag
- New icon for custom ideologies
- Fix the event windows
- Update countrypoliticsview.gui
- Update 00_portraits.txt
Decisions:
- Incorporate common/decisions
- Edit generic decisions to not be tied to specific ideologies.
- Add capability to import and export a decision
- Read in some decisions and output them again
- Import ideologial political decisions.
- Add political decisions for the new ideologies.
- Fixes to decisions
Focus trees:
- Update generic focus tree to import from files
- Add data file for the converter's generic focuses
- Update democratic national focuses
- Begin updating absolutist national focuses
- Enable better localisations for customized focuses.
- First pass at temporary fix for national focuses (untested)
- More focus tree fixes
- A fix to the converter focuses
- Modified addCommunitCoupBranch focuses in accordance with post 1083 in dev thread
- Bugfix to GP democracy focus tension requirements & doctrine conversion
Events:
- Update how events are output
- Output stability events
- Fixes to how events are output
Code cleanup:
- Simplify a couple of small loops
- Remove using namespace std from all common item files.
- Log a few odd situations if they happen
- Refactor the merge rules out from V2World
- Don't output names, unit names, advisors, or idea sprites for invalid nations
Ideologies:
- Blank some division names
- Fix a problem in the generic ideas file
- Blank the scripted localisations
- Blank several scripted effect files.
- Fix some event files
- Fixes to events
- Fixes to on-actions
- Remove a names divisions file that was causing problems
- Add a fixed version of the German division names file
- Update old ideologies in economic ideas
- Allow leader traits to better handle absent ideologies
- Fixes to decisions when not all ideologies exist
- Fix a focus if some ideologies are dropped.
- Convert war justification events (localisations not complete)
- Change how HoI4 ideas are handled
- Update manpower ideas with correct ideologies
- War justification events fixes
- Localisation fixes due to my bad instructions
- Import and export economic ideas
- Some quick localisation fixes
- Fix the economic ideas to only refer to ideologies that exist
- War justification events further localisation
- Codification code fixing
- Import and then export ideas/zzz_generic.txt
- Fix some warnings
- Update more ideas for existing ideologies
- Import and re-export some ai peace files
- Fixes for missing ideology in ai peace files
- A bunch of updates to set up ideologies correctly
- Fix the war justification on_actions
- Eliminate the last has_government errors for this test save
- Fix errors from Bhutan test save
- Further further updated war localisations
- Fix a focus tree problem when democratic is absent
- Make a necessary idea always present
- Add a test save with no democratic nations
- Clear a couple of default events
- Make a fascist idea a general idea
- Make sure a democratic-specific election event only appears if democratic exists
- Fix some errors caused by democracy being missing
- More focus fixes after testing
- Furthest further updated localisations
EU4ToVic2-1.0H
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.
ProvinceMapper-1.0.4
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.
ProvinceMapper-1.0.3
ProvinceMapper-1.0.0
Vic2ToHoI4-0.2F
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
Vic2ToHoI4-0.2E
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
- Fix some problems with getting the HoI4 version.
- Fix a crash bug that can happen when reading in the configuration
- Fix the sendkeys bug that some users experienced in the frontend
- Fix a crash when there were no more company names
Province mappings
- Reorder North African province mappings
- Reorder province mappings in Western Africa.
- Reorder province mappings in Central Africa
- Reorder province mappings in Eastern Africa
- Reorganize province mappings in Southern Africa
- Reorganize province mappings in Southwestern Asia
- Reorder Central Asian province mappings
- Reorganize province mappings in South Asia
- Reorganize Southeast Asian province mappings
- Reorder East Asian province mappings
- Reorganize province mappings in Russian Asia
- Reorganize remaining land province mappings
- Fix province mappings in Sweden, Denmark, and Switzerland
- Improve Italian province mappings
- Fix province mappings in Balkans, Greece, eastern Romania
- Update region names in province mappings
- Update province mappings in Germany
- Update province mappings in Poland
- Update province mappings in Czechia and Slovakia
- Update Hungarian province mappings
- Update Finland province mappings
- Update Baltic province mappings
- Update province mappings in Belarus
- Use a script to make some of the old and new mappings match better
- Update province mappings in Ukraine
- Update province mappings in Romania
- Update province mappings in European Russia
Cleanup and modernization
- Remove an extraneous file
- Enable C++ 17
- Update the tools with travis-CI
- Update compilers for travis again
- Eleiminate some boost, since it isn't C++17 compliant
- Use std::optional in the mappers
- Update the build scripts to handle the newer toolchain
Other
- Keep a copy of the .mod file
- Roll vresion number
Vic2ToHoI4-0.2D
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:
- Fixed the absolutism focus
- Redo the previous focus tree fix because it disappeared from the code
- Fixes for Linux version
- Update mod version number in included configuration file
- Fix some conditionals, to avoid spamming incorrect warnings
- The war creator shouldn't assume relations exist (caused #365)
- When dropping ideologies, don't unnecessarily drop fascism or communism
- Don't try to output invalid country names.
- Add unit types from ultimate mod
- Fix errors with flags
- Add cultures to culture-less countries
- Add DoD icon for Fascist puppets
- Make countries more likely to get an appropriate localisation
- Remove music files - Although this introduces errors for people with music DLC, they are harmless, and it fixes a problem where music would stop playing for those without the music DLCs
- Added dockyards should only go to coastal provinces
- Fixes to Linux build
- Update some utility functions on Linux
- Fix an error with national focuses.
- Handle disappearing countries more gracefully
- Fix an error that both Visual Studio and Travis CI were too forgiving of
Debug mode:
- Keep the localisations from crashing under debug
- Limit the extra logs to debug mode
- When in debug mode, make all provinces mapped to a Vic2 province have labels
- Expose the option to create a debug mod
Data File Updates:
- Flag updates
- Country mapping updates
- Add flags that are the same in HoI4 or have an independent source
- Add some redrawn flags
- Start updating European province mappings:
- Greenland
- Iceland
- UK
- Ireland
- Portugal - Use debug mode to fix province mappings from last changes
- Spain province mappings
- Province mappings in France
- Add a FAQ entry for unchanged HoI4
- Merge province mappings for Benelux
- Don't make the frontend ask for unneeded data
- Merge Norway province mappings
- Organize the order of remaining european provinces
- Incorporate the fix the the uncivilized idea icon
- Add a bunch of localisations
- Add the province renaming event
- Added some missing localisations after my bug report (to Paradox) was shown to be in error
- Make the province renaming event triggered in on_startup
Ideas and Focuses:
- Nerf to monarchy ideas, great power ideas
- Major democracy tree no longer gives militarism idea and send volunteers rule is there only once
- National unity gains nerfed
- Changed monarchy idea icons
- Removed research speed bonus from GP idea
- Fixed Sudeten focus branch creation
- National unity focuses now give 5%
- Limited intervention gives idea that reduces tension requirement before one can send volunteers or lend lease
- PP bonus was moved to prepare intervention to improve that focus
- Absolutists majors had focus that did nothing so now it gives one time industry research bonus
- Added English localizations to a few monarchy related ideas
- Added missing quotation marks to Sudenten event
- Bug fix for GenerateMajorWars call in WarCreator.cpp
- Fix some errors
Ideologies and elections:
- Assign more interesting AIs to the new ideologies
- Add an option to only convert default ideologies
- Ideological support no longer gets changed to neutral if ruling party is neutral
- Set last_election properly
- Set neutrality properly for all cases of keeping ideologies
- Enable elections for all events leading to a democratic government
- Generate on_actions for election events
- Add dynamic ' in government' events
- Add the democratic parties in minority election event
- Convert ideological majority election events
- Remove magnate favors fascism election event, as it's for only one ideology
- Add wartime exception election event
- Add government contested election event
- Remove unused election events
- Add missing opinion modifiers
- Add an election event to choose the winning (democratic) party
- Add localisations for all political parties
- Convert political party names in general
- Add a scrollbar to the event window
- Fix errors in election events caused by no democratic ideology
- Fix a bug with converting ideologies
- Fix a problem with the 'abandon neutral' event in some circumstances
Code cleanup:
- Take recommendations from CppCheck
- Replace Object* with shared_ptr
- Some cleanup using safer functions in object
- Use Object::safeGetObject() to simplify and make safer
- Add a method of getting tokens from a named sub-object
- Another pass of Object::getLeaf()
- Simplify the output name fixing
- A small refactoring of HoI4Focuses
- Don't customize focus trees for countriese that don't need them. Saves quite some time while converting
- Move Vic2Inventions into a mapper instead of recalling it for every country (saves a ton of time on conversion)
- Slightly improve an error message
- For color, use new types to make it hard to pass wrong parameters
- No default constructor for planes
- Some fixes suggested by cppcheck
- Better protections for the ideologies options
- Update config files with the Vic2 saves
- Add a config file for travis.yml
- Rename travis.yml to .travis.yml
- Try putting UNIX line endings in .travis.yml
- Update travis.yml with better scripts, now that it runs
- Try to force travis to use modern tools
- Try something different to get a modern cmake
- Another attempt to update cmake on travis
- Found a script to build cmake instea...
Continuous Integration: