TOCA Touring Car Championship BFP: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>WATTO
No edit summary
imported>Ikskoks
 
(5 intermediate revisions by 2 users not shown)
Line 27: Line 27:
=== MultiEx BMS Script ===  
=== MultiEx BMS Script ===  


Not written yet<br><br>
<pre>ImpType SFileSize ;
Get FILENUM Long 0 ;
Get DATASTRT Long 0 ;
Get FOOBAR Long 0 ;
For X = 1 To FILENUM ;
GetDString FNAME 16 0 ;
Get FOFFSET Long 0 ;
Math FOFFSET += DATASTRT ;
SavePos FSIZEX 0 ;
Get FSIZE Long 0 ;
Log FNAME FOFFSET FSIZE 0 FSIZEX ;
Next X ;
</pre><br>


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


* [[Game Extractor|Game Extractor]]<br>
* [[Game Extractor|Game Extractor]]<br>
* [[MultiEx Commander|MultiEx Commander]]<br>
[[Category:File Format]]

Latest revision as of 15:17, 21 January 2021

Choose archive extension:

BFP


Format Specifications

uint32 {4}   - Number Of Files
uint32 {4}   - First File Offset [+12]
uint32 {4}   - Unknown

// for each file

char {16}    - Filename (null)
uint32 {4}   - Offset (relative to the end of the directory)
uint32 {4}   - Length


byte {X}     - File Data

MultiEx BMS Script

ImpType SFileSize ;
Get FILENUM Long 0 ;
Get DATASTRT Long 0 ;
Get FOOBAR Long 0 ;
For X = 1 To FILENUM ;
GetDString FNAME 16 0 ;
Get FOFFSET Long 0 ;
Math FOFFSET += DATASTRT ;
SavePos FSIZEX 0 ;
Get FSIZE Long 0 ;
Log FNAME FOFFSET FSIZE 0 FSIZEX ;
Next X ;


Compatible Programs