Re: Game Config bugs with new SDK update :/
Posted by omegaslayer on
Wed Dec 22nd 2004 at 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
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
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
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
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
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
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 Crono on
Wed Dec 22nd 2004 at 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
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
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 omegaslayer on
Wed Dec 22nd 2004 at 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
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
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
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 DocRock on
Wed Dec 22nd 2004 at 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
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 IrishGuinea on
Thu Dec 23rd 2004 at 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 Orpheus on
Thu Dec 23rd 2004 at 11:13am
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.