summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1998-08-07 06:26:37 +0000
committerphk <phk@FreeBSD.org>1998-08-07 06:26:37 +0000
commit6c4702559855042246dd68a02b4f9ccbf1e5de87 (patch)
treecd1f2df9bd09eb8bd99f636a2a0e3e71fbafa5fb /usr.bin
parent8c372cf52216bf7827b7608354d4f976a4e8c9fb (diff)
downloadFreeBSD-src-6c4702559855042246dd68a02b4f9ccbf1e5de87.zip
FreeBSD-src-6c4702559855042246dd68a02b4f9ccbf1e5de87.tar.gz
This PR contains additional magic for file(1) describing
various adventure game data files. from Allen Garvin <earendil@faeryland.tamu-commerce.edu> Edited by Dave Chapeskie <dchapes@ddm.on.ca> Jun 28, 1998 PR: 7466 Reviewed by: phk Submitted by: The Frobozz Magic Homing Pigeon Company
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/file/Magdir/adventure50
1 files changed, 50 insertions, 0 deletions
diff --git a/usr.bin/file/Magdir/adventure b/usr.bin/file/Magdir/adventure
new file mode 100644
index 0000000..8e5c995
--- /dev/null
+++ b/usr.bin/file/Magdir/adventure
@@ -0,0 +1,50 @@
+
+#------------------------------------------------------------------------------
+# adventure: file(1) magic for Infocom (and other) adventure games
+#
+# Adventure game formats
+#
+# from Allen Garvin <earendil@faeryland.tamu-commerce.edu>
+# Edited by Dave Chapeskie <dchapes@ddm.on.ca> Jun 28, 1998
+#
+# Contributed to FreeBSD by Lyndon Nerenberg <lyndon@orthanc.ab.ca>
+# This file was taken from the Interactive Fiction archives at
+# ftp://ftp.gmd.de/if-archive/ (*the* place for text based
+# adventure games from a by-gone era). Please send me updates and
+# I'll make sure they get back to the GMD archives. (1998 AUG 1)
+#
+# ALAN
+# I assume there are other, lower versions, but these are the only ones I
+# saw in the archive.
+#
+0 beshort 0x0206 ALAN text adventure code data
+>2 byte <10 version 2.6%d
+#
+# Infocom
+#
+# (Note: to avoid false matches Z-machine version 1 and 2 are not
+# recognized since only the oldest Zork I and II used them. Similarly
+# there are 4 Infocom games that use verion 4 that are not recognized.)
+#
+0 byte 3 Infocom game data (Z-machine 3,
+>2 beshort <0x7fff Release %3d,
+#>26 beshort >0 Size %d*2
+>18 string >\0 Serial %.6s)
+0 byte 5 Infocom game data (Z-machine 5,
+>2 beshort <0x7fff Release %3d,
+#>26 beshort >0 Size %d*4
+>18 string >\0 Serial %.6s)
+0 byte 6 Infocom game data (Z-machine 6,
+>2 beshort <0x7fff Release %3d,
+#>26 beshort >0 Size %d*8
+>18 string >\0 Serial %.6s)
+0 byte 8 Infocom game data (Z-machine 8,
+>2 beshort <0x7fff Release %3d,
+#>26 beshort >0 Size %d*8
+>18 string >\0 Serial %.6s)
+#
+# TADS (Text Adventure Development System)
+#
+0 string TADS TADS adventure game data
+>13 string >\0 (ver. %.6s,
+>22 string >\0 date %s)
OpenPOWER on IntegriCloud