From: Christos Zoulas Date: Fri, 31 Dec 2010 16:32:54 +0000 (+0000) Subject: new tads version X-Git-Tag: FILE5_07~85 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=657f7fbee390bcd429081b2480023fe70385bbd6;p=file new tads version --- diff --git a/magic/Magdir/adventure b/magic/Magdir/adventure index bfdf2986..6ee89900 100644 --- a/magic/Magdir/adventure +++ b/magic/Magdir/adventure @@ -1,6 +1,6 @@ #------------------------------------------------------------------------------ -# $File: adventure,v 1.11 2010/06/29 12:42:32 christos Exp $ +# $File: adventure,v 1.12 2010/09/20 18:55:20 rrt Exp $ # adventure: file(1) magic for Adventure game files # # from Allen Garvin @@ -54,10 +54,9 @@ # For Quetzal and blorb magic see iff -# TADS (Text Adventure Development System) +# TADS (Text Adventure Development System) version 2 # All files are machine-independent (games compile to byte-code) and are tagged -# with a version string of the form "V2..\0" (but TADS 3 is -# on the way). +# with a version string of the form "V2..\0". # Game files start with "TADS2 bin\n\r\032\0" then the compiler version. 0 string TADS2\ bin TADS >9 belong !0x0A0D1A00 game data, CORRUPTED @@ -82,6 +81,19 @@ >10 belong 0x0A0D1A00 >>14 string >\0 %s saved game data +# TADS (Text Adventure Development System) version 3 +# Game files start with "T3-image\015\012\032" +0 string T3-image\015\012\032 +>11 leshort x TADS 3 game data (format version %d) +# Saved game files start with "T3-state-v####\015\012\032" +# where #### is a format version number +0 string T3-state-v +>14 string \015\012\032 TADS 3 saved game data (format version +>>10 byte x %c +>>11 byte x \b%c +>>12 byte x \b%c +>>13 byte x \b%c) + # Danny Milosavljevic # this are adrift (adventure game standard) game files, extension .taf # depending on version magic continues with 0x93453E6139FA (V 4.0)