From: Christos Zoulas Date: Mon, 3 Jul 2017 16:03:40 +0000 (+0000) Subject: PR/622: fix infocom magic. X-Git-Tag: FILE5_32~16 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=aec4a5965d210ec1005f893ceb47e49642d9101f;p=file PR/622: fix infocom magic. --- diff --git a/magic/Magdir/adventure b/magic/Magdir/adventure index 120e3d8c..6fae85ad 100644 --- a/magic/Magdir/adventure +++ b/magic/Magdir/adventure @@ -1,6 +1,6 @@ #------------------------------------------------------------------------------ -# $File: adventure,v 1.16 2017/03/17 21:35:28 christos Exp $ +# $File: adventure,v 1.17 2017/07/03 16:03:40 christos Exp $ # adventure: file(1) magic for Adventure game files # # from Allen Garvin @@ -36,11 +36,12 @@ >0 ubyte <9 >>16 belong&0xfe00f0f0 0x3030 >>>0 ubyte < 10 ->>>>2 ubeshort < 10 +>>>>2 ubeshort x >>>>>18 regex [0-9][0-9][0-9][0-9][0-9][0-9] ->>>>>>0 ubyte < 10 Infocom (Z-machine %d, ->>>>>>>2 ubeshort < 10 Release %d / ->>>>>>>>18 string >\0 Serial %.6s) +>>>>>>0 ubyte < 10 Infocom (Z-machine %d +>>>>>>>2 ubeshort x \b, Release %d +>>>>>>>>18 string >\0 \b, Serial %.6s +>>>>>>>>18 string x \b) !:strength + 40 !:mime application/x-zmachine