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
| 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 verion 4 that are not recognized.)
| 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)
--- 36 unchanged lines hidden --- | 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)
--- 36 unchanged lines hidden --- |