A tool to convert your EU4 ironman save files to plaintext ones.
How to use (sorted by easy -> advanced)
Click here to do the conversion in your browser. Note that no information is transmitted -- your browser is doing all the work.
I haven't figured out automatic deployments yet, so this version is updated time to time manually. If the code you're looking at doesn't match up with what the web version is doing, that's why.
Self-hosted web version
Click here to download the latest files for the web version, possibly more updated than what's on the website.
You can open index.html and run it in your browser.
Click here to download the latest executable version of the program.
Drag and drop your save game on choice on top of the exe file and a console window should pop up and do the job.
$ npm install paperman
It comes with both a CLI script and various levels of APIs.
sequenceDiagramCLI->>Paperman: FilenamePaperman->>SaveFile: Filenamenote over SaveFile: Game is detectednote over SaveFile: Input file is opened for reading (unzipped if needed)SaveFile-xbufferClausewitz: Clausewitz binary databufferClausewitz--xSaveFile: ClausewitzObjectsSaveFile-xparseClausewitz: ClausewitzObjectsparseClausewitz--xSaveFile: Clausewitz plaintext dataSaveFile--xPaperman: Buffered plaintext datanote over Paperman: Output written to paperman_Filename
How to develop
# clone the repo paperman\ $ npm install paperman\ $ npx lerna bootstrap