SBF0: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
(→‎Format Specifications: Why is name SiPlus banned from creation?)
(→‎Format Specifications: More correct. The name can't be longer than 8 chars.)
Line 15: Line 15:
<br>
<br>
<font color="blue"> ''' // for each file ''' </font> <br>  
<font color="blue"> ''' // for each file ''' </font> <br>  
: char {16}&nbsp;&nbsp;&nbsp; - Filename <font color="purple">(null)</font> <br>  
: char {8}&nbsp;&nbsp;&nbsp; - Filename <font color="purple">(null)</font> <br>
: uint32 {4}&nbsp;&nbsp; - <font color="red"> '' Unknown <font color="purple">(0)</font> '' </font> <br>
: uint32 {4}&nbsp;&nbsp; - Offset <br>  
: uint32 {4}&nbsp;&nbsp; - Offset <br>  
: uint32 {4}&nbsp;&nbsp; - Size <br>  
: uint32 {4}&nbsp;&nbsp; - Size <br>  

Revision as of 08:39, 22 November 2011

SBF


Format Specifications

char {4}     - Header (SBF0) // note the zero, it is not an O
uint32 {4}   - Unknown (256)
uint64 {8}   - Game ID (various)
uint32 {4}   - Unknown (24)
uint32 {4}   - Number Of Files

// for each file

char {8}    - Filename (null)
uint32 {4}   - Unknown (0)
uint32 {4}   - Offset
uint32 {4}   - Size
uint64 {8}   - Type ID?


byte {X}     - File Data

Game IDs

  • Delta Force: Land Warrior - 1
  • Tachyon: The Fringe - 17

MultiEx BMS Script

ImpType Standard ;
IDString 0 SBF0 ;
Set TEMP Long 20 ;
GoTo TEMP 0 ;
Get FILENUM Long 0 ;
For F = 1 To FILENUM ;
GetDSTring FNAME 16 0 ;
SavePos FOFFSETX 0 ;
Get FOFFSET Long 0 ;
SavePos FSIZEX 0 ;
Get FSIZE Long 0 ;
Get FOO Long 0 ;
Get BAR Long 0 ;
Log FNAME FOFFSET FSIZE FOFFSETX FSIZEX ;
Next F ;


Compatible Programs

Other Games

These games also use this file format

  • Delta Force Land Warrior *.sbf
  • Delta Force Xtreme *.sbf
  • F-16 Multirole Fighter *.sbf