411 REFERENCE · Wikibooks
Animating Weapons for Counter-Strike Source/Extracting Files From GCFs
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
Extracting files from GCFs
Purpose: To retrieve the default model for decompiling
Close Steam if it is running.
Open GCFScape.
Go to File>Open
Open counter-strike source shared.gcf. It is found in your SteamApps folder. (Try C:\Program Files\Valve\Steam\SteamApps\ or C:\Program Files\Steam\SteamApps\)
In the interface navigate to cstrike\models\weapons\
For this tutorial we will animate an sg552.
Select all of the files that begin with v_rif_sg552. This includes:
v_rif_sg552.dx80.vtx
v_rif_sg552.dx90.vtx
v_rif_sg552.mdl
v_rif_sg552.sw.vtx
v_rif_sg552.vvd
Another file called v_rif_sg552.xbox.vtx will be created when you compile. It is normal for it to be missing from the GCF.
You can use other weapons, but make sure you extract the files that begin with v.
Drag these files into your "default" folder.
Extract cstrike\materials\models\weapons\v_models\hands\v_hands.vtf as well.
If you are actually going to work with a default model, extract the vtf files from cstrike\materials\models\weapons\v_models\*weapon_name*\
Animating Weapons for Counter-Strike Source Extracting Files From GCFs Setting up the Work Folders Decompiling the Default Model