• I cannot get any version of Hammer relevant to Garry's Mod to function.
    9 replies, posted
Selecting Garry's Mod in source SDK (I don't think that option is there by default, did I add that a while ago?) brings up a version of hammer that says "Failed to load the default schema file. The map views may be missing some visual elements." and that they are. They're a garbled mess of squares that nothing shows up in, and trying to create a brush says "This brush is empty". Selecting Episode 2, which is my usual backup, says "The game configuration file for the game you're trying to edit is invalid or missing." Clicking Run Anyway throws an error that says "Setup file 'gameinfo.txt' doesn't exist in subdirectory (filepath here, I'm not typing that shit). Check your -game parameter or VCONFIG setting." Starting up hammer from Gmod's bin folder doesn't give me a Garry's Mod option, just the default Source MP games. The entire directory for Episode 2 is missing, so I can't start hammer from that bin folder. This is very strange, as Episode 2 runs perfectly fine without it. Episode 1 doesn't show up in Source SDK, and its directory is missing too. I don't own Half-Life 2 (Don't need it for Gmod, all the assets come with any source engine game and it's never caused any problems before) so I can't use that version. My only option at this point is to make my map in TF2's hammer or something, which would work well enough for the map I plan to make, but seems very silly to me. Wat do?
I had the same problem. The "gameinfo.txt" error is because of the Steampipe update and something Valve never got around to fix. Using Half-Life 2 as an example, the "gameinfo.txt" is actually located in "Steam/Steamapps/common/Half-Life 2/hl2", which you'll have to copy and place into the "Steam/Steamapps/common/Half-Life 2/bin/" The placement of the gameinfo.txt files for each game is similar, just in the other games' folders. After copying all the gameinfo.txt files for the games' engines you plan to use in Hammer, open up the Source SDK and press "Refresh SDK Content" and "Reset Game Configurations". Hope this all helps.
Are you opening hammer.exe in garrysmod\bin\ ?
Huntingrifle: That's almost useful, but what version of hammer should I be using? If Episode 2, how do I get the file directory to, well, exist? Tomvdr: yes. It gives me TF2, CSS, and DoD.
Could create a gameinfo.txt in garrysmod\garrysmod; [code] "GameInfo" { game "Garry's Mod" title "" title2 "" type multiplayer_only "developer" "TEAM GARRY" "developer_url" "http://www.garrysmod.com/" "manual" "http://wiki.garrysmod.com/" FileSystem { SteamAppId 4000 // 218 ToolsAppId 211 SearchPaths { Game |gameinfo_path|. Game hl2 Game |all_source_engine_paths|hl2 } } } [/code] Or, if this doesn't work, I did it by using cs:s's gameinfo.txt, then load CS:S config and made the map compile to garrysmod\maps
gameinfo.txt already exists in garrysmod/garrysmod. It's identical to the one you posted. Trying the CSS one now. After I've pasted it do I just open hammer.exe in garrysmod/bin and see if Gmod shows up in the list?
Don't use the one for Garry's Mod, it is broken. Use hammer from HL2, TF2 or CS:S.
What's broken for garry's mod? Hammer.exe or gameinfo.txt?
[QUOTE=Zoshi235;45732646]What's broken for garry's mod? Hammer.exe or gameinfo.txt?[/QUOTE] hammer.exe Basically, use the hammer for CS:S, and change the settings to compile the map to garrysmod\garrysmod\maps
Good news, CSS's hammer.exe starts up with no issues. Are there any options for Gmod that don't exist in CSS's hammer I should know about?
Sorry, you need to Log In to post a reply to this thread.