home *** CD-ROM | disk | FTP | other *** search
view JSON data
|
view as text
|
open on a Mac
|
open on a PC
This file was processed as: Mailbox/MIME Entity
(archive/mbox).
You can browse this item here: 0013_Animated Cursor Format.pas
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Mailbox/MIME Entity (archive/mbox)
| magic
| Supported |
100%
| dexvert
| Internet Message Format (text/imf)
| magic
| Supported |
100%
| dexvert
| Pascal/Delphi Source File (text/pas)
| magic
| Supported |
1%
| dexvert
| TheDraw Pascal screen Image (image/theDrawPascalScreenImage)
| ext
| Unsupported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| Mailbox text, 1st line "From robertjh@awod.com Fri Aug 30 19:18:26 1996"
| default
| |
99%
| file
| data
| default
| |
100%
| TrID
| E-Mail message (Var. 2)
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| detectItEasy
| Format: plain text[CRLF]
| default (weak)
| |
100%
| xdgMime
| application/mbox
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 46 72 6f 6d 20 72 6f 62 | 65 72 74 6a 68 40 61 77 |From rob|ertjh@aw|
|00000010| 6f 64 2e 63 6f 6d 20 46 | 72 69 20 41 75 67 20 33 |od.com F|ri Aug 3|
|00000020| 30 20 31 39 3a 31 38 3a | 32 36 20 31 39 39 36 0d |0 19:18:|26 1996.|
|00000030| 0a 54 6f 3a 20 22 27 70 | 61 75 6c 40 77 6f 74 73 |.To: "'p|aul@wots|
|00000040| 69 74 2e 64 65 6d 6f 6e | 2e 63 6f 2e 75 6b 27 22 |it.demon|.co.uk'"|
|00000050| 20 3c 70 61 75 6c 40 77 | 6f 74 73 69 74 2e 64 65 | <paul@w|otsit.de|
|00000060| 6d 6f 6e 2e 63 6f 2e 75 | 6b 3e 0d 0a 53 75 62 6a |mon.co.u|k>..Subj|
|00000070| 65 63 74 3a 20 41 4e 49 | 20 28 57 69 6e 64 6f 77 |ect: ANI| (Window|
|00000080| 73 39 35 20 41 6e 69 6d | 61 74 65 64 20 43 75 72 |s95 Anim|ated Cur|
|00000090| 73 6f 72 20 46 69 6c 65 | 20 46 6f 72 6d 61 74 29 |sor File| Format)|
|000000a0| 0d 0a 44 61 74 65 3a 20 | 54 68 75 2c 20 32 39 20 |..Date: |Thu, 29 |
|000000b0| 41 75 67 20 31 39 39 36 | 20 32 31 3a 35 32 3a 30 |Aug 1996| 21:52:0|
|000000c0| 31 20 2d 30 34 30 30 0d | 0a 0d 0a 41 4e 49 20 28 |1 -0400.|...ANI (|
|000000d0| 57 69 6e 64 6f 77 73 39 | 35 20 41 6e 69 6d 61 74 |Windows9|5 Animat|
|000000e0| 65 64 20 43 75 72 73 6f | 72 20 46 69 6c 65 20 46 |ed Curso|r File F|
|000000f0| 6f 72 6d 61 74 29 0d 0a | 7e 7e 7e 7e 7e 7e 7e 7e |ormat)..|~~~~~~~~|
|00000100| 7e 7e 7e 7e 7e 7e 7e 7e | 7e 7e 7e 7e 7e 7e 7e 7e |~~~~~~~~|~~~~~~~~|
|00000110| 7e 7e 7e 7e 7e 7e 7e 7e | 7e 7e 7e 7e 7e 7e 7e 7e |~~~~~~~~|~~~~~~~~|
|00000120| 7e 7e 7e 0d 0a 0d 0a 54 | 68 69 73 20 69 73 20 61 |~~~....T|his is a|
|00000130| 20 70 61 72 61 70 68 72 | 61 73 65 20 6f 66 20 74 | paraphr|ase of t|
|00000140| 68 65 20 66 6f 72 6d 61 | 74 2e 20 20 49 74 20 69 |he forma|t. It i|
|00000150| 73 20 65 73 73 65 74 69 | 61 6c 6c 79 20 6a 75 73 |s esseti|ally jus|
|00000160| 74 20 61 20 52 49 46 46 | 20 66 69 6c 65 20 3d 0d |t a RIFF| file =.|
|00000170| 0a 77 69 74 68 20 65 78 | 74 65 6e 73 69 6f 6e 73 |.with ex|tensions|
|00000180| 2e 2e 2e 20 28 76 69 65 | 77 20 74 68 69 73 20 6d |... (vie|w this m|
|00000190| 6f 6e 6f 73 70 61 63 65 | 64 29 0d 0a 54 68 69 73 |onospace|d)..This|
|000001a0| 20 69 6e 66 6f 20 62 61 | 73 69 63 61 6c 6c 79 20 | info ba|sically |
|000001b0| 63 6f 6d 65 73 20 66 72 | 6f 6d 20 74 68 65 20 4d |comes fr|om the M|
|000001c0| 4d 44 4b 20 28 4d 75 6c | 74 69 6d 65 64 69 61 20 |MDK (Mul|timedia |
|000001d0| 44 65 76 4b 69 74 29 2e | 20 20 49 20 64 6f 6e 27 |DevKit).| I don'|
|000001e0| 74 20 3d 0d 0a 68 61 76 | 65 20 69 74 20 69 6e 20 |t =..hav|e it in |
|000001f0| 66 72 6f 6e 74 20 6f 66 | 20 6d 65 2c 20 73 6f 20 |front of| me, so |
|00000200| 49 27 6d 20 67 6f 69 6e | 67 20 62 61 63 6b 77 61 |I'm goin|g backwa|
|00000210| 72 64 73 20 66 72 6f 6d | 20 61 20 56 42 20 70 72 |rds from| a VB pr|
|00000220| 6f 67 72 61 6d 20 49 20 | 77 72 6f 74 65 20 3d 0d |ogram I |wrote =.|
|00000230| 0a 74 6f 20 64 65 63 6f | 64 65 20 2e 41 4e 49 20 |.to deco|de .ANI |
|00000240| 66 69 6c 65 73 2e 0d 0a | 0d 0a 22 52 49 46 46 22 |files...|.."RIFF"|
|00000250| 20 7b 4c 65 6e 67 74 68 | 20 6f 66 20 46 69 6c 65 | {Length| of File|
|00000260| 7d 0d 0a 20 20 20 20 22 | 41 43 4f 4e 22 0d 0a 20 |}.. "|ACON".. |
|00000270| 20 20 20 20 20 20 20 22 | 4c 49 53 54 22 20 7b 4c | "|LIST" {L|
|00000280| 65 6e 67 74 68 20 6f 66 | 20 4c 69 73 74 7d 0d 0a |ength of| List}..|
|00000290| 20 20 20 20 20 20 20 20 | 20 20 20 20 22 49 4e 41 | | "INA|
|000002a0| 4d 22 20 7b 4c 65 6e 67 | 74 68 20 6f 66 20 54 69 |M" {Leng|th of Ti|
|000002b0| 74 6c 65 7d 20 7b 44 61 | 74 61 7d 0d 0a 20 20 20 |tle} {Da|ta}.. |
|000002c0| 20 20 20 20 20 20 20 20 | 20 22 49 41 52 54 22 20 | | "IART" |
|000002d0| 7b 4c 65 6e 67 74 68 20 | 6f 66 20 41 75 74 68 6f |{Length |of Autho|
|000002e0| 72 7d 20 7b 44 61 74 61 | 7d 0d 0a 20 20 20 20 20 |r} {Data|}.. |
|000002f0| 20 20 20 22 66 72 61 6d | 22 0d 0a 20 20 20 20 20 | "fram|".. |
|00000300| 20 20 20 20 20 20 20 22 | 69 63 6f 6e 22 20 7b 4c | "|icon" {L|
|00000310| 65 6e 67 74 68 20 6f 66 | 20 49 63 6f 6e 7d 20 7b |ength of| Icon} {|
|00000320| 44 61 74 61 7d 20 20 20 | 20 20 20 3b 20 31 73 74 |Data} | ; 1st|
|00000330| 20 69 6e 20 6c 69 73 74 | 0d 0a 20 20 20 20 20 20 | in list|.. |
|00000340| 20 20 20 20 20 20 2e 2e | 2e 0d 0a 20 20 20 20 20 | ..|... |
|00000350| 20 20 20 20 20 20 20 22 | 69 63 6f 6e 22 20 7b 4c | "|icon" {L|
|00000360| 65 6e 67 74 68 20 6f 66 | 20 49 63 6f 6e 7d 20 7b |ength of| Icon} {|
|00000370| 44 61 74 61 7d 20 20 20 | 20 20 20 3b 20 4c 61 73 |Data} | ; Las|
|00000380| 74 20 69 6e 20 6c 69 73 | 74 20 20 28 31 20 74 6f |t in lis|t (1 to|
|00000390| 20 63 46 72 61 6d 65 73 | 29 0d 0a 20 20 20 20 22 | cFrames|).. "|
|000003a0| 61 6e 69 68 22 20 7b 4c | 65 6e 67 74 68 20 6f 66 |anih" {L|ength of|
|000003b0| 20 41 4e 49 20 68 65 61 | 64 65 72 20 28 33 36 20 | ANI hea|der (36 |
|000003c0| 62 79 74 65 73 29 7d 20 | 7b 44 61 74 61 7d 20 20 |bytes)} |{Data} |
|000003d0| 20 3b 20 28 73 65 65 20 | 41 4e 49 20 48 65 61 64 | ; (see |ANI Head|
|000003e0| 65 72 20 54 79 70 65 44 | 65 66 20 29 0d 0a 20 20 |er TypeD|ef ).. |
|000003f0| 20 20 22 72 61 74 65 22 | 20 7b 4c 65 6e 67 74 68 | "rate"| {Length|
|00000400| 20 6f 66 20 72 61 74 65 | 20 62 6c 6f 63 6b 7d 20 | of rate| block} |
|00000410| 7b 44 61 74 61 7d 20 20 | 20 20 20 20 3b 20 65 61 |{Data} | ; ea|
|00000420| 2e 20 72 61 74 65 20 69 | 73 20 61 20 6c 6f 6e 67 |. rate i|s a long|
|00000430| 20 28 6c 65 6e 67 74 68 | 20 69 73 20 31 20 74 6f | (length| is 1 to|
|00000440| 20 63 53 74 65 70 73 29 | 0d 0a 20 20 20 20 22 73 | cSteps)|.. "s|
|00000450| 65 71 20 22 20 7b 4c 65 | 6e 67 74 68 20 6f 66 20 |eq " {Le|ngth of |
|00000460| 73 65 71 75 65 6e 63 65 | 20 62 6c 6f 63 6b 7d 20 |sequence| block} |
|00000470| 7b 44 61 74 61 7d 20 3b | 20 65 61 2e 20 73 65 71 |{Data} ;| ea. seq|
|00000480| 20 69 73 20 61 20 6c 6f | 6e 67 20 28 6c 65 6e 67 | is a lo|ng (leng|
|00000490| 74 68 20 69 73 20 31 20 | 74 6f 20 63 53 74 65 70 |th is 1 |to cStep|
|000004a0| 73 29 0d 0a 0d 0a 2d 45 | 4e 44 2d 0d 0a 0d 0a 20 |s)....-E|ND-.... |
|000004b0| 2d 20 41 6e 79 20 6f 66 | 20 74 68 65 20 62 6c 6f |- Any of| the blo|
|000004c0| 63 6b 73 20 28 22 41 43 | 4f 4e 22 2c 20 22 61 6e |cks ("AC|ON", "an|
|000004d0| 69 68 22 2c 20 22 72 61 | 74 65 22 2c 20 6f 72 20 |ih", "ra|te", or |
|000004e0| 22 73 65 71 20 22 29 20 | 63 61 6e 20 61 70 70 65 |"seq ") |can appe|
|000004f0| 61 72 20 69 6e 20 61 6e | 79 20 0d 0a 6f 72 64 65 |ar in an|y ..orde|
|00000500| 72 2e 20 20 49 27 76 65 | 20 6e 65 76 65 72 20 73 |r. I've| never s|
|00000510| 65 65 6e 20 22 72 61 74 | 65 22 20 6f 72 20 22 73 |een "rat|e" or "s|
|00000520| 65 71 20 22 20 61 70 70 | 65 61 72 20 62 65 66 6f |eq " app|ear befo|
|00000530| 72 65 20 22 61 6e 69 68 | 22 2c 20 74 68 6f 75 67 |re "anih|", thoug|
|00000540| 68 2e 20 20 59 6f 75 0d | 0a 6e 65 65 64 20 74 68 |h. You.|.need th|
|00000550| 65 20 63 53 74 65 70 73 | 20 76 61 6c 75 65 20 66 |e cSteps| value f|
|00000560| 72 6f 6d 20 22 61 6e 69 | 68 22 20 74 6f 20 72 65 |rom "ani|h" to re|
|00000570| 61 64 20 22 72 61 74 65 | 22 20 61 6e 64 20 22 73 |ad "rate|" and "s|
|00000580| 65 71 20 22 2e 20 20 54 | 68 65 20 6f 72 64 65 72 |eq ". T|he order|
|00000590| 20 49 20 0d 0a 75 73 75 | 61 6c 6c 79 20 73 65 65 | I ..usu|ally see|
|000005a0| 20 74 68 65 20 66 72 61 | 6d 65 73 20 69 73 3a 20 | the fra|mes is: |
|000005b0| 22 52 49 46 46 22 2c 20 | 22 41 43 4f 4e 22 2c 20 |"RIFF", |"ACON", |
|000005c0| 22 4c 49 53 54 22 2c 20 | 22 49 4e 41 4d 22 2c 20 |"LIST", |"INAM", |
|000005d0| 22 49 41 52 54 22 2c 20 | 22 61 6e 69 68 22 2c 0d |"IART", |"anih",.|
|000005e0| 0a 22 72 61 74 65 22 2c | 20 22 73 65 71 20 22 2c |."rate",| "seq ",|
|000005f0| 20 22 4c 49 53 54 22 2c | 20 22 49 43 4f 4e 22 2e | "LIST",| "ICON".|
|00000600| 20 20 59 6f 75 20 63 61 | 6e 20 73 65 65 20 74 68 | You ca|n see th|
|00000610| 65 20 22 4c 49 53 54 22 | 20 74 61 67 20 69 73 20 |e "LIST"| tag is |
|00000620| 72 65 70 65 61 74 65 64 | 20 61 6e 64 0d 0a 74 68 |repeated| and..th|
|00000630| 65 20 22 49 43 4f 4e 22 | 20 74 61 67 20 69 73 20 |e "ICON"| tag is |
|00000640| 72 65 70 65 61 74 65 64 | 20 6f 6e 63 65 20 66 6f |repeated| once fo|
|00000650| 72 20 65 76 65 72 79 20 | 65 6d 62 65 64 64 65 64 |r every |embedded|
|00000660| 20 69 63 6f 6e 2e 20 20 | 54 68 65 20 64 61 74 61 | icon. |The data|
|00000670| 20 70 75 6c 6c 65 64 20 | 0d 0a 66 72 6f 6d 20 74 | pulled |..from t|
|00000680| 68 65 20 22 49 43 4f 4e | 22 20 74 61 67 20 69 73 |he "ICON|" tag is|
|00000690| 20 61 6c 77 61 79 73 20 | 69 6e 20 74 68 65 20 73 | always |in the s|
|000006a0| 74 61 6e 64 61 72 64 20 | 37 36 36 2d 62 79 74 65 |tandard |766-byte|
|000006b0| 20 2e 69 63 6f 20 66 69 | 6c 65 20 66 6f 72 6d 61 | .ico fi|le forma|
|000006c0| 74 2e 0d 0a 0d 0a 20 2d | 20 41 6c 6c 20 7b 4c 65 |t..... -| All {Le|
|000006d0| 6e 67 74 68 20 6f 66 2e | 2e 2e 7d 20 61 72 65 20 |ngth of.|..} are |
|000006e0| 34 62 79 74 65 20 44 57 | 4f 52 44 73 2e 0d 0a 0d |4byte DW|ORDs....|
|000006f0| 0a 20 2d 20 41 4e 49 20 | 48 65 61 64 65 72 20 54 |. - ANI |Header T|
|00000700| 79 70 65 44 65 66 3a 0d | 0a 0d 0a 73 74 72 75 63 |ypeDef:.|...struc|
|00000710| 74 20 74 61 67 41 4e 49 | 48 65 61 64 65 72 20 7b |t tagANI|Header {|
|00000720| 0d 0a 20 20 20 20 44 57 | 4f 52 44 20 63 62 53 69 |.. DW|ORD cbSi|
|00000730| 7a 65 4f 66 3b 20 2f 2f | 20 4e 75 6d 20 62 79 74 |zeOf; //| Num byt|
|00000740| 65 73 20 69 6e 20 41 6e | 69 48 65 61 64 65 72 20 |es in An|iHeader |
|00000750| 28 33 36 20 62 79 74 65 | 73 29 0d 0a 20 20 20 20 |(36 byte|s).. |
|00000760| 44 57 4f 52 44 20 63 46 | 72 61 6d 65 73 3b 20 2f |DWORD cF|rames; /|
|00000770| 2f 20 4e 75 6d 62 65 72 | 20 6f 66 20 75 6e 69 71 |/ Number| of uniq|
|00000780| 75 65 20 49 63 6f 6e 73 | 20 69 6e 20 74 68 69 73 |ue Icons| in this|
|00000790| 20 63 75 72 73 6f 72 0d | 0a 20 20 20 20 44 57 4f | cursor.|. DWO|
|000007a0| 52 44 20 63 53 74 65 70 | 73 3b 20 2f 2f 20 4e 75 |RD cStep|s; // Nu|
|000007b0| 6d 62 65 72 20 6f 66 20 | 42 6c 69 74 73 20 62 65 |mber of |Blits be|
|000007c0| 66 6f 72 65 20 74 68 65 | 20 61 6e 69 6d 61 74 69 |fore the| animati|
|000007d0| 6f 6e 20 63 79 63 6c 65 | 73 0d 0a 20 20 20 20 44 |on cycle|s.. D|
|000007e0| 57 4f 52 44 20 63 78 2c | 20 63 79 3b 20 2f 2f 20 |WORD cx,| cy; // |
|000007f0| 72 65 73 65 72 76 65 64 | 2c 20 6d 75 73 74 20 62 |reserved|, must b|
|00000800| 65 20 7a 65 72 6f 2e 0d | 0a 20 20 20 20 44 57 4f |e zero..|. DWO|
|00000810| 52 44 20 63 42 69 74 43 | 6f 75 6e 74 2c 20 63 50 |RD cBitC|ount, cP|
|00000820| 6c 61 6e 65 73 3b 20 2f | 2f 20 72 65 73 65 72 76 |lanes; /|/ reserv|
|00000830| 65 64 2c 20 6d 75 73 74 | 20 62 65 20 7a 65 72 6f |ed, must| be zero|
|00000840| 2e 0d 0a 20 20 20 20 44 | 57 4f 52 44 20 4a 69 66 |... D|WORD Jif|
|00000850| 52 61 74 65 3b 20 2f 2f | 20 44 65 66 61 75 6c 74 |Rate; //| Default|
|00000860| 20 4a 69 66 66 69 65 73 | 20 28 31 2f 36 30 74 68 | Jiffies| (1/60th|
|00000870| 20 6f 66 20 61 20 73 65 | 63 6f 6e 64 29 20 69 66 | of a se|cond) if|
|00000880| 20 72 61 74 65 20 63 68 | 75 6e 6b 20 6e 6f 74 20 | rate ch|unk not |
|00000890| 70 72 65 73 65 6e 74 2e | 0d 0a 20 20 20 20 44 57 |present.|.. DW|
|000008a0| 4f 52 44 20 66 6c 61 67 | 73 3b 20 2f 2f 20 41 6e |ORD flag|s; // An|
|000008b0| 69 6d 61 74 69 6f 6e 20 | 46 6c 61 67 20 28 73 65 |imation |Flag (se|
|000008c0| 65 20 41 46 5f 20 63 6f | 6e 73 74 61 6e 74 73 29 |e AF_ co|nstants)|
|000008d0| 0d 0a 20 20 20 20 7d 20 | 41 4e 49 48 65 61 64 65 |.. } |ANIHeade|
|000008e0| 72 3b 0d 0a 0d 0a 23 64 | 65 66 69 6e 65 20 41 46 |r;....#d|efine AF|
|000008f0| 5f 49 43 4f 4e 20 3d 33 | 44 20 30 78 30 30 30 31 |_ICON =3|D 0x0001|
|00000900| 4c 20 2f 2f 20 57 69 6e | 64 6f 77 73 20 66 6f 72 |L // Win|dows for|
|00000910| 6d 61 74 20 69 63 6f 6e | 2f 63 75 72 73 6f 72 20 |mat icon|/cursor |
|00000920| 61 6e 69 6d 61 74 69 6f | 6e 0d 0a 0d 0a 0d 0a 52 |animatio|n......R|
|00000930| 2e 20 4a 61 6d 65 73 20 | 48 6f 75 67 68 74 61 6c |. James |Houghtal|
|00000940| 69 6e 67 1a | |ing. | |
+--------+-------------------------+-------------------------+--------+--------+