Skip to content
This repository has been archived by the owner on Mar 29, 2020. It is now read-only.

Releases: ParadoxGameConverters/paradoxGameConverters

Vic2ToHoI4-0.2C

23 Sep 16:53
Compare
Choose a tag to compare

It's been a long time coming, but the next update is here. This release has a few different areas of focus from a few different people.

My big focus has been on ideologies. Making sure that when you drop some, everything gets cleaned up properly. And as a result, that everything is there for the new ideologies in the first place. But now you have ministers, focus tree branches, possible revolutions, the works. As well, there was a bug where sometimes governments would turn neutral when they shouldn't have. That's been fixed. And there should be much improved lcoalisations for events of all kinds now.

@Hamiller78 has continued working on the war creator and on focus trees. A great many bugs have been fixed, and localisations are again improved.

@RaduM84 did overhauled tech conversion and military conversion. Teachs should make more sense and you should get bonuses for the doctrine techs. Militaries should convert somewhat more sensibly, and the groundwork has been laid for even better improvements in the future.

@derHochmeister has done a ton with the data files yet again. More flags, more names, better portrait mappings, better country mappings. And he did an update on province mappings. I merged everything from the Americas so far, so the Americas should be much better (be sure to let us know of any corrections).

I did some serious work on cleaning up the code. Not only is this something I put on my resume (so I don't want the code to be too embarassing), but that tends to make future development faster, as well as eliminating a host of minor and/or weird glitches.

For those inclined, I also added a debug mode to the converter. Add the line 'debug = yes' to the configuration file, and every Vic2 province will generate a victory point in HoI4. This should allow for better double-checking of province mappings.

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.

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.

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. 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

  • Correct domain country names in localisation files
  • Update manually-set HoI4 version in configuration
  • Fix some problems with identifying state capitals
  • Resolve issue #318 (Handle importing more than one localisation files of each category)
  • Don't spam 'missing' names
  • No longer double-post about missing localisations
  • Add a debug mode that adds VPs for every V2 province.
  • Update supported version number
  • Fixes to build on linux
  • Update configuration files for test saves
  • Don't crash when the a country's capital can't be set
  • Puppets of fascists now set up correctly

Dynamic ideologies

  • Output ideology file instead of copying a fixed version
  • Only include ministers for major ideologies
  • Simplify last commit
  • Remove some events
  • Add political NFs for the new ideologies, and limit focuses for non-major ideologies
  • Add the mutual exclusions to the new focuses
  • Limit ideological ideas when dropping ideologies
  • Fix some governments getting turned neutral even when not dropping ideologies
  • Better handling of ideologies when not dropping ideologies
  • Handle scripted triggers when dropping ideologies
  • Generate ideological minister revolution events
  • Add democratic advisor coup event chain
  • Fix some ideological advisors being left out
  • Add the rest of the political events
  • Fix political event bugs exposed when ideologies not dropped.
  • Fix some issues exposed when dropping ideologies.
  • Fix war justifications when dropping ideologies
  • Fix on_actions bugs when droping ideologies
  • Enforce alphabetical order of ideological advisors
  • Make a scrollbar in the politics display for extra ideologies
  • Add localisation for minister revolution events
  • Add localisations for the remaining converted political events
  • Political event bugfixes
  • Add missing localisations for events
  • Resolve a crash when converting worlds with only democratic and neutral ideologies

War Creator and Focus Trees

  • Remove support for old version focus trees
  • Fix errors in generic focus tree.
  • Quick focus tree fixes
  • Refactored fascist tree creation into FocusTree class. Fixed some bugs on the way (especially the untested Sudeten branch), also for the communist GW branch.
  • Unified Communist and Fascist GP war focus branch creation.
  • Sets icons and some completion rewards for absolutist and radical generic branches.
  • Implemented effects for radical and absolutist generic focuses.
  • Fixed error after merge and deleted duplicate ideas.
  • Added texts for new generic focuses in localization. CopyFocusLocaliosations now also copies the focus description texts.
  • Disable Sudenten focuses until they can be bugfixed
  • All generated news events now only fire when intended

Tech and Military

  • Revised tech_mapping.txt
  • New "tech_mapping.txt" section "bonus_map"
  • Fix compile error when reading tech mappings
  • New unit_mapping.txt structure
  • Revised unit_mapping.txt
  • Generate military from mapping
  • Output division templates in OOB files (prevents a crash on unpause)
  • Clarify that capitals are typically capital states
  • Armies now placed in actual capital
  • Instead of crashing on unknown unit types, log them and continue
  • Add unit mappings for PDM units

Data files

  • Make data files match the latest of HoI4's
  • Add derHochmeister's updated country mappings
  • Add a portrait mapping fix
  • Add some names for (Australian) Aborigine
  • Merge derHochmeister' new mappings for Alaska with the existing ones
  • Add derHochmeister's new names
  • Add African-American names
  • Merge derHochmeister' new mappings for West Virginia with the existing ones
  • Fix idea errors in _event.txt
  • Add afro_antillean names
  • Add derHochmeister's province mappings for HPM
  • Merge derHochmeister' new mappings for Virginia with the existing ones
  • Another fix to 00_traits.txt
  • Add new flags up through letter B
  • Merge most province mappings in the USA
  • Province mapping fix from forums
  • Update province mappings for rest of USA
  • Update the readme with a contributor who forgot themselves
  • Improve province mappings in Canada
  • Improve province mappings in Mexico, Central America, and Caribbean
  • Improve province mappings in northern South America
  • Update province mappings in the rest of South America
  • Add new flags that start with C
  • Remove flags that will never be used
  • Update FAQ with question about Vic2 randomly generated worlds

Code cleanup

  • Small code simplification in V2Localisations
  • Use a smart pointer for Objects to improve memory use
  • Name the attributes file with the correct name
  • Resolve issue #253: Refactor HoI4Localisation::CreateCountryLocalisations()
  • Quick fix for V2Rgo.h
  • Improved const-correctness of pointers
  • Verified const-correctness of function returns
  • Remove HoI4Alignment
  • Improve constiness for HoI4World
  • Consts for mappers!
  • Initializer lists for V2World
  • Initializers for mappers
  • Initializers for HoI4World
  • Initializers for configuration
  • Copy consturctors and assignment operators for all top-level classses
  • Add copy constuctors and assignment operators for mappers
  • Add copy and assignment operators to V2World
  • Fix up mapper assignment operators
  • Add copy constructors and assignment operators to HoI4World
  • Slight cleanup

EU4ToVic2-1.0Ga

05 Aug 00:29
Compare
Choose a tag to compare

A very small hotfix release fixing a couple of bugs. Otherwise very similar to version 1.0G, hence the very similar name.

Features:

  • saves converted "early" no longer have entirely uncivilised worlds
  • countries which abolished slavery in EU4 no longer have it in Vicky 2
  • added a government mapping for independent daimyos

EU4toVic2-1.0G

08 Jul 19:25
Compare
Choose a tag to compare

So this is a slightly experimental release, which in addition to most of the normal fixes (no more merge nations bug!) and updates for the newest version of EU4 has a couple of big and obvious changes.

The first is that civilised/uncivilised conversion has changed completely. Rather than being based entirely on tech group or institutions (although the latter has some influence), a nation is considered to be fully civilised if it is 6 technologies or fewer behind the tech leader, and completely uncivilised if it is more than 31 techs behind. This should hopefully avoid completely uncivilised worlds.

The second, which is almost entirely the work of @derHochmeister (Mysterious_Italy on reddit), is a new series of decisions relating to colonial nations. The idea behind these is that former colonial nations can form nations with the vanilla names if they own the right territories, so Portuguese Mexico can finally shake off its colonial yoke and truly become Mexico. This is set off with a decision called "The Postcolonialism". Now this might produce some slightly strange behaviour in some cases (in particular where one or more of the big nations in the Americas already exists), so we've set it up so that the player chooses whether the decision should be activated.

Thanks to @IhateTrains we now properly support saves converted from CK2+ to EU4.

Feedback on how these features work would be very useful, as they will likely change in subsequent versions of the converter based on how well they work in practice.

Features:

  • New civilised conversion system.
  • New post-colonial decisions from @derHochmeister .
  • The infamous merging nations bug is no more.
  • Updated province, culture and religion mappings courtesy of @derHochmeister .
  • Various Flag updates also from @derHochmeister .
  • Localisation fixes.
  • CK2+ cultures and Religions now supported, courtesy of @IhateTrains .
  • Client states should now convert as satellites.
  • New World countries no longer automatically emancipate all slaves on game start.

Vic2ToHoI4-0.2B

26 Jun 01:58
Compare
Choose a tag to compare

Overview

The improvements in this version are a little more scattered. I'm still focused on internal country stuff, but I got a lot of assistance this time around.

Thanks to @derHochmeister, there are many more names, portraits, and other graphics. He also added country mappings, so if you're modifying the converted mod (as you should), it'll now be easier to figure out which country is which.

Thanks to @Hamiller78, focuses, factions, and starting wars should be much improved.

Thanks to @hansvanmoer, we have an initial Linux version! He has some further improvements in the pipeline, but I got impatient to make a release.

Thanks to @DanAlbert, there's an option to keep all ideologies, in case you don't like some of them becoming neutral.

My improvements are allowing your Vic2 infamy to become HoI4 threat, making sure neutral countries have names, enabling elections, warnings for missing names, names for companies, conversion of graphical cultures, and various little fixes.

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. The log should specify which ones are missing (there are a lot). Some might be able to be pulled from HoI4. They go in names.txt.
  • Province mappings are always an issue. Some of my improvements 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.
  • We can use some review for country flags. For various reasons, we can’t just copy the Vic2 flags across. PDM’s permissions allow us to use their flags, but we need to double-check that none of them would end up assigning a wrong flag to a country. If you could double-check that the tags they assign match the default Vic2 ones, and that they also match the EU4 to Vic2 converter ones, I could add the flags in and nearly all missing flag errors would be cleared away. Alternately, if you feel like making flags, that would be helpful too.
  • 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. 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.

EU4toVic2-1.0F

21 May 14:46
Compare
Choose a tag to compare

This release is primarily to ensure compatibility with EU4 versions 1.20 and 1.21. It also adds some new flags, decisions and localisation, mostly courtesy of Mysterious_Italy on reddit.

This is my first release of the converter, and I'd like to thank Idhrendur for all his work on making this in the first place and his help getting me up to speed with this. Unless there are any glaring flaws in this release I would expect the next release to be done at some point after the 1.22 patch comes out.

Features:

-The north_german culture should now exist once again.
-Lubeck no longer turns into Luba, Andhra no longer turns into York.
-Added flags and mappings for Japanese minors, Yuan, and Moravia.
-Fixed Japan merging.
-Fixed some errors with diatritics.
-Mandate of Heaven flag now added to relevant country, with an associated decision to unify.
-Added optional post-colonial events.
-News entry for HRE unification.
-Generic "AAA" tag added to avoid random Aachen appearing under some circumstances.
-Uncivilised Shinto nations with low isolationism should become more civilised.

Vic2ToHoI4-0.2A

05 Mar 00:23
Compare
Choose a tag to compare

This release's big feature is an overhaul of ideologies. In addition to HoI4's normal three ideologies, there are 'Radical' and 'Absolutist'. The more extreme Vic2 governments map to the various ideologies as you might expect. Radical is for Anarcho-Liberals. Absolutist is for Absolute Monarchies and Presidential Dictatorships. HM governments become Democratic, and Prussian Constitutional governments depend on the party in power, either becoming Absolutist or Democratic.
Ideological support is converted based on the upper house, with the extreme ideologies supporting their ideology and the less extreme ones supporting democracy. However, a lesser ideology will support the more extreme form if the more extreme form is in power.
Both kinds of ideology conversion can be changed by editing governmentMappings.txt.
One caveat: only ideologies held by great powers or by human players will convert. Everything else becomes neutral. So you still get a chance to sway other countries to your camp.
In addition to ideologies, names and leaders are now converted. You won't be seeing Jigme Wangchuck very often any more, if you see him at all. The names are pulled from the Vic2 namelists for your country's primary culture. Female names and callsigns are added in data files included with the converter.
As always, there are plenty of other fixes included, too. This time, Hamiller78 has done some cleanup of the national focus generation. There's lots more to do, but the most egregious errors should now be fixed. See the changelog below for a more extensive list.

This release has opened many areas where we need help on the converter! This is a community project, so we do need your help to make it a good tool.
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 and callsigns. If you check femaleNames.txt and callsigns.txt, you'll see that very few cultures have any added. Those could use fleshing out. What I've done is assume an HoI4 country is associated with a given Vic2 culture (or multiple cultures), and pulled the HoI4 names into the mapping file. If you’re willing to continue that effort, it would greatly flesh out that aspect of the converter. For that matter, any name types I haven’t addressed yet could use this treatment. I think companies have names, and there may be more I didn’t think of.
Province mappings are always an issue. They were originally generated by a fully automatic tool, so are strange in a great many parts of the world. I’ve been slowly fixing them for my megacampaign (so western Europe should be much better now), but they need addressing elsewhere. We have a tool that can be used for this task, so it’s not too hard. If you know an area of the world well (like the area where you live), please take a few minutes to review the mappings there. Pay attention to the order in the mappings, too, the first one is most important. If you get it right, capitals land on the proper spot in HoI4. If its wrong, they’re offset.
We can use some review for country flags. For various reasons, we can’t just copy the Vic2 flags across. PDM’s permissions allow us to use their flags, but we need to double-check that none of them would end up assigning a wrong flag to a country. If you could double-check that the tags they assign match the default Vic2 ones, and that they also match the EU4 to Vic2 converter ones, I could add the flags in and nearly all missing flag errors would be cleared away. Alternately, if you feel like making flags, that would be helpful too.
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. If you could help me develop an algorithm that takes a bunch of these points and puts them into a sensible list, that would be very helpful.
Finally, 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.

Vic2ToHoI4-0.2

24 Jan 22:51
Compare
Choose a tag to compare

I don't normally do releases so soon after previous ones, but major progress has been made.

This release wraps up states and provinces for now. State capitals are properly detected, so your victory points are better positioned and named. Cores for many landless nations are removed when it makes sense, which also fixes the color oddities many experience, and may also fix some of the flag flickering. If you still experience flag flickering, check the FAQ for a fix from Paradox.

As well, I have improved province mappings throughout the lands just north of the Mediterranean. These fixes have been focused on NNM's states, though, so might still be off in the regular map. If you know any of these areas well, please help with improving the province mappings in these areas.

Other improvements include English localisations for the new ideologies, localisations for the national focuses, more missing flags added, a bunch of data file updates to match the latest HoI4 version, and more code cleanup.

The next set of releases will be focused on country internals. But for now, enjoy this release!

Vic2ToHoI4-0.1C

17 Jan 01:04
Compare
Choose a tag to compare

This release fixes some major bugs in the last release. First, the crash bug with coups and war justifications was due to naval bases not being set properly. So now they're set everywhere properly. Second, the reloading focus trees has been fixed. I've also cleaned up a bunch of events, decisions, and the like. If you have a head for such things, please double check my work with the AI stuff, maybe even toss me some improved files. Additionally, I cleaned up the province mappings in the Balkans, Romania, and Austria. If you see province mappings that are off, remember to fix them and send me the fixes! Finally, I've cleaned up the code a bunch again. If you've tried to help with programming before and just gotten confused, it's somewhat better now.

I'm guessing I have one more release to wrap up province and state-related things. I'm not sure if I'm going to implement improved resource conversion (essentially decreasing resources for less advanced nations now that there are plenty), or if I'm going to do too much work removing 'dead' cores. But there's a few more minor things to get beyond those. I've created a poll to gauge what people might want after I wrap up provinces and states. In the end, I'll follow my own plan, but I'd like to get some feedback, too.

If you're curious about how conversion works, you can check the tool's wiki page 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).

In any case, I hope you enjoy this new release!

EU4ToVic2-1.0E

14 Jan 20:06
Compare
Choose a tag to compare

This release primarily fixes errors in the last release. The processing flags crash should go away, cultural union cores should be back, and country names with slashes and backslashes are supported.

Thanks to wzh190015, you should see higher pop totals when using the convert pop totals option, and thanks to mysterious_italy, a number of nations have been added and the localisations have been updated.

Remember, I've also changed how I support older EU4 versions. The code should continue supporting all past versions, but now I'm only testing the four or so most recent versions. If you have problems with saves from older versions, do let me know though, and I'll go back and fix them.

EU4ToVic2-1.0D

02 Jan 23:50
Compare
Choose a tag to compare

This release is mostly support 1.19. Thanks to wzh190015, you should no longer have multiple naval bases per state, and the gneral China area should be a little improved. Mysterious_Italy provided several other data file updates, leading to overall improvement. There are some other smaller fixes, too, but not much for this release.

This release I've also changed how I support older EU4 versions. The code should continue supporting all past versions, but now I'm only testing the four or so most recent versions. If you have problems with saves from older versions, do let me know though, and I'll go back and fix them.

I've also begun moving the converter wiki to the EU4 wiki. If you want to know how things are converted (or want to help copy things), check it out here: http://www.eu4wiki.com/Europa_Universalis_IV_to_Victoria_II_Converter

As before, I'm still mostly focused on Vic2 to HoI4. If you can recruit more programmers, that'll make further bugfixes and improvements more likely.