SBF0: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>SiPlus
(→‎Format Specifications: Some info about segments)
Line 8: Line 8:


<tt><b>
<tt><b>
char {4}&nbsp;&nbsp;&nbsp;&nbsp; - Header <font color="purple">(SBF0)</font> <font color="blue">// note the zero, it is not an O </font> <br>  
char {4}&nbsp;&nbsp;&nbsp;&nbsp; - Header <font color="purple">(SBF0)</font> <font color="blue">// note the zero, it is not an O </font>  
uint32 {4}&nbsp;&nbsp; - <font color="red"> '' Unknown <font color="purple">(256)</font> '' </font> <br>  
uint32 {4}&nbsp;&nbsp; - <font color="red"> '' Unknown <font color="purple">(256)</font> '' </font>  
uint64 {8}&nbsp;&nbsp; - <font color="red"> '' Game ID? <font color="purple">(various)</font> '' </font> <br>  
uint64 {8}&nbsp;&nbsp; - <font color="red"> '' Game ID? <font color="purple">(various)</font> '' </font>  
uint32 {4}&nbsp;&nbsp; - <font color="red"> '' Unknown <font color="purple">(24)</font> '' </font> <br>  
uint32 {4}&nbsp;&nbsp; - <font color="red"> '' Unknown <font color="purple">(24)</font> '' </font>  
uint32 {4}&nbsp;&nbsp; - Number Of Files <br>
uint32 {4}&nbsp;&nbsp; - Number Of Files  
<br>
 
<font color="blue"> ''' // for each file ''' </font> <br>  
<font color="blue"> ''' // for each file ''' </font>  
: char {8}&nbsp;&nbsp;&nbsp; - Filename <font color="purple">(null)</font> <br>
: char {8}&nbsp;&nbsp;&nbsp; - Filename <font color="purple">(null)</font>
: uint32 {4}&nbsp;&nbsp; - <font color="red"> '' Unknown <font color="purple">(0)</font> '' </font> <br>
: uint32 {4}&nbsp;&nbsp; - <font color="red"> '' Unknown <font color="purple">(0)</font> '' </font>
: uint32 {4}&nbsp;&nbsp; - Offset <br>
: uint32 {4}&nbsp;&nbsp; - Offset  
: uint32 {4}&nbsp;&nbsp; - Size <br>
: uint32 {4}&nbsp;&nbsp; - Size  
: uint64 {8}&nbsp;&nbsp; - <font color="red"> '' Type ID? <font color="purple">(4104 for DFLW, 4096 for TTF)</font> '' </font> <br>  
: uint64 {8}&nbsp;&nbsp; - <font color="red"> '' Type ID? <font color="purple">(4104 for DFLW, 4096 for TTF)</font> '' </font>  
<br>
 
byte {X}&nbsp;&nbsp;&nbsp;&nbsp; - File Data <br>  
byte {X}&nbsp;&nbsp;&nbsp;&nbsp; - File Data
<br>
: <font color="blue">'''// for each segment'''</font>
: uint32 {4}&nbsp;&nbsp; - Segment size
: uint8 {1}&nbsp;&nbsp;&nbsp; - <font color="red">''Unknown <font color="purple">(1-5)</font>''</font>
: uint8 {1}&nbsp;&nbsp;&nbsp; - <font color="red">''Unknown <font color="purple">(same as previous)</font>''</font>
: uint32 {4}&nbsp;&nbsp; - <font color="red">''Unknown <font color="purple">(4032)</font>''</font>
: byte {X}&nbsp;&nbsp;&nbsp;&nbsp; - Segment data
</b></tt>
</b></tt>
==== Game IDs ====
==== Game IDs ====

Revision as of 10:06, 20 July 2012

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? (4104 for DFLW, 4096 for TTF)

byte {X}     - File Data

// for each segment
uint32 {4}   - Segment size
uint8 {1}    - Unknown (1-5)
uint8 {1}    - Unknown (same as previous)
uint32 {4}   - Unknown (4032)
byte {X}     - Segment 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