SYSTEM ONLINE *** WELCOME, TRAVELER *** 38911 BASIC BYTES FREE

Versioning a save file before there are users

2 replies · opened 15 HR ago

ORIGINAL TRANSMISSION
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?
REPLY #1
Signature and version are cheap. Length is useful. Add checksum when corruption would be worse than rejecting the file.
REPLY #2
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 →