Novus
Enlightened
Offline
Gender:
Posts: 1938
Fot or not?
|
The best description of the UQM save format is probably the save source code in src/sc2code/save.c.
UQM maintains an event queue with date-stamped future events (src/sc2code/gameev.c and src/sc2code/clock.c). The dates are stored in an absolute format, so changing the date may cause events (such as those you mention) to be skipped or delayed.
I suspect that adapting the loader code will be easier than using a hex editor, due to the use of compression in the saves and the variable-length and optional sections in the saves.
|