# Dead Cells Stamp Calculator

Short commit hash:

OR

Upload your res.pak:

Your stamp:

What is this?

In Dead Cells v35, the PAK standard was updated to version `1` and a 64-byte ASCII string was added to the header. This string is referred to in the code as the "stamp" and is generated using a not-so-secret formula from the game's short commit hash. This tool allows you to generate a valid stamp from a commit hash or extract it from your res.pak file for modding purposes.

How do I use it?

To generate a stamp from a commit hash, simply enter the short commit hash for your game (see image below) in the input field and click the "Calculate" button. To extract the stamp from your res.pak file, click the "Choose File" button and select your res.pak file, then click the "Calculate" button. The stamp will be displayed below the button.

What do I do with the stamp once I have it?

Once you have a stamp, you can pass it to my modified PAKTool with the `-s` flag, eg:

    PAKTool.exe collapsev1 expanded res_collapsed.pak -s STAMP_HERE

This tool made with ❤️ by N3rdL0rd.