WWII Tank Commander PCK: Difference between revisions
Jump to navigation
Jump to search
imported>WATTO No edit summary |
imported>Ikskoks m (Ikskoks moved page WWII Tank Commander to WWII Tank Commander PCK) |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 54: | Line 54: | ||
* [[Game Extractor|Game Extractor]]<br> | * [[Game Extractor|Game Extractor]]<br> | ||
[[Category:File Format]] | |||
Latest revision as of 22:31, 4 February 2021
Choose archive extension:
PCK
- Format Type : Archive
- Endian Order : Little Endian
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)
- 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
- uint32 {4} - Number Of Files and/or subdirectories
- if (type == _RID){
- // for each file/subdirectory in this directory
- // repeat from "// DIRECTORIES"
- // repeat from "// DIRECTORIES"
- // for each file/subdirectory in this directory
- uint32 {4} - Directory End Header (DNED)
- uint32 {4} - null
- }
- uint32 {4} - Directory End Header (DNED)
- 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
- }
- uint32 {4} - Length Of File Entry (not including the 4-byte header or this field)
- else if (type == ELIF){
// FILE DATA
- char {4} - Data Header (DATA)
- uint32 {4} - File Data Length
- byte {X} - File Data (**)
MultiEx BMS
Not written yet