WWII Tank Commander PCK

From XentaxWiki
Revision as of 23:31, 4 February 2021 by Ikskoks (talk | contribs) (Ikskoks moved page WWII Tank Commander to WWII Tank Commander PCK)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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