Page 1 of 1

Help with gameinfo.txt (Fixed! Many thanks!)

Posted: Mon Dec 26, 2011 5:26 pm
by Stronglime
Could you please post me what's into that file for you? i kinda screwed it up.Thanks in advance :)
It is located just in the folder of obsidian conflict

(ALSO check general discussion postcount! IT'S OVER NINE THOUSAND!)

Re: Help with gameinfo.txt

Posted: Mon Dec 26, 2011 6:17 pm
by MaestraFĂ©nix
Something like this:

Code: Select all

"Obsidian Conflict"
{
	"GameDir"				"C:\Program Files\Steam\SteamApps\SourceMods\obsidian"
	"hammer"
	{

		"GameData0"			"C:\Program Files\Steam\SteamApps\SourceMods\obsidian\obsidian sdk\obsidian.fgd"
		"BSPDir"			"C:\Program Files\Steam\SteamApps\SourceMods\obsidian\maps"
		"MapDir"			"C:\Program Files\Steam\SteamApps\[USERNAME]\sourcesdk_content\obsidian\mapsrc"
		"GameExeDir"			"C:\Program Files\Steam\SteamApps\[USERNAME]\source sdk base 2007"
		"GameExe"			"C:\Program Files\Steam\SteamApps\[USERNAME]\source sdk base 2007\hl2.exe"
		"BSP"				"C:\Program Files\Steam\SteamApps\[USERNAME]\sourcesdk\bin\source2007\bin\vbsp.exe"
		"Vis"				"C:\Program Files\Steam\SteamApps\[USERNAME]\sourcesdk\bin\source2007\bin\vvis.exe"
		"Light"				"C:\Program Files\Steam\SteamApps\[USERNAME]\sourcesdk\bin\source2007\bin\vrad.exe"
		"TextureFormat"			"5"
		"MapFormat"			"4"
		"DefaultTextureScale"		"0.250000"
		"DefaultLightmapScale"		"16"
		"DefaultSolidEntity"		"func_detail"
		"DefaultPointEntity"		"ai_ally_manager"
		"CordonTexture"			"tools\toolsskybox"
		"MaterialExcludeCount"		"0"
	}
}

Re: Help with gameinfo.txt

Posted: Mon Dec 26, 2011 7:05 pm
by Stronglime
Found that on wiki i bet.Checked all way,it aint that. i should look like this:

"GameInfo"
{
game "Obsidian Conflict v1.35"
title "OBSIDIAN CONFLICT V1.35"
title2 "OBSIDIAN CONFLICT V1.35"
type multiplayer_only
nomodels 0
nohimodel 1
nocrosshair 1
hidden_maps
{
"test_speakers" 1
"test_hardware" 1
}

developer "Obsidian Conflict Team"
developer_url "http://www.ObsidianConflict.com"
icon "resource/obsidian"

FileSystem
{
SteamAppId 220
ToolsAppId 211
AdditionalContentID 420

//
// 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
{
Game |gameinfo_path|.
Game ep2
Game episodic
Game lostcoast
Game |all_source_engine_paths|hl2
}
}
}




but mine is broken,need a working one,and dont want to re-dl all the mod D;

Re: Help with gameinfo.txt

Posted: Mon Dec 26, 2011 7:11 pm
by Shana

Code: Select all

"GameInfo"
{
	game	"Obsidian Conflict 1.35"
	title	"OBSIDIAN CONFLICT 1.35"
	title2	"OBSIDIAN CONFLICT 1.35"
	type multiplayer_only
	nomodels 0
	nohimodel 1
	nocrosshair 1
	hidden_maps
	{
		"test_speakers"		1
		"test_hardware"		1
	}

	developer "Obsidian Conflict Team"
	developer_url "http://obsidianconflict.net"
	manual "http://wiki.obsidianconflict.net"
	icon "resource/obsidian"

	FileSystem
	{
		SteamAppId				218		// 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\half-life 2.
		//
		SearchPaths
		{
                        GameBin     |gameinfo_path|addons/metamod/bin
			Game				|gameinfo_path|.
			Game				|all_source_engine_paths|hl2
		}
	}
}

Posted: Mon Dec 26, 2011 7:22 pm
by Stronglime
aww.... still get this error D;

SetupArrayProps_R: array prop '(null)' is at index zero.

i deleted all inside mounts folder..Help?

Thanks to both of you..can you help me some more?

Re: Help with gameinfo.txt (Still need D;)

Posted: Tue Dec 27, 2011 3:00 am
by Neico
...

Re:

Posted: Tue Dec 27, 2011 3:24 am
by LivingWithGames
Stronglime wrote:aww.... still get this error D;

SetupArrayProps_R: array prop '(null)' is at index zero.

i deleted all inside mounts folder..Help?

Thanks to both of you..can you help me some more?
Deleted all the mounts folder,huh?

I have a simple answer for you: re-install the mod again all over and don't do any mistakes.If more doubts, ask to the admins/devs when they have possibility.

Sorry for being a bit rude.I don't have my patience against ppl doing loads of mistakes anymore.Neico's post already shows that he don't have much patience either.

Re: Help with gameinfo.txt (Still need D;)

Posted: Tue Dec 27, 2011 6:40 am
by TESLA-X4
Did you restart Steam after correcting the file? Changes to mounting configurations in gameinfo.txt only take effect after a Steam restart. That error's a telltale sign that your client is running off the wrong set of engine binaries (Source Engine 2009 instead of Source Engine 2007, if you're curious. Valve has yet to release Source SDK Base 2009, if ever).

To fix this, the first two things to check in the gameinfo.txt file are:
1:
FileSystem
{
SteamAppId 218
ToolsAppId 211
AdditionalContentID 420
...
}
SteamAppId should only be 218, and not any other value!
AdditionalContentID is not necessary since it is not read by the mod binary.

2:
SearchPaths
{
Game |gameinfo_path|.
Game |all_source_engine_paths|hl2

}
This block defines how the mod searches for a file to load. For the sample above, the mod will first search for the file inside the obsidian folder, before falling back to the GCFs.

Re: Help with gameinfo.txt (Still need D;)

Posted: Tue Dec 27, 2011 8:14 pm
by Stronglime
Many thanks to everyone! priceless help! I'll see you ingame i hope.

PS:Neico,i dont get what you mean...I just came here asking for some help,i didint mean to hurt anyone :)