Motoracer BKF: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>WATTO
No edit summary
imported>Ikskoks
m (Ikskoks moved page Motoracer to Motoracer BKF)
 
(9 intermediate revisions by 3 users not shown)
Line 15: Line 15:
<br>
<br>
<font color="blue"> ''' // for each file ''' </font> <br>  
<font color="blue"> ''' // for each file ''' </font> <br>  
: char {X}&nbsp;&nbsp;&nbsp;&nbsp; - Filename <br>
: char {36}&nbsp;&nbsp;&nbsp; - Filename (null terminated, filled with junk)<br>  
: byte {1}&nbsp;&nbsp;&nbsp;&nbsp; - null Filename Terminator <br>
: uint32 {4}&nbsp;&nbsp; - File Offset <br>  
: byte {18}&nbsp;&nbsp;&nbsp; - <font color="red"> '' Hash? '' </font> <br>  
: uint32 {4}&nbsp;&nbsp; - File Length <br>  
: uint32 {4}&nbsp;&nbsp; - Offset <br>  
: uint16 {2}&nbsp;&nbsp; - <font color="red"> '' Unknown '' </font> <br>
: uint16 {2}&nbsp;&nbsp; - <font color="red"> '' Unknown '' </font> <br>  
<br>
<br>
byte {X}&nbsp;&nbsp;&nbsp;&nbsp; - File Data <br>  
byte {X}&nbsp;&nbsp;&nbsp;&nbsp; - File Data <br>  
Line 28: Line 25:
=== MultiEx BMS Script ===  
=== MultiEx BMS Script ===  


Not written yet<br><br>
<pre>ImpType Standard ;
Get FILENUM Long 0 ;
For X = 1 To FILENUM ;
GetDString FNAME 36 0 ;
SavePos FOFFSETX 0 ;
Get FOFFSET Long 0 ;
SavePos FSIZEX 0 ;
Get FSIZE Long 0 ;
Log FNAME FOFFSET FSIZE FOFFSETX FSIZEX ;
Next X ;</pre>


=== Compatible Programs ===  
=== Compatible Programs ===  


* [[Game Extractor|Game Extractor]]<br>
* [[Game Extractor|Game Extractor]]<br>
* [[MultiEx Commander|MultiEx Commander]]<br>


=== Other Games ===  
=== Other Games ===  


These games also use this file format<br>
These games also use this file format<br>
* [[Motoracer|Motoracer]]
* Motoracer
* [[Motoracer GP|Motoracer GP]]
* Motoracer GP
 
 
[[Category:File Format]]

Latest revision as of 22:19, 16 January 2021

Choose archive extension:

BKF


Format Specifications

uint32 {4}   - Number Of Files

// for each file

char {36}    - Filename (null terminated, filled with junk)
uint32 {4}   - File Offset
uint32 {4}   - File Length


byte {X}     - File Data

MultiEx BMS Script

ImpType Standard ;
Get FILENUM Long 0 ;
For X = 1 To FILENUM ;
GetDString FNAME 36 0 ;
SavePos FOFFSETX 0 ;
Get FOFFSET Long 0 ;
SavePos FSIZEX 0 ;
Get FSIZE Long 0 ;
Log FNAME FOFFSET FSIZE FOFFSETX FSIZEX ;
Next X ;

Compatible Programs

Other Games

These games also use this file format

  • Motoracer
  • Motoracer GP