The process to extract the files of The Witcher 3 is a bit more long and complicated than for The Witcher 2, but with a bit of patience it's not too complicated.
The first things that you should to do is to extract the textures of the game.
There are two ways to do this :
With the the official Modkit.
After the installation :
- Open the windows command line tool
- Move to the Modkit folder with the "cd" command, and use this command : wcc_lite uncook -indir="Your game path"\content -outdir="The export path"\Uncooked -imgfmt=png -skiperrors
The indir parameter is the folder where you have your game.
You can extract the files of the game in the "content" folder or the files of the DLC (including "Hearts of stone" or "Blood and wine") in the "DLC" folder.
The outdir parameter is the folder where you want to extract all the files.
The "-imgfmt=png" can be changed, I have set png, but you can also use bmp, jpg or tga, in all the cases it will works with this tool.
Check the documentation of the Modkit for more informations.
The second way to extract the textures is with the the Lua utils for The Witcher 3 (deprecated since the official Modkit has been released)
The uncook command of the Modkit has extracted many files, not only the textures, but some useful files hasn't been extracted by it.
In particular the buffers of the meshes and the rigging files.
So we will use an other tool to get this missing files.
The only problem with this tool is that it can't extract the textures, so it's why we have used the Modkit to extract the textures before.
In the first place, you have to unzip the .bundle files which contains the data of the game like the 3D models.
To do this :
- Download QuickBMS
- Download this script for QuickBMS
- Launch QuickBMS
- First, you should select the witcher 3 script that you have downloaded previously (witcher3_bundleOnly.bms)
- Next, select the .bundle files that do you want unpack (they are in the 'content' folder of the game)
You can select the content folder to export all the bundle, but there are a lot of useless files for us (and more files = slower research in the tool), and the "blob" and "buffer" bundle contains the most importants files.
- And next select the destination folder where the files will be unpacked.
It should be the folder where you have extracted the textures with the Modkit.
When you have done this, you can find the w2mesh files of the game that you can open on the software in the folder where you have extracted the bundles.
For each .w2mesh file that you want to open, you should have a corresponding .buffer file (For example when you try to open "t_01__cat.w2mesh", in the same folder you should have a file named "t_01__cat.w2mesh.1.buffer").
If you don't find the buffer file, it's probably that because you havn't extracted a bundle with the corresponding buffer file. (the bundle which contain the buffers are in many cases called "buffer.bundle")
It's necessary to do this, if you try to open the w2mesh file without the buffer, the tool will simply load nothing.
- Download, unzip and start The Witcher 3D models converter
- At the top of the window, set the folder where your bundles are extracted.
- Go to "Menu/Options/TW3 Settings", and set the path of the folder where you have the unpacked textures of the game. (probably the folder where you have extracted the bundles)
- If you have extracted your textures with the LUA utils : At the first usage of the software, if you have unpacked the textures, click 'The Witcher 3 tools/clean textures path'. It simply removes the triple extensions of the textures to make a simple .dds extension, it necessary if you want that the soft load the textures.
- Load your w2ent or w2mesh file. If you search something but you don't know where is the file where it's stored, you can use the search tool (Menu/Search).
- Select an output format, the name of the output file, and click the "Convert ->" button. You can change some export settings in the options menu (Menu/Options)
- And now you can import this in a 3D modeling software
In a previous screen, you can see that the mesh has 0 joint (0 bone).
It's because the skeleton is a feature disabled by default because it's still experimental. To enable it, go to Menu/Options/TW3 and enable it.
Now, if you reload the mesh, the bones have been loaded, but the hierarchy of the bones hasn't been created, simply because this information is not stored in the .w2mesh file, but in a separate .w2rig file.
So if you export your mesh now, you will have the bones but without the hierarchy.
But with the tool, you have the possibility to select the .w2rig file of the mesh to fix this problem and export your mesh with a good hierarchy.
Simply go to "The Witcher tools/Set rig" and select the .w2rig file to use.
You can see the skeleton with "Display/Skeleton".
After this step, for the export itself, check the informations given on the tuto for TW2, it's exctacly the same things.
The workflow descrided is not super user friendly, but I havn't find better yet.
Bones support with the Collada is planned, but I don't know when, this feature is still in development in the Assimp library.
About the characters, they are often splitted into differents w2mesh files.
You can load differents file to export them in a single export with "Menu/Add mesh(es)"
Return to the main page