Spellforce

From XentaxWiki
Jump to: navigation, search

Choose archive extension:

PAK


Format Specifications

uint32 {4}   - Version (4)
char {22}    - Header (MASSIVE PAKFILE V 4.0 + (bytes)13,10)
byte {44}    - Unknown
uint32 {4}   - Unknown
uint32 {4}   - Number Of Files
uint32 {4}   - Unknown
uint32 {4}   - First File Offset
uint32 {4}   - Archive Length

// for each file

uint32 {4}   - File Length
uint32 {4}   - Data Offset [+firstFileOffset]
uint32 {4}   - Filename Offset [+94 + numFiles*16]
uint32 {4}   - Unknown


// for each file

char {X}     - Filename (reversed)
byte {1}     - null Filename Terminator


byte {X}     - File Data

MultiEx BMS Script

Not written yet

Compatible Programs