Game Config bugs with new SDK update :/

Game Config bugs with new SDK update :/

Re: Game Config bugs with new SDK update :/ Posted by Jinx on Wed Dec 22nd 2004 at 2:00am
Jinx
874 posts
Posted 2004-12-22 2:00am
Jinx
member
874 posts 692 snarkmarks Registered: Nov 27th 2002 Location: Ohio
I'm getting kinda pissed about this, because I have very little time to map and I'd rather not spend it all fixing Hammer after Valve f**ks up everything. Here are the problems I'm getting, mind you it was all working fine before it was updated:

User posted image

Can't find a gameinfo.txt on my hard drive...

User posted image

The guide doesn't mention gameinfo.txt at all. Also:

User posted image

Despite what the message says, all three game configurations ARE available.

So what the f**k do I do? I'm sick of this s**t

:evil:
Re: Game Config bugs with new SDK update :/ Posted by omegaslayer on Wed Dec 22nd 2004 at 2:09am
omegaslayer
2481 posts
Posted 2004-12-22 2:09am
2481 posts 595 snarkmarks Registered: Jan 16th 2004 Occupation: Sr. DevOPS Engineer Location: Seattle, WA
Save your mapps somewhere else, delete the SDK then re-download, I
always do it after every update, because for some reason hammer never
seems to work after every update. Unless you have dial up, then I'm
sorry and I have no clue.
Re: Game Config bugs with new SDK update :/ Posted by Jinx on Wed Dec 22nd 2004 at 2:24am
Jinx
874 posts
Posted 2004-12-22 2:24am
Jinx
member
874 posts 692 snarkmarks Registered: Nov 27th 2002 Location: Ohio
I was hoping for something a little less extreme :/
Re: Game Config bugs with new SDK update :/ Posted by CPS on Wed Dec 22nd 2004 at 2:31am
CPS
60 posts
Posted 2004-12-22 2:31am
CPS
member
60 posts 6 snarkmarks Registered: Nov 21st 2004 Location: USA
I just did the revert all content option in the sdk, its called somethng like htat, fixed everything for me, didnt delete anything either, then you have to open up the game once (that you want to mod) to make it work right. It says this all somewhere in the documentation.
Re: Game Config bugs with new SDK update :/ Posted by Jinx on Wed Dec 22nd 2004 at 2:35am
Jinx
874 posts
Posted 2004-12-22 2:35am
Jinx
member
874 posts 692 snarkmarks Registered: Nov 27th 2002 Location: Ohio
but with the filepaths changed, will I be able to properly redo the game configs? I don't know if the tutorials for doing that have been updated.
Re: Game Config bugs with new SDK update :/ Posted by CPS on Wed Dec 22nd 2004 at 2:47am
CPS
60 posts
Posted 2004-12-22 2:47am
CPS
member
60 posts 6 snarkmarks Registered: Nov 21st 2004 Location: USA
All of my setting were still in hammer, I was having the same problem as you.
Re: Game Config bugs with new SDK update :/ Posted by Jinx on Wed Dec 22nd 2004 at 3:09am
Jinx
874 posts
Posted 2004-12-22 3:09am
Jinx
member
874 posts 692 snarkmarks Registered: Nov 27th 2002 Location: Ohio
Tried it CPS, but I still get the same errors :sad:

thanks, though.
Re: Game Config bugs with new SDK update :/ Posted by RacerX on Wed Dec 22nd 2004 at 3:14am
RacerX
26 posts
Posted 2004-12-22 3:14am
RacerX
member
26 posts 23 snarkmarks Registered: Nov 4th 2004
Try this. In "Play Games" click "Source SDK" then click "Reset Game Configurations".
Re: Game Config bugs with new SDK update :/ Posted by Jinx on Wed Dec 22nd 2004 at 3:18am
Jinx
874 posts
Posted 2004-12-22 3:18am
Jinx
member
874 posts 692 snarkmarks Registered: Nov 27th 2002 Location: Ohio
<DIV class=quote>
<DIV class=quotetitle>? quoting RacerX</DIV>
<DIV class=quotetext>Try this. In "Play Games" click "Source SDK" then click "Reset Game Configurations".</DIV></DIV>

Doesn't work either.
Could someone post their "gameinfo.txt" for HL2DM so I can see wtf this file is exactly?
Re: Game Config bugs with new SDK update :/ Posted by Crono on Wed Dec 22nd 2004 at 3:19am
Crono
6628 posts
Posted 2004-12-22 3:19am
Crono
super admin
6628 posts 700 snarkmarks Registered: Dec 19th 2003 Location: Oregon, USA
What you need to
do is goto "<steampath>SteamApps<user_name>sourcesdksampleapp"
and copy that gameinfo.txt file into the base hl2 and hl2mp folders.
Obviously open each one and change the applaunch number and game type
accordingly. (For HL2DM, the game should be hl2, Counter-Strike
Source should be cstrike, The file is already set up for HLSP
mapping)

Then boot up hammer and low and behold, you never
need to configure it AGAIN. The paths are variables that hammer reads
in. I believe it checks steam and your registry to get everything
right
:smile:

The
gameinfo.txt file just gives information to hammer. Like which game
to launch when compiling and which GCF file to get models and
textures from.
Re: Game Config bugs with new SDK update :/ Posted by CPS on Wed Dec 22nd 2004 at 4:24am
CPS
60 posts
Posted 2004-12-22 4:24am
CPS
member
60 posts 6 snarkmarks Registered: Nov 21st 2004 Location: USA
If you read the update stuff, there is no more gameinfo.txt, pretty sure they changed how the stuff works.
Re: Game Config bugs with new SDK update :/ Posted by IrishGuinea on Wed Dec 22nd 2004 at 4:26am
IrishGuinea
51 posts
Posted 2004-12-22 4:26am
51 posts 5 snarkmarks Registered: Nov 14th 2004 Occupation: Production Manager Location: USA
"Could someone post their "gameinfo.txt" for HL2DM so I can see wtf this file is exactly?"

"GameInfo"
{
FileSystem
{
SteamAppId 280 // 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
{
Game |gameinfo_path|.
Game hl2mp
Game hl2
}
}
}

I had the exact same problem, spent an hour trying to fix but couldnt get it to work so I reinstalled the sdk and evrything worked perfect with no adjustments.
Re: Game Config bugs with new SDK update :/ Posted by Jinx on Wed Dec 22nd 2004 at 4:40am
Jinx
874 posts
Posted 2004-12-22 4:40am
Jinx
member
874 posts 692 snarkmarks Registered: Nov 27th 2002 Location: Ohio
<DIV class=quote>
<DIV class=quotetitle>? quoting CPS</DIV>
<DIV class=quotetext>If you read the update stuff, there is no more gameinfo.txt, pretty sure they changed how the stuff works.</DIV></DIV>

then why is it asking for it?! :confused:
thanks guys, I'll have to try these ideas later, busy chatting on aim :biggrin:
Re: Game Config bugs with new SDK update :/ Posted by Crono on Wed Dec 22nd 2004 at 4:59am
Crono
6628 posts
Posted 2004-12-22 4:59am
Crono
super admin
6628 posts 700 snarkmarks Registered: Dec 19th 2003 Location: Oregon, USA
CPS said:
If you read the update stuff, there is no more gameinfo.txt, pretty sure they changed how the stuff works.
then why is it asking for it?! :confused:

thanks guys, I'll have to try these ideas later, busy chatting on aim :biggrin:
Because, it still uses them.
Re: Game Config bugs with new SDK update :/ Posted by omegaslayer on Wed Dec 22nd 2004 at 5:03am
omegaslayer
2481 posts
Posted 2004-12-22 5:03am
2481 posts 595 snarkmarks Registered: Jan 16th 2004 Occupation: Sr. DevOPS Engineer Location: Seattle, WA
Unless you have internet restrictions I would suggest re-installing the
sdk, I know its extreme, but it doesnt take me that long to do, nor is
it that hard.
Re: Game Config bugs with new SDK update :/ Posted by Nickelplate on Wed Dec 22nd 2004 at 5:38am
Nickelplate
2770 posts
Posted 2004-12-22 5:38am
2770 posts 346 snarkmarks Registered: Nov 23rd 2004 Occupation: Prince of Pleasure Location: US
Okay create a file called GameInfo.txtThen put it in the folder that is mentioned in your error message. then copy and paste the green into the file and save it. then it'll work. ALSO u gotta start it up from the SDK window and not froma shortcut the first time.

"GameInfo"
{
FileSystem
{
SteamAppId 220 // This will mount all the GCFs we need (240=CS:S, 220=HL2).
ToolsAppId 211

//
// 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 hl2
}
}
}


So, hopefully this will work for you. they DO still use the gameinfo.txt, don't let them fool you. :rolleyes:
Re: Game Config bugs with new SDK update :/ Posted by satchmo on Wed Dec 22nd 2004 at 1:04pm
satchmo
2077 posts
Posted 2004-12-22 1:04pm
satchmo
member
2077 posts 1809 snarkmarks Registered: Nov 24th 2004 Occupation: pediatrician Location: Los Angeles, U.S.
I had the exact same problem (and I am sure many other too). I
resolved the issue by opening up the Source SDK via Steam and first
clicking on "Refresh SDK Content" then "Reset Game Configurations".

After these two steps (in that order), I had no further problem with Hammer. Hope that helps.
Re: Game Config bugs with new SDK update :/ Posted by DedDog on Wed Dec 22nd 2004 at 3:10pm
DedDog
13 posts
Posted 2004-12-22 3:10pm
DedDog
member
13 posts 11 snarkmarks Registered: Dec 3rd 2004 Occupation: Unix & Storage Admin Location: USA
I had this problem as well, did the "Refresh SDK Content" then "Reset
Game Configurations", and then started a new game of Half Life 2. When
you run Half Life it creates a gameinfo.txt file in the right location,
and then no problem.
Re: Game Config bugs with new SDK update :/ Posted by Andrei on Wed Dec 22nd 2004 at 3:13pm
Andrei
2455 posts
Posted 2004-12-22 3:13pm
Andrei
member
2455 posts 1248 snarkmarks Registered: Sep 15th 2003 Location: Bucharest, Romania
Now that i've updated my SDK, hammer seems to crash even more often than before :sad: !!! What's more, it also seems to have a very short memory, every single point entity vanishing without any explanation after mapping for more than 30 minutes. [and NO, i haven't made any mistake configuring hammer]. Someone at VALVe f**ked up bigtime with this update! I think i reinstalled this damn SDK 2 times only today! Of course im angry, I would have preferred to spend those hours mapping, rather than cleaning up after someone else's incompetence . :mad:
Re: Game Config bugs with new SDK update :/ Posted by DocRock on Wed Dec 22nd 2004 at 3:45pm
DocRock
367 posts
Posted 2004-12-22 3:45pm
DocRock
member
367 posts 929 snarkmarks Registered: Mar 24th 2002 Location: U S of A
Do this:

Start Half-Life 2. Enter into the game, save, then exit.

Start Half-Life 2 deathmatch. Go into a game. exit.

Restart Steam.

Start SDK. Go to Hammer. All settings should be ready. You may need to select what mod you're mapping for in your Hammer configuration. If you change your config from Half-Life 2 to deathmatch, just restart Hammer.

This is what I did and all works fine.
Re: Game Config bugs with new SDK update :/ Posted by Leperous on Wed Dec 22nd 2004 at 4:25pm
Leperous
3382 posts
Posted 2004-12-22 4:25pm
Leperous
Creator of SnarkPit!
member
3382 posts 1635 snarkmarks Registered: Aug 21st 2001 Occupation: Lazy student Location: UK
IrishGuinea, what is game 280? HL2 is 220, CS is 240 and HL2DM is 320.

I've updated the compile setup guide btw, might be worth a look :smile:
Re: Game Config bugs with new SDK update :/ Posted by Jinx on Wed Dec 22nd 2004 at 6:13pm
Jinx
874 posts
Posted 2004-12-22 6:13pm
Jinx
member
874 posts 692 snarkmarks Registered: Nov 27th 2002 Location: Ohio
<DIV class=quote>
<DIV class=quotetitle>? quoting DedDog</DIV>
<DIV class=quotetext>I had this problem as well, did the "Refresh SDK Content" then "Reset Game Configurations", and then started a new game of Half Life 2. When you run Half Life it creates a gameinfo.txt file in the right location, and then no problem.
</DIV></DIV>
Thanks guys, this is the one that worked for me. Must be that running the one-player game is what creates the gameinfo.txt file I guess. The other answeres I marked 'wrong' might have worked as well, but this was a good quick fix.

I marked Doc's right as well because you have to open each game/mod individually for its gameinfo.txt to be created. I didn't have to restart Steam, though, to get Hammer working again.
Re: Game Config bugs with new SDK update :/ Posted by IrishGuinea on Thu Dec 23rd 2004 at 4:04am
IrishGuinea
51 posts
Posted 2004-12-23 4:04am
51 posts 5 snarkmarks Registered: Nov 14th 2004 Occupation: Production Manager Location: USA
<DIV class=quote>
<DIV class=quotetitle>? quoting Leperous</DIV>
<DIV class=quotetext>IrishGuinea, what is game 280? HL2 is 220, CS is 240 and HL2DM is 320.

I've updated the compile setup guide btw, might be worth a look :smile:

</DIV></DIV>

the release notes say this....

----------------------------------------------------
<H2>Basic GameInfo.txt usage </H2>
The main relevant thing in the GameInfo.txt file is the SteamAppId variable. If you look inside GameInfo.txt, you'll see a section that looks something like this:

<PRE class=code> SteamAppId 220 // This will mount all the GCFs we need (240=CS:S, 220=HL2).
</PRE>
The SteamAppId value specifies which game content (Steam .GCF files) is accessible to the game for this GameInfo.txt.

The SteamAppId values for the core Source games are:

<TABLE width=264>
<TBODY>
<TR>
<TD width=188>
Half-Life 2

</TD>
<TD width=64>
220

</TD></TR>
<TR>
<TD>
Counter-Strike: Source

</TD>
<TD>
240

</TD></TR>
<TR>
<TD>
Half-Life 2: Deathmatch

</TD>
<TD>
320

</TD></TR></TBODY></TABLE>

------------------------------------------

but then in the FAQ its says this....

------------------------------------------
For example, some typical settings:

Steam.exe -applaunch 280 -dev -console -sw +sv_lan 1 +map MyMap

This would start a Half-Life 2: Deathmatch game in developer mode, activate the developer console, in windowed mode, and in LAN multiplayer mode, then load MyMap.bsp.
And the new gameinfo.txt that was installed after the new update had 280 in it and it worked for me. So i figured they changed the appid#.
Re: Game Config bugs with new SDK update :/ Posted by IrishGuinea on Thu Dec 23rd 2004 at 4:27am
IrishGuinea
51 posts
Posted 2004-12-23 4:27am
51 posts 5 snarkmarks Registered: Nov 14th 2004 Occupation: Production Manager Location: USA
well like i said above the 280 has worked since the new update then tonight there was some quickie steam update and after that I was back to the "gameinfo.txt doesnt exist" and also was getting the "somethin_steam.dll cant load"

So i did the "correct" answer in this thread and it worked, went and checked the gameinfo.txt and its now set to 320!

very weird....

Also I started HL single player & HL2DM but I can only find one gameinfo.txt which is in the HalfLife 2 Deathmatch/hl2mp folder

Is there only supposed to be one? I thought there was one for each game type/mod
Re: Game Config bugs with new SDK update :/ Posted by Crono on Thu Dec 23rd 2004 at 6:53am
Crono
6628 posts
Posted 2004-12-23 6:53am
Crono
super admin
6628 posts 700 snarkmarks Registered: Dec 19th 2003 Location: Oregon, USA
DedDog said:
I had this problem as well, did the "Refresh SDK
Content" then "Reset Game Configurations", and then started a new game
of Half Life 2. When you run Half Life it creates a gameinfo.txt file
in the right location, and then no problem.
Thanks guys, this is the one that worked for me. Must be that
running the one-player game is what creates the gameinfo.txt file I
guess. The other answeres I marked 'wrong' might have worked as well,
but this was a good quick fix.

I marked Doc's right as well because you have to open each game/mod individually for its gameinfo.txt to be created. I didn't have to restart Steam, though, to get Hammer working again.
You do realize doing what I said would have taken maybe 10 seconds for
the only editable games available. No game or SDK booting required.
Re: Game Config bugs with new SDK update :/ Posted by Orpheus on Thu Dec 23rd 2004 at 11:13am
Orpheus
13860 posts
Posted 2004-12-23 11:13am
Orpheus
member
13860 posts 2024 snarkmarks Registered: Aug 26th 2001 Occupation: Long Haul Trucking Location: Long Oklahoma - USA
i am trying to remember, cause its been ages, but i recall a game that acted similarly to this issue. it would always bork out unless you actually went into it and saved.

scratches buttocks

dammit, you ever have one of those times, you know the answer, but it just sits out of reach?

anywho's, /me files this away for when i start mapping again.