Opened 13 years ago

Last modified 11 years ago

#30 closed change

Write/import new savefile code — at Initial Version

Reported by: takkaria Owned by: takkaria
Milestone: 3.1.1 beta Keywords:


There are comments at the top of save.c (see #ifdef FUTURE_SAVEFILES), which indicate plans to create a modular and better-versioned savefile format. I used that as a base to create a new format, which has better versioning support, and is probably a whole lot more future-proof than what's currently there. It also unified save/load code as far as possible.

The new savefile is constructed of a header, followed by a number of blocks, followed by a special "end block". For a fuller description, see

It's also possible to compress this savefile in-memory, should the need be felt. sfuerst was working on this for Z, but I can't find a link for it right now.

Change History (0)

Note: See TracTickets for help on using tickets.