SBF0: Difference between revisions
Jump to navigation
Jump to search
(→Format Specifications: More correct. The name can't be longer than 8 chars.) |
|||
| Line 10: | Line 10: | ||
char {4} - Header <font color="purple">(SBF0)</font> <font color="blue">// note the zero, it is not an O </font> <br> | char {4} - Header <font color="purple">(SBF0)</font> <font color="blue">// note the zero, it is not an O </font> <br> | ||
uint32 {4} - <font color="red"> '' Unknown <font color="purple">(256)</font> '' </font> <br> | uint32 {4} - <font color="red"> '' Unknown <font color="purple">(256)</font> '' </font> <br> | ||
uint64 {8} - <font color="red"> '' Game ID <font color="purple">(various)</font> '' </font> <br> | uint64 {8} - <font color="red"> '' Game ID? <font color="purple">(various)</font> '' </font> <br> | ||
uint32 {4} - <font color="red"> '' Unknown <font color="purple">(24)</font> '' </font> <br> | uint32 {4} - <font color="red"> '' Unknown <font color="purple">(24)</font> '' </font> <br> | ||
uint32 {4} - Number Of Files <br> | uint32 {4} - Number Of Files <br> | ||
| Line 19: | Line 19: | ||
: uint32 {4} - Offset <br> | : uint32 {4} - Offset <br> | ||
: uint32 {4} - Size <br> | : uint32 {4} - Size <br> | ||
: uint64 {8} - <font color="red"> '' Type ID? '' </font> <br> | : uint64 {8} - <font color="red"> '' Type ID? <font color="purple">(4104 for DFLW, 4096 for TTF)</font> '' </font> <br> | ||
<br> | <br> | ||
byte {X} - File Data <br> | byte {X} - File Data <br> | ||
Revision as of 08:43, 22 November 2011
SBF
- Format Type : Archive
- Endian Order : Little Endian
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
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