Valve Developer Community:New Help Desk

From Valve Developer Community
Revision as of 20:06, 7 August 2018 by JoshuaAshton (talk | contribs)
Jump to navigation Jump to search

Click Edit to make a new post at the bottom. Please sign your post with four tildes (~~~~).

Setting the game directory

I have a fully compiled and working copy of Source SDK Base 2013 running and i have been asking this question for ages but how do you change the game directory name from "hl2" to something else and get it to launch the game correctly?

Techgames101 (talk) 00:48, 8 August 2018 (UTC)

I've never done anything with 2013, so somebody else probably has a better solution. I just got it to work by doing this:
  • Change every instance of "hl2" in hl2's gameinfo.txt to "test".
  • Rename the hl2 folder from "hl2" to "test".
  • Add -game test in the launch parameters.
The only issue I noticed in the first map (d1_trainstation_01) was missing chapter titles. Pinsplash (talk) 01:09, 8 August 2018 (UTC)
Please don't listen to this guy above, he is horridly incorrect. Do not change every reference in the gameinfo to test as you need to mount hl2 vpks.
I'd recommend copying the mod_hl2 folder to test instead of replacing it, for easy access if you need reference to stuff you changed.
-game test is 50% correct. You need to either launch the base with -game "C:\PathToMyMod\test" OR you can symlink your game folder to the sourcemods folder in Steam
Getting real sick of your shitty, uninformed contributions, Pinsplash. - JoshuaAshton (talk) 03:04, 8 August 2018 (UTC)