12 August 2008

garrysmod gameinfo.txt

trying to get the sdk to work for gmod. i edited the gameinfo.txt as below (my edit is in blue)
it brought up the gmod option with the orangebox engine
i did a quick test on compile: returned errors: it wasn't a complete map. it found vrad.exe - good sign.

C:\Program Files\Steam\steamapps\andrewwallace99\sourcesdk\bin\orangebox\bin

"Configs"
{
"Games"
{
"Half-Life 2: Episode Two"
{
"GameDir" "c:\program files\steam\steamapps\andrewwallace99\half-life 2 episode two\ep2"
"hammer"
{
"GameData0" "c:\program files\steam\steamapps\andrewwallace99\sourcesdk\bin\orangebox\bin\halflife2.fgd"
"TextureFormat" "5"
"MapFormat" "4"
"DefaultTextureScale" "0.250000"
"DefaultLightmapScale" "16"
"GameExe" "c:\program files\steam\steamapps\andrewwallace99\half-life 2 episode two\hl2.exe"
"DefaultSolidEntity" "func_detail"
"DefaultPointEntity" "info_player_start"
"BSP" "c:\program files\steam\steamapps\andrewwallace99\sourcesdk\bin\orangebox\bin\vbsp.exe"
"Vis" "c:\program files\steam\steamapps\andrewwallace99\sourcesdk\bin\orangebox\bin\vvis.exe"
"Light" "c:\program files\steam\steamapps\andrewwallace99\sourcesdk\bin\orangebox\bin\vrad.exe"
"GameExeDir" "c:\program files\steam\steamapps\andrewwallace99\half-life 2 episode two"
"MapDir" "c:\program files\steam\steamapps\andrewwallace99\sourcesdk_content\ep2\mapsrc"
"BSPDir" "c:\program files\steam\steamapps\andrewwallace99\half-life 2 episode two\ep2\maps"
"CordonTexture" "tools\toolsskybox"
"MaterialExcludeCount" "0"
}
}
"Team Fortress 2"
{
"GameDir" "c:\program files\steam\steamapps\andrewwallace99\team fortress 2\tf"
"hammer"
{
"GameData0" "c:\program files\steam\steamapps\andrewwallace99\sourcesdk\bin\orangebox\bin\tf.fgd"
"TextureFormat" "5"
"MapFormat" "4"
"DefaultTextureScale" "0.250000"
"DefaultLightmapScale" "16"
"GameExe" "c:\program files\steam\steamapps\andrewwallace99\team fortress 2\hl2.exe"
"DefaultSolidEntity" "func_detail"
"DefaultPointEntity" "info_player_teamspawn"
"BSP" "c:\program files\steam\steamapps\andrewwallace99\sourcesdk\bin\orangebox\bin\vbsp.exe"
"Vis" "c:\program files\steam\steamapps\andrewwallace99\sourcesdk\bin\orangebox\bin\vvis.exe"
"Light" "c:\program files\steam\steamapps\andrewwallace99\sourcesdk\bin\orangebox\bin\vrad.exe"
"GameExeDir" "c:\program files\steam\steamapps\andrewwallace99\team fortress 2"
"MapDir" "c:\program files\steam\steamapps\andrewwallace99\sourcesdk_content\tf\mapsrc"
"BSPDir" "c:\program files\steam\steamapps\andrewwallace99\team fortress 2\tf\maps"
"CordonTexture" "tools\toolsskybox"
"MaterialExcludeCount" "0"
}
}
"Portal"
{
"GameDir" "c:\program files\steam\steamapps\andrewwallace99\portal\portal"
"hammer"
{
"GameData0" "c:\program files\steam\steamapps\andrewwallace99\sourcesdk\bin\orangebox\bin\portal.fgd"
"TextureFormat" "5"
"MapFormat" "4"
"DefaultTextureScale" "0.250000"
"DefaultLightmapScale" "16"
"GameExe" "c:\program files\steam\steamapps\andrewwallace99\portal\hl2.exe"
"DefaultSolidEntity" "func_detail"
"DefaultPointEntity" "info_player_start"
"BSP" "c:\program files\steam\steamapps\andrewwallace99\sourcesdk\bin\orangebox\bin\vbsp.exe"
"Vis" "c:\program files\steam\steamapps\andrewwallace99\sourcesdk\bin\orangebox\bin\vvis.exe"
"Light" "c:\program files\steam\steamapps\andrewwallace99\sourcesdk\bin\orangebox\bin\vrad.exe"
"GameExeDir" "c:\program files\steam\steamapps\andrewwallace99\portal"
"MapDir" "c:\program files\steam\steamapps\andrewwallace99\sourcesdk_content\portal\mapsrc"
"BSPDir" "c:\program files\steam\steamapps\andrewwallace99\portal\portal\maps"
"CordonTexture" "tools\toolsskybox"
"MaterialExcludeCount" "0"
}
}
"Gmod"
{
"GameDir" "c:\program files\steam\steamapps\andrewwallace99\garrysmod\garrysmod"
"hammer"
{
"GameData0" "c:\program files\steam\steamapps\andrewwallace99\sourcesdk\bin\orangebox\bin\garrysmod.fgd"
"TextureFormat" "5"
"MapFormat" "4"
"DefaultTextureScale" "0.250000"
"DefaultLightmapScale" "16"
"GameExe" "c:\program files\steam\steamapps\andrewwallace99\garrysmod\hl2.exe"
"DefaultSolidEntity" "func_detail"
"DefaultPointEntity" "info_player_start"
"BSP" "c:\program files\steam\steamapps\andrewwallace99\sourcesdk\bin\orangebox\bin\vbsp.exe"
"Vis" "c:\program files\steam\steamapps\andrewwallace99\sourcesdk\bin\orangebox\bin\vvis.exe"
"Light" "c:\program files\steam\steamapps\andrewwallace99\sourcesdk\bin\orangebox\bin\vrad.exe"
"GameExeDir" "c:\program files\steam\steamapps\andrewwallace99\garrysmod"
"MapDir" "c:\program files\steam\steamapps\andrewwallace99\sourcesdk_content\garrysmod\mapsrc"
"BSPDir" "c:\program files\steam\steamapps\andrewwallace99\garrysmod\garrysmod\maps"
"CordonTexture" "tools\toolsskybox"
"MaterialExcludeCount" "0"
}
}
}
"SDKVersion" "3"
}

No comments: