1 # 2 # Example magic file for mkhybrid 3 # 4 # The "message" for the offset MUST be 4 characters for the CREATOR 5 # and 4 characters for the TYPE - white space is optional between them. 6 # Any other characters on this line are ignored. Continuation lines (starting 7 # with '>') are also ignored i.e. only the initial offset lines are used. 8 # 9 # The continuation lines are given here, but they do not need to exist. 10 11 # 12 # James Pearson 20/5/98 13 14 # off type test message 15 16 # GIF 17 0 string GIF8 8BIM GIFf 18 >4 string 7a \b, version 8%s, 19 >4 string 9a \b, version 8%s, 20 >6 leshort >0 %hd x 21 >8 leshort >0 %hd, 22 #>10 byte &0x80 color mapped, 23 #>10 byte&0x07 =0x00 2 colors 24 #>10 byte&0x07 =0x01 4 colors 25 #>10 byte&0x07 =0x02 8 colors 26 #>10 byte&0x07 =0x03 16 colors 27 #>10 byte&0x07 =0x04 32 colors 28 #>10 byte&0x07 =0x05 64 colors 29 #>10 byte&0x07 =0x06 128 colors 30 #>10 byte&0x07 =0x07 256 colors 31 32 # JPEG images 33 # 34 0 ubeshort 0xffd8 8BIM JPEG image data 35 36 # StuffIt 37 # 38 0 string SIT! SIT!SIT! 39 40 # standard unix compress 41 0 string \037\235 LZIV ZIVU 42 >2 byte&0x80 >0 block compressed 43 >2 byte&0x1f x %d bits 44 45 # gzip (GNU zip, not to be confused with Info-ZIP or PKWARE zip archiver) 46 0 string \037\213 GNUz ZIVU gzip compressed data 47 >2 byte <8 \b, reserved method, 48 >2 byte 8 \b, deflated, 49 >3 byte &0x01 ASCII, 50 >3 byte &0x02 continuation, 51 >3 byte &0x04 extra field, 52 >3 byte &0x08 original filename, 53 >3 byte &0x10 comment, 54 >3 byte &0x20 encrypted, 55 >4 ledate x last modified: %s, 56 >8 byte 2 max compression, 57 >8 byte 4 max speed, 58 >9 byte =0x00 os: MS-DOS 59 >9 byte =0x01 os: Amiga 60 >9 byte =0x02 os: VMS 61 >9 byte =0x03 os: Unix 62 >9 byte =0x05 os: Atari 63 >9 byte =0x06 os: OS/2 64 >9 byte =0x07 os: MacOS 65 >9 byte =0x0A os: Tops/20 66 >9 byte =0x0B os: Win/32 67 68 # Postscript 69 0 string %! ASPSTEXT 70 >2 string PS-Adobe- conforming 71 >>11 string >\0 at level %.3s 72 >>>15 string EPS - type %s 73 >>>15 string Query - type %s 74 >>>15 string ExitServer - type %s 75 # Some PCs have the annoying habit of adding a ^D as a document separator 76 0 string \004%! ASPS TEXT PostScript document text 77 >3 string PS-Adobe- conforming 78 >>12 string >\0 at level %.3s 79 >>>16 string EPS - type %s 80 >>>16 string Query - type %s 81 >>>16 string ExitServer - type %s 82