PoP-SoT BF 2

From XentaxWiki
Jump to: navigation, search

BF (Type 2)


Format Specifications

uint32 {4}   - Directory Length [+4 for this field]

// for each file

uint32 {4}   - Unknown
uint32 {4}   - File Offset [+DirectoryLength]
uint32 {4}   - File Length
uint32 {4}   - null
uint32 {4}   - Filename Length (including trailing null)
char {X}     - Filename
byte {1}     - null


byte {X}     - File Data

MultiEx BMS Script

Get ST Long 0 ;
Set STE Long ST ;
Math STE += 4 ;
For T = 0 To ST ;
Get DOff Long 0 ;
SavePos OffOff 0 ;
Get Off Long 0 ;
Math Off += STE ;
SavePos SizeOff 0 ;
Get Size Long 0 ;
Get D Long 0 ;
Get BS Long 0 ;
GetDString FN BS 0 ;
Log FN Off Size OffOff SizeOff ;
Math T -= 1 ;
Math T += 20 ;
Math T += BS ;
Next T ;

Compatible Programs

Other Games

These games also use this file format

  • Prince Of Persia: Sands Of Time *.bf
  • Prince Of Persia: Warrior Within *.bf
  • Prince Of Persia: The Two Thrones *.bf