Skip to content

Legacy Python Version

Compare
Choose a tag to compare
@TCA166 TCA166 released this 28 Apr 10:14
· 194 commits to main since this release

Old version in Python

This is the legacy version of the tool written in Python in mid 2023, so before the release of "Legacy of Persia". Doesn't support many of the game's features is fairly slow and has plenty of bugs. Currently I'm rewriting the tool in Rust which will be faster, more reliable and support more features but if you want to use this version feel free to do so. Read the README though to get info on installation and requirements alongside configuration notes.

How to install

  1. Download the .zip of this release using the button below
  2. Unzip the code
  3. Ensure you have python 3 installed
  4. Ensure your ck3 savefile is unencrypted (ironman save files are encrypted)
  5. If your savegame is compressed (by default it is):
    1. Unzip your ck3 file as if it was an archive and get the gamestate file inside
    2. Add ".ck3" to your gamestate file - this is your actual savefile
  6. Prepare your save file in the same directory as CK3_history_extractor.py
  7. Make sure the template html files are in the same directory as CK3_history_extractor.py
  8. Make sure the lookup file is in the same directory as CK3_history_extractor.py
  9. Run CK3_history_extractor.py in the src directory
  10. Follow the prompts

I have encountered an issue, help!

Try looking in the README file for solutions, if that doesn't work then tough luck.
You can try patching the issue yourself and making a pull request, but I will not be developing this version any further