]> granicus.if.org Git - file/commitdiff
*** empty log message ***
authorChristos Zoulas <christos@zoulas.com>
Mon, 6 Jul 1998 08:44:34 +0000 (08:44 +0000)
committerChristos Zoulas <christos@zoulas.com>
Mon, 6 Jul 1998 08:44:34 +0000 (08:44 +0000)
magic/Magdir/adventure
magic/Magdir/audio
magic/Magdir/images

index 67e108da5855f42ad8a7c4965f3c05d114b74196..38a5e33a3a2a99b331a6a2ad37d72401b7f2466e 100644 (file)
@@ -3,16 +3,34 @@
 # adventure: file(1) magic for Adventure game files
 #
 # from Allen Garvin <earendil@faeryland.tamu-commerce.edu>
+# Edited by Dave Chapeskie <dchapes@ddm.on.ca> Jun 28, 1998
+#
 # ALAN
 # I assume there are other, lower versions, but these are the only ones I
 # saw in the archive.
-0      leshort 0x602   ALAN text adventure code data
+0      beshort 0x0206  ALAN text adventure code data
 >2     byte    <10     version 2.6%d
 
 # Conflicts with too much other stuff!
-# Infocom 
-#0     byte    <9      Infocom game data (Z-machine %d,
-#>3    leshort <0x7fff Release %3d,
+# 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)
index e626c7c35fca17c16d2c5e37b2da8d7cda6338ac..cd39b0146471cd0812fab6f09ae5f08fe9fb75a6 100644 (file)
 0      belong          0x4e54524b      MultiTrack sound data
 >4     belong          x               - version %ld
 
-# Microsoft WAVE format (*.wav)
-0      string          RIFF            Microsoft RIFF
->8     string          WAVE            \b, WAVE audio data
->>34   leshort         >0              \b, %d bit
->>22   leshort         =1              \b, mono
->>22   leshort         =2              \b, stereo
->>22   leshort         >2              \b, %d channels
->>24   lelong          >0              %d Hz
-# AVI == Audio Video Interleave
->8      string          AVI\            \b, AVI data
-
 # Extended MOD format (*.emd) (Greg Roelofs, newt@uchicago.edu); NOT TESTED
 # [based on posting 940824 by "Dirk/Elastik", husberg@lehtori.cc.tut.fi]
 0      string          EMOD            Extended MOD sound data,
index 1d348e122e8d60fd2213479c0682ecd82e06b441..9f3eb77a873ca96684534ef5aa1018c15563acf7 100644 (file)
 #>28   belong          >0              colormap is %d bytes long
 
 # SGI image file format, from Daniel Quinlan (quinlan@yggdrasil.com)
-# file://sgi.com/graphics/SGIIMAGESPEC
+#
+# See
+#      http://reality.sgi.com/grafica/sgiimage.html
+#
 0      beshort         474             SGI image data
 #>2    byte            0               \b, verbatim
 >2     byte            1               \b, RLE