]>
Commit | Line | Data |
---|---|---|
440bd198 A |
1 | |
2 | #------------------------------------------------------------------------------ | |
3 | # adventure: file(1) magic for Adventure game files | |
4 | # | |
5 | # from Allen Garvin <earendil@faeryland.tamu-commerce.edu> | |
6 | # Edited by Dave Chapeskie <dchapes@ddm.on.ca> Jun 28, 1998 | |
7 | # | |
8 | # ALAN | |
9 | # I assume there are other, lower versions, but these are the only ones I | |
10 | # saw in the archive. | |
11 | 0 beshort 0x0206 ALAN text adventure code data | |
12 | >2 byte <10 version 2.6%d | |
13 | ||
14 | # Conflicts with too much other stuff! | |
15 | # Infocom | |
16 | # (Note: to avoid false matches Z-machine version 1 and 2 are not | |
17 | # recognized since only the oldest Zork I and II used them. Similarly | |
18 | # there are 4 Infocom games that use verion 4 that are not recognized.) | |
19 | #0 byte 3 Infocom game data (Z-machine 3, | |
20 | #>2 beshort <0x7fff Release %3d, | |
21 | #>26 beshort >0 Size %d*2 | |
22 | #>18 string >\0 Serial %.6s) | |
23 | #0 byte 5 Infocom game data (Z-machine 5, | |
24 | #>2 beshort <0x7fff Release %3d, | |
25 | #>26 beshort >0 Size %d*4 | |
26 | #>18 string >\0 Serial %.6s) | |
27 | #0 byte 6 Infocom game data (Z-machine 6, | |
28 | #>2 beshort <0x7fff Release %3d, | |
29 | #>26 beshort >0 Size %d*8 | |
30 | #>18 string >\0 Serial %.6s) | |
31 | #0 byte 8 Infocom game data (Z-machine 8, | |
32 | #>2 beshort <0x7fff Release %3d, | |
33 | #>26 beshort >0 Size %d*8 | |
34 | #>18 string >\0 Serial %.6s) | |
35 | ||
36 | # TADS (Text Adventure Development System) | |
37 | 0 string TADS TADS game data | |
38 | >13 string >\0 (ver. %.6s, | |
39 | >22 string >\0 date %s) |