Difference between revisions of "Zanzarah"

From XentaxWiki
Jump to: navigation, search
 
(fixed now)
Line 13: Line 13:
 
<tt><b>
 
<tt><b>
 
uint32 {4}&nbsp;&nbsp; - null <br>  
 
uint32 {4}&nbsp;&nbsp; - null <br>  
uint32 {4}&nbsp;&nbsp; - <font color="red"> '' Number Of Files? '' </font> <br>  
+
uint32 {4}&nbsp;&nbsp; - Number Of Files <br>  
 
<br>
 
<br>
 
<font color="blue"> ''' // for each file ''' </font> <br>  
 
<font color="blue"> ''' // for each file ''' </font> <br>  
 
: uint32 {4}&nbsp;&nbsp; - Filename Length <br>  
 
: uint32 {4}&nbsp;&nbsp; - Filename Length <br>  
 
: char {X}&nbsp;&nbsp;&nbsp;&nbsp; - Filename <font color="purple">(including ..\ at the front of the filename)</font> <br>  
 
: char {X}&nbsp;&nbsp;&nbsp;&nbsp; - Filename <font color="purple">(including ..\ at the front of the filename)</font> <br>  
: uint32 {4}&nbsp;&nbsp; - Offset <font color="purple">(relative to the end of the archive +4)</font> <br>  
+
: uint32 {4}&nbsp;&nbsp; - Offset of data block <font color="purple">(relative to the end of this records)</font> <br>  
: uint32 {4}&nbsp;&nbsp; - Length <br>  
+
: uint32 {4}&nbsp;&nbsp; - Length of data block <font color="purple">(substract 8 to get filesize)</font><br>  
 
<br>
 
<br>
byte {X}&nbsp;&nbsp;&nbsp;&nbsp; - File Data <br>  
+
<font color="blue"> ''' // for each data block ''' </font> <br>
 +
: uint32 {4}&nbsp;&nbsp; - Always 0x00000101 <br>
 +
: byte {X}&nbsp;&nbsp;&nbsp;&nbsp; - File Data <br>
 +
: uint32 {4}&nbsp;&nbsp; - Always 0x00000202 <br>  
 
<br>
 
<br>
 
</b></tt>
 
</b></tt>

Revision as of 18:11, 7 December 2010

Choose archive extension:

PAK


Format Specifications

uint32 {4}   - null
uint32 {4}   - Number Of Files

// for each file

uint32 {4}   - Filename Length
char {X}     - Filename (including ..\ at the front of the filename)
uint32 {4}   - Offset of data block (relative to the end of this records)
uint32 {4}   - Length of data block (substract 8 to get filesize)


// for each data block

uint32 {4}   - Always 0x00000101
byte {X}     - File Data
uint32 {4}   - Always 0x00000202


MultiEx BMS Script

Not written yet

Notes and Comments

  • The files in the directory are NOT in the same order as the files in the archive. ie. file 1 in the directory may actually be file 3827 in the archive, etc.



Compatible Programs