Custom gameinfo.txt configuration

I am using Source SDK Base 2013 Singleplayer to map for Garrys Mod and using Half Lif2 Game configuration. I would like to add CS:S assets (textures,models,etc) to this hammer so I have all of the content in the same location to avoid missing models/texture errors. I am trying to figure out how to modify my gameinfo.txt but the tutorials I am finding are outdated. Any help?

/Source SDK Base 2013 Singleplayer/bin/gameinfo.txt

	game 		"HALF-LIFE 2"
	title 		"HALF-LIFE'"
	type		singleplayer_only
	supportsvr	1

		SteamAppId				220		// This will mount all the GCFs we need (240=CS:S, 220=HL2).
		AdditionalContentId	240
		// 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.
			// 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			hl2/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			hl2/hl2_sound_vo_english.vpk
			game+mod			hl2/hl2_pak.vpk
			game+mod			cstrike/cstrike_english.vpk
			game+mod			cstrike/cstrike_pak.vpk

			Game 				cstrike
			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		hl2

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

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

Well I took the long way around and extracted models and materials from CSS and placed in HL2. I know a much cleaner way exists but this is a workaround for now :confused:

wish I had seen sooner, basically dump the cstrike folder in the same folder your “hl2” directory is.

then edit gameinfo.txt and put

game				|all_source_engine_paths|cstrike


game				|all_source_engine_paths|hl2


game 	 "|all_source_engine_paths|../Counter-Strike Source/cstrike/cstrike_pak.vpk"

That will mount it without requiring any extraction or moving of folders

For anyone that wants to mount something using this method … is used to go up one folder. Default starting location is in the SDK 2013 folder so you need to go up one folder and then you can start to navigate to the other folders.

So if you wanted to mount the gmod vpk it would be:

game 	 "|all_source_engine_paths|../GarrysMod/garrysmod/garrysmod.vpk"

Quotes are needed if the directory has any kind of space in the name such as Team Fortress 2