SpellForce PAK: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Ikskoks
imported>Ikskoks
Line 6: Line 6:


* ''' Format Type ''':    Archive <br>  
* ''' Format Type ''':    Archive <br>  
* ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian <br>  
* ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian <br>
* ''' Signature ''':    MASSIVE PAKFILE V 4.0 <br> 




Line 13: Line 14:
<tt><b>
<tt><b>
uint32 {4}&nbsp;&nbsp; - Version <font color="purple">(4)</font> <br>  
uint32 {4}&nbsp;&nbsp; - Version <font color="purple">(4)</font> <br>  
char {22}&nbsp;&nbsp;&nbsp; - Header <font color="purple">(MASSIVE PAKFILE V 4.0 + <font color="purple">(bytes)</font>13,10)</font> <br>  
char {22}&nbsp;&nbsp;&nbsp; - Signature <font color="purple">(MASSIVE PAKFILE V 4.0 + <font color="purple">(bytes)</font>13,10)</font> <br>  
byte {44}&nbsp;&nbsp;&nbsp; - <font color="red"> '' Unknown '' </font> <br>  
byte {44}&nbsp;&nbsp;&nbsp; - <font color="red"> '' Unknown '' </font> <br>  
uint32 {4}&nbsp;&nbsp; - <font color="red"> '' Unknown '' </font> <br>  
uint32 {4}&nbsp;&nbsp; - <font color="red"> '' Unknown '' </font> <br>  

Revision as of 20:12, 24 October 2022

Choose archive extension:

PAK

  • Format Type : Archive
  • Endian Order : Little Endian
  • Signature : MASSIVE PAKFILE V 4.0


Format Specifications

uint32 {4}   - Version (4)
char {22}    - Signature (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