# # IFP header definitions for Nitfol 0.5. # # The Z-machine game file format, as it stands, doesn't really lend # itself to recognition - see the file /usr/share/misc/magic, or equi- # valent, for evidence of this. However, for us, what matters most is # differentiating Z-machine games from other IF games, not from all # other files. Here we're looking for the first byte be 0x01 to 0x08 # (the version number), and the second be 0x00-0x0F (Z-machine uses # only low nibble "flags", so far, anyway). Moreover, we need to make # a small gap in this recognition space for Alan, which uses the first # two bytes as its game version - currently 2.7 or 2.8. It turn out # that we can just about get away with this, since the only games known # to use Z-machine version 2 are older Zork I and Zork II, and for # these particular two games, "flags" is known to be 0x00. So until, # Alan goes to version 3, we're okay. # IFP_ENGINE_TYPE="Z-machine" IFP_ENGINE_NAME="Nitfol" IFP_ENGINE_VERSION="0.5" IFP_BLORB_PATTERN="^5A 43 4F 44$" IFP_ACCEPTOR_OFFSET=0 IFP_ACCEPTOR_LENGTH=2 IFP_ACCEPTOR_PATTERN="^(0[3-8] 0[0-F])|(0[1-2] 00)$" IFP_AUTHOR_NAME="Evin Robertson" IFP_AUTHOR_EMAIL="nitfol@my-deja.com" IFP_BUILDER_NAME="Simon Baldwin" IFP_BUILDER_EMAIL="simon_baldwin@yahoo.com" IFP_ENGINE_DESCRIPTION=\ "Nitfol is a portable interpreter for Z-machine code, the game format used by Infocom and more recently, Inform (http://www.gnelson.demon.co.uk/inform.html). Nitfol handles versions one through eight of the format, and attempts to comply with version 1.0 of the Z-machine specification.\n" IFP_ENGINE_COPYRIGHT="Copyright (C) by Evin Robertson.\n"