Z Save Game Format

From ModdingWiki
Jump to navigation Jump to search

Z has ten named save slots. The boot code reads a short header to populate their names.

File format

Offset Data type Name Description
0 UINT8 slot flag Read to static address 0x11da6b; semantics not established here.
1 char[40] name Fixed-length slot-name buffer.
41 UINT16LE slot word Read to 0x11da6c; semantics not established here.
43 BYTE[] saved state Present for populated saves; complete schema not implemented.

The supplied local slots are 43-byte headers. Their length is not a specification for a populated save. readSaveName succeeds if all three header reads return the requested lengths.

Notes

The port does not provide a complete save serializer. Preserve unknown state and do not claim that a renamed header constitutes a playable saved game.

Source code

From re-z, the open-source browser port:

Credits

This file format was reverse engineered by VorticonCmdr. If you find this information helpful in a project you're working on, please give credit where credit is due. (A link back to this wiki would be nice too!)