EDIT with the release of SMOD Standalone:
This tutorial covers extraction and mounting CSS assets for standard SMOD40aq (steam version)
For extraction of CSS files for "Smod Standalone" please use "CSS addon pack"http://bsnooch.com/forums/index.php?topic=1360.msg8291#msg8291
Because amount of people for which CSS stempipe fix does not work is still growing,
I'd like to post a tutorial how to extract files from .vpk files and make a fake addon/mod.
Let's start:STEP ONE: EXTRACTION OF COUNTER-STRIKE: SOURCE FILES1.
First of all you'll need GFC extractor, which can be downloaded here:http://nemesis.thewavelength.net/index.php?p=261b.
Make sure that the your Counter-Strike: Source is in steampipe format
if not, or just to make sure, run it before preforming any other step of this tutorial.2.
Extract GCFScape to folder of your choose and run it.3.
Click on icon of folder with little green arrow, or choose "open" from "file" menu.4.
Now navigate to your CSS installation directory
Typically: "C:\Program files\Steam\steamapps\common\Counter-Strike Source\cstrike\"5.
After that, select "css_pack_dir.vpk
" and click "open
Extract whole "materials" folder to a your temporary folder(anywhere)
either by clicking RMB on the desired folder (materials)
or by just simply dragging this folder to your temp. storage (most likely, desktop, I DO NOT RECOMMEND THAT)7.
Repeat step 5 and 6 but with models
Tip for knowing what folder to extract:
generally every folder under cstrike, please note that only folders require extracting,DO NOT EXTRACT ANY FILES FROM UNDER CSTRIKE HEADER/FOLDER8.
When you'll have all necessary files extracted, it time to create fake addon/sourcemodPART TWO: CREATING FAKE SOURCEMOD/SMOD ADDON 1.
Create a folder for you newly extracted files inside "sourcemods"
( Typically: "C:\Program files\Steam\steamapps\sourcemods\" )1b.
Name the folder properly, something like CSS_files or similar
( So you know what's inside, and you don't delete it accidentally, so avoid naming stuff like "asdf123123" and shit)2.
Put all the extracted files into your freshly created "CSS_files" folder2b.
Tip: don't dump everything blindly into the folder, the "CSS_Files" should contain at least these folders:"Materials""Models""Sounds"3.
Now, after everything is in place, go to your SMOD folder and open gameinfo.txt4.
And add these lines at the bottom of the "SearchPaths" header:
Game "|gameinfo_path|..\..\common\Counter-Strike Source\cstrike"REMEMBER TO CHANGE THE NAME OF "CSS_Files" TO THE NAME OF YOUR FOLDER
(the one with extracted files in sourcemods)EXAMPLE OF WHOLE GAMEINFO:
"GameInfo"ADDITIONAL INFO FOR GEEKS:
game "SMOD: Crylife"
title "SMOD: Crylife"
title2 "220.127.116.11 bodyg."
developer "Pepsifan04,The SMOD Author, help and moral support from Dev.muffin and BSnooch"
SteamAppId 215 // This will mount all the GCFs we need (240=CS:S, 220=HL2).
ToolsAppId 211 // Tools will load this (ie: source SDK caches) to get things like materials\debug, materials\editor, etc.
Game "|gameinfo_path|..\..\common\Half-Life 2\hl2"
Game "|gameinfo_path|..\..\common\Half-Life 2 Deathmatch\hl2mp"
Game "|gameinfo_path|..\..\common\Counter-Strike Source\cstrike"
First line (or 5th in my case) points to css scripts/configs/maps, that's because they're not included in .vpk
and the second one points to extracted css files
I'm hoping that this tutorial will prove itself useful for some users.
Telling me what's wrong and where I've a mistake helps me in improving the quality of my tutorials, Thanks.
EDIT: this tut is little "bald" due to lack of screenshots, I simply can't afford to upload them right now...