Decompiling Source models: Difference between revisions
From Serious Saturdays
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| Line 25: | Line 25: | ||
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. | 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]] | [[File:Crowbar efC3uZyz8V.png]] | ||
5) Decompile. | 5) Decompile. | ||
Revision as of 20:44, 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:


