Problem with Game Configurations

Avatar
User
630 Posts
Posted May 27, 2013
Hello, i reinstalled Source SDK (Same Paths) and now i cant Start it now.
I have no Mods or anything, just the clean Source SDK and Portal 2.
Can Anyone Help me? :sad:

||### I get this Error:
img

My Game Configuration is this:

( c:\Program Files (x86)\Steam\SteamApps\common\Portal 2\portal2 )
img

In Hammer i get this Error:

img

By clicking on "New" this:

img

And my Hammer Configuration is this:

img

Build Programs:

img||

Advertisement
Registered users don’t see ads! Register now!
Avatar
josepezdj
2,386 Posts
Posted May 27, 2013
Replied 45 minutes later
It looks like your GameConfig.txt file is missing (into portal2/portal2 folder).
Avatar
User
630 Posts
Posted May 27, 2013
Replied 19 minutes later

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:

http://master-pic.de/bild.php/30907,p438VWY.png

http://master-pic.de/bild.php/30911,p3AOYBB.png

Avatar
User
630 Posts
Posted May 27, 2013
Replied 6 hours later
Theres something with the Portal2.fgd or the GameConfig, i dont know..
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 :notwant:

Avatar
FelixGriffin
2,680 Posts
Posted May 27, 2013
Replied 42 minutes later
Why are you using the Source SDK instead of the P2AT?
Avatar
ChickenMobile
2,460 Posts
Posted May 28, 2013
Replied 11 hours later
I had that missing wireframe issue when I used the wrong engine for a game.

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.

Avatar
User
630 Posts
Posted May 28, 2013
Replied 1 hour later

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,

Avatar
josepezdj
2,386 Posts
Posted May 28, 2013
Replied 27 minutes later

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...

Avatar
User
630 Posts
Posted May 28, 2013
Replied 1 hour later

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 :sigh:
Thank you, it works :smile: (Using now P2AT, like before)
I Dont know why im trying this suddenly with Source Sdk mp, :notwant:

Ok, can be closed, thank you for your help. :thumbup:

Advertisement
Registered users don’t see ads! Register now!
Avatar
ChickenMobile
2,460 Posts
Posted May 28, 2013
Replied 19 minutes later

ChickenMobile wrote:
I had that missing wireframe issue when I used the wrong engine for a game.

Well... First reason is right reason xD.