host_writeconfig echo "" echo "-----" echo "Executing autoexec.cfg" echo "-----" echo "" // \dota\cfg\autoexec.cfg // Use launch conditions: -console -novid -high // "-console" enables console, "-novid" disables intro video and "-high" puts the Dota 2 process on high priority // My parameters: // -sw -noborder -w 1920 -h 1080 -novid -console -freq 120 -high -noforcemaccel -noforcemparms -nojoy -override_vpk -dashboard international_2013 +exec autoexec.cfg // // CHAT // `Useful' console commands: // dota_apm Retrieve average APM for last game // net_graph # # = 0, 1, 2, 3, 4 // cl_showfps check frame rate // // // = List of channels you want to be added to by default OR disabled command. // // Protecting old settings/Removal instructions // To protect your old config.cfg from being written to, right click config.cfg in that folder and set properties to "read only" (note, most settings will never save other then the GUI binds in game those are stored in the .lst file). // If you did not do that initially you can remove them by deleting the autoexec.cfg/config.cfg from CFG folder and delete config.cfg from Steam\userdata\####\570\remote\cfg folder so it does not restore from steam cloud, a new config.cfg should be made on next launch with default values. // If you added other config files from the zip file it does not matter if they stay or not, only autoexec/config.cfg are executed on launch (others do but are not modified or anything) // If its too hard to figure out that's a shame, learn to use Google. host_writeconfig echo "Initial" con_enable "1" // Enables the console (default 0) developer "0" // Developer mode (default 0) cl_forcepreload "1" // Preloads some resources on game start rather then when map loads (Default "0" Enabled "1") sv_cheats "1" // Just to force some stuff at launch, this will be disabled at the end of the cfg host_writeconfig echo "Console" // CONSOLE OUTPUT - Easier to use, looks and performs like older Source engine console interfaces con_filter_enable "1" // Enable filters con_filter_text "!!!" // Write filter settings con_notifytime "1" // How long to display recent console text to the upper part of the game window con_nprint_bgalpha "50" // Con_NPrint background alpha con_nprint_bgborder "5" // Con_NPrint border size contimes "4" // Number of console lines to overlay for debugging host_writeconfig echo "Gameplay" // GAMEPLAY // BASIC SETTINGS dota_ability_quick_cast "1" // Double tapping item/ability applies it to yourself (default "0" "0" Disables "1" Enables) dota_damage_flash "0" // Flash when enemies take damage from the player (default "1" "0" Disables "1" Enables) dota_disable_range_finder "0" // If set to 0, when a spell is selected, range finder is shown (default "1" "0" Disables "1" Enables) dota_disable_unit_ring "0" // Unit ring around units (default "0" "1" Disables "0" Enabled) dota_force_right_click_attack "1" // Can now right-click to deny (default "0" "0" Disables "1" Enables) dota_hero_tooltip "1" // Style of the hero tool tip (default "1" "0" Corner "1" Overhead "2" Inline overhead) dota_minimap_misclick_time "0" // Threshold delay to accept minimap clicks (default "0.2") dota_player_add_summoned_to_selection "0" // Selects summons on spawn (Default "0" "0" Disables "1" Enables) dota_player_multipler_orders "1" // Hold ctrl to give order to all units (default "0" "0" Disables "1" Enables) dota_player_units_auto_attack "0" // Hero auto attack stance (Default "1" "0" Passive "1" Aggressive) dota_reset_camera_on_spawn "0" // Center camera on player hero on any re-spawn (default "1" "0" Disables "1" Enables) dota_remap_alt_key "" // Remap ALT key to another (default "" "" Disables "ANYKEY" Enabled) dota_screen_shake "0" // Screen will no longer shake when certain are cast (default "1" "0" Disables "1" Enabled) dota_sf_game_end_delay "0" // Make results appear immediately after game ends (default "1" "0" Appear instantly "1" Enables delay) dota_unit_fly_bonus_height "0" // Decreases height of flying units significantly (default "150" "0" Disables) dota_unit_use_player_color "1" // Unit uses player colours (Default "1" "1" Individual colors "0" Team colors) // // SHOP dota_shop_recommended_open "1" // Recommended items for hero when open shop menu (Default "1" "0" Disables "1" Enabled) dota_shop_force_hotkeys "1" // Force using shop hotkeys when buying from shops (default "0" "0" Disables "1" Enabled) hud_sticky_item_name "item_tpscroll" // Default item to be in the stick buy slot (default "item_tpscroll" Any item string works here) dota_player_auto_purchase_items "0" // Autobuys items from shop (default "0" "0" Disables "1" Enabled) // // HERO SELECTOR dota_selector_fulldeck_mode "1" // Defaults to Grid when selecting heroes dota_keybind_hero "0" // Hotkey when choosing a hero (default "0" "0" Disables "1" Enabled) sf_fulldeck_hide_unavailable "0" // Shows heros in pool even if unavailable to be picked (default "1" "0" Disables "1" Enables) // // USER INTERFACE dota_always_show_player_names "0" // Always show player names dota_embers "0" // Dashboard background flames ("0" Disables "1" Enabled) dota_killcam_show "1" // Enables information updon death (default "0") dota_hud_show_overhead_events "1" // Overhead display of CK/CD/Crits/Othe various overhead information (default "1" "0" Disables "1" Enabled) dota_map_ping_multi_key_press "1" // Able to ping while you're pressing down multiple keys dota_minimap_hero_size "580" // Increases the size of heroes on the minimap dota_minimap_ping_duration "5" // Default 3 - Leaves ping marks on the map for longer dota_minimap_ping_tag_duration "5" // Duration of shield/attack pings on structures dota_minimap_simple_colors "0” // Makes minimap colour scheme similar to WC3/Dota 1 (to turn off, set to 0) dota_minimap_tower_defend_distance "250" // Distance from tower to initiate ping tower instead of ping map dota_sf_hud_channelbar "1" // Displays the channelling bar on certain spells (Default "1" "0" Disables "1" Enabled) dota_sf_hud_error_msg "0" // Displays error msgs on hud EX.spell is on cool down dota_sf_hud_voicechat "1" // Displays who is talking on hud when they talk (Default "1" "0" Disables "1" Enabled) dota_show_hero_finder "1" // Show hero indicator when alt is held down host_writeconfig echo "HPBar" // HEALTH BAR - Makes hp changes instantaneous if set to 0 without quotations dota_health_hurt_decay_time_max "0.1" // (default 0.8) dota_health_hurt_decay_time_min "0.1" // (default 0.3) dota_health_hurt_delay "0.05" // (default 0.1) dota_health_marker_major_alpha "255" // Opacity major healthbar divider (default 255, 0=invisible 255=opaque) dota_health_marker_minor_alpha "128" // Opacity minor healthbar divider (default 128, 0=invisible 255=opaque) dota_health_per_vertical_marker "250" // Health segmenting in the lifebar (default 250) dota_hud_healthbar_number "1" // Health number above the lifebar on (default 1) dota_pain_decay "0.2" // (default 0.8) dota_pain_factor "0.5" // (default 3) dota_pain_fade_rate "0.5" // (default 3) dota_pain_multiplier "0.2" // (default 0.8) host_writeconfig echo "NetGraph" // NETGRAPH OVERLAY - Appears top right of the client net_graph "1" // Show the network graph overlay net_graphinsetbottom "437" // 100 to place below scoreboard net_graphinsetright "-80” // 600 to place below scoreboard net_graphproportionalfont "0" // Resize font host_writeconfig echo "Performance" // PERFORMANCE, AUDIO, VIDEO, NETWORK AND CONTROL // PERFORMANCE engine_no_focus_sleep "20" // Reduces resources consumed when dota 2 loses focus. Adjust to reach optimal FPS when alt tabbed if you're spectating. (default "20" disabled "0" range "1-2000") fps_max "125" // Max FPS for client to render (default "120" Min/Max "0-300") fps_max_splitscreen "245" // Max FPS on dual monitors (default "300" min/max "0-300") in_usekeyboardsampletime "0" // Use keyboard sample time smoothing (default "1" "0" Disables "1" Enables) //mat_queue_mode "2" // Quad core rendering (default/Auto "-1" Possible boost "2") mat_triplebuffered "0" // Enable with vsync for a performance boost if fps is less than 60 ("1" Disables "0" Enables) mat_vsync "0" // VSYNC on/off (disabled "0" enabled "1") host_writeconfig echo "Audio" // AUDIO // VOLUME AND QUALITY snd_gamevolume "0.40" // Game Volume (Min "0.00" Max "1.0") snd_musicvolume "0.00" // Ingame music volume (Min "0.00" Max "1.0") snd_pitchquality "2" // Sound quality ("0" Low "1" Med "2" High) //sound_device_override "0" // Specify device for audio output ("RANDOM STRING FOR DEVICE" Other devices will vary) //speaker_config "-1" // Audio Speaker channels ("1" Headset "4" 2 Channel "3" 4 Channel "6" 5.1 Channel "7" 7.1 Channel) voice_enable "1" // Voice chat ("0" Disables "1" Enabled) voice_mixer_boost "0" // Mic boost ("0" Disables "1" Enabled) voice_mixer_volume "1.00" // Voice transmit volume (Min "0" Max "1.0") voice_scale "1.00" // Voice receive volume (Min "0" Max "1.0") voice_vox "0" // Open mic ("0" Off "1" On) volume "0.50" // Master Volume (Min "0.00" Max "1.0") // // EVENT AUDIO cl_dota_speech_spec_ancientattack "1" // Your ancient is under attack lines ("0" Disables "1" Enables) cl_dota_speech_spec_barracksattack "1" // Your rax is under attack lines ("0" Disables "1" Enables) cl_dota_speech_spec_barracksfalls "1" // Your rax has fallen lines ("0" Disables "1" Enables) cl_dota_speech_spec_enemybasefalls "1" // Enemy's tower/rax has fallen lines ("0" Disables "1" Enables) cl_dota_speech_spec_idles "1" // Announcers' idle lines ("0" Disables "1" Enables) cl_dota_speech_spec_towerattack "1" // Your tower is under attack lines ("0" Disables "1" Enables) cl_dota_speech_spec_towerfalls "1" // Your tower has fallen lines ("0" Disables "1" Enables) // // AUDIO MISC cc_subtitles "0" // Subtitles ("0" Subtitles and effects "1" Subtitles) closecaption "0" // Controls subtitles ("0" Disables "1" Enabled) dota_mute_cobroadcasters "0" // Mutes co-broadcasters ("0" Disables "1" Enables) dota_speech_level "1" // Amount of verbal events from heroes ("0" Disables "1" Events "2" On) snd_mix_async "0" // Multicore sound rendering (default "0" Enabled "1") snd_mute_losefocus "0" // Background sound when minimized ("0" On "1" Off) host_writeconfig echo "Video" // VIDEO cl_globallight_shadow_mode "2" // Shadows ("0" Low "1" Med "2" High) dota_ambient_creatures "0" // Ambient Creatures ("0" Disables "1" Enabled) dota_cheap_water "0" // Quality of water ("0" High "1" Low) dota_portrait_animate "1" // Hero portrait animations ("0" Disables "1" Enabled) mat_monitorgamma "1.7" // Brightness (Min "1.6" Max "2.6" Default "2.2" Game claims LCD 1.7 CRT 2.2) mat_picmip "0" // Textures ("2" Low "1" Med "0" High) mat_viewportscale "1.0" // Render Quality ("1" 100% "0.6" 0%) r_deferred_additive_pass "1" // Additive light pass ("0" Disables "1" Enabled) r_deferred_height_fog "1" // Fog of war ("0" Off "1" On) r_deferred_simple_light "1" // World lighting ("0" Off "1" On) r_deferred_specular "1" // Specular ("0" Off "1" On) r_deferred_specular_bloom "1" // Specular bloom ("0" Off "1" On) r_screenspace_aa "1" // Anti-aliasing ("0" Off "1" On) r_ssao "1" // Ambient occlusion ("0" Off "1" On) // // OVERRIDE - The below options override default CPU/GPU settings. Experiment. cpu_level "2" // Cpu level ( "0" Low "1" Med "2" High) gpu_level "3" // Gpu level ( "0" Low "1" Med "2" High "3" Ultra) mem_level "2" // Ram level ( "0" Low "1" Med "2" High) gpu_mem_level "2" // Vram level ( "0" Low "1" Med "2" High) host_writeconfig echo "Network" // NETWORK - ADJUST TO YOUR OWN SETTINGS - Client netcode and network settings cl_cmdrate "100" // Amount of updates sent to server per second (default "30" Min/Max "20-30") cl_interp "0" // cl_interp 1 / cl_updaterate * (cl_interp_ratio) (default "0.1" Min/Max "0-0.5") cl_interp_ratio "1" // Multiplies final result of cl_interp (default "2" Min/Max "1-5") cl_lagcompensation "1" // Server side lag compensation of weapon firing events (default "1" "0" Disables "1" Enabled) cl_pred_optimize "2" // If it is set to 2 or above, it will revert all predictibles back to the last predicted frame if no errors were found. (default "2") cl_smooth "0" // Smooth view/eye origin after prediction errors (default "1" "0" Disables "1" Enabled) cl_smoothtime "0.01" // When errors occur smooth display over X time, 0 Disables (default "0.1" Min/Max "0.01-2") cl_updaterate "100" // Amount of updates received from server per second (default "30" Min/Max "20-30") cl_timeout "5" // Seconds before determining the failure of a connection (default "30" Min/Max "0-?") cl_resend "1.5" // Seconds before attempting to recconect (default "6" Min/Max "0-?") clientport "27005" // Clients port to be used for outgoing connections (default "27005" Min/Max "1-65535") clientportany "0" // Selects a random port for client port (default "0" Enabled "1") net_maxcleartime 0.01 // Seconds we can wait for next packets to be sent (default "4") net_maxfragments "1200" // Max fragment bytes per packet (default "1200") net_maxroutable "1200" // Requested max packet size before packets are split. (default "1200") net_queued_packet_thread "0" // Controls priority queued packets (default "1" "0" Disables "1" Enabled) rate "100000" // Total amount of bandwidth Dota 2 may use (default "80000" Min/Max "10000-1000000") host_writeconfig echo "Mouse" //MOUSE //sensitivity "2.5" // Disabled - eh I'm unsure what I should be using for my DPI settings. m_customaccel "0" // m_mouseaccel1 "0" // m_mouseaccel2 "0" // //m_rawinput "1" // Invalid in the Dota 2 engine but keeping it here incase they try to force dumb acceleration one day. host_writeconfig echo "PlayerCameraControl" // PLAYER CAMERA CONTROL dota_camera_accelerate "50" // Decelerating map scroll (Default "49" "49" Instant stop "1" Smooth slowdown. Not sure but I think "50" is actually right.) dota_camera_disable_zoom "1" // Control mouse scroll for zooming in and out (Default "0" "1" Disables "0" Enables) dota_camera_edgemove "1" // Moves camera when cursor hits edge of screen (Default "1" "0" Disables "1" Enables) dota_camera_follow_doublepress_time "1" // Time frame to lock onto hero when double tapped (default "0" "0" Disables "1" Enables) dota_camera_reverse "0" // Inverted movements when gripping camera (default "0" "0" Disables "1" Enabled) dota_camera_speed "6500" // Scrolling speed (Default "3000", Vanilla DotA-like is 6500, default 3000, prefer 6500 or 3682) // // MISC VALUES dota_camera_disable_yaw "1" dota_camera_dotatv_smooth_drag "1" dota_camera_dotatv_smooth_drag_drag "0.075" dota_camera_dotatv_smooth_drag_inverse "0" dota_camera_dotatv_smooth_drag_max_speed "25" dota_camera_drag_speed "1" dota_camera_heightmap "1" dota_camera_lerp_duration "2" dota_camera_listening_offset "0" dota_camera_lock "0" dota_camera_lock_mouse_lead "220" dota_camera_lock_view_helper "1" dota_camera_lock_view_helper_ratio "0.45" dota_camera_sixense_center_on_hero "0" dota_camera_sixense_grab_speed "3" dota_camera_sixense_invert_grab "1" dota_camera_sixense_invert_pan "0" dota_camera_sixense_pan_expo "1.5" dota_camera_sixense_pan_speed "4000" dota_camera_smart_follow_drag_distance "500" dota_camera_smart_follow_edge_distance "500" dota_camera_smart_follow_offset_reset "8" dota_camera_smart_follow_offset_time "1" dota_camera_smooth_count "8" dota_camera_smooth_distance "96" dota_camera_smooth_enable "1" dota_camera_smooth_sample_timer "0.1" dota_camera_smooth_time "0.25" dota_camera_stage_fov "15" dota_camera_stage_pitch "0" dota_camera_stage_rotate "0" dota_camera_stage_x "25" dota_camera_stage_y "-600" dota_camera_stage_yaw "90" dota_camera_stage_z "225" dota_camera_yaw_rotate_hold_time "1" dota_camera_yaw_rotate_speed "0.2" host_writeconfig echo "Spectator" // SPECTATOR // SPECTATOR NETWORK SETTINGS cl_spectator_cmdrate_factor "1" //Multiplier for CMD rate while spectating (default "0.5", Min/Max "0-?") cl_spectator_interp_ratio "3" //Multiplier for interp while spectating (default "2", Min/Max "0-?") tv_nochat "1" //Spectator chat in dota tv (default: "0", "1" Disables "0" Enables) // // SPECTATOR CAMERA dota_spectator_auto_spectate_games "0" dota_spectator_autospeed "0" dota_spectator_autospeed_fast "2" dota_spectator_autospeed_fastest "4" dota_spectator_autospeed_slowmo "1" dota_spectator_autospeed_slowmo_slow "0.4" dota_spectator_autospeed_slowmo_slowest "0.2" dota_spectator_debug "0" dota_spectator_directed_bonusz "75" dota_spectator_directed_hero_timer "2" dota_spectator_directed_maxdistance "820" dota_spectator_directed_mouse_bias "400" dota_spectator_directed_mouse_control "0" dota_spectator_directed_spline_time "1" dota_spectator_fog_of_war "-1" dota_spectator_hero_index "" dota_spectator_mode "0" dota_spectator_shoulder_view "0" dota_spectator_shoulder_view_forward "-300" dota_spectator_shoulder_view_override_angles_pitch "25" dota_spectator_shoulder_view_right "0" dota_spectator_shoulder_view_up "75" dota_spectator_stats_panel "0" dota_spectator_test_spectator_view "0" dota_spectator_watching_broadcaster "0" host_writeconfig echo "Scripts" // SCRIPTS AND BINDINGS // SCRIPT ALIAS - Some are found at earlier instances in this cfg file // Hide or show network graph alias "showgraph" "showgraph_off" alias "showgraph_off" "net_graph 0; alias showgraph showgraph_on" alias "showgraph_on" "net_graph 1; alias showgraph showgraph_off" // This shows scoreboard and APM in console alias "+showboard" "+showscores;dota_apm" alias "-showboard" "-showscores;" alias "smokerange" "smokerange1" // Rune Camera - Cycles through spots alias rune1 "dota_camera_setpos -2273.898682 1232.745483 982.072876;bind f1 rune2" // Top Rune alias rune2 "dota_camera_setpos 3035.773438 -2972.680176 966.072937;bind f1 backtome" // Bot Rune alias backtome "+dota_camera_follow;-dota_camera_follow;+dota_camera_follow;-dota_camera_follow;bind f1 rune1" // Range binds // Toggle to shows 1025 range units, the proximity range to be revealed while smoked alias "smokerange1" "dota_range_display 1025;alias smokerange smokerange2" alias "smokerange2" "dota_range_display 0;alias smokerange smokerange1" // Toggle to show 1200 range units, the proximity range to gain XP alias "xprange" "xprange1" alias "xprange1" "dota_range_display 1200;alias xprange xprange2" alias "xprange2" "dota_range_display 0;alias xprange xprange1" //alias "quick_courier" "dota_select_courier; dota_ability_execute 3; dota_ability_execute 4; dota_ability_execute 5; +dota_camera_follow" host_writeconfig echo "Binds" // BINDINGS //bind "[" "xprange" // (Broken as command now seen as cheat) Show XP range radius //bind "]" "smokerange" // (Broken as command now seen as cheat) Show smoke range radius bind "`" "toggleconsole" // Open Console bind "F1" "rune1" // Checks rune spots, cycles upon consecutive presses bind "F10" "showgraph" // Hide or show network graph bind "F11" "exec autoexec.cfg" // Executes this autoexec again // CHEAT CVARS - ALL DISABLED BY DEFAULT - Just for experimentation //dota_range_display "" // Range indicator around hero showing that specific range (Default "0" "0" Disables) //dota_camera_distance "1134" // Cam distance (Default "1134") //dota_camera_spectate_distance "1600" // Cam distance when spectating (Default "1600") //cl_clock_correction "1" // Related to netcode (Default "1") //dota_music_spectator_battle_average "0" // (Default "20") //dota_music_spectator_battle_min "0" // (Default "10") //dota_hero_selection_announcer_use_rr "0" // (Default "0") //dota_magic_stick_enabled "0" // (Default "0") //dota_new_user_keybind "0" // (Default "0") //dota_powerbar_baseline "0.25" // (Default "0.25") //dota_query_inhibit_time "0.5" // (Default "0.5") //dota_rare_line_click_count "5" // (Default "5") //dota_scoreboard_buyback_border "0" // (Default "0") //dota_topbar_buyback_time "10" // (Default "10" Min 0.0 Max 30) //dota_full_ui "1" // (Default "0") //END OF CFG - Shutting off variables that should be disabled after the cfg has finished executing and with an echo phrase to make sure it launched properly sv_cheats "0" // Disabling cheats host_writeconfig echo "" echo "-----" echo "autoexec.cfg executed" echo "Last updated 26/04/2014" echo "-----" echo ""