Midnight Club 2 DAT: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>WATTO
No edit summary
 
imported>WATTO
No edit summary
(No difference)

Revision as of 09:32, 20 December 2005

Choose archive extension:

DAT


Format Specifications

// ARCHIVE HEADER

char {4}     - Header ("Dave" or "DAVE")
uint32 {4}   - Number Of Files?
uint32 {4}   - Filename Directory Offset [+2048] (ie relative to the start of the Directory)
uint32 {4}   - First File Data Offset [+2048+FilenameDirOffset] (ie relative to the start of the FilenameDir)
byte {2032}  - null Padding to offset 2048


// DIRECTORY

// for each file
uint32 {4}   - Filename Offset (relative to the start of the filename directory)
uint32 {4}   - File Offset
uint32 {4}   - Decompressed File Length
uint32 {4}   - Compressed File Length


byte {0-2047}      - null Padding to a multiple of 2048 bytes


// FILENAME DIRECTORY

// for each file
char {X}     - Filename
byte {1}     - null Filename Terminator


// FILE DATA

// for each file
byte {X}     - File Data
byte {0-2047}      - null Padding to a multiple of 2048 bytes

MultiEx BMS

Not written yet

Notes and Comments

  • If the header is DAVE, there is no compression or encryption
  • If the header is Dave, the filenames are encrypted, and the files can be compressed
  • Unknown encryption and compression types

Supported Programs