TOCA Touring Car Championship

From XentaxWiki
Jump to: navigation, search

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