Vietcong

From XentaxWiki
Jump to: navigation, search

Choose archive extension:

CBF


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


MultiEx BMS Script

Not written yet

Notes and Comments

  • filenames are encrypted with a simple key-based algorithm
  • files in the package are encoded using 3 different methods:
    • those starting with the [..] pattern are compressed with the LZW algorithm (but files are not clean at 100%, don't know why), after the pattern is specified also the 32 bits compressed and uncompressed size of the file
    • all the others are encrypted with a simple algorithm
    • some of the above files (seems only those in the INI\DAT folder) have a second encryption, simple as above



Compatible Programs

  • None - Incomplete Format Specifications

CBF files extractor
http://aluigi.altervista.org/papers.htm#cbfext