Converter for CK2 savegames to EU4
C++ TeX
Switch branches/tags
Nothing to show
Clone or download
Latest commit 2ae3390 Feb 20, 2018
Permalink
Failed to load latest commit information.
debug/maps Lleida to Urgell Jan 29, 2018
release Improve province assignment by assigning single-province counts to th… Feb 20, 2018
.gitignore Improve country-matching algorithm Sep 6, 2015
CK2Province.cc Allow per-title province nerfing Dec 24, 2017
CK2Province.hh New development conversion algorithm Aug 1, 2017
CK2Ruler.cc Jade Dragon provinces Jan 29, 2018
CK2Ruler.hh Update for Japan patch Dec 22, 2017
CK2Title.cc Improve sovereign detection with mixed liege chain Feb 19, 2018
CK2Title.hh Fix wars, improve rebellions Aug 16, 2017
CK2War.cc Fix non-unique war names Dec 13, 2017
CK2War.hh Transfer provinces. Sep 3, 2015
Converter.cc Improve province assignment by assigning single-province counts to th… Feb 20, 2018
Converter.hh Do province conversion using explicit file instead of inferring from … Dec 25, 2017
EU4Country.cc Update to new government format Dec 26, 2017
EU4Country.hh Update to new government format Dec 26, 2017
EU4Province.cc Fix buildings Feb 5, 2018
EU4Province.hh Fix buildings Feb 5, 2018
LICENSE Initial commit Aug 6, 2015
Logger.cc Make Logger indent static Aug 23, 2015
Logger.hh Make Logger indent static Aug 23, 2015
README.md Create README.md Dec 28, 2015
StringManips.cc Create window-and-worker framework Aug 6, 2015
StringManips.hh Create window-and-worker framework Aug 6, 2015
StructUtils.hh Create window-and-worker framework Aug 6, 2015
UtilityFunctions.cc Fix issue with strbuffer being too small for long title lists Jan 22, 2018
UtilityFunctions.hh Fix issue with strbuffer being too small for long title lists Jan 22, 2018
Window.cc Custom dynastic scores Aug 9, 2017
Window.hh Custom dynastic scores Aug 9, 2017
constants.cc Fix mana redistribution Feb 3, 2018
constants.hh Fix mana redistribution Feb 3, 2018
documentation.pdf Update docs Dec 27, 2015
documentation.tex Update docs Dec 27, 2015

README.md

CK2toEU4

Converter for CK2 savegames to EU4.

User instructions are in documentation.pdf. This file is for people interested in compiling the code themselves.

Dependencies are Qt (I use the ancient 2010.05 version; newer ones should work), my ParadoxParser library which you can find here:

https://github.com/kingofmen/ParadoxParser

The parser in turn depends on Boost; I use 1.41.0, which is older than the hills, but newer versions should also work.

I generate makefiles for the converter thus:

c:\Qt\2010.05\qt\bin\qmake -project "CONFIG+=exceptions c++0x" c:\Qt\2010.05\qt\bin\qmake -makefile -after
"LIBS+=C:\Users\MyUserName\Desktop\ParadoxParser\libParser.lib"
"INCLUDEPATH+=C:\Users\MyUserName\Desktop\ParadoxParser"
"INCLUDEPATH+=C:\Users\MyUserName\Desktop\boost_1_54_0"
"LIBS+=-static-libgcc"

This assumes that you have Qt installed; adjust the paths according to taste. To compile, I do:

mingw-make -f Makefile.[Debug,Release]

You will likely need some tweaking to make it work on Linux, since I do use some Windows-specific file munging; sorry about that. If you take the time to do this, please let me know so I can try to include it.