Autoexec in 10 seconds
- 1file: autoexec.cfg, not .txt.
- cfgfolder: game \ dota \ cfg.
- 0launch options needed. It runs by itself.
- 0cheat commands that work in it.
Wrong name = Dota ignores it. Axe knows.
The Autoexec.cfg Generator Tool builds your Dota 2 autoexec.cfg: FPS boost, low end PC, clean HUD. Download it with the right name and see exactly which folder it goes in.
fps_max 144Your monitor’s refresh rate or a bit above. The game saves it too.fps_max_ui 60Lower FPS in the menus: less heat and noise. 0 = no limit.cl_showfps 1FPS at the top of the screen. The game does not save this one, so it belongs here.r_low_latency 1NVIDIA Low Latency / AMD Anti-Lag 2. Boost only works on NVIDIA.mat_viewportscale 0.8Renders the 3D view smaller, the UI stays sharp. The biggest FPS lever for weak graphics cards.r_grass_quality 0Grass quality. Off costs nothing.r_ssao 0Turns off ambient occlusion (soft shadows in corners).cl_globallight_shadow_mode 1The shadow setting Valve’s own performance test uses.dota_cheap_water 1Low-quality water, like turning off High Quality Water.r_texturefilteringquality 0Bilinear is the cheapest, 16x the sharpest.dota_ambient_creatures 0No little animals walking around the map.dota_ambient_cloth 0No cloth simulation on hero models.r_dota_allow_wind_on_trees 0Trees stop swaying in the wind.dota_portrait_animate 0The hero portrait in the HUD stops moving.dota_hud_netgraph 1FPS, ping, packet loss and kbps on your HUD. The old net_graph does not exist anymore.dota_hud_extra_large_minimap 1Makes the minimap extra large.dota_minimap_hero_size 800Size of hero icons on the minimap. Default 600.dota_minimap_primary_option 3How heroes show up on the minimap.dota_minimap_background_option 1Background image of the minimap.dota_minimap_disable_rightclick 1Right-clicks on the minimap no longer send your hero walking.dota_hero_overhead_names 1What shows above hero health bars.dota_hud_disable_damage_numbers 1Hides the damage numbers that pop up in fights.dota_hud_healthbar_local_player_high_visibility 1Your own hero’s health bar stands out.dota_range_display 1200A ring around your hero. 1200 = Blink Dagger range. 0 = off.dota_force_right_click_attack 2What a right-click on an ally does.dota_camera_speed 4000How fast the camera moves. Default 3000.dota_camera_accelerate 49How fast the camera speeds up and stops. Default 49.dota_camera_edgemove 0The camera no longer moves when the mouse hits the screen edge.dota_camera_disable_zoom 1The mouse wheel no longer zooms the camera.dota_screen_shake 0No shaking screen from spells and stuns.dota_reset_camera_on_spawn 0The camera does not jump back to your hero when you respawn.volume 0.80 = silent, 1 = full.snd_musicvolume 00 turns the music off.snd_gamevolume 1Effects and spells.snd_voipvolume 1Up to 2 = louder than normal.dota_speech_level 1How much heroes and units talk.con_enable 1Same as “Enable console” in the settings. Open it with \.bind "F10" "toggleconsole"Handy when the \ key sits somewhere odd on your keyboard.bind "F7" "toggle cl_showfps"One key turns the FPS counter on and off.C:\Program Files (x86)\Steam\steamapps\common\dota 2 beta\game\dota\cfg\✓Runs by itself at every start. Check: open the console and look for “autoexec.cfg loaded”.
This tool is created with love for Dota 2 and for helping you to play better every day and rank up! Have Fun and Enjoy!

The Autoexec.cfg Generator Tool writes your Dota 2 autoexec.cfg for you. Flip switches, watch the file build up line by line, download it with the right name. Every command in it still exists in the game and none needs cheats. Axe once wrote his autoexec by hand. The file was called autoexec.cfg.txt. Nothing happened for three years.
Axe explains
Autoexec in 10 seconds
Wrong name = Dota ignores it. Axe knows.
The file lives in the cfg folder of your Dota 2 installation. The folder is already there, the file is not: you create it.
C:\Program Files (x86)\Steam\steamapps\common\dota 2 beta\game\dota\cfg\~/.local/share/Steam/steamapps/common/dota 2 beta/game/dota/cfg/~/Library/Application Support/Steam/steamapps/common/dota 2 beta/game/dota/cfg/Is Dota on another drive or in another Steam library? Then the start of the path changes, the end stays the same: …\dota 2 beta\game\dota\cfg\. The quick way on every system: Steam → right-click Dota 2 → Manage → Browse local files, then open game, dota, cfg.
Old guides say dota 2 beta\dota\cfg. That folder is from 2015. Axe put his file there. Dota never found it. Axe blamed the creeps.
The easy way is the download button in the tool: the file comes with the right name. By hand it works like this:
cl_showfps 1.// are notes. The game skips them.autoexec.cfg.autoexec.cfg.txt, rename it.Windows hides known file extensions by default. That is why so many autoexec files are secretly text files that Dota never reads.
No. Dota 2 runs autoexec.cfg by itself at every start. The game engine has the command built in, and it has worked like that for years. The launch option +exec autoexec is only a fallback if your file really does not load. Before you add it, check the name and the folder.
Launch options and autoexec do different jobs: launch options are read before the game starts (like -novid or -vulkan), the autoexec runs console commands once the game is up.
For the launch options part, the Launch Options Generator builds the whole line and checks your old one.
Honest Axe talk: an autoexec does not double your FPS. The FPS lines are the console versions of normal video settings. The video menu is the first place to change them. The autoexec forces them at every start, which helps when an update resets your settings.
This is the Low end PC preset from the tool, line by line:
fps_max 60Your monitor’s refresh rate or a bit above. The game saves it too.fps_max_ui 60Lower FPS in the menus: less heat and noise. 0 = no limit.cl_showfps 1FPS at the top of the screen. The game does not save this one, so it belongs here.dota_hud_netgraph 1FPS, ping, packet loss and kbps on your HUD. The old net_graph does not exist anymore.con_enable 1Same as “Enable console” in the settings. Open it with \.r_grass_quality 0Grass quality. Off costs nothing.r_ssao 0Turns off ambient occlusion (soft shadows in corners).dota_ambient_creatures 0No little animals walking around the map.dota_ambient_cloth 0No cloth simulation on hero models.r_dota_allow_wind_on_trees 0Trees stop swaying in the wind.dota_portrait_animate 0The hero portrait in the HUD stops moving.mat_viewportscale 0.75Renders the 3D view smaller, the UI stays sharp. The biggest FPS lever for weak graphics cards.cl_globallight_shadow_mode 1The shadow setting Valve’s own performance test uses.dota_cheap_water 1Low-quality water, like turning off High Quality Water.r_texturefilteringquality 0Bilinear is the cheapest, 16x the sharpest.The biggest lever is mat_viewportscale: it renders the 3D world smaller while the HUD stays sharp. Try 0.8 first. Below 0.7 the game gets blurry. Axe likes blurry. Axe also squints a lot.
Not everything needs an autoexec: the game saves most settings by itself. These are the lines worth having:
cl_showfps 1 FPS counter. The game forgets it after every restart, so this one really belongs in the autoexec.dota_hud_netgraph 1 FPS, ping and packet loss on your HUD. The old net_graph is gone.fps_max 144 Your FPS limit. Set it to your monitor’s refresh rate or a bit above.dota_minimap_hero_size 800 Bigger hero icons on the minimap. Default is 600.dota_range_display 1200 A ring around your hero. 1200 is Blink Dagger range.bind "F7" "toggle cl_showfps" One key turns the FPS counter on and off.Want more? The Console Commands Lookup lists every command that still works, and its “Put in autoexec” button sends your picks straight into this tool.
Free tool · Dota2FreaksMMR Calculator: how far is your rank goal?Your game runs smooth now. Set a rank goal and see how many wins it takes to get there.autoexec.cfg. Not autoexec.cfg.txt, not autoexec (1).cfg from a second download.…\dota 2 beta\game\dota\cfg\. The old …\dota 2 beta\dota\cfg\ from pre-2015 guides does nothing.-safe_mode in your launch options ignores your .cfg settings. Remove it once the game runs fine.dota_camera_distance and friends only work in lobbies with sv_cheats 1. In an autoexec they do nothing.net_graph or mat_vsync no longer exist. Paste your file into Check yours and the tool finds them.echo "autoexec.cfg loaded" as the last line. Open the console after the start: if the text is there, the file ran.net_graph 1Does not exist in Dota 2 anymore. Use dota_hud_netgraph 1.mat_vsync 0Does not exist. VSync is in the video settings.cl_cmdrate 128, rate 786432cl_cmdrate does not exist, and no source shows that higher rates lower your ping.cl_interp 0.01cl_interp is read-only now. It only prints the value.mat_queue_mode 2, mat_picmip, r_rootlodOld Source 1 commands. The current game does not know them.dota_embers 0Gone. For menu FPS use fps_max_ui.r_drawparticles 0Exists, but it is a cheat command. No effect in normal games.dota_camera_distance 1500Cheat command. Everybody has the same camera distance in normal games.host_writeconfig as last lineNot needed. The game saves its settings by itself.Can an autoexec get you banned? No. It is a normal game feature and only runs commands the game already has. Axe checked. Axe checks everything twice, because Axe forgets the first time.
Free guide · Dota2FreaksRank Up Guide: find the one thing holding you backFive quick questions about your role, your lane and your losses. You get one habit to fix and a free mission for your next three games.Next step for your setup: plan your keys with the Hotkey Layout Builder.
In your Dota 2 folder under game\dota\cfg. With the default Steam folder that is C:\Program Files (x86)\Steam\steamapps\common\dota 2 beta\game\dota\cfg\autoexec.cfg. Quick way: Steam, right-click Dota 2, Manage, Browse local files, then open game, dota, cfg. The game does not ship the file, you create it.
Yes. Dota 2 runs autoexec.cfg by itself at every start. You do not need a launch option. +exec autoexec in the launch options is only a fallback if your file really does not load.
Usually the name or the folder is wrong: it must be autoexec.cfg (not autoexec.cfg.txt) in game\dota\cfg, not in the old dota\cfg folder from 2015 guides. Also remove -safe_mode from your launch options, it ignores your .cfg settings. And cheat commands like dota_camera_distance never work in normal games, autoexec or not.
Things the game does not keep by itself, like cl_showfps 1 for an FPS counter, plus anything you want forced at every start: FPS limit, network info (dota_hud_netgraph 1), minimap and camera settings. Cheat commands and old Source 1 commands are useless.
It can turn off cheap effects like grass, ambient occlusion, critters and cloth physics, and render the 3D view smaller. Those are the same switches as in the video settings, just forced at every start. It will not double your FPS.
No. autoexec.cfg is a normal game feature. It only runs console commands the game already has.
Data: Valve's official Dota 2 datafeed · updated