Motoracer BKF: Difference between revisions
Jump to navigation
Jump to search
imported>WATTO No edit summary |
imported>Ikskoks m (Ikskoks moved page Motoracer to Motoracer BKF) |
||
| (10 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 { | : char {36} - Filename (null terminated, filled with junk)<br> | ||
: uint32 {4} - File Offset <br> | |||
: uint32 {4} - File Length <br> | |||
: uint32 {4} - Offset <br> | |||
: | |||
<br> | <br> | ||
byte {X} - File Data <br> | byte {X} - File Data <br> | ||
| Line 28: | Line 25: | ||
=== MultiEx BMS Script === | === MultiEx BMS Script === | ||
<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 GP | |||
[[Category:File Format]] | |||
Latest revision as of 22:19, 16 January 2021
Choose archive extension:
BKF
- Format Type : Archive
- Endian Order : Little Endian
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