- Quetzal file format
Quetzal is a standardised file format for the saved state of
Z-machine games, invented byMartin Frost . Prior to the introduction of Quetzal, each Z-machine interpreter saved games in its own format; Quetzal enabled players to begin a game on one architecture (for example, a pocket computer) and end it on another. Use of the format is strongly recommended inGraham Nelson 's Z-machine standards document, but not obligatory. Most modern Z-machines have the ability to save Quetzal files.The files are IFF files with a FORM of "IFZS" (presumably standing for "
interactive fiction Z-machine save"), although the saved files are commonly given an extension of ".sav ": less commonly sighted are "quz" and "qtz". Despite the reference to the Z-machine in the FORM code, the format has proved flexible enough to be adapted for at least one alternative architecture,Glulx .The format's name is a
backronym for "Q"uetzal "U"nifies "E"fficiently "T"he "Z"-Machine "A"rchive "L"anguage".Version 1.3b, which is widely available, contains a bug later corrected in version 1.4: after a save instruction, the Z-machine requires that a success code is saved in a particular place (which differs depending on the version). Versions of the Quetzal standard before 1.4 have reference only to the instruction "after" the save, which complicates finding the correct place to put the success code.
External links
* [http://mirror.ifarchive.org/if-archive/infocom/interpreters/specification/savefile_14.txt Version 1.4 of the specification]
* [http://www.gnelson.demon.co.uk/zspec/quetzal.html The obsolete version 1.3b]
* [http://www.eblong.com/zarf/glulx/glulx-spec_1.html#s.7 Quetzal as applied to Glulx]
Wikimedia Foundation. 2010.