WWII Tank Commander

From XentaxWiki
Jump to: navigation, search

Choose archive extension:

PCK


Format Specifications

// ARCHIVE HEADER

uint32 {4}   - Header (0KCP)
uint32 {4}   - Version? (4)
uint32 {4}   - Offset To The Data Segment


// DIRECTORIES

// for each file/directory
uint32 {4}   - Type Header (_RID, ELIF)


if (type == _RID){
uint32 {4}   - Number Of Files and/or subdirectories
uint16 {2}   - Directory Name Length
char {X}     - Filename


// for each file/subdirectory in this directory
// repeat from "// DIRECTORIES"


uint32 {4}   - Directory End Header (DNED)
uint32 {4}   - null
}


else if (type == ELIF){
uint32 {4}   - Length Of File Entry (not including the 4-byte header or this field)
uint32 {4}   - File Offset (Relative to the start of the File Data (**))
uint32 {4}   - File Length
uint16 {2}   - Filename Length
char {X}     - Filename
}


// FILE DATA

char {4}     - Data Header (DATA)
uint32 {4}   - File Data Length
byte {X}     - File Data (**)

MultiEx BMS

Not written yet

Supported Programs