Current versions of BizHawk use a .zip archive for storing binary format savestates (text savestates and movie anchorstates still use all classic formats). A rough description of the format is as follows:
There has been discussion of expanding this format to also be used for text-mode savestates and movies:
There are some issues and fragile code in BizHawk at the moment all relating to the fact that text savestates and movies are both text files with no overall delineation. Different parts of the code inadvertently pick up wrong parts of the text file, causing all sorts of havok.
Such a change would be for the BizHawk 1.6 release at the earliest. Old savestates would probably be no longer supported, but old non-savestate anchored movies would be still supported as a legacy load. Old savestate anchored movies are very problematical; automatic conversion might not be possible.

Input Log Example:

Frame 91
[Input]
GUID 5a0fec6b-afa0-41af-abb0-5641f2250a70
|.|.............. 000, 000|.............. 000, 000|.............. 000, 000|.............. 000, 000|
|.|.............. 000, 000|.............. 000, 000|.............. 000, 000|.............. 000, 000|
|.|.............. 000, 000|.............. 000, 000|.............. 000, 000|.............. 000, 000|
|.|.............. 000, 000|.............. 000, 000|.............. 000, 000|.............. 000, 000|
|.|.............. 000, 000|.............. 000, 000|.............. 000, 000|.............. 000, 000|
|.|.............. 000, 000|.............. 000, 000|.............. 000, 000|.............. 000, 000|
|.|.............. 000, 000|.............. 000, 000|.............. 000, 000|.............. 000, 000|
|.|.............. 000, 000|.............. 000, 000|.............. 000, 000|.............. 000, 000|
|.|.............. 000, 000|.............. 000, 000|.............. 000, 000|.............. 000, 000|
|.|.............. 000, 000|.............. 000, 000|.............. 000, 000|.............. 000, 000|
|.|.............. 000, 000|.............. 000, 000|.............. 000, 000|.............. 000, 000|
|.|.............. 000, 000|.............. 000, 000|.............. 000, 000|.............. 000, 000|
|.|.............. 000, 000|.............. 000, 000|.............. 000, 000|.............. 000, 000|
|.|.............. 000, 000|.............. 000, 000|.............. 000, 000|.............. 000, 000|
|.|.............. 000, 000|.............. 000, 000|.............. 000, 000|.............. 000, 000|
|.|.............. 000, 000|.............. 000, 000|.............. 000, 000|.............. 000, 000|
|.|.............. 000, 000|.............. 000, 000|.............. 000, 000|.............. 000, 000|
|.|.............. 000, 000|.............. 000, 000|.............. 000, 000|.............. 000, 000|
|.|.............. 000, 000|.............. 000, 000|.............. 000, 000|.............. 000, 000|
|.|.............. 000, 000|.............. 000, 000|.............. 000, 000|.............. 000, 000|
|.|.............. 000, 000|.............. 000, 000|.............. 000, 000|.............. 000, 000|
|.|.............. 000, 000|.............. 000, 000|.............. 000, 000|.............. 000, 000|
|.|.............. 000, 000|.............. 000, 000|.............. 000, 000|.............. 000, 000|
|.|.............. 000, 000|.............. 000, 000|.............. 000, 000|.............. 000, 000|
|.|.............. 000, 000|.............. 000, 000|.............. 000, 000|.............. 000, 000|
|.|.............. 000, 000|.............. 000, 000|.............. 000, 000|.............. 000, 000|
|.|.............. 000, 000|.............. 000, 000|.............. 000, 000|.............. 000, 000|
|.|.............. 000, 000|.............. 000, 000|.............. 000, 000|.............. 000, 000|
|.|.............. 000, 000|.............. 000, 000|.............. 000, 000|.............. 000, 000|
|.|.............. 000, 000|.............. 000, 000|.............. 000, 000|.............. 000, 000|
|.|.............. 000, 000|.............. 000, 000|.............. 000, 000|.............. 000, 000|
|.|.............. 000, 000|.............. 000, 000|.............. 000, 000|.............. 000, 000|
|.|.............. 000, 000|.............. 000, 000|.............. 000, 000|.............. 000, 000|
|.|.............. 000, 000|.............. 000, 000|.............. 000, 000|.............. 000, 000|
|.|.............. 000, 000|.............. 000, 000|.............. 000, 000|.............. 000, 000|
|.|.............. 000, 000|.............. 000, 000|.............. 000, 000|.............. 000, 000|
|.|.............. 000, 000|.............. 000, 000|.............. 000, 000|.............. 000, 000|
|.|.............. 000, 000|.............. 000, 000|.............. 000, 000|.............. 000, 000|
|.|.............. 000, 000|.............. 000, 000|.............. 000, 000|.............. 000, 000|
|.|.............. 000, 000|.............. 000, 000|.............. 000, 000|.............. 000, 000|
|.|.............. 000, 000|.............. 000, 000|.............. 000, 000|.............. 000, 000|
|.|.............. 000, 000|.............. 000, 000|.............. 000, 000|.............. 000, 000|
|.|.............. 000, 000|.............. 000, 000|.............. 000, 000|.............. 000, 000|
|.|.............. 000, 000|.............. 000, 000|.............. 000, 000|.............. 000, 000|
|.|.............. 000, 000|.............. 000, 000|.............. 000, 000|.............. 000, 000|
|.|.............. 000, 000|.............. 000, 000|.............. 000, 000|.............. 000, 000|
|.|.............. 000, 000|.............. 000, 000|.............. 000, 000|.............. 000, 000|
|.|.............. 000, 000|.............. 000, 000|.............. 000, 000|.............. 000, 000|
|.|.............. 000, 000|.............. 000, 000|.............. 000, 000|.............. 000, 000|
|.|.............. 000, 000|.............. 000, 000|.............. 000, 000|.............. 000, 000|
|.|.............. 000, 000|.............. 000, 000|.............. 000, 000|.............. 000, 000|
|.|.............. 000, 000|.............. 000, 000|.............. 000, 000|.............. 000, 000|
|.|.............. 000, 000|.............. 000, 000|.............. 000, 000|.............. 000, 000|
|.|.............. 000, 000|.............. 000, 000|.............. 000, 000|.............. 000, 000|
|.|.............. 000, 000|.............. 000, 000|.............. 000, 000|.............. 000, 000|
|.|.............. 000, 000|.............. 000, 000|.............. 000, 000|.............. 000, 000|
|.|.............. 000, 000|.............. 000, 000|.............. 000, 000|.............. 000, 000|
|.|.............. 000, 000|.............. 000, 000|.............. 000, 000|.............. 000, 000|
|.|.............. 000, 000|.............. 000, 000|.............. 000, 000|.............. 000, 000|
|.|.............. 000, 000|.............. 000, 000|.............. 000, 000|.............. 000, 000|
|.|.............. 000, 000|.............. 000, 000|.............. 000, 000|.............. 000, 000|
|.|.............. 000, 000|.............. 000, 000|.............. 000, 000|.............. 000, 000|
|.|.............. 000, 000|.............. 000, 000|.............. 000, 000|.............. 000, 000|
|.|.............. 000, 000|.............. 000, 000|.............. 000, 000|.............. 000, 000|
|.|.............. 000, 000|.............. 000, 000|.............. 000, 000|.............. 000, 000|
|.|.............. 000, 000|.............. 000, 000|.............. 000, 000|.............. 000, 000|
|.|.............. 000, 000|.............. 000, 000|.............. 000, 000|.............. 000, 000|
|.|.............. 000, 000|.............. 000, 000|.............. 000, 000|.............. 000, 000|
|.|.............. 000, 000|.............. 000, 000|.............. 000, 000|.............. 000, 000|
|.|.............. 000, 000|.............. 000, 000|.............. 000, 000|.............. 000, 000|
|.|.............. 000, 000|.............. 000, 000|.............. 000, 000|.............. 000, 000|
|.|.............. 000, 000|.............. 000, 000|.............. 000, 000|.............. 000, 000|
|.|.............. 000, 000|.............. 000, 000|.............. 000, 000|.............. 000, 000|
|.|.............. 000, 000|.............. 000, 000|.............. 000, 000|.............. 000, 000|
|.|.............. 000, 000|.............. 000, 000|.............. 000, 000|.............. 000, 000|
|.|.............. 000, 000|.............. 000, 000|.............. 000, 000|.............. 000, 000|
|.|.............. 000, 000|.............. 000, 000|.............. 000, 000|.............. 000, 000|
|.|.............. 000, 000|.............. 000, 000|.............. 000, 000|.............. 000, 000|
|.|.............. 000, 000|.............. 000, 000|.............. 000, 000|.............. 000, 000|
|.|.............. 000, 000|.............. 000, 000|.............. 000, 000|.............. 000, 000|
|.|.............. 000, 000|.............. 000, 000|.............. 000, 000|.............. 000, 000|
|.|.............. 000, 000|.............. 000, 000|.............. 000, 000|.............. 000, 000|
|.|.............. 000, 000|.............. 000, 000|.............. 000, 000|.............. 000, 000|
|.|.............. 000, 000|.............. 000, 000|.............. 000, 000|.............. 000, 000|
|.|.............. 000, 000|.............. 000, 000|.............. 000, 000|.............. 000, 000|
|.|.............. 000, 000|.............. 000, 000|.............. 000, 000|.............. 000, 000|
|.|.............. 000, 000|.............. 000, 000|.............. 000, 000|.............. 000, 000|
|.|.............. 000, 000|.............. 000, 000|.............. 000, 000|.............. 000, 000|
|.|.............. 000, 000|.............. 000, 000|.............. 000, 000|.............. 000, 000|
|.|.............. 000, 000|.............. 000, 000|.............. 000, 000|.............. 000, 000|
|.|.............. 000, 000|.............. 000, 000|.............. 000, 000|.............. 000, 000|
[/Input]

Bizhawk/SavestateFormat last edited by CloakTheLurker on 3/18/2024 5:22 AM
Page History Latest diff List referrers View Source