Dungeon Keeper: Difference between revisions
Jump to navigation
Jump to search
imported>WATTO (Initial Specs) |
imported>WATTO (Initial Specs) |
(No difference)
| |
Revision as of 12:38, 12 May 2005
DAT
- Format Type : Archive
- Endian Order : Little Endian
Format Specifications
byte {X} - File Data
// Directory
- byte {26} - null
- uint32 {4} - Unknown
- uint16 {2} - null
- // for each file
- char {18} - Filename (null)
- uint32 {4} - File Offset
- uint32 {4} - null
- uint32 {4} - File Size
- uint16 {2} - Padding File Indicator (0=File, 255=Padding)
- char {18} - Filename (null)
// Tail Data
- uint32 {4} - null
- uint32 {4} - Unknown (1)
- byte {10} - null
- byte {32} - Padding (all (byte)255)
- uint32 {4} - Directory Offset
- uint32 {4} - null
- uint32 {4} - Number Of Files?
- uint32 {4} - Directory Offset
- byte {96} - Padding (all (byte)255)
- byte {16} - null
- uint32 {4} - Directory Offset
- uint32 {4} - Number Of Files?
- byte {48} - null
uint32 {4} - Offset to Tail Data
MultiEx BMS
Not written yet
Notes and Comments
You need to be careful when reading this archive type because, for some reason, the files are listed multiple times. Therefore, after reading the entire directory, you should remove duplicated. Also, there are padding files with the "Padding File Indicator" field set to 255 and "Offset" field set to 0 - these should be ignored.