Valve Developer Community:New Help Desk
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.
- Change every instance of "
- 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 edit hl2's gameinfo, it will not help you. If you need to change your mod title/appid/etc to your own, check in your OWN gameinfo.txt.
- Do not change every reference of hl2 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- Re: chapter titles, you need to go into mymod/resource, and rename hl2_language.txt (where language can be any language) to mymod_language.txt (where mymod is the name of your mod) OR you can load hl2's language files manually in your mod source code, which may be cleaner (that's what I do.)
- Getting real sick of your shitty, uninformed contributions, Pinsplash. - JoshuaAshton (talk) 03:04, 8 August 2018 (UTC)