Decompiling Source models: Difference between revisions
From Serious Saturdays
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| Line 8: | Line 8: | ||
Tools: | Tools: | ||
GFCScape | * GFCScape | ||
Crowbar | * Crowbar | ||
VTFEdit Reloaded | * VTFEdit Reloaded | ||
| Line 21: | Line 21: | ||
3) Navigate to models/player/group01. Extract the model files you want to replace. Since we are replacing Isabelle, we will extract female_01.mdl to a folder. | 3) Navigate to models/player/group01. Extract the model files you want to replace. Since we are replacing Isabelle, we will extract female_01.mdl to a folder. | ||
[[File:GCFScape u6y25IA8Aq.png]] | |||
4) Open Crowbar. Go to the Decompile tab. Drag the mdl file into the first file select box. Configure the settings to your liking, but I personally keep things set to the screenshot below. | |||
[[Crowbar efC3uZyz8V.png]] | |||
5) Decompile. | 5) Decompile. | ||
6) Navigate to the folder you extracted files to. You should see the following files: | |||
[[File:Explorer Q1bA2zeRUz.png]] | |||
Revision as of 20:43, 31 May 2025
We're gonna start with making a Gmod model. Even if you only want to make a L4D2 model, we'll use Gmod for these reasons:
- Learn how to decompile stuff
- Learn how QC files are built
- Faster and easier to reload the game when model is rebuilt
- Use Gmod's instant texture reloading to tweak shaders
Tools:
- GFCScape
- Crowbar
- VTFEdit Reloaded
Steps:
1) Go to your Gmod install directory. G:\SteamLibrary\steamapps\common\GarrysMod
2) Open garrysmod/garrysmod_dir.vpk with GFCScape.
3) Navigate to models/player/group01. Extract the model files you want to replace. Since we are replacing Isabelle, we will extract female_01.mdl to a folder.
4) Open Crowbar. Go to the Decompile tab. Drag the mdl file into the first file select box. Configure the settings to your liking, but I personally keep things set to the screenshot below.
5) Decompile.
6) Navigate to the folder you extracted files to. You should see the following files:

