Madden 2004 DAT2

From XentaxWiki
Revision as of 06:34, 12 December 2005 by WATTO (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

DAT (TYPE 2 - SOME COMPRESSION USED)


Format Specifications

char {4}     - Header (TERF)
uint32 {4}   - Directory Offset (16)
uint32 {4}   - Unknown (83886594)
uint16 {2}   - File Padding Size (4)
uint16 {2}   - Number Of Files
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


char {4}     - Compression Header (COMP)
uint32 {4}   - Compression Length (including these 2 fields)

// for each file

uint32 {4}   - Compression Tag (0=uncompressed, 5=compressed)
uint32 {4}   - Decompressed Size (0=uncompressed)


char {4}     - File Data Header (DATA)
uint32 {4}   - File Data Length (including these 3 fields)
uint32 {4}   - null

// for each file

byte {X}     - File Data
byte {0-3}   - null Padding to a multiple of 4 bytes


MultiEx BMS Script

Not written yet

Notes and Comments

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

Compatible Programs

Other Games

These games also use this file format

  • Madden 2004 *.dat
  • Madden 2005 *.dat