Options not saving properly

Black Mesa: Steam Content Build ID 614303 (Can’t find a version number, so that’ll have to do for now)

Menu options reset after every time the menu loads:

glow_outline_effect_enable “0” (resets to default: “1”)
sk_autoaim_mode “0” (resets to default: “1”)

In layman’s terms, the “enable autoaim” and “enable HUD post process” options don’t persist after a game session is ended; they always reset to the default settings. I tried editing the config.cfg file to no avail, and tried adding the commands above into the “autoexec.cfg” file as well.

Suggestion: Disable help texts. cl_showhelp “0”'s entry in config.cfg has the same issue; it resets to 1 automatically.

Your finds I believe may be in the same vein as the glitch I found (and ended up solving myself).

Changes applied in the menu prompt this code to run:
‘userconfig.cfg’ not present; not executing.
Host_WriteConfiguration: Wrote cfg/config.cfg

I believe each option change, level load, and possibly other causes in-game make the game reload a default version of config.cfg. This is only a theory for why this happens, but I aside from that I think I might have a fix for you.

Try making the changes you want to the config, then make it read-only. I checked a few of the other .cfg files and I’m thinking it might work. There was no execute command in config.cfg to run other cfg files or any cfg files that reference userconfig.cfg so I wonder if that is hardcoded into the game? My theory is that is why the config.cfg changes are able to be overwritten so easily while in-game, but I’m not totally sure.

Hopefully if the devs get a chance to answer questions about these smaller issues we’ll figure out what the deal is. Good luck!

Founded in 2004, Leakfree.org became one of the first online communities dedicated to Valve’s Source engine development. It is more famously known for the formation of Black Mesa: Source under the 'Leakfree Modification Team' handle in September 2004.