From: Christos Zoulas Date: Mon, 17 Oct 1994 01:22:38 +0000 (+0000) Subject: Initial revision X-Git-Tag: FILE3_27~113 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b1f60673b2990d66503f21dd3fdfaf7f63232383;p=file Initial revision --- diff --git a/magic/Magdir/animation b/magic/Magdir/animation new file mode 100644 index 00000000..98f23749 --- /dev/null +++ b/magic/Magdir/animation @@ -0,0 +1,32 @@ +# +# animation formats, originally from vax@ccwf.cc.utexas.edu (VaX#n8) +# +0 string \000\000\001\263 MPEG file +4 leshort 0xAF11 FLI file +>6 leshort x , %d frames +>8 leshort x , width=%d pixels +>10 leshort x , height=%d pixels +>12 leshort x , depth=%d +>16 leshort x , ticks/frame=%d +# +# I couldn't find a real magic number for these, however, this +# -appears- to work. Note that it might catch other files, too, +# so BE CAREFUL! +# +# Note that title and author appear in the two 20-byte chunks +# at decimal offsets 2 and 22, respectively, but they are XOR'ed with +# 255 (hex FF)! DL format SUCKS BIG ROCKS. +# +0 byte 1 DL file version 1 , medium format (160x100, 4 images/screen) +>42 byte x , %d screens +>43 byte x , %d commands +0 byte 2 DL file version 2 +>1 byte 1 , large format (320x200,1 image/screen) +>1 byte 2 , medium format (160x100,4 images/screen) +>1 byte >2 , unknown format +>42 byte x , %d screens +>43 byte x , %d commands +# This is total guesswork here. +# Based on empirical evidence, version 3's have several nulls following it. +# Most of them start with non-null values at hex offset 0x34 or so. +0 string \3\0\0\0\0\0\0\0\0\0\0\0 DL file version 3