Category Archives: resources

Ok so after scouring the forums I got frustrated and decided to try reinstalling the source sdk … problem solved.

Here is where I found the info

So give it a shot.  After you have reinstalled, select episode one:deathmatch and run hammmer.  Assuming hammer runs ok, copy the studioCompiler.exe file back into the ep1/bin folder and run the app.  You should get the AppId error.  Open up sourcesdk/launcher/gameInfo.txt and deathmatch/hl2mp/gameInfo.txt files and comment out the toolsAppID line as per the instructions below.  Rerun … fingers crossed … everything should work OK.

So here is the scoop on using studioCompiler, Cannonfodder’s gui app for compiling models and textures for use within hammer and your level’s.

Each game, and the source SDK itself has a data file called gameInfo.txt used to initialize the proper launch of the apps. To use the gui app you will need to edit these txt files, disabling one of the lines. One of the gameInfo.txt files is located in the sourceSDK/launcher folder, the other located in the half-life 2 deathmatch/hl2mp folder. Inside the file you will find somethig akin to the following information

“FileSystem
{
SteamAppId 220 // 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.
//
// The code that loads this file automatically does a few things here:
//

In each of the files you will need to add // to the beginning of the ToolsAppID line, like such

//ToolsAppId 211 // Tools will load this (ie: source SDK caches) to get things like

// turns the line into a “comment”, effectively disabling the line at launch. Unfortunately once you do this you won’t be able to run Hammer or any of the other tools … remove the comments and they will run fine. My recommendation is that when you begin to work on your level, you run hammer with the “comment” removed, open your gameInfo files and add the comments, open studio compiler. Then you can have both apps running simultaneously. It is also a good idea to create a shortcut to your gameInfo files on your desktop or somewhere convenient so you can avoid the annoying process of hunting them down each time for editing. We will walk through the process in class, as well as the process of compiling both models and textures.

For the sake of having online mulitplayer access to our project you will need to modify your source sdk launcher to acknowledge your episode one engine based titles.

valve’s solution