Installing Heroes of the Storm via Lutris (Wine wrapper)

Gaming on Linux has come a long way. Not only are more and more games going native, but the tools that exist to enable playing non-native games are better than ever!

Valve Software’s Steam Proton, a feature of the Steam software delivery platform wraps Wine to help provide an effortless experience for any titles contained in your library. Awesome! I tried this with Modern Warfare 2 in full visual fidelity with no hangups, crashes, or other issues. It was perfect. Filled with determination by this new experience, I sought to tell my friends the good news.

Challenge accepted, but wait! Steam Proton doesn’t do non-steam titles (yet?), and Heroes of the Storm uses the Blizzard/Battle.net Launcher. This is a program that historically has proved great difficulty in running under WINE environments or other non-Windowsy things.

Lutris is an up and coming platform to help users with their WINE experience. It offers community collaboration, configuration, rating, and library-saving features. If you are familiar with the PlayOnLinux of old, this is like that. Except better-er.

Okay, down to business! This guide was written and tested against the following:

  • Razer Blade (14″, 1080p, i7-7700k, GTX 1060) (todo: write/link guide)
  • Switched to nvidia proprietary drivers (todo: write/link guide)
  • Ubuntu 18.10
  • an hour of time

 

Getting started:


Install Wine staging as shown at the WineHQ wiki
https://wiki.winehq.org/Ubuntu

sudo dpkg --add-architecture i386
wget -nc https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/Ubuntu_18.10_standard/Release.key
sudo apt-key add Release.key
sudo apt-add-repository 'deb https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/Ubuntu_18.10_standard ./'
sudo apt install --install-recommends winehq-staging

Install Lutris as defined by Lutris download area
You better not have skipped WINE staging install =]

ver=$(lsb_release -sr); if [ $ver != "18.10" -a $ver != "18.04" -a $ver != "16.04" ]; then ver=18.04; fi
echo "deb http://download.opensuse.org/repositories/home:/strycore/xUbuntu_$ver/ ./" | sudo tee /etc/apt/sources.list.d/lutris.list
wget -q https://download.opensuse.org/repositories/home:/strycore/xUbuntu_$ver/Release.key -O- | sudo apt-key add -
sudo apt update
sudo apt install lutris

Now that you’ve got those two installed, the fun part can begin!

  1. Pop open the new Lutris client on your machine
  2. Create an account
  3. Log into the client with it at the main dialog
  4. Add Heroes of the Storm to your Lutris library
  5. Synchronize your client with your online account library Lutris > Synchronize Library
  6. Begin the install on the newly found “Heroes of the Storm” in your Lutris library
  7. Observe the tips on the pre-flight stage, and follow wiki links to https://github.com/lutris/lutris/wiki/Game:-Blizzard-App
    https://github.com/lutris/lutris/wiki/How-to:-Esync

    sudo apt install libgnutls30:i386 libldap-2.4-2:i386 libgpg-error0:i386 libsqlite3-0:i386
    sudo vi /etc/security/limits.conf
    # add lines:
    yourusername soft nofile 1048576
    yourusername hard nofile 1048576

  8. Follow through install as prompted. Do not log into the client when a login dialog pops up for Battle.net. Let the installer catch it, and close it for you.
  9. Open Heroes of the Storm from Lutris, and fix the missing Vulcan depends (DXVK) according to the provided wiki link. Do not bypass!
    sudo apt install libvulkan1 libvulkan1:i386
  10. Run once again, and sign into Battle.net Launcher as you usually would
  11. Install Heroes of the Storm
  12. Enter the Options for Heroes of the Storm, and ensure that “When I launch a game” is set to “Exit Battle.net completely” for compatibility
  13. Play!

Known Issues:

  1. Login screen doesn’t auto-auth, because launcher is closed. Manually log in.
  2. Micro-stutters the first time a given ability is used in the game, like it doesn’t pre-load the animations/effects/whatever
  3. When first spawning, drag the camera briefly around the minimap to load all the assets, otherwise it’ll feel stutter-y.

Overall this is a solid playable experience! The tiny stutters that do exist are no problem and are very temporary. I got into practically all the teamfights without thinking about any lag or performance problems. Woot!

Leave a Reply

Your email address will not be published. Required fields are marked *