https://github.com/pyogenics/wotbscpgformat
World of Tanks: Blitz SC2/SCG (SFV2/SCPG) file format documentation
https://github.com/pyogenics/wotbscpgformat
3d-models blender blender-addon reverse-engineering world-of-tanks-blitz wot-blitz wotb wotblitz
Last synced: 12 months ago
JSON representation
World of Tanks: Blitz SC2/SCG (SFV2/SCPG) file format documentation
- Host: GitHub
- URL: https://github.com/pyogenics/wotbscpgformat
- Owner: Pyogenics
- License: mit
- Created: 2023-07-17T13:17:31.000Z (over 2 years ago)
- Default Branch: v1.0.0-pre
- Last Pushed: 2024-09-21T12:57:39.000Z (over 1 year ago)
- Last Synced: 2025-03-22T19:44:10.189Z (about 1 year ago)
- Topics: 3d-models, blender, blender-addon, reverse-engineering, world-of-tanks-blitz, wot-blitz, wotb, wotblitz
- Language: Python
- Homepage:
- Size: 1.3 MB
- Stars: 21
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# World Of Tanks: Blitz SCPG model format
Reverse engineered information about the model format used by WOTB.
## Preface
This resource aims to shed light on the model format, "SCPG", used by WOTB and eventually provide tools to modify and create said models.
Models in WOTB are located in `/packs/3d/` and each model comes in a pair of files with extensions `.scg` and `.sc2`, for example: `packs/3d/Tanks/German/Maus.scg` `packs/3d/Tanks/German/Maus.sc2`. Game files are compressed using the `dvpl` format, you can use [this](https://github.com/Tankerch/DVPL_Converter) tool to decompress them.
Current work is based on SC2 version 41 and SCG version 1.
## Blender plugin
Read about it [here](blender/README.md)
## Research materials
An old version of the DAVA engine is available [here](https://github.com/smile4u/dava.engine).
- [KeyedArchive](https://github.com/smile4u/dava.engine/blob/development/Sources/Internal/FileSystem/KeyedArchive.cpp)
- [KeyedArchive data R/W](https://github.com/smile4u/dava.engine/blob/development/Sources/Internal/FileSystem/VariantType.cpp)
- [SceneFileV2](https://github.com/smile4u/dava.engine/blob/development/Sources/Internal/Scene3D/SceneFileV2.cpp)
- [PolygonGroup](https://github.com/smile4u/dava.engine/blob/development/Sources/Internal/Render/3D/PolygonGroup.cpp)
- [PolygonGroup vertex format RW](https://github.com/smile4u/dava.engine/blob/development/Sources/Internal/Render/3D/PolygonGroup.h)
[gmConverter3D](https://gamemodels3d.com/forum/?topic=1348) program for converting multiple model formats, including scg + sc2. Contains useful reference implementation of more recent versions of SC2 in javascript.
## File format documentation
Binary structures are represented as C++ structs and the resulting tree is represented as TypeScript definitions. All values use little endian encoding.
- [Format documentation has moved to the wiki](https://github.com/Pyogenics/WOTBSCPGFormat/wiki)