Difference between revisions of "Vietcong CBF"

From XentaxWiki
Jump to: navigation, search
(Notes and Comments)
m (Ikskoks moved page Vietcong to Vietcong CBF)
 
(4 intermediate revisions by 2 users not shown)
Line 37: Line 37:
 
* filenames are encrypted with a simple key-based algorithm
 
* filenames are encrypted with a simple key-based algorithm
 
* files in the package are encoded using 3 different methods:
 
* 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
+
** 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
+
** 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
+
** some of the above files (seems only those in the INI\DAT folder) have a second encryption, simple as above
 
<br><br>
 
<br><br>
  
Line 45: Line 45:
  
 
* None - Incomplete Format Specifications
 
* None - Incomplete Format Specifications
 +
CBF files extractor<br>
 +
http://aluigi.altervista.org/papers.htm#cbfext
 +
 +
 +
[[Category:File Format]]

Latest revision as of 19:09, 25 January 2021

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