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