The Council tools - JLouis-B/RedTools GitHub Wiki
The information given is valid and tested for The Council. However it is possible that the tool works for other games developed by Cyanide/Big Bad Wolf, but without any guarantee.
Unpack the CPK files
The CPK are large files that contain all the files in the game. So the first thing to do is to extract all the files they contain.
To do this :
- Download, unzip and start The Witcher 3D models converter
- Go to "Other games tools/The Council/The Council unpacker"
- Select the destination folder where the files will be unpacked in the "Destination folder" field
- Select the .cpk files that do you want unpack in the "CPK file" field, click on "Extract" and wait
When the files are extracted an important step is to copy the destination path in the "Base Directory" field of the main window. Otherwise the models won't load properly.
Load the 3D models
The software can load and export two type of files :
- .cef files contain the meshes, all the geometry including uv mapping and bones data
- .prefab files are some json files that define a 3D model by referencing its geometry file (CEF file), but also its materials and textures. So it's generally this type of file that you'll want to load, so that the model includes the textures.
You just have to click on "Select a 3D model" button and choose a file to load it. If a 3D model has been previously loaded it will be removed from the scene.
When the model is loaded, if you want to export it, select the export format in the "Format" combo box and enter the name of the exported file without the extension (eg. 'file' will be named 'file.obj' if you have selected the OBJ format)
The export folder can be configured in "Menu/Options/Export".
Finally, click on the "Convert ->" button to export the model.
Load the levels
The levels of the game are stored in some .template files which are basically json files that list a list of descriptions of a scene by referencing all objects in the scene and their position/orientation/scale in the world.
They can be loaded via Other games tools/The Council/Load The Council Template
Scenes loaded in this way are not exportable, however. This just allows to visualize them in the software