Skip to content

Latest commit

 

History

History
83 lines (70 loc) · 3.04 KB

README.md

File metadata and controls

83 lines (70 loc) · 3.04 KB

Vietcong data-files specification

This project aims to document as many file formats used by Vietcong game as possible. We use mainly Python scripts and Veles for documenting each file format (there is no official specification and also no disassembling is used during this process).

Python scripts are stored in scripts directory. There is mostly one script per file format. They are used for verifying that our specification (stored in doc dir) is compatible with files distributed by Vietcong game or generated by official utils (such as game editor or 3DS Max plugins). Sometimes they have more functionality, type -h for help.

We also forked Veles binary analysis tool for better understanding of each file format (it helps us understand meaning of each byte of file by aplying certain parsers).

Specification of CBF file format is partly based on vietcong-unpacker project.

File formats with full specification

  • CTR (Control) - control files.
  • WAY (Waypoints) - vehicle waypoints.

Known file formats

  • BES (BenyErikSolitude) - 3D model. Contains references to other sources, like textures. Documented around 90% of version 100. Known tools:
  • CBF (CompressedBigFile) - archive containing encrypted/compressed files. Documented around 95% for both ZBL0 and ZBL1 versions. Known tools:
  • EQP (Equipment)
  • FNT (Font)
  • MANM (ModelAnimation) - describes animation of certain model from BES file. Documented around 40%.
  • SCO (SceneObject) - level scene. Contains position of game objects, like models, waypoints etc. Documented around 1%. Known tools:
  • SCR (Script) - compiled from Script ANSI C source code

Unknown file formats

  • LCP
  • LDT
  • OCT
  • PTL
  • SCC
  • SHM
  • SSC (sound?)
  • STD
  • STG
  • STO (skelet animation?)
  • TX3
  • XDT
  • XST
  • XTL

Generic file formats

Images:

Audio: