SOCOM US Navy Seals (PS2)

From XentaxWiki
Jump to: navigation, search

Choose archive extension:

ZAR


Format Specifications

// ARCHIVE HEADER

uint32 {4}   - null
uint32 {4}   - Number Of Type Names [/2 +-1]
uint32 {4}   - Length Of Type Names Directory
uint32 {4}   - Hash?
uint32 {4}   - Padding Length (16)
byte {64}    - null
uint32 {4}   - File Data Length (length of everything in //FILE DATA)
uint32 {4}   - null
uint32 {4}   - Padding (null OR all 255's)
uint16 {2}   - Unknown (2)
uint16 {2}   - Unknown (2)


// TYPE NAMES DIRECTORY

// for each type
char {X}     - Type Name
byte {1}     - null Type Name Terminator


// DIRECTORY

byte {12}    - null
uint32 {4}   - Number Of Files


// for each file (64-bytes per entry)
uint32 {4}   - Hash?
uint32 {4}   - File Offset (relative to the start of the file data)
uint32 {4}   - File Length
uint32 {4}   - Number Of Descriptors (0/3)


// for each descriptor
uint32 {4}   - Hash?
uint32 {4}   - Descriptor Offset
uint32 {4}   - Descriptor Length (4)
uint32 {4}   - null


byte {0-15}  - Padding to a multiple of 16 bytes (Padded with letter "P")

// FILE DATA

// for each file
char {X}     - Filename
byte {1}     - null Filename Terminator
byte {0-3}   - null Padding to a multiple of 4 bytes
byte {X}     - File Data
byte {0-15}  - Padding to a multiple of 16 bytes (Padded with letter "P"

MultiEx BMS

Not written yet

Supported Programs