Anachronox

From XentaxWiki
Jump to: navigation, search

Choose archive extension:

DAT


Format Specifications

char {4}     - Header (ADAT)
uint32 {4}   - Directory Offset
uint32 {4}   - Directory Length
uint32 {4}   - Unknown (9)

byte {X}     - File Data

// for each file

char {128}   - Filename (null)
uint32 {4}   - File Offset
uint32 {4}   - Decompressed File Length
uint32 {4}   - Compressed File Length
uint32 {4}   - Hash?


MultiEx BMS Script

IDString 0 ADAT ;
ImpType Standard ;
SavePos TailOffOff 0 ;
Get TO Long 0 ;
Get TS Long 0 ;
Math TS /= 144 ;
GoTo TO 0 ;
For t = 1 To TS ;
SavePos TO 0 ;
Get FN String 0 ;
Math TO += 128 ;
GoTo TO 0 ;
SavePos FOO 0 ;
Get FO Long 0 ;
Get FS Long 0 ;
SavePos FSO 0 ;
Get FS Long 0 ;
Get D Long 0 ;
Log FN FO FS FOO FSO ;
Next t ;

Notes and Comments

Uses ZLib compression?

Compatible Programs