Battle.net: Difference between revisions

From NixOS Wiki
imported>Nix
m add Software/Applications subcategory
imported>Mweinelt
winetricks dependency removed in 68ca39a775a637f289c63248b64443ef7342f6ad
Line 10: Line 10:
       mingwSupport = true;
       mingwSupport = true;
     })
     })
     (winetricks.override {
     winetricks
      wine = wineWowPackages.staging;
    })
   ];
   ];



Revision as of 06:39, 4 June 2023

The Battle.net Launcher can be installed and launched via wine, which works pretty well. To play most of its games a recent wine-staging version is recommended.

Setup

Tested on nixos-unstable with wine-staging 5.22 and found to be working with World of Warcraft 9.0.2:

 users.users.youruser.packages = with pkgs; [
   (wineWowPackages.full.override {
     wineRelease = "staging";
     mingwSupport = true;
   })
   winetricks
 ];

Create a 64-bit wine prefix and enable DXVK support.

 export WINEARCH=win64
 export WINEPREFIX=$HOME/.wine-battlenet
 winetricks dxvk

Download the Battle.net-Setup.exe from https://www.blizzard.com/apps/battle.net/desktop and install it by executing

 wine64 Battle.net-Setup.exe

Follow the installation and upon completion login in with your Battle.net Id or create one.

The Launcher should now start up and allow you to install and launch games.