Dungeon Keeper

From XentaxWiki
Jump to: navigation, search

Choose archive extension:

DAT


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)


// Tail Data

uint32 {4}   - null
uint32 {4}   - Unknown (1)
byte {10}    - null
byte {32}    - Padding (all 255's)
uint32 {4}   - Directory Offset
uint32 {4}   - null
uint32 {4}   - Number Of Files?
uint32 {4}   - Directory Offset
byte {96}    - Padding (all 255's)
byte {16}    - null
uint32 {4}   - Directory Offset
uint32 {4}   - Number Of Files?
byte {48}    - null


uint32 {4}   - Offset to Tail Data

MultiEx BMS Script

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 duplicates. Also, there are padding files with the "Padding File Indicator" field set to 255 and "Offset" field set to 0 - these should be ignored.



Compatible Programs