Vietcong CBF
From XentaxWiki
Choose archive extension:
Contents
CBF
- Format Type : Archive
- Endian Order : Little Endian
Format Specifications
char {8} - Header (BIGF + (byte)1 + ZBL)
uint64 {8} - Archive Size
uint32 {4} - Number Of Files
uint64 {8} - Directory Offset
uint64 {8} - Directory Size
uint64 {8} - First File Offset (header size) (64)
uint32 {4} - Unknown
uint64 {8} - Unknown
uint64 {8} - null
// go to dirOffset
- // for each file
- uint16 {2} - Entry Size (not including these 2 bytes)
- byte {X} - Entry
- uint16 {2} - Entry Size (not including these 2 bytes)
MultiEx BMS Script
Not written yet
Notes and Comments
- This format might use a technique similar o the indexing in the Unreal engine?
- The most probable explaination of the archive format is that the directory entries are encrypted, and that each directory entry stores the filename of the file. This would explain the different sized directory entries.
- There is a repeating pattern of bytes that appear in the directory, in the arrangement 33,243,6,50,30. It is possible that this is a repeating key - if so then it probably repeats over and over, but pauses when reading the entry size field.
- Also, by looking at some of the files, it is probable that some files are encrypted using byte 90 (Z)
Compatible Programs
- None - Incomplete Format Specifications