The game currently saves eight bytes. I am tempted to write only the eight bytes. My cautious side wants a signature, version, length, and checksum before anyone has a save worth protecting.
Is that sensible preparation or tiny-project ceremony?
Versioning a save file before there are users
2 replies · opened 15 HR ago
Signature and version are cheap. Length is useful. Add checksum when corruption would be worse than rejecting the file.
Also keep one old sample save when the format changes. Migration code is easier to test with an actual fossil.
Want to add to this transmission?
SIGN IN TO REPLY →