My autoexec won't load when I launch TF2. Executing it through the console doesn't work either. If I try to exec "autoexec.cfg", nothing happens and nothing is said in console as if it worked. When I try to exec "autoexec", without .cfg, it says it couldn't be found. I've tried placing it in the tf folder's cfg folder, I've tried placing it in a cfg folder in /custom/ and I've tried placing it in /custom/ by itself. None of the 3 worked.
Help?
My autoexec won't load when I launch TF2. Executing it through the console doesn't work either. If I try to exec "autoexec.cfg", nothing happens and nothing is said in console as if it worked. When I try to exec "autoexec", without .cfg, it says it couldn't be found. I've tried placing it in the tf folder's cfg folder, I've tried placing it in a cfg folder in /custom/ and I've tried placing it in /custom/ by itself. None of the 3 worked.
Help?
should be in custom/anotherfolder/cfg
should be in custom/anotherfolder/cfg
[img]http://i.imgur.com/HVoI1Ub.png[/img]
make sure the file extension is actually a .cfg not a text file called autoexec.cfg with .txt hidden at the end
make sure the file extension is actually a .cfg not a text file called autoexec.cfg with .txt hidden at the end
scybezshould be in custom/anotherfolder/cfg
really? mine is common/teamfortress2/tf/cfg
[quote=scybez]should be in custom/anotherfolder/cfg[/quote]
really? mine is common/teamfortress2/tf/cfg
martenscybezshould be in custom/anotherfolder/cfg
really? mine is common/teamfortress2/tf/cfg
Both should work the same way.
[quote=marten][quote=scybez]should be in custom/anotherfolder/cfg[/quote]
really? mine is common/teamfortress2/tf/cfg[/quote]
Both should work the same way.
EdLolingtonmake sure the file extension is actually a .cfg not a text file called autoexec.cfg with .txt hidden at the end
The type of file is CFG like it should be.
[quote=EdLolington]make sure the file extension is actually a .cfg not a text file called autoexec.cfg with .txt hidden at the end[/quote]
The type of file is CFG like it should be.
Can you manually exec other files in cfg?
Can you manually exec other files in cfg?
Does executing your class configs work?
Does executing your class configs work?
I'll have to try that later.
I'll have to try that later.
Executing class configs come up as it not being there, regardless if i add .cfg or not to the end of the exec command. I placed a class config in all areas that it would seem appropriate (tf's cfg folder and /custom/cfg/).
Executing class configs come up as it not being there, regardless if i add .cfg or not to the end of the exec command. I placed a class config in all areas that it would seem appropriate (tf's cfg folder and /custom/cfg/).
Is the autoexec file actually a cfg file rather than a generic file without an extension? Also, sometimes the Source Engine doesn't like spaces (for example, you can't watch a demo that has a space in it). Try replacing the spaces with underscores?
[s]Is the autoexec file actually a cfg file rather than a generic file without an extension? [/s]Also, sometimes the Source Engine doesn't like spaces (for example, you can't watch a demo that has a space in it). Try replacing the spaces with underscores?
I tried removing the spaces from the folder name and that didn't work.
I'm not sure why this isn't working. My HUD is working just fine and I have that set in the tf folder and the folder inside of the custom folder.
I tried removing the spaces from the folder name and that didn't work.
I'm not sure why this isn't working. My HUD is working just fine and I have that set in the tf folder and the folder inside of the custom folder.
your configs should be in /custom/randomname/cfg not /custom/cfg
your configs should be in /custom/randomname/cfg not /custom/cfg
kirbyThat's what it's in @_@
kirby(tf's cfg folder and /custom/cfg/).
[quote=kirby]That's what it's in @_@[/quote]
[quote=kirby](tf's cfg folder and /custom/cfg/).[/quote]
Have you tried installing someone elses config to see if your cfg files are broken?
Have you tried installing someone elses config to see if your cfg files are broken?
This happened to me too. For some reason, TF2 was reading the file from /tf/cfg, and NOT from /tf/custom/userstuff/cfg. Regardless of the changes I made to the autoexec (or any other config in the custom folder), TF2 would read from the regular cfg folder in /tf/. I don't know why it did that. I backed up my TF folder, then deleted it entirely. Reinstalled the custom stuff (hud, configs including autoexec) in the proper location (tf/custom/userstuff) and it worked.
Pain in the ass, but shouldn't take more than 20min to rectify. I suppose you could edit the files in /tf/cfg but then you'll have multiple copies of your configs floating around and it gets to be a mess. Especially if tf2 decided to start reading from the correct location at some point in the future.
This happened to me too. For some reason, TF2 was reading the file from /tf/cfg, and NOT from /tf/custom/userstuff/cfg. Regardless of the changes I made to the autoexec (or any other config in the custom folder), TF2 would read from the regular cfg folder in /tf/. I don't know why it did that. I backed up my TF folder, then deleted it entirely. Reinstalled the custom stuff (hud, configs including autoexec) in the proper location (tf/custom/userstuff) and it worked.
Pain in the ass, but shouldn't take more than 20min to rectify. I suppose you could edit the files in /tf/cfg but then you'll have multiple copies of your configs floating around and it gets to be a mess. Especially if tf2 decided to start reading from the correct location at some point in the future.
Goat_kirbyThat's what it's in @_@
kirby(tf's cfg folder and /custom/cfg/).
Maybe I messed up with my writing somewhere. I have my cfg folder inside of /custom/randomfolder.
#18 All I have is the same movement script I've used for the last year and Chris' max FPS config.
#19 Even if it was reading it from /tf/cfg, it should still work. But I know it's reading my custom folder and its contents as my custom HUD works. I'll probably just reinstall TF2. I remember that upon first reinstalling it that it was giving me some error about the search path in /custom/. Not sure how I fixed it. I want to think TF2 is completely ignoring that folder, but that wouldn't make sense as my HUD works. I do, however, have my custom HUD in my custom folder as well as the TF folder, but it was working before adding it to the TF folder.
[quote=Goat_][quote=kirby]That's what it's in @_@[/quote]
[quote=kirby](tf's cfg folder and /custom/cfg/).[/quote][/quote]
Maybe I messed up with my writing somewhere. I have my cfg folder inside of /custom/randomfolder.
#18 All I have is the same movement script I've used for the last year and Chris' max FPS config.
#19 Even if it was reading it from /tf/cfg, it should still work. But I know it's reading my custom folder and its contents as my custom HUD works. I'll probably just reinstall TF2. I remember that upon first reinstalling it that it was giving me some error about the search path in /custom/. Not sure how I fixed it. I want to think TF2 is completely ignoring that folder, but that wouldn't make sense as my HUD works. I do, however, have my custom HUD in my custom folder as well as the TF folder, but it was working before adding it to the TF folder.
SteamApps\common\Team Fortress 2\tf\custom\MY CUSTOMIZED\config\cfg
as per the instructions here - http://tf2cfg.info/help.php
adding the \config\cfg folders got it working for me.
With autoexec residing in the cfg folder.
good luck
SteamApps\common\Team Fortress 2\tf\custom\MY CUSTOMIZED\config\cfg
as per the instructions here - http://tf2cfg.info/help.php
adding the \config\cfg folders got it working for me.
With autoexec residing in the cfg folder.
good luck
Did you make any recent changes to your config? If so detail them out.
Did you make any recent changes to your config? If so detail them out.
#22 I'll try that
Think, no. I installed a brand new HDD and did a fresh config install w/ Chris' max FPS.
#22 I'll try that
Think, no. I installed a brand new HDD and did a fresh config install w/ Chris' max FPS.
You should upload your entire cfg folder somewhere and share it. I'll take a look through it to see if I can find anything wacky.
You should upload your entire cfg folder somewhere and share it. I'll take a look through it to see if I can find anything wacky.
http://www.mediafire.com/?fxq08tm8s9jd6qn
Dumb question, but do you have autoexec.cfg saved as all files?
Dumb question, but do you have autoexec.cfg saved as all files?
All files are set to their appropriate file types.
All files are set to their appropriate file types.
Okay so I found the problem.
Basically since you got a new hard drive you haven't unchecked the Windows Explorer setting to "Hide extensions for known file types". Currently yours is checked. You need this unchecked so you can see the actual file name for your cfg.
So if that doesn't make sense, here's a step by step visual of what I'm saying..
Turn off the "Hide extensions for known file types" setting:
Show Content
Show Content
Change the file name from this:
Show Content
To this:
Show Content
Okay so I found the problem.
Basically since you got a new hard drive you haven't unchecked the Windows Explorer setting to "Hide extensions for known file types". Currently yours is checked. You need this unchecked so you can see the actual file name for your cfg.
So if that doesn't make sense, here's a step by step visual of what I'm saying..
Turn off the "Hide extensions for known file types" setting:
[spoiler][img]http://i.imgur.com/7yesHLz.jpg[/img][/spoiler]
[spoiler][img]http://i.imgur.com/qar0GQU.jpg[/img][/spoiler]
Change the file name from this:
[spoiler][img]http://i.imgur.com/4cOCZim.jpg[/img][/spoiler]
To this:
[spoiler][img]http://i.imgur.com/O31osc4.jpg[/img][/spoiler]
Sorry for the almost 2 months thread necro, but if this can be of assistance to anyone, it'll be worth it.
TL;DR: make sure your .cfg file is in the default encoding (ANSI) when using "Save As..." on your notepad.
I was having a problem with my autoexec not loading by all means, and even displaying an "Unknown Command" text on the console when it was being read (but still not loaded). Upon starting TF2 without said autoexec.cfg it wouldn't give me that text anymore, so something was up. I searched a lot of threads trying to remedy my problem and nothing of this nature came up, so I guess this post can benefit someone.
I would've changed its encoding to Unicode when trying to put a bind that had a custom character and would only be stored if using another encoding. Didn't thought it would be a problem at that point, so I went along with it. Make sure you keep it default.
P.S.: Actually saving with UTF-8 will make it readable by TF2 while retaining the special characters.
Sorry for the almost 2 months thread necro, but if this can be of assistance to anyone, it'll be worth it.
[b]TL;DR[/b]: make sure your .cfg file is in the default encoding (ANSI) when using "Save As..." on your notepad.
I was having a problem with my autoexec not loading by all means, and even displaying an "Unknown Command" text on the console when it was being read (but still not loaded). Upon starting TF2 without said autoexec.cfg it wouldn't give me that text anymore, so something was up. I searched a lot of threads trying to remedy my problem and nothing of this nature came up, so I guess this post can benefit someone.
I would've changed its encoding to Unicode when trying to put a bind that had a custom character and would only be stored if using another encoding. Didn't thought it would be a problem at that point, so I went along with it. Make sure you keep it default.
P.S.: Actually saving with UTF-8 will make it readable by TF2 while retaining the special characters.