Forum
My autoexec isn't working, please help
Created 12th August 2015 @ 12:37
Add A Reply Pages: 1
Recently I deleted all my cfg files and went back to default so I could get broesel’s crosshair switcher. I kept a backup of my old files and put the autoexec back into the config folder but it no longer works (I have comanglia’s fps config in autoexec btw). When I type ‘exec autoexec’ into console it says unknown command.
Before anyone asks it definitely has .cfg and is in the correct folder. I have tried to verify game files twice.
Try “exec autoexec.cfg”
https://wiki.teamfortress.com/wiki/Scripting#Exec
If it says unknown command I would’ve thought the syntax of what you’re typing is wrong rather than anything being wrong with the file itself. I could be wrong though.
Last edited by Casino,
Quoted from Casino
Try “exec autoexec.cfg”
unknown command again
] exec autoexec.cfg
Unknown command “?”
I too have started having this problem even though I see no reason for it to be there.
] exec autoexec.cfg
Unknown command “?”
I don’t even have any weird characters and it refuses to execute any new commands I put into the file. I’ve tried creating another .cfg file and do for example “exec Fuxx” or “exec Fuxx.cfg” but the same Unknown command “?” appears.
It’s detecting the file, just refusing to do anything with it
The issue is not with the cfg file.
My guess is that the exec
command has been aliased to do “?”, which does nothing and that’s why it appears as an unknown command.
So I’m not sure on how you can revert an alias to its original command, but I think adding -autoconfig (not -autoexec) to your launch options might revert it, just make sure you remove the -autoconfig after you started the game once.
Last edited by retz,
i dunno but try
alias “exec” “exec”
+exec autoexec.cfg in launch options
really no idea if any of above will work
Quoted from repu
i dunno but try
alias “exec” “exec”
+exec autoexec.cfg in launch options
really no idea if any of above will work
I tried doing alias “exec” “?” and then alias “exec” “exec” and when I tried using the exec command it just crashed, I tested it with other commands and it also crashed
Last edited by retz,
just delete your cfg and whole custom folder.
start+exit the game and then try it with your custom folder
Last edited by schocky,
Quoted from schocky
just delete your cfg and whole custom folder.
start+exit the game and then try it with your custom folder
Didn’t work and neither did any of the launch options
Add A Reply Pages: 1