Go Back   Steam Users' Forums > Dedicated Server Discussions > Source DS (Windows)

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 02-11-2012, 04:48 AM   #10
crash2004
 
Join Date: Apr 2010
Reputation: 338
Posts: 1,056
Quote:
Originally Posted by Imperium_prime View Post
*snip

#KeyValues Error: LoadFromBuffer: missing { in file C:\Program Files\Steam\SteamApps\sourcemods\dvh\gameinfo.txt


#(*GameInfo*),


#(*FileSystem*),


#(*SearchPaths*),


#
Those errors generally mean your gameinfo.txt file doesn't have the proper information in it for your server. I'm a little confused why the server is looking in sourcemods\dvh\ for the gameinfo.txt file. Unless you have a generic srcds server installed and not a L4D2 specific server.

At any rate, what you normally see in the gameinfo.txt is below.

Code:
GameInfo"
{
	game	"Left 4 Dead 2"	// Window title
	type multiplayer_only
	nomodels 1
	nohimodel 1
	l4dcrosshair 1
	hidden_maps
	{
		"test_speakers"			1
		"test_hardware"			1
	}
	nodegraph 0
	perfwizard 0
	SupportsXbox360 1
	SupportsDX8	0
	GameData	"left4dead2.fgd"

	FileSystem
	{
		SteamAppId				550		// 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:
		//
		// 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\<username>\half-life 2.
		//
		SearchPaths
		{
			Game				update
			Game				left4dead2_dlc3
			Game				left4dead2_dlc2
			Game				left4dead2_dlc1
			Game				|gameinfo_path|.
			Game				hl2
		}
	}
}
The errors are related to this file either missing or key details are missing from it. Have a look through your file and see what it contains.

Last edited by crash2004: 02-11-2012 at 05:03 AM.
crash2004 is offline   Reply With Quote
 

Go Back   Steam Users' Forums > Dedicated Server Discussions > Source DS (Windows)


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -7. The time now is 05:35 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site Content Copyright Valve Corporation 1998-2014, All Rights Reserved.