Dota 2 Wiki
Advertisement
Launch-options-instruct

Finding the Launch Options within Steam.

Launch Options are command lines that change the Dota 2 client.

Access

How to access Dota 2's Launch Options:

  1. Open the Steam client
  2. Navigate to Library tab
  3. Right click Dota 2
  4. Select Properties
  5. Navigate to General tab
  6. Click Set Launch Options...

Command lines

  • Multiple command lines should be separated by a space.
  • Console commands can also be added to the launch options in order to activate it on startup. To do so, add a plus sign (+) before the command and include the parameters(if they exist) after a whitespace.
    • Example:To set the attribute r_lod to 0, input +r_lod 0 in the launch options.
Natural Order (Astral Spirit) icon
▶️ By the forge of creation.
This section is under construction. It may still lack crucial information or contain unvalidated statements.
You can help by coordinating with the authors and offer your help.
Command Effect
+con_enable 1 Enables the console in-game.
-console Enables the console in-game.
-high Gives Dota 2 priority CPU usage.
-useforcedmparms Allows the use of -noforcemspd and -noforcemaccel.
-noforcemaccel Use the Windows mouse acceleration settings. Only works if -useforcedmparms is set.
-noforcemspd Use the Windows mouse speed settings. Only works if -useforcedmparms is set.
+fps_max # Set the maximum frame per second to the number that has been assigned.
-fullscreen Start on full screen mode.
-h <height> Forces the engine to start with resolution set to <height> value in pixels. Ex: -h 768
-w <width> Forces the engine to start with resolution set to <width> value in pixels. Ex: -w 1024
-x <position horizontal> Place the borderless window along the horizontal axis. Useful for multiple monitor desktops. Ex: -x 1921 (With three monitors, it will place it on the middle screen.)
-y <position vertical> Place the borderless window along the vertical axis. Useful for multiple monitor desktops. Ex: -y 0 (Places game window at the top of the monitor, over the taskbar.)
-autoconfig Restores video and performance settings to default for the current hardware detected. Ignores settings inside any .cfg files until this parameter is removed.
-override_vpk Forces the engine to search for custom game content placed inside the game's installation directory instead of using the default game content packed inside VPK files. Cannot be used in matchmaking games.
-enable_addons Forces the engine to search for white-listed (by Valve) custom game content placed inside the game's installation directory instead of using the default game content packed inside the VPK files. Can be used in matchmaking games. Current white-list: Minimap, HUD, icons, custom cursor images, all sound directories, flash videos.
-nomousegrab Enables alt-tab function in some Linux desktop environments (such as XFCE) where Dota 2 is running fullscreen and grabbing the mouse wouldn't allow users to alt-tab out of the game.[1]
-language <code> Changes the language of the game strings and menu, e.g. "-language italian".
-nod3d9ex Disables Windows Aero DirectX extensions; may improve performance in certain cases.
-nomicsettings Stops Dota 2 from changing microphone output values upon launching the game. May help people with issues in third party communication software, such as Skype, in which their microphone volume would get maxed upon launching the game.
-nosound Turn off in-game sound.
-nexon Adds the South Korean server to your search options if you have a Korean Nexon account.
-perfectworld Allows you to play on Chinese Perfect World servers.
-map dota Loads the Dota 2 map right when you launch the game. Helps load times after you find a game since you no longer have to load the map then.
-dx9 Force run on DirectX 9.
-dx11 Force run on DirectX 11.
-gl Forces Dota to run on OpenGL. On Windows, the OpenGL DLC is necessary to run this.
-vulkan Apply Vulkan support.
-nogammaramp Forces Dota to use desktop color profile. This also applies to other source games (ex. F.lux will be applied in Fullscreen)
-32bit Force run on 32bit client. (default 64bit)
-antiaddiction_test Adds an uptime clock.
-cursor_scale_percent # Able to change cursor size. Default 100. Overrides the setting in the in-game options if used.
-port [ Info Needed ]

Deprecated commands

These commands are deprecated. They either no longer work at all (i.e. were removed), or have no use anymore.

Command Effect Reason
-windowed Game runs in windowed mode. Changeable in the game settings. (the code '-sw' still works for the same purpose)
-noborder Game runs in borderless windowed mode. Changeable in the game settings.
-novid Automatically skipped the introduction video. No longer needed since the intro is not played anymore by default.
-dashboard <code> Changes the loading screen and main menu background according to the code inserted. The Reborn Dashboard does not support the old themes anymore.

Patch history

Patch
Description
  • Added -port.
  • U
    -dx11 has been made the default launch option for Dota 2 on 64-bit systems. (DirectX 11 default have been reverted. Therefore, you must add the -dx11 command to run with Directx 11.)[2]
  • Custom cursor images are now allowed in matchmaking.
  • Added all sound directories to the whitelist for -enable_addons
  • Updated -enable_addons to include sound scripts, music scripts, and Flash videos
  • The use of –override_vpk is no longer allowed in matchmaking games in order to prevent gaining a competitive advantage.

February 02, 2015 Patch Update 2

  • Added a new launch option -enable_addons that lets you override a whitelist of files that we will be populating (currently supporting Minimap, HUD related elements, Icons and VO).

References

External links

Advertisement