Get unlimited public & private packages + package-based permissions with npm Pro.Get started »

paperman

1.8.0 • Public • Published

Paperman

A tool to convert your EU4 ironman save files to plaintext ones.

How to use (sorted by easy -> advanced)

Web version

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.

Executable

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.

node

$ npm install paperman

It comes with both a CLI script and various levels of APIs.

sequenceDiagram
    CLI->>Paperman: Filename
    Paperman->>SaveFile: Filename
    note over SaveFile: Game is detected
    note over SaveFile: Input file is opened for reading (unzipped if needed)
    SaveFile-xbufferClausewitz: Clausewitz binary data
    bufferClausewitz--xSaveFile: ClausewitzObjects
    SaveFile-xparseClausewitz: ClausewitzObjects
    parseClausewitz--xSaveFile: Clausewitz plaintext data
    SaveFile--xPaperman: Buffered plaintext data
    note over Paperman: Output written to paperman_Filename

How to develop

# clone the repo
paperman\ $ npm install
paperman\ $ npx lerna bootstrap

Keywords

none

Install

npm i paperman

DownloadsWeekly Downloads

1

Version

1.8.0

License

WTFPL

Unpacked Size

209 kB

Total Files

53

Last publish

Collaborators

  • avatar