WineHQ
Category: Main Games DotA 2 Early Access - Steam

DotA 2

Valve no longer considers the game in beta. You can buy early access at this time, however the game will become free to play on full release.

http://www.pcgamer.com/2012/06/01/get-dota-2-now-using-paid-for-early-access-pass/?ns_campaign=article-feed&ns_mchannel=ref&ns_source=steam&ns_linkname=0&ns_fee=0

Application Details:

Version: Early Access - Steam
License: Free to use
URL: http://www.dota2.com
Votes: 10
Latest Rating: Platinum
Latest Wine Version Tested: 1.5.27

Maintainers: About Maintainership

Link DotA 2 Development Forum Link DotA 2 Community Forum Link DotA 2 Blog Link DotA 2 Store Link DotA 2 Last Updates & Changelogs

Test Results

Old test results
The test results you have selected are very old and may not represent the current state of Wine.
Selected Test Results

What works

Valve/Source video intro, loading screen, main menu, sounds, all menu tabs, ingame browser loads pages, ingame store, steam overlay, almost all settings.

What does not

Advanced Video settings doesn't changing: "Apply" button resets settings to previous.

Main gameplay: main map doesn't renders normally.

Workarounds

What was not tested

Purchasing items in the ingame store.

Hardware tested

Graphics:

  • GPU:
  • Driver:

Additional Comments

Main gameplay problem and fix are described in bugzilla as bug #31239.

selected in Test Results table below
Operating systemTest dateWine versionInstalls?Runs?Used
Workaround?
RatingSubmitter
ShowArch Linux x86_64Apr 08 20131.5.27Yes Yes NoPlatinuman anonymous user 
ShowUbuntu 12.10 "Quantal" amd64 (+ variants like Kubuntu)Mar 23 20131.5.26Yes Yes NoPlatinuman anonymous user 
ShowLinux Mint 14 "Nadia" x86_64Mar 03 20131.5.25Yes Yes NoPlatinuman anonymous user 
ShowFedora 8 x86_64May 02 20131.5.24Yes Yes NoGoldan anonymous user 
ShowLinux Mint 14 "Nadia" x86_64Feb 24 20131.5.24Yes Yes NoPlatinuman anonymous user 

Known Bugs

Bug # Description Status Resolution Other apps affected
27453 Lag when loading new sound in source games NEW View
31493 Dota 2: hero tooltip text is not rendered apprropriately NEW View

Show all bugs

HowTo / Notes

Dota 2 Under Linux
Dota 2 is now available natively under linux. Follow http://www.dota2.com/ for further info.
Dota 2 under Wine How-To (last updated 2012-08-19)

Wine Prefix

Wine prefix and initial setup If possible, install each application (including Dota 2) to its own prefix, which ensures clean and isolated environment. Default Wine prefix is ~/.wine/, it can be controlled using WINEPREFIX environment variable (both wine and winetricks follow it). This article shows how to install dota into ~/.wine_dota2/. We should initialize it first:

WINEPREFIX=~/.wine_dota2/ winecfg

Setup may prompt you to install Mono and Gecko modules during initialization, allow both; sometimes servers hosting them may be slow, be patient. In a while, you should see "Wine configuration" window – just close it, we do not need to adjust anything yet.

Steam setup

Steam has its own AppDB section, you can use it to get full Steam installation instructions or if you have any Steam-related problems. In this article, we'll use nice helper script:

wget http://winetricks.org/winetricks
WINEPREFIX=~/.wine_dota2/ sh winetricks --no-isolate steam

Winetricks prepares environment for Steam, downloads its setup file and launches it. Steam setup itself should be no different from one on Windows: it's interactive Steam Setup wizard, after which Steam performs self-update and shows greeting screen. Log into your Steam account, agreeing with all the conditions and confirming new installation via email code.

Dota 2 setup

You should have Dota 2 in your Steam Library to be able to play. Just install it via Steam, like Windows users do (e.g. RMB > Install Game). Process is simple and straightforward – follow initial wizard and wait for some time while Steam downloads and deploys game files within your Wine prefix. Now, you're ready to play, but there're few additional steps which may improve your game experience.

Tuning Wine

Following advices are based exclusively on my experience of running game under stock Gnome 3, and may be not applicable to other window managers or desktop environments.
  1. While game runs fine, switching focus from it is horribly broken (bug 31502). There're two ways to work around it:
    • In game options, under Video tab, switch display mode to Borderless Window. However, such approach is not perfect on my system – when focus is brought back to the game, in 90% of cases Gnome's top panel becomes inactive, but does not disappear visually.
    • Alternatively, you can leave display mode as Fullscreen, but confine both Steam and Dota 2 to virtual desktop. This will decrease level of integration between Wine and your desktop environment (for example, virtual desktop window has its own tray, game won't notice if you switch focus away from virtual desktop, and so on), which sometimes may be desirable. You can enable it either in winecfg (Graphics > Emulate a virtual desktop) or by launching game using following command:

      WINEPREFIX=~/.wine_dota2/ wine explorer /desktop=dota2,1920x1080 "C:\Program Files\Steam\Steam.exe"

      Where "dota2" is name of virtual desktop (which will appear as window name in your desktop environment) and 1920x1080 is its resolution. In this mode desktop environment can capture various events and react accordingly, which may be extremely annoying (for example, Gnome 3.4 shows notification panel when you move cursor to the bottom-right corner, trying to edge-scroll in that direction). You can prevent it by running winecfg and enabling "Graphics > Automatically capture the mouse in full-screen windows" option.
  2. To avoid launching game manually each time, append "-applaunch 570" to launch command:

    WINEPREFIX=~/.wine_dota2/ wine "C:\Program Files\Steam\Steam.exe" -applaunch 570

  3. If you plan to use in-game console, install Lucida font:

    WINEPREFIX=~/.wine_dota2/ sh winetricks lucida

    Otherwise console font will be hardly readable.

Current status and problems

Currently Dota 2 runs almost perfectly under Wine.
  • Characters from tooltips and player names above heroes are randomly missing (bugs 31493 and 31494). No known workaround.
  • Post-game screen is extremely sluggish (bug 31495). Doesn't have significant impact on general game experience.

Recent problems

  • Black screen on launch. I'm not sure what causes it, but after following steps in this how-to it doesn't occur for me anymore. Most likely clean prefix solved it (previously I installed vcrun2010 as recommended by old how-to). If you're still getting it – append "-novid" option to game (RMB Dota 2 > Properties > Set launch options). You may want to add it even if you're not getting this bug, to avoid skipping these intro videos manually over and over again.

Comments

The following comments are owned by whoever posted them. WineHQ is not responsible for what they say.

.
by Jarkko Korpi on Friday April 18th 2014, 20:30
RE: Unable to launch
by Jairo on Sunday April 21st 2013, 21:52
Enable S3TC Texture Compression (This is needed to resolve the "red screen" issue)
* Using driconf under Image Quality settings (apt-get install driconf)
* If unavailable in driconf, install the Texture compression library for Mesa through the Ubuntu Software Center.

Change Dota 2 Launch Options (This is needed to resolve the "game crash on startup" issue)
* In Steam, navigate to: Library -> Dota 2 (in left menu) -> right click -> Properties -> SET LAUNCH OPTIONS
* Copy paste the following: -novid -sw -nod3d9ex -noborder
* I believe -noborder improves switching focus between Dota 2 and other windows. At the very least, -nod3d9ex is required to resolve the game crash on startup


Play the Game!

That's it! The game should now be playable. I'd advise that you turn down your graphics settings in the top left menu as well.

Link:goo.gl/ttG9f
Back