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

Obsidian General.
Post Reply
Stronglime
Pixel
Posts: 4
Joined: Mon Dec 26, 2011 5:18 pm

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

Post 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!)
Last edited by Stronglime on Tue Dec 27, 2011 8:16 pm, edited 2 times in total.
MaestraFénix
Team Member
Team Member
Posts: 2470
Joined: Mon May 10, 2010 11:50 am
Location: Spain
Contact:

Re: Help with gameinfo.txt

Post 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"
	}
}
Click on my photo to add me into your friends in Steam
Image
Steam photos | Steam videos

Image
Stronglime
Pixel
Posts: 4
Joined: Mon Dec 26, 2011 5:18 pm

Re: Help with gameinfo.txt

Post 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;
User avatar
Shana
Lead Developer
Lead Developer
Posts: 2971
Joined: Tue Aug 29, 2006 8:12 pm
Location: Germany
Contact:

Re: Help with gameinfo.txt

Post 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
		}
	}
}
Stronglime
Pixel
Posts: 4
Joined: Mon Dec 26, 2011 5:18 pm

Post 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?
User avatar
Neico
Lead Coder
Lead Coder
Posts: 1799
Joined: Tue Aug 15, 2006 3:39 pm
Location: Germany
Contact:

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

Post by Neico »

...
Image
LivingWithGames
npc_helicopter
npc_helicopter
Posts: 932
Joined: Mon Mar 15, 2010 2:21 pm
Location: Peruibe , SP , Brazil
Contact:

Re:

Post 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.
User avatar
TESLA-X4
Former Developer
Former Developer
Posts: 570
Joined: Wed Jul 01, 2009 3:26 pm
Location: $Recycle.Bin

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

Post 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.
Apparently, Valve can't make games beyond the number 2.
I think the only time we'll get a Source SDK code update is when it starts having purchasable hats integrated, i.e. hatconomy.

Please do not make assumptions you are not knowledgeable enough to make - that just backfires on yourself.
Tick me off, and I'll be sure to give you the golden treatment. Haven't you heard? Silence is golden.
Stronglime
Pixel
Posts: 4
Joined: Mon Dec 26, 2011 5:18 pm

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

Post 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 :)
Post Reply