Difference between revisions of "Spellforce PAK"

From XentaxWiki
Jump to: navigation, search
 
(Compatible Programs)
 
(2 intermediate revisions by the same user not shown)
Line 42: Line 42:
  
 
* [[Game Extractor|Game Extractor]]<br>
 
* [[Game Extractor|Game Extractor]]<br>
 +
 +
 +
[[Category:Extension_pak | Extension: pak]]
 +
[[Category:File Format]]

Latest revision as of 21:30, 29 March 2022

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