Bionicle: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>WATTO
imported>Ikskoks
Line 12: Line 12:


<tt><b>
<tt><b>
char {4}&nbsp;&nbsp;&nbsp;&nbsp; - Header <font color="purple">(VOLT)</font> <br>  
char {4}&nbsp;&nbsp;&nbsp;&nbsp; - Magic <font color="purple">(VOLT)</font> <br>  
uint32 {4}&nbsp;&nbsp; - <font color="red"> '' Version? <font color="purple">(2)</font> '' </font> <br>  
uint32 {4}&nbsp;&nbsp; - '' Version <font color="purple">(2)</font> '' <br>  
uint32 {4}&nbsp;&nbsp; - Number Of Files <br>  
uint32 {4}&nbsp;&nbsp; - Number Of Files <br>  
uint32 {4}&nbsp;&nbsp; - Directory Size <br>  
uint32 {4}&nbsp;&nbsp; - Size of the File List <br>  
<br>
<br>
<font color="blue"> ''' // for each file ''' </font> <br>  
<font color="blue"> ''' // for each file ''' </font> <br>  
: uint32 {4}&nbsp;&nbsp; - <font color="red"> '' Unknown '' </font> <br>  
: uint32 {4}&nbsp;&nbsp; - '' CRC32 hash of the file name '' <br>  
: uint32 {4}&nbsp;&nbsp; - <font color="red"> '' File Type ID? <font color="purple">(1)</font> '' </font> <br>  
: uint32 {4}&nbsp;&nbsp; - <font color="red"> '' File Type ID? <font color="purple">(1)</font> '' </font> <br>  
: uint32 {4}&nbsp;&nbsp; - <font color="red"> '' File ID Number? <font color="purple">(goes up by 25 for each file)</font> '' </font> <br>  
: uint32 {4}&nbsp;&nbsp; - <font color="red"> '' File ID Number? <font color="purple">(goes up by 25 for each file)</font> '' </font> <br>  
<br>
<br>
<font color="blue"> ''' // for each file ''' </font> <br>  
<font color="blue"> ''' // for each file ''' </font> <br>  
: uint32 {4}&nbsp;&nbsp; - <font color="red"> '' File Offset ? '' </font> <br>  
: uint32 {4}&nbsp;&nbsp; - '' File Offset '' <br>  
: uint32 {4}&nbsp;&nbsp; - null <br>  
: uint32 {4}&nbsp;&nbsp; - null <br>  
: uint32 {4}&nbsp;&nbsp; - <font color="red"> '' File Size ? '' </font> <br>  
: uint32 {4}&nbsp;&nbsp; - '' File Size '' <br>  
: uint32 {4}&nbsp;&nbsp; - null <br>  
: uint32 {4}&nbsp;&nbsp; - null <br>  
: byte {X}&nbsp;&nbsp;&nbsp;&nbsp; - Filename <br>  
: byte {X}&nbsp;&nbsp;&nbsp;&nbsp; - Filename <br>  
: byte {1}&nbsp;&nbsp;&nbsp;&nbsp; - null <br>
: byte {1}&nbsp;&nbsp;&nbsp;&nbsp; - null <br>
<br>
<br>
byte {X}&nbsp;&nbsp;&nbsp;&nbsp; - File Data <br>  
<font color="blue"> ''' // for each file ''' </font> <br>
: byte {X}&nbsp;&nbsp;&nbsp;&nbsp; - File Data <br>  
<br>
<br>
</b></tt>
</b></tt>

Revision as of 10:38, 11 October 2020

Choose archive extension:

AVL, VOL


Format Specifications

char {4}     - Magic (VOLT)
uint32 {4}   - Version (2)
uint32 {4}   - Number Of Files
uint32 {4}   - Size of the File List

// for each file

uint32 {4}   - CRC32 hash of the file name
uint32 {4}   - File Type ID? (1)
uint32 {4}   - File ID Number? (goes up by 25 for each file)


// for each file

uint32 {4}   - File Offset
uint32 {4}   - null
uint32 {4}   - File Size
uint32 {4}   - null
byte {X}     - Filename
byte {1}     - null


// for each file

byte {X}     - File Data


MultiEx BMS Script

IDString 0 VOLT ;
Get VN Long 0 ;
Get FN Long 0 ;
Get HS Long 0 ;
SavePos ST 0 ;
Set J Long 12 ;
Math J *= FN ;
Math ST += J ;
GoTo ST 0 ;
For T = 1 To FN ;
SavePos FOO 0 ;
Get FO Long 0 ;
Get D Long 0 ;
SavePos FSO 0 ;
Get FS Long 0 ;
Get D Long 0 ;
Get FNA String 0 ;
Log FNA FO FS FOO FSO ;
Next T ;

Compatible Programs



Other Games

These games also use this file format

  • Bionicle
  • Catwoman