Problem with Game Configurations
I have no Mods or anything, just the clean Source SDK and Portal 2.
Can Anyone Help me?
||### I get this Error:

My Game Configuration is this:
( c:\Program Files (x86)\Steam\SteamApps\common\Portal 2\portal2 )

In Hammer i get this Error:

By clicking on "New" this:

And my Hammer Configuration is this:

Build Programs:
||
Hmm, but the .txt is in Portal2/portal2,
And this is how it looks like:
||"GameInfo"
{
game "PORTAL 2"
title "PORTAL 2"
GameData "portal2.fgd"
gamelogo 1
SupportsDX8 0
SupportsXbox360 1
FileSystem
{
SteamAppId 620 // 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|.
}
}
}||
EDIT: Ups, you mean GameConfig, ouh i thought GameInfo, Hmmm one Moment
EDIT: Ok, i found the GameConfig.txt and put it in the Portal2/portal2, now the first error doesnt show.
I can open hammer without Problems, but there are still these two Errors:
And this is how my GameConfig Looks like:
"Configs"
{
"Games"
{
"Portal 2"
{
"GameDir" "c:\program files (x86)\steam\SteamApps\common\Portal 2\portal2"
"hammer"
{
"GameData0" "c:\program files (x86)\steam\SteamApps\common\Portal 2\bin\portal2.fgd"
"TextureFormat" "5"
"MapFormat" "4"
"DefaultTextureScale" "0.250000"
"DefaultLightmapScale" "16"
"GameExe" "c:\program files (x86)\steam\SteamApps\common\Portal 2\portal2.exe"
"DefaultSolidEntity" "func_detail"
"DefaultPointEntity" "info_player_start"
"BSP" "c:\program files (x86)\steam\SteamApps\common\Portal 2\bin\vbsp.exe"
"Vis" "c:\program files (x86)\steam\SteamApps\common\Portal 2\bin\vvis.exe"
"Light" "c:\program files (x86)\steam\SteamApps\common\Portal 2\bin\vrad.exe"
"GameExeDir" "c:\program files (x86)\steam\SteamApps\common\Portal 2"
"MapDir" "c:\program files (x86)\steam\SteamApps\common\Portal 2\sdk_content\maps"
"BSPDir" "c:\program files (x86)\steam\SteamApps\common\Portal 2\portal2\maps"
"CordonTexture" "tools\toolsskybox"
"MaterialExcludeCount" "0"
}
}
}
"SDKVersion" "5"
}
Dont have anyone an idea why it doesnt work? :/
Please, i cant solve this f** Error and i dont know why 
I also had massive problems like this with the configs when I had copied over my stuff from a different drive letter path.
I would double check that the files are there (the red errors complaining the lines are invalid)
If they are correct then I would delete (move temporarily) the GameConfig.txt in portal 2/bin/ or even the whole bin folder in the Portal 2 folder and validate the files for both Portal 2 and the Portal 2 Authoring tools.
FelixGriffin wrote:
Why are you using the Source SDK instead of the P2AT?
P2AT means what? Hmm i?m using Source sdk MP, should i better use P2AT?
ChickenMovile wrote:
I would double check that the files are there (the red errors complaining the lines are invalid)
If they are correct then I would delete (move temporarily) the GameConfig.txt in portal 2/bin/ or even the whole bin folder in the Portal 2 folder and validate the files for both Portal 2 and the Portal 2 Authoring tools.
Hmm i also reinstalled portal 2 and source sdk, but okay i will do this when im Home,
Or is another Version better? Like Source sdk 2007 or another,
TheTobbell wrote:
P2AT means what? Hmm i?m using Source sdk MP, should i better use P2AT?
Well, it means Portal2 Authoring Tools; as you should know, there's a specific tool to map for Portal2, which is that one. Then there is almost one SourceSDK per other Valve game...
josepezdj wrote:
TheTobbell wrote:P2AT means what? Hmm i?m using Source sdk MP, should i better use P2AT?
Well, it means Portal2 Authoring Tools; as you should know, there's a specific tool to map for Portal2, which is that one. Then there is almost one SourceSDK per other Valve game...
My .. stupidity is once again not to exceed
Thank you, it works
(Using now P2AT, like before)
I Dont know why im trying this suddenly with Source Sdk mp,
Ok, can be closed, thank you for your help. ![]()
ChickenMobile wrote:
I had that missing wireframe issue when I used the wrong engine for a game.
Well... First reason is right reason xD.