Rebels - Prison Escape

From XentaxWiki
Jump to: navigation, search

Choose archive extension:

PAK


Format Specifications

// ARCHIVE HEADER

char {16}    - Header (DoNuT:FSPacked:0)
byte {1}     - null
uint64 {8}   - Directory Offset


// FILE DATA

// for each file
byte {X}     - File Data (Compressed)


// DIRECTORY

byte {13}    - Unknown
uint32 {4}   - Unknown (2047)
uint32 {4}   - Unknown
uint32 {4}   - Hash?
uint16 {2}   - Number Of Directories (1)


// for each directory
char {X}     - Directory Name
byte {1}     - null Directory Name Terminator


// for each file
uint16 {2}   - null
char {X}     - Filename
byte {1}     - null Filename Terminator
uint64 {8}   - File Offset (relative to the start of //FILE DATA)
uint64 {8}   - Decompressed Length
uint16 {2}   - Compression Tag? (1)
uint64 {8}   - Compressed Length


uint16 {2}   - Directory Terminator (4)

MultiEx BMS

Not written yet

Notes and Comments

  • Uses ZLib compression for the file data

Supported Programs