This is a primitive set of Python 2.x scripts I've written for converting some of the game's .txt files into the .csv format, wherein they can be modified and converted back into the appropriate .txt format. There is currently only support for dynasties.txt and the character files. This should make it a bit easier to modify and add characters, but that's about it for now. The imported files will be saved in a separate mod directory with the appropriate structure, so they won't overwrite the vanilla files and can easily be added to a mod. Just to be clear: This does not operate on the save file.
To install, extract the archive into the main CKII directory, so that a new ExportImportTools directory is created within. Semi-detailed instructions are provided with the archive. The scripts are in plain Python, so feel free to modify them.
I should emphasize that these tools are in a very primitive state. While they get the job done, they're not fancy. There's no interactivity with the scripts. You don't want to change the .csv format. There's no validation. Prepare for crashes and frustration. If you're not comfortable with .csv files, the command console, and Python error codes, you probably don't want to bother with this just yet. Future versions shouldn't break backwards compatibility, but I won't guarantee it. You've been warned.
To install, extract the archive into the main CKII directory, so that a new ExportImportTools directory is created within. Semi-detailed instructions are provided with the archive. The scripts are in plain Python, so feel free to modify them.
I should emphasize that these tools are in a very primitive state. While they get the job done, they're not fancy. There's no interactivity with the scripts. You don't want to change the .csv format. There's no validation. Prepare for crashes and frustration. If you're not comfortable with .csv files, the command console, and Python error codes, you probably don't want to bother with this just yet. Future versions shouldn't break backwards compatibility, but I won't guarantee it. You've been warned.