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

Vic2ToHoI4-0.2G

Compare
Choose a tag to compare
@Idhrendur Idhrendur released this 03 Jun 16:48
· 494 commits to master since this release
5aaad60

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