adventure (133359) | adventure (159764) |
---|---|
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# Edited by Chris Chittleborough <cchittleborough@yahoo.com.au>, March 2002 8# 9# ALAN 10# I assume there are other, lower versions, but these are the only ones I 11# saw in the archive. 120 beshort 0x0206 ALAN game data 13>2 byte <10 version 2.6%d 14 | 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# Edited by Chris Chittleborough <cchittleborough@yahoo.com.au>, March 2002 8# 9# ALAN 10# I assume there are other, lower versions, but these are the only ones I 11# saw in the archive. 120 beshort 0x0206 ALAN game data 13>2 byte <10 version 2.6%d 14 |
15# Conflicts with too much other stuff! 16# Infocom 17# (Note: to avoid false matches Z-machine version 1 and 2 are not 18# recognized since only the oldest Zork I and II used them. Similarly 19# there are 4 Infocom games that use version 4 that are not recognized.) 20#0 byte 3 Infocom game data (Z-machine 3, 21#>2 beshort <0x7fff Release %3d, 22#>26 beshort >0 Size %d*2 23#>18 string >\0 Serial %.6s) 24#0 byte 5 Infocom game data (Z-machine 5, 25#>2 beshort <0x7fff Release %3d, 26#>26 beshort >0 Size %d*4 27#>18 string >\0 Serial %.6s) 28#0 byte 6 Infocom game data (Z-machine 6, 29#>2 beshort <0x7fff Release %3d, 30#>26 beshort >0 Size %d*8 31#>18 string >\0 Serial %.6s) 32#0 byte 8 Infocom game data (Z-machine 8, 33#>2 beshort <0x7fff Release %3d, 34#>26 beshort >0 Size %d*8 35#>18 string >\0 Serial %.6s) | |
36 | 15 |
16# Infocom (see z-machine) 17#------------------------------------------------------------------------------ 18# Z-machine: file(1) magic for Z-machine binaries. 19# 20# This will match ${TEX_BASE}/texmf/omega/ocp/char2uni/inbig5.ocp which 21# appears to be a version-0 Z-machine binary. 22# 23# The (false match) message is to correct that behavior. Perhaps it is 24# not needed. 25# 2616 belong&0xfe00f0f0 0x3030 Infocom game data 27>0 ubyte 0 (false match) 28>0 ubyte >0 (Z-machine %d, 29>>2 ubeshort x Release %d / 30>>18 string >\0 Serial %.6s) 31 32#------------------------------------------------------------------------------ 33# Glulx: file(1) magic for Glulx binaries. 34# 35# I haven't checked for false matches yet. 36# 370 string Glul Glulx game data 38>4 beshort x (Version %d 39>>6 byte x \b.%d 40>>8 byte x \b.%d) 41>36 string Info Compiled by Inform 42 43 44 45# For Quetzal and blorb magic see iff 46 47 |
|
37# TADS (Text Adventure Development System) 38# All files are machine-independent (games compile to byte-code) and are tagged 39# with a version string of the form "V2.<digit>.<digit>\0" (but TADS 3 is 40# on the way). 41# Game files start with "TADS2 bin\n\r\032\0" then the compiler version. 420 string TADS2\ bin TADS 43>9 belong !0x0A0D1A00 game data, CORRUPTED 44>9 belong 0x0A0D1A00 --- 11 unchanged lines hidden (view full) --- 56>12 belong 0x0A0D1A00 57>>(16.s+32) string >\0 %s saved game data 58# Other saved game files start with "TADS2 save\n\r\032\0" and the interpreter 59# version. 600 string TADS2\ save TADS 61>10 belong !0x0A0D1A00 saved game data, CORRUPTED 62>10 belong 0x0A0D1A00 63>>14 string >\0 %s saved game data | 48# TADS (Text Adventure Development System) 49# All files are machine-independent (games compile to byte-code) and are tagged 50# with a version string of the form "V2.<digit>.<digit>\0" (but TADS 3 is 51# on the way). 52# Game files start with "TADS2 bin\n\r\032\0" then the compiler version. 530 string TADS2\ bin TADS 54>9 belong !0x0A0D1A00 game data, CORRUPTED 55>9 belong 0x0A0D1A00 --- 11 unchanged lines hidden (view full) --- 67>12 belong 0x0A0D1A00 68>>(16.s+32) string >\0 %s saved game data 69# Other saved game files start with "TADS2 save\n\r\032\0" and the interpreter 70# version. 710 string TADS2\ save TADS 72>10 belong !0x0A0D1A00 saved game data, CORRUPTED 73>10 belong 0x0A0D1A00 74>>14 string >\0 %s saved game data |
75 |
|