TASVideos

Tool-assisted game movies
When human skills are just not enough

Bizhawk / Savestate Format

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]


Combined RSS Feed
Bizhawk/SavestateFormat last edited by natt on 2013-09-30 16:50:42
Page info and history | Latest diff | List referrers | View Source