Skip to content

Instantly share code, notes, and snippets.

@SteffenL
Last active June 8, 2020 03:23
Show Gist options
  • 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