GUIDE: Setting up Source SDK for BM

Eh I didn’t copy and paste the error, I think you guys can figure it out though. I’ll just edit the post.

Sorry, it didn’t work, it was already at the correct directory.

WOO HOO! It’s working!

Wish I could fix my Ep2 configs. I think they still have the black viewports of death and no grids.
Interesting how npc_sniper still uses a Combine model instead of a grunt…

RE: “NOTE2: Pay attention to the “Program Files” folder. If you are running a 64-bit version of Windows, the Program Files folder is called “Program Files (x86)”.”

The path:“Program Files (x86)” is to the 32-Bit Programs.

“… the two ‘Program File’ folders that are listed are for 32-bit and 64-bit version of Windows 7. The folder with (x86) is for 32-bit version.”

Link: https://answers.microsoft.com/en-us/windows/forum/windows_7-files/programs-files-vs-program-files-x86/7d631676-e688-472a-a1bb-eefccfeca6d7

The “86” designation refers to the of “386” 32-Bit CPU config.

The grid problem is because you’ve entered the wrong sdk version number in the gameinfo file. Source2007 is version 3, 2009 is version 4.

2007’s GameConfig says it’s Version 3. The 09 one has Version 4.

That’s odd. Could you post your gameconfigs here? (in CODE brackets, plz)

Source 2007:

"Configs" { "Games" { "Half-Life 2: Episode Two" { "GameDir" "c:\program files (x86)\steam\steamapps\******\half-life 2 episode two\ep2" "hammer" { "GameData0" "c:\program files (x86)\steam\steamapps\******\sourcesdk\bin\source2007\bin\halflife2.fgd" "TextureFormat" "5" "MapFormat" "4" "DefaultTextureScale" "0.250000" "DefaultLightmapScale" "16" "GameExe" "c:\program files (x86)\steam\steamapps\******\half-life 2 episode two\hl2.exe" "DefaultSolidEntity" "func_detail" "DefaultPointEntity" "info_player_start" "BSP" "c:\program files (x86)\steam\steamapps\******\sourcesdk\bin\source2007\bin\vbsp.exe" "Vis" "c:\program files (x86)\steam\steamapps\******\sourcesdk\bin\source2007\bin\vvis.exe" "Light" "c:\program files (x86)\steam\steamapps\******\sourcesdk\bin\source2007\bin\vrad.exe" "GameExeDir" "c:\program files (x86)\steam\steamapps\******\half-life 2 episode two" "MapDir" "c:\program files (x86)\steam\steamapps\******\sourcesdk_content\ep2\mapsrc" "BSPDir" "c:\program files (x86)\steam\steamapps\******\half-life 2 episode two\ep2\maps" "CordonTexture" "tools\toolsskybox" "MaterialExcludeCount" "0" } } "Black Mesa" { "GameDir" "c:\program files (x86)\steam\steamapps\sourcemods\BMS" "hammer" { "GameData0" "c:\program files (x86)\steam\steamapps\sourcemods\BMS\bms.fgd" "TextureFormat" "5" "MapFormat" "4" "DefaultTextureScale" "0.250000" "DefaultLightmapScale" "16" "GameExe" "c:\program files (x86)\steam\steamapps\******\half-life 2\hl2.exe" "DefaultSolidEntity" "func_detail" "DefaultPointEntity" "info_player_start" "BSP" "c:\program files (x86)\steam\steamapps\******\sourcesdk\bin\source2007\bin\vbsp.exe" "Vis" "c:\program files (x86)\steam\steamapps\******\sourcesdk\bin\source2007\bin\vvis.exe" "Light" "c:\program files (x86)\steam\steamapps\******\sourcesdk\bin\source2007\bin\vrad.exe" "GameExeDir" "c:\program files (x86)\steam\steamapps\******\half-life 2" "MapDir" "c:\program files (x86)\steam\steamapps\sourcemods\BMS\maps" "BSPDir" "c:\program files (x86)\steam\steamapps\sourcemods\BMS\maps" "CordonTexture" "tools\toolsskybox" "MaterialExcludeCount" "0" } } "Five Mod Content" { "GameDir" "c:\program files (x86)\steam\steamapps\SourceMods\fivemodcontent" "hammer" { "GameData0" "c:\program files (x86)\steam\steamapps\******\sourcesdk\bin\source2007\bin\halflife2.fgd" "TextureFormat" "5" "MapFormat" "4" "DefaultTextureScale" "0.250000" "DefaultLightmapScale" "16" "GameExe" "c:\program files (x86)\steam\steamapps\******\half-life 2\hl2.exe" "DefaultSolidEntity" "func_detail" "BSP" "c:\program files (x86)\steam\steamapps\******\sourcesdk\bin\source2007\bin\vbsp.exe" "Vis" "c:\program files (x86)\steam\steamapps\******\sourcesdk\bin\source2007\bin\vvis.exe" "Light" "c:\program files (x86)\steam\steamapps\******\sourcesdk\bin\source2007\bin\vrad.exe" "GameExeDir" "c:\program files (x86)\steam\steamapps\******\half-life 2" "MapDir" "c:\program files (x86)\steam\steamapps\SourceMods\sourcesdk_content\fivemodcontent\mapsrc" "BSPDir" "c:\program files (x86)\steam\steamapps\SourceMods\fivemodcontent\maps" "CordonTexture" "tools\toolsskybox" "MaterialExcludeCount" "0" } } } "SDKVersion" "3" }

Source 2009:

"Configs" { "Games" { "Half-Life 2" { "GameDir" "c:\program files (x86)\steam\steamapps\******\half-life 2\hl2" "hammer" { "GameData0" "c:\program files (x86)\steam\steamapps\******\sourcesdk\bin\source2009\bin\halflife2.fgd" "TextureFormat" "5" "MapFormat" "4" "DefaultTextureScale" "0.250000" "DefaultLightmapScale" "16" "GameExe" "c:\program files (x86)\steam\steamapps\******\half-life 2\hl2.exe" "DefaultSolidEntity" "func_detail" "DefaultPointEntity" "info_player_start" "BSP" "c:\program files (x86)\steam\steamapps\******\sourcesdk\bin\source2009\bin\vbsp.exe" "Vis" "c:\program files (x86)\steam\steamapps\******\sourcesdk\bin\source2009\bin\vvis.exe" "Light" "c:\program files (x86)\steam\steamapps\******\sourcesdk\bin\source2009\bin\vrad.exe" "GameExeDir" "c:\program files (x86)\steam\steamapps\******\half-life 2" "MapDir" "c:\program files (x86)\steam\steamapps\******\sourcesdk_content\hl2\mapsrc" "BSPDir" "c:\program files (x86)\steam\steamapps\******\half-life 2\hl2\maps" "CordonTexture" "tools\toolsskybox" "MaterialExcludeCount" "0" } } "Half-Life 2: Episode One" { "GameDir" "c:\program files (x86)\steam\steamapps\******\half-life 2 episode one\episodic" "hammer" { "GameData0" "c:\program files (x86)\steam\steamapps\******\sourcesdk\bin\source2009\bin\halflife2.fgd" "TextureFormat" "5" "MapFormat" "4" "DefaultTextureScale" "0.250000" "DefaultLightmapScale" "16" "GameExe" "c:\program files (x86)\steam\steamapps\******\half-life 2 episode one\hl2.exe" "DefaultSolidEntity" "func_detail" "DefaultPointEntity" "info_player_start" "BSP" "c:\program files (x86)\steam\steamapps\******\sourcesdk\bin\source2009\bin\vbsp.exe" "Vis" "c:\program files (x86)\steam\steamapps\******\sourcesdk\bin\source2009\bin\vvis.exe" "Light" "c:\program files (x86)\steam\steamapps\******\sourcesdk\bin\source2009\bin\vrad.exe" "GameExeDir" "c:\program files (x86)\steam\steamapps\******\half-life 2 episode one" "MapDir" "c:\program files (x86)\steam\steamapps\******\sourcesdk_content\episodic\mapsrc" "BSPDir" "c:\program files (x86)\steam\steamapps\******\half-life 2 episode one\episodic\maps" "CordonTexture" "tools\toolsskybox" "MaterialExcludeCount" "0" } } "Portal" { "GameDir" "c:\program files (x86)\steam\steamapps\******\portal\portal" "hammer" { "GameData0" "c:\program files (x86)\steam\steamapps\******\sourcesdk\bin\source2009\bin\portal.fgd" "TextureFormat" "5" "MapFormat" "4" "DefaultTextureScale" "0.250000" "DefaultLightmapScale" "16" "GameExe" "c:\program files (x86)\steam\steamapps\******\portal\hl2.exe" "DefaultSolidEntity" "func_detail" "DefaultPointEntity" "info_player_start" "BSP" "c:\program files (x86)\steam\steamapps\******\sourcesdk\bin\source2009\bin\vbsp.exe" "Vis" "c:\program files (x86)\steam\steamapps\******\sourcesdk\bin\source2009\bin\vvis.exe" "Light" "c:\program files (x86)\steam\steamapps\******\sourcesdk\bin\source2009\bin\vrad.exe" "GameExeDir" "c:\program files (x86)\steam\steamapps\******\portal" "MapDir" "c:\program files (x86)\steam\steamapps\******\sourcesdk_content\portal\mapsrc" "BSPDir" "c:\program files (x86)\steam\steamapps\******\portal\portal\maps" "CordonTexture" "tools\toolsskybox" "MaterialExcludeCount" "0" } } "Half-Life 2: Episode Two" { "GameDir" "C:\Program Files (x86)\Steam\steamapps\******\half-life 2 episode two\ep2" "hammer" { "GameData0" "c:\program files (x86)\steam\steamapps\******\sourcesdk\bin\source2009\bin\base.fgd" "TextureFormat" "5" "MapFormat" "4" "DefaultTextureScale" "0.250000" "DefaultLightmapScale" "16" "GameExe" "c:\program files (x86)\steam\steamapps\******\Source SDK Base 2007\hl2.exe" "DefaultSolidEntity" "func_detail" "BSP" "c:\program files (x86)\steam\steamapps\******\sourcesdk\bin\source2009\bin\vbsp.exe" "Vis" "c:\program files (x86)\steam\steamapps\******\sourcesdk\bin\source2009\bin\vvis.exe" "Light" "c:\program files (x86)\steam\steamapps\******\sourcesdk\bin\source2009\bin\vrad.exe" "GameExeDir" "c:\program files (x86)\steam\steamapps\******\Source SDK Base 2007" "MapDir" "C:\Program Files (x86)\Steam\steamapps\******\half-life 2 episode two\sourcesdk_content\ep2\mapsrc" "BSPDir" "C:\Program Files (x86)\Steam\steamapps\******\half-life 2 episode two\ep2\maps" "CordonTexture" "tools\toolsskybox" "MaterialExcludeCount" "0" } } } "SDKVersion" "4" }

The Source 2009 version of Episode Two won’t even load in the SDK launcher, it just seems to reset to vanilla Half-Life 2.

somebody can help me, i made the file and it works, i have the models, npcs, textures, but when i try to run the launch, an error appear: “A different version of this FS is already in use”
please somebody help me

EDIT: Never mind. I got it.

So, to make this mpost more than me covering for my idiocy, are there any plans to introduce a Hammer/SDK Board on the forums? I know I’d appreciate it. I’m alittle rusty on Hammer since the whole issue of Source 2009 and display issues.

Hey guys I have a small problem… I followed this guide (thank you by the way for this) and configured this to the best of my abilities, but ran into a bit of a snag.

I am able to run hammer (no error messages pop up) and I am able to make brushes, with textures, etc.

But when I go to entities… I have none. There is nothing in my drop-down list. Nothing. (no error messages here either)

https://i1304.photobucket.com/albums/s524/sevitosis/bmserror_zpsc9ba89ae.png

Any help at all is appreciated. Thanks for the time.

In Hammer go to tools>options and under “Game Data files” make sure it lists “$SteamDir\steamapps\sourcemods\BMS\bms.fgd”

Seems like that was my problem down to a “T”
Thanks you kind sir for your help! :stuck_out_tongue:

How are we going to reconfigure BMS for Hammer after the fact that we now need to use the /common/Half-Life 2 VBSP, VVIS, and VRAD executables… as well as the fact that all these games run on 2013, or SDKVersion 5, whilst BMS runs on Version 3.

Actually, you don’t need to. The Source SDK and sourcesdk_content folders has now been moved to the common folder due to a new update converting them to Steampipe. It now needs to be configured like this (I think):

"Configs"
{
	"Games"
	{
		"Black Mesa"
		{
			"GameDir"		"c:\program files\steam\steamapps\sourcemods\BMS"
			"hammer"
			{
				"GameData0"		"c:\program files\steam\steamapps\sourcemods\BMS\bms.fgd"
				"TextureFormat"		"5"
				"MapFormat"		"4"
				"DefaultTextureScale"		"0.250000"
				"DefaultLightmapScale"		"16"
				"GameExe"		"c:\program files\steam\steamapps\common\half-life 2\hl2.exe"
				"DefaultSolidEntity"		"func_detail"
				"DefaultPointEntity"		"info_player_start"
				"BSP"		"c:\program files\steam\steamapps\common\sourcesdk\bin\source2007\bin\vbsp.exe"
				"Vis"		"c:\program files\steam\steamapps\common\sourcesdk\bin\source2007\bin\vvis.exe"
				"Light"		"c:\program files\steam\steamapps\common\sourcesdk\bin\source2007\bin\vrad.exe"
				"GameExeDir"		"c:\program files\steam\steamapps\common\half-life 2"
				"MapDir"		"c:\program files\steam\steamapps\sourcemods\BMS\maps"
				"BSPDir"		"c:\program files\steam\steamapps\sourcemods\BMS\maps"
				"CordonTexture"		"tools\toolsskybox"
				"MaterialExcludeCount"		"0"
			}
		}
		"SDKVersion"		"3"
}

If Steam was installed in a different drive, you will need to modify the file paths on that text.

The above lets me boot up source SDK at least. Hammer still won’t launch though (but face poser and model viewer will). I’m stumped, anyone have any other ideas?

Same problem here, I have uninstalled and reinstalled and configured the SDK, run BM a bit and I’ve actually gotten Hammer to open but when I try to load a map I get the two attached error messages.
So I check the settings and try again.
Next time I try to run Hammer it won’t even start. > :frowning: :’(
hammer_1.jpg
hammer_2.jpg

I need help. When I open hammer using source 2007 and black mesa I get this message.

Failed to load the default scheme file. The map views may be missing some visual elements.

Hammer appears with funny grid lines. How can I fix this?

I’m sorry, but there isn’t a way to fix it right now. Valve broke Hammer and they need to fix it.

How did valve break hammer? I don’t know anything about that.

When I use hammer with black mesa/2007 it doesn’t bring up the gridlines properly.

Actually, 2006 and mymod don’t work properly. Hammer is very sluggish.

Founded in 2004, Leakfree.org became one of the first online communities dedicated to Valve’s Source engine development. It is more famously known for the formation of Black Mesa: Source under the 'Leakfree Modification Team' handle in September 2004.