Running Hammer For GarrysMod (Common/GarrysMod/bin (?))

Hey guys (Man I havent been here in awhile, its weird),

Anyway. Since the new SDK tools dont use the SDK launcher (to my understanding), how do we properly run Hammer SDK for Garrys Mod now? I checked the Wiki, and I suggest adding any proper instructions to the wiki.

I’ve gone to F:\Program Files (x86)\Steam\steamapps\common\GarrysMod\bin and tried running hammer.exe from there, but I only get options for CS:S, DoD:S and TF2. Nothing for GarrysMod.

What am I doing wrong? Thanks!

That one is broken. Either use the CS:S hammer or the one included with Source SDK 2013.

So I should go to the bin folder in CS:S? How do I get to the Source SDK 2013 hammer?

Thanks again for your help.

Yes.
Download it from the tools section on Steam in your library.

Okay, I downloaded “Source SDK Base 2013”. Im not sure if thats right or not (Because I didnt see any straight up just: Source SDK 2013). I get this error:

[EDIT] I found this, is this it? :o https://github.com/ValveSoftware/source-sdk-2013

Don’t know why it isn’t there, but here’s the contents of the gameinfo.txt in sourcetest:


"GameInfo"
{
	game		"Source Engine Test"
	title 		"~"
        title2		"Source Test"
	type		singleplayer_only
	FileSystem
	{
		SteamAppId				243750
		
		// The code that loads this file automatically does a few things here:
		//
		// 1. For each "Game" search path, it adds a "GameBin" path, in <dir>\bin
		// 2. For each "Game" search path, it adds another "Game" path in front of it with _<langage> at the end.
		//    For example: c:\hl2\cstrike on a french machine would get a c:\hl2\cstrike_french path added to it.
		// 3. For the first "Game" search path, it adds a search path called "MOD".
		// 4. For the first "Game" search path, it adds a search path called "DEFAULT_WRITE_PATH".
		//

		//
		// Search paths are relative to the base directory, which is where hl2.exe is found.
		//
		// |gameinfo_path| points at the directory where gameinfo.txt is.
		// We always want to mount that directory relative to gameinfo.txt, so
		// people can mount stuff in c:\mymod, and the main game resources are in
		// someplace like c:\program files\valve\steam\steamapps\half-life 2.
		//
		SearchPaths
		{
			// First, mount all user customizations.  This will search for VPKs and subfolders
			// and mount them in alphabetical order.  The easiest way to distribute a mod is to
			// pack up the custom content into a VPK.  To "install" a mod, just drop it in this
			// folder.
			//
			// Note that this folder is scanned only when the game is booted.
			game+mod			sourcetest/custom/*

			// We search VPK files before ordinary folders, because most files will be found in
			// VPK and we can avoid making thousands of file system calls to attempt to open files
			// in folders where they don't exist.  (Searching a VPK is much faster than making an operating
			// system call.)
			game_lv				hl2/hl2_lv.vpk
			game+mod			sourcetest/sourcetest_pak.vpk
			game				|all_source_engine_paths|hl2/hl2_sound_vo_english.vpk
			game				|all_source_engine_paths|hl2/hl2_pak.vpk
			game				|all_source_engine_paths|hl2/hl2_textures.vpk
			game				|all_source_engine_paths|hl2/hl2_sound_misc.vpk
			game				|all_source_engine_paths|hl2/hl2_misc.vpk
			platform			|all_source_engine_paths|platform/platform_misc.vpk

			// Now search loose files.  We'll set the directory containing the gameinfo.txt file
			// as the first "mod" search path (after any user customizations).  This is also the one
			// that's used when writing to the "mod" path.
			mod+mod_write+default_write_path		|gameinfo_path|.

			// Add the HL2 directory as a game search path.  This is also where where writes
			// to the "game" path go.
			game+game_write		sourcetest

			// Where the game's binaries are
			gamebin				sourcetest/bin

			// Last, mount in shared HL2 loose files
			game				|all_source_engine_paths|sourcetest
			game				|all_source_engine_paths|hl2
			platform			|all_source_engine_paths|platform
		}
	}
}


Okay. Put it there, but it launches HL2.exe and not any SDK Tools.

Did I download the wrong one? In tools I searched for SDK and this is what I got:

[EDIT] Oh wait, Im being dumb. lol

Use the “hammer.exe” in bin folder of the game you want to use

Just load up CS:S Hammer, and test it inside CS:S.

Only problem with that is I want to make TTT maps and such, so I want those TTT entity’s.

So I got Hammer running, should I add “garrysmod.fgd” to the hammer SDK?

Yeah. Pretty sure terrortown has its own .fgd too.