PoP-SoT SB0

From XentaxWiki
Jump to: navigation, search

SB0


Format Specifications

// ARCHIVE HEADER

uint16 {2}   - Unknown (4)
uint16 {2}   - Unknown (10)
uint32 {4}   - Number Of Files in Directory 1
uint32 {4}   - Number Of Files in Directory 2
uint32 {4}   - Unknown (1)
uint32 {4}   - null
byte {8}     - Padding (all 255's)


// DIRECTORY 1

// for each file in Directory 1 (100-bytes for each entry)
uint16 {2}   - File ID
uint16 {2}   - Group ID?
uint32 {4}   - Unknown (1)
uint32 {4}   - Unknown
uint32 {4}   - Unknown (usually null)
uint16 {2}   - null
uint32 {4}   - Unknown (1)
byte {6}     - null
byte {16}    - Unknown
uint64 {8}   - Type Code? (null terminated) (usually null)
uint32 {4}   - Unknown Boolean (0/1)
uint32 {4}   - Unknown Boolean (0/1) (same as previous field value)
uint32 {4}   - null
uint32 {4}   - Unknown Boolean (0/1) (same as previous "Unknown Boolean" field value)
uint32 {4}   - Unknown Boolean (0/1) (same as previous "Unknown Boolean" field value)
uint32 {4}   - Unknown
uint32 {4}   - Unknown (1)
uint32 {4}   - Unknown
byte {16}    - null


// DIRECTORY 2

// for each file in Directory 2 (128-bytes for each entry)
uint16 {2}   - Unknown
uint16 {2}   - Group ID? (same as in first directory?)
uint32 {4}   - Type identifier (1-15)

// if type is 1 (actual data) :

uint32 {4}   - File Size
uint32 {4}   - null
uint32 {4}   - File Offset (relative to the first file offset)
uint32 {4}   - Unknown
uint32 {4}   - Unknown
byte {16}    - null
uint32 {4}   - File Size /2 </font>
uint32 {4}   - File Size
uint64 {8}   - null
uint32 {4}   - Bitrate
uint32 {4}   - Sample rate
uint32 {2}   - Bits
uint32 {2}   - Channels
uint32 {4}   - File location (1 or 3)
if location is 1 :   char {40}    - Filename(null terminated)
if location is 3 :   char {40}    - Filename of external source file containing data (null terminated)
uint32 {4}   - Unknown (1)
uint32 {4}   - Padding (all 255's)


// UNKNOWN EXTRA DATA

uint32(4)   - Unknown
if previous value is not 0 :  char (X)     - Unknown
unit32(4)   - Size of remaining data in file


// FILE DATA (if there is any local data)

// for each file in Directory 2
char {X}     - File Data

MultiEx BMS

Not written yet

Notes and Comments

  • The number of files in both directories are the same

Supported Programs