Skip to content

Instantly share code, notes, and snippets.

@SteffenL
Last active June 8, 2020 03:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SteffenL/fba8c6e91f498fd4742e28a34ca00830 to your computer and use it in GitHub Desktop.
Save SteffenL/fba8c6e91f498fd4742e28a34ca00830 to your computer and use it in GitHub Desktop.
uint32 u1; // magic?
uint32 u2; // version?
uint32 uncompressedSize;
uint32 compressedSize;
ubyte compressedData[compressedSize]; // zlib
// Decompression with Python:
// import zlib
// open("CharacterProfile0.sav.raw", "wb").write(zlib.decompress(open("CharacterProfile0.sav", "rb").read()[16:]))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment