The graphics of AoE cannot be replaced easily since they are encoded in the file graphics.drs. I have found out pretty much about the header, together with Steve.
I have also set up a message board so people can share their knowledge about the .drs file format. The information for every file seems to be encoded in 12 bytes per file in the header. There are 683 (0x02AB) such mini-headers. Brian Yip has made a list of all .SLP descriptions (12 K).
00000000 436F 7079 7269 6768 7420 2863 2920 3139 Copyright (c) 19 00000010 3937 2045 6E73 656D 626C 6520 5374 7564 97 Ensemble Stud 00000020 696F 732E 1A00 0000 312E 3030 7472 6962 ios.....1.00trib 00000030 6500 0000 0000 0000 0100 0000 5020 0000 e...........P .. 00000040 2070 6C73 4C00 0000 AB02 0000 0000 0000 plsL........... The format of the header is: 40 bytes string CopyrightInfo 4 bytes string File version (1.00) 12 bytes string File type "tribe" 4 bytes Unknown? 4 bytes long DRS HeaderLength (8272 bytes = 0x2050) 8 bytes Unknown? 4 bytes long Number of sounds (683 = 0x2ab) 8196 bytes Array Sounds lookup table 00000050 5020 0000 6112 0000 0100 0000 B132 0000 P ..a........2.. The first mini header starts at 0x004C. 4 bytes long Graphic ID number (unique to each sound, starting at 0000) 4 bytes long Offset to the start of the embedded RLE file 4 bytes long Length of the embedded RLE file 00000060 2C14 0000 0200 0000 DD46 0000 45E0 0100 ,........F..E... 00000070 0300 0000 2227 0200 5B8D 0000 0400 0000 ...."'..[....... 00000080 7DB4 0200 2264 0000 0500 0000 9F18 0300 }..."d.......... 00000090 9B13 0000 0800 0000 3A2C 0300 7907 0000 ........:,..y... 000000A0 0900 0000 B333 0300 7E07 0000 0A00 0000 .....3..~....... 000000B0 313B 0300 3204 0000 0B00 0000 633F 0300 1;..2.......c?.. 000000C0 7F01 0000 0C00 0000 E240 0300 DC01 0000 .........@...... 000000D0 0D00 0000 BE42 0300 5901 0000 0F00 0000 .....B..Y....... 000000E0 1744 0300 F43E 0000 1000 0000 0B83 0300 .D...>.......... 000000F0 F12F 0000 1100 0000 FCB2 0300 1057 0000 ./...........W.. ... (more and more header data) 00002000 310C FF00 8206 0000 C602 0000 B312 FF00 1............... 00002010 1F13 0000 C702 0000 D225 FF00 CA01 0000 .........%...... 00002020 C802 0000 9C27 FF00 1805 0000 C902 0000 .....'.......... 00002030 B42C FF00 B7C3 0100 CA02 0000 6BF0 0001 .,..........k... 00002040 8810 0000 CB02 0000 F300 0101 F770 0000 .............p.. last header 00002050 322E 304E 0100 0000 5247 4520 524C 4520 2.0N....RGE RLE 00002060 7368 6170 6520 6669 6C65 0000 0000 0000 shape file...... 00002070 4C01 0000 4000 0000 0000 0000 0000 0000 L...@........... ... RLE bitmap data
![]() |
![]() |
Top | Back |