Jets N Guns 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 02:16, 16 May 2005

Choose archive extension:

DAT


Format Specifications

uint16 {2}   - Unknown
uint16 {2}   - Unknown
uint32 {4}   - Number Of Files
uint32 {4}   - Directory Offset
uint32 {4}   - Unknown

// File Data

// for each file
uint32 {4}   - Offset to the start of the compressed file data (offset from dir + 12)
uint32 {4}   - Unknown
uint32 {4}   - Compressed Length
byte {X}     - Compressed File Data


// Directory

// for each file
uint16 {2}   - Filename Length (including 1 null)
char {X}     - Filename
byte {1}     - null Filename Terminator
uint32 {4}   - Decompressed Length
uint32 {4}   - Offset


MultiEx BMS Script

Not written yet

Notes and Comments

  • The first few bytes of the filenames are encrypted, the last few bytes are not encrypted.
  • Also, the files are compressed using some kind of flag field amongst the data that tells how to decompress them. The flag fields are all 1 byte long? The compression *may* be similar to that used by Maxis in the DBPF-based archives?

Compatible Programs