Hope I'm not getting banned for multiposting, since I'm gonna post this in the EU3 forum as well (and already did in the useful utility library thread).
Paradox Savegame Toolkit
written in C++, open source. Obviously not just for savegames but all files using that common paradox text file format.
includes an easy to use API for analyzing/modifying savegames for different paradox games. Because of the bundled tools I compiled it as DLL, but feel free to include it directly in your program (as long as it's GPL'ed obv.). Should be well suited for both console and GUI apps (optional status/progress callback).
Tools included:
romestrip - for stripping rome savegames
eu3strip - for stripping eu3 savegames
eu3custproc - example app reducing citysize logarithmically so that 1Mio cities will have about 500k while 1k almost remain the same.
I had written the base class and the rome stuff over a year ago, but never got around to release it. The eu3 stuff I did add a couple weeks ago, after my game (early 1900s) was getting slower and slower, while the filesize was getting ridiculously big (and the ledger started to crash the game). Tried a stripper (female) from this forum, but it couldn't handle the 50+ MB files, so I pulled out my old stuff and wrote a little tool for trimming eu3 savegames. My 1900s savegame was reduced by 66% (I'm also purging indentation, savegames are still loaded right, don't now if that works for rome too, probably yes, but didn't try).
sorry for the quick writeup, don't have much time right now.
download: see post in useful utility library thread http://forum.paradoxplaza.com/forum/showthread.php?t=282925&page=2
Paradox Savegame Toolkit
written in C++, open source. Obviously not just for savegames but all files using that common paradox text file format.
includes an easy to use API for analyzing/modifying savegames for different paradox games. Because of the bundled tools I compiled it as DLL, but feel free to include it directly in your program (as long as it's GPL'ed obv.). Should be well suited for both console and GUI apps (optional status/progress callback).
Tools included:
romestrip - for stripping rome savegames
eu3strip - for stripping eu3 savegames
eu3custproc - example app reducing citysize logarithmically so that 1Mio cities will have about 500k while 1k almost remain the same.
I had written the base class and the rome stuff over a year ago, but never got around to release it. The eu3 stuff I did add a couple weeks ago, after my game (early 1900s) was getting slower and slower, while the filesize was getting ridiculously big (and the ledger started to crash the game). Tried a stripper (female) from this forum, but it couldn't handle the 50+ MB files, so I pulled out my old stuff and wrote a little tool for trimming eu3 savegames. My 1900s savegame was reduced by 66% (I'm also purging indentation, savegames are still loaded right, don't now if that works for rome too, probably yes, but didn't try).
sorry for the quick writeup, don't have much time right now.
download: see post in useful utility library thread http://forum.paradoxplaza.com/forum/showthread.php?t=282925&page=2