Jets N Guns DAT
Choose archive extension:
DAT
- Format Type : Archive
- Endian Order : Little Endian
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
- uint32 {4} - Offset to the start of the compressed file data (offset from dir + 12)
// 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
- uint16 {2} - Filename Length (including 1 null)
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?