请输入您要查询的百科知识:

 

词条 Quetzal file format
释义

  1. External links

{{Infobox file format
| name = Quetzal
| logo =
| icon =
| iconcaption =
| screenshot =
| caption =
| _noextcode = on
| extension = .sav, .glksave
| _nomimecode = on
| mime = application/x-glksave
| type code =
| uniform type =
| conforms to =
| magic = IFZS
| developer = Martin Frost
| released =
| latest release version = 1.4
| latest release date = {{Start date and age|1997|11|13}}
| genre = Z-machine save game
| container for = Z-machine state
| contained by =
| extended from = Interchange File Format
| extended to =
| standard = inform-fiction.org
| free = Yes
| url =
}}

Quetzal is a standardised file format for the saved state of Z-machine games, invented by Martin Frost. Prior to the introduction of Quetzal, each Z-machine interpreter saved games in its own format; Quetzal enabled players to save a game using one interpreter and restore it with another. Use of the format is strongly recommended in Graham Nelson's Z-machine standards document, but not obligatory. Most modern Z-machine interpreters 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 magic-number reading of the files are often shown as:

'IFF data, Z-machine or Glulx saved game file (Quetzal)'

A backronym for the format is "Quetzal Unifies Efficiently The Z-Machine Archive Language".

Version 1.3b, which was widely available, contained 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

  • Version 1.4 of the specification
  • Quetzal as applied to Glulx

1 : Computer file formats

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/9/21 12:42:40