13

I wanted to enable the console, so I Googled how to do it and found that I could do it by putting -console in the launch options of the game. I did that, but now the console opens every time I start Dota 2. Is there a way to have it open if I push `, but not whenever I start the game up?

2 Answers 2

11

Yes, you can do that.

Go to …\Steam\SteamApps\common\dota 2 beta\dota\cfg\ and create a new file called autoexec.cfg next to config.cfg, so it won't get overwritten. Open it and add a line that says con_enable "1". That will enable the console even without adding -console to the launch settings.

Alternatively, you could add hideconsole to the configuration file to hide the console after it pops up, but I recommend the first method.

4
  • 4
    This is a bad solution because the config gets overwritten on dota startup. the safer solution is to put that code into a autoexec.cfg so it is written into config on every startup.
    – Wandang
    Jan 29, 2014 at 11:38
  • 3
    @Wandang: Fixed. Jan 29, 2014 at 22:11
  • 1
    I have just added -console -hideconsole in launch options and it enables the console but it is closed when game starts.. win win without having to dig into the folders ))) May 30, 2015 at 7:25
4

Put +con_enable 1 into your launch options. The + makes it untouchable for the autoexec. It's the most elegant solution for your problem.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .