Black Mesa

Black Mesa

View Stats:
Techno 2 Feb 6, 2020 @ 6:17pm
Proper format for game launch options?
In order to fix lighting, I have to use console command mat_dxlevel 95 every time in game.

To avoid having to do this every time, I tried putting -mat_dxlevel 95, and alternatively, +mat_dxlevel 95, into the game launch properties. Neither codes do anything, but in theory it should work. I think I must be missing some formality when I input.

What is the proper format? Do I need to put " ... " or <...> around the numbers or something? Or maybe I have the wrong command?
< >
Showing 1-11 of 11 comments
Dralkkin Feb 7, 2020 @ 9:11am 
Put quotations around it. "-mat_dxlevel 95"
Techno 2 Feb 14, 2020 @ 8:46am 
Originally posted by Dralkkin:
Put quotations around it. "-mat_dxlevel 95"
Thanks for the suggestion, but still no luck. I tried several different variations but nothing works. I think I'll just give up and put it in manually from hereon.
1v4n94 Feb 14, 2020 @ 8:21pm 
That's the thing with the dxlevel command... it's meant to be used only one time, since it resets several variables.

Which bug exactly are you pretending to fix with dx95?
Techno 2 Feb 18, 2020 @ 12:45pm 
Originally posted by 1v4n94:
Which bug exactly are you pretending to fix with dx95?

If I do not punch in mat_dxlevel 95, my flashlight doesn't work and several props appear completely black. There are some misc environmental lighting issues too. Basically, lighting is screwed up without dx95.
Pippo Feb 18, 2020 @ 1:01pm 
launching a game with commands in the Source engine requires "+" prefixed to the command, not "-". Try "+mat_dxlevel 95" instead.
Last edited by Pippo; Feb 18, 2020 @ 1:01pm
Diego003 Feb 18, 2020 @ 1:06pm 
try using this: -force_vendor_id 0x10DE -force_device_id 0x1180
1v4n94 Feb 19, 2020 @ 10:52am 
Originally posted by Pineapple Pizza:
launching a game with commands in the Source engine requires "+" prefixed to the command, not "-". Try "+mat_dxlevel 95" instead.
Yes. It's the same thing for console variables.
Pippo Feb 19, 2020 @ 1:10pm 
Originally posted by 1v4n94:
Originally posted by Pineapple Pizza:
launching a game with commands in the Source engine requires "+" prefixed to the command, not "-". Try "+mat_dxlevel 95" instead.
Yes. It's the same thing for console variables.
Non CVAR (in-game console commands) must be prefixed with "-", like "-dev". mat_dxlevel is a CVAR which is why it uses "+".
Techno 2 Feb 20, 2020 @ 10:11am 
Originally posted by Pineapple Pizza:
launching a game with commands in the Source engine requires "+" prefixed to the command, not "-". Try "+mat_dxlevel 95" instead.

Thanks for suggestion. I tried this and still ended up having to put it in the in game console to change the lighting. I'm thinking that maybe that's just the way it has to be, the game has to load up first for some reason before that can be put into effect.

Originally posted by Diego003:
try using this: -force_vendor_id 0x10DE -force_device_id 0x1180

Hm, no luck. What is this supposed to change exactly?
Pippo Feb 20, 2020 @ 10:26am 
Originally posted by Techno 2:
Originally posted by Diego003:
try using this: -force_vendor_id 0x10DE -force_device_id 0x1180

Hm, no luck. What is this supposed to change exactly?
The Source engine automatically sets graphics based on your hardware when first running the game (or if the setting fail to load for some reason). Those launch parameters override the hardware the engine "detects".
thray Feb 20, 2020 @ 10:29am 
The force vendor command tells the game that you have a real Graphics Card and not an unsupported igpu.
Here is where it is normally required;
Originally posted by Maximum Derek:
If you hear a noise when you press F to activate the flashlight but no light appears, then you need to do this;

Here is how to fix the flashlight.

Add these commands to game launch options:

-force_vendor_id 0x10DE -force_device_id 0x1180 -dxlevel 95

Remove "-dxlevel 95" after you close the game or your settings will reset every time you run the game.


Here's how to add commands to the launch options
Right-click on the game title under the Library in Steam and select Properties.
Under the General tab click the Set launch options ... button.
Enter the launch options you wish to apply (be sure to separate each code with a space) and click OK.
Close the game's Properties window and launch the game.
https://support.steampowered.com/kb_article.php?ref=1040-JWMT-2947

< >
Showing 1-11 of 11 comments
Per page: 1530 50

Date Posted: Feb 6, 2020 @ 6:17pm
Posts: 11