Madden 2004 DAT1

From XentaxWiki
Jump to: navigation, search

DAT (TYPE 1 - NO COMPRESSION USED)


Format Specifications

char {4}     - Header (TERF)
uint32 {4}   - Directory Offset (64)
uint32 {4}   - Unknown (83886594)
uint16 {2}   - File Padding Size (64)
uint16 {2}   - Number Of Files
byte {48}    - null
char {4}     - Directory Header (DIR1)
uint32 {4}   - Directory Length (including these 2 fields)

// for each file

uint32 {4}   - File Offset (relative to the start of the FileDataHeader)
uint32 {4}   - File Length


byte {0-63}  - null Padding to a multiple of 64 bytes
char {4}     - File Data Header (DATA)
uint32 {4}   - File Data Length (including these 3 fields)
byte {56}    - null

// for each file

byte {X}     - File Data
byte {0-63}  - null Padding to a multiple of 64 bytes


MultiEx BMS Script

Not written yet

Notes and Comments

NOTE: Files with length=0 still incur padding, so are actually 64 null bytes

Compatible Programs