ValveSoftware / halflife

Half-Life 1 engine based games
Other
3.67k stars 619 forks source link

Launch options not working #1740

Open ghost opened 8 years ago

ghost commented 8 years ago

Hi.

For the last 2 weeks, launch options set in Steam on Half-Life and its mods do not work. For example, if I set -noforcemparms to make the mouse input not horrible, it is not applied. If I use -dll to load a bot I need to test my mod, it is not loaded.

Any ideas why this would happen? I'm not on the Half-Life beta on Steam.

SamVanheer commented 8 years ago

Check if the command line options ever make it to the program using Process Explorer. you can find out how here: http://superuser.com/a/415363

If the options are passed in, then it's a problem with the engine.

For the record, i don't have any problems passing command line options. -console got set just fine.

drauthev commented 7 years ago

I can confirm this, the launch options I set in Steam are not passed to the executable. Here is the command line environment for a Source SDK Base 2006 based mod, according to WinDbg:

"C:\Program Files (x86)\Steam\steamapps\common\Source SDK Base\hl2.exe" -game sourcetest -steam -game "C:\Program Files (x86)\Steam\steamapps\sourcemods\hl2hun"

Even though I also set "-console -novid" which do not seem to appear here. It should be noted that this phenomenon only affects non-steam mods.