PoP-2Thrones SB0

From XentaxWiki
Jump to: navigation, search

SB0


Format Specifications

// ARCHIVE HEADER

uint16 {2}   - Unknown (0)
uint16 {2}   - Unknown (21)
uint32 {4}   - Number Of Files in Directory 1
uint32 {4}   - Number Of Files in Directory 2
uint32 {4}   - Unknown (1)
uint32 {4}   - Unknown
byte {8}     - Unknown (always 255's?)


// DIRECTORY 1

// for each file in Directory 1 (104-bytes for each entry)


// DIRECTORY 2

// for each file in Directory 2 (120-bytes for each entry)
uint16 {2}   - Unknown (Possible file id)
uint16 {2}   - Unknown (Possible directory 1 id)
uint32 {4}   - Unknown (1-15, only 1 actually contains data?)
uint32 {4}   - File Size
uint32 {4}   - null
uint32 {4}   - File Offset (relative to the first file offset)
uint32 {4}   - Unknown
uint32 {4}   - Unknown
uint32 {4}   - Unknown
uint32 {4}   - Unknown
uint32 {4}   - Unknown
uint32 {4}   - Unknown
uint32 {4}   - Unknown
uint32 {4}   - Unknown
uint32 {4}   - File Size
uint64 {8}   - null
uint32 {4}   - Bitrate
uint32 {4}   - Sampling rate
uint16 {2}   - Bits (always 16?)
uint16 {2}   - Channels
uint32 {4}   - Type identifier


Type identifier = 0

uint32 {4}   - Unknown
uint32 {4}   - Unknown
uint32 {4}   - Unknown
uint32 {4}   - Unknown
uint32 {4}   - Terminator (all 255's)

Type identifier = 3

uint32 {4}   - Unknown
uint32 {4}   - Unknown
uint32 {4}   - Unknown
uint32 {4}   - Unknown
uint32 {4}   - Terminator? (all 255's)
char {X}    - External source filename (null terminated, must be even length total?)


// FILE DATA

uint32 (4)   - Unknown

// IF PREVIOUS VALUE IS NOT 0

char (X)     - Unknown
uint32 (4)   - Remaining data block size


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

MultiEx BMS

Not written yet

Notes and Comments

Supported Programs