#Portal 2 autoexec.cfg not working

1 messages · Page 1 of 1 (latest)

real plover
#

I've been having this issue where my autoexec just stopped working, kinda. It will only do some commands. as far as I'm aware it does "mat_setvideomode", "cl_showpos". but does not do any bindings. however, I noticed that if it becomes out of sync with Steam Cloud, it works perfectly fine, bindings included. Though I'm not sure how to cause steam to become out of sync, and would rather have an actual fix rather than doing that. I've tried both launch command lines "-autoexec" and "+exec autoexec" (and "+exec autoexec.cfg"), and the game just refuses to do anything. but will still run the mat_setvideemode. I also should note that the bindings that I set become "" when I run bind <key> so for example: r = "" instead of "key not bound". this will only happen if the is not bound prior to the game loading. if it's already bound, nothing will happen

TLDR: Portal 2's autoexec.cfg does not work with Steam Cloud being synced.

#

also all settings get reset to the controller default when I run my sourcemod, so if I look at my keybinds there "RT_TRIGGER" and "Y_BUTTON" again, unless it has already been bound

#

this includes stuff like enable dev console and sensitivity

molten swan
#

its not "+exec autoexec" (and "+exec autoexec.cfg"), its just exec autoexec in console or -exec autoexec in a cmd line

real plover
#

I've also tried that and it still did not work, whats odd is that its still reading it

molten swan
#

some cmd in the autoexec might have default settingsin the config.cfg file and the autoexec will change them in that file and will not change them again once they do

real plover
#

should I delete it?

#

i deleted it and reinstalled it via verify

#

seems to be working, but my sensitivity is not

#
bind "MOUSE2" "+attack2"
bind "MOUSE3" "+zoom"
bind "MWHEELUP" "+jump"
bind "MWHEELDOWN" "+jump"
bind "A_BUTTON" "+jump"
bind "B_BUTTON" "+duck"
bind "X_BUTTON" "+use"
bind "Y_BUTTON" "+remote_view"
bind "L_SHOULDER" "+attack2"
bind "R_SHOULDER" "+attack"
bind "START" "gameui_activate"
bind "RIGHT" "+mouse_menu"
bind "DOWN" "+mouse_menu_taunt"
bind "L_TRIGGER" "+quick_ping"
bind "R_TRIGGER" "+zoom"```this chuck is causing the controller binds
#

found the line where it changes my sensitivity