Difference between revisions of "Crazy Ball BOD"

From XentaxWiki
Jump to: navigation, search
(Created page with "== BOD == * ''' Game ''': Crazy Ball <br> * ''' Format Type ''': Archive <br> * ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian <br>...")
 
(MultiEx BMS Script)
Line 38: Line 38:
 
=== MultiEx BMS Script ===  
 
=== MultiEx BMS Script ===  
  
Not written yet.
+
<div class="toccolours mw-collapsible" id="mw-customcollapsible-myDivision" style="width:800px; overflow:auto;">
 +
<pre>
 +
ImpType Standard ;
 +
IDString 0 This ;
 +
Set TEMP Long 64 ;
 +
GoTo TEMP 0 ;
 +
Get FILENUM Long 0 ;
 +
For F = 1 To FILENUM ;
 +
GetDString FNAME 256 0 ;
 +
SavePos FOFFSETX 0 ;
 +
Get FOFFSET Long 0 ;
 +
SavePos FSIZEX 0 ;
 +
Get FSIZE Long 0 ;
 +
Log FNAME FOFFSET FSIZE FOFFSETX FSIZEX ;
 +
Next F ;
 +
</pre>
 +
</div>
  
 
=== Notes and Comments ===  
 
=== Notes and Comments ===  

Revision as of 19:17, 25 October 2020

BOD


Format Specifications

// Document has been created by Bartlomiej Duda
// Creation date: 25.10.2020
// BOD file format
// Crazy Ball (PC)


64 bytes (char) - magic string // "This is a Atomic Elbow BOD file"
4 bytes (uint32) - number of files


// info array
num_of_files *
{
  256 bytes - file name
  4 bytes (uint32) - file offset
  4 bytes (uint32) - file size
}


//data
num_of_files *
{
  x bytes - data
}

MultiEx BMS Script

ImpType Standard ;
IDString 0 This ;
Set TEMP Long 64 ;
GoTo TEMP 0 ;
Get FILENUM Long 0 ;
For F = 1 To FILENUM ;
GetDString FNAME 256 0 ;
SavePos FOFFSETX 0 ;
Get FOFFSET Long 0 ;
SavePos FSIZEX 0 ;
Get FSIZE Long 0 ;
Log FNAME FOFFSET FSIZE FOFFSETX FSIZEX ;
Next F ;

Notes and Comments

None.

Compatible Programs