Dota 2 config file in steam gets reset all the time!

Dota 2 config file in steam gets reset all the time! - Young cheerful friends in trendy warm clothes chatting and walking

I've just started playing dota 2 for a week now and have played LoL for a year. I've researched some stuff about binding and editing the config file. I've found what I wanted to do, however, every time I exit dota 2, the config file gets reset, and the things I've added won't work after reopening dota2.

I really don't want to type approx 10 lines of code in the console everytime I've to restart dota 2.

The core problem is that some things in the config file gets removed, some gets readjusted to the original and some do not work even if they stay there.

Config file path: E:*MyFolder*\Steam\SteamApps\common\dota 2 beta\dota\cfg

Here are some example:

These codes get removed every time:

alias "leftclick" "+sixense_left_click; -sixense_left_click"

alias "atkGround" "mc_attack; leftclick"

These codes are there, but never work. Worked only the first time:

bind "MOUSE4" "atkGround"

bind "F1" "dota_camera_setpos -2273.898682 1232.745483 982.072876"

bind "F2" "dota_camera_setpos 3035.773438 -2972.680176 966.072937"

This one gets readjusted to 600 every time!

dota_minimap_hero_size 900

Is there a way to make these permanent?!

Thanks in advance!

-Iraqi_Warrior



Best Answer

I got the answer on reddit. Reddit

I basically have to create an autoexec.cfg file in the same folder and paste my code there instead.




Pictures about "Dota 2 config file in steam gets reset all the time!"

Dota 2 config file in steam gets reset all the time! - Smiling man in apron cooking against attentive girlfriend and gas stove with meatballs in pan at home
Dota 2 config file in steam gets reset all the time! - Content man with girlfriend frying meatballs in pan at home
Dota 2 config file in steam gets reset all the time! - Happy ethnic man preparing dinner for smiling wife in kitchen



How do I fix Dota 2 files?

Just work your way down the list until you find the one that does the trick for you.
  • Restart your computer.
  • Update the graphics driver.
  • Disable your antivirus temporarily.
  • Run the game as an administrator.
  • Verify the integrity of game files.
  • Adjust your virtual memory.
  • Set game launch options.
  • Run Dota 2 in compatibility mode.


  • How do I reset my Dota 2 config?

    Right click Dota 2 in Steam, find the launch options, and type -autoconfig. It should reset your settings.

    Where are DOTA settings saved?

    That is your config from before the reborn client. C:\\Program Files (x86)\\Steam\\SteamApps\\common\\dota 2 beta\\dota_ugc\\game\\dota\\cfg\\user_keys_slot0. vcfg contains your key config from before the reborn client replaced the old one.



    How To Reset Games On Steam - Erase Game Data




    More answers regarding dota 2 config file in steam gets reset all the time!

    Answer 2

    One way of quickly fixing this is to bind it to a key. Bindings will be saved when you exit the game. For a similar config I have bound l.

    Command example: bind "l" "dota_minimap_hero_size 900"

    Although the hero size is not permanent it can be switched on with a simple press of the l button while in game.

    Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.

    Images: Tim Douglas, Gary Barnes, Gary Barnes, Gary Barnes