Battle.net: Difference between revisions
Beginning sentence added and Category:Applications Category:Gaming |
add syntax highlighting |
||
| Line 5: | Line 5: | ||
Tested on nixos-unstable with wine-staging 5.22 and found to be working with World of Warcraft 9.0.2: | Tested on nixos-unstable with wine-staging 5.22 and found to be working with World of Warcraft 9.0.2: | ||
<syntaxhighlight lang="nix"> | |||
users.users.youruser.packages = with pkgs; [ | |||
(wineWowPackages.full.override { | |||
wineRelease = "staging"; | |||
mingwSupport = true; | |||
}) | |||
winetricks | |||
]; | |||
</syntaxhighlight> | |||
Create a 64-bit wine prefix and enable DXVK support | Create a 64-bit wine prefix and enable DXVK support: | ||
<syntaxhighlight lang="bash"> | |||
export WINEARCH=win64 | |||
export WINEPREFIX=$HOME/.wine-battlenet | |||
winetricks dxvk | |||
</syntaxhighlight> | |||
Download the <code>Battle.net-Setup.exe</code> from https://www.blizzard.com/apps/battle.net/desktop and install it by executing | Download the <code>Battle.net-Setup.exe</code> from https://www.blizzard.com/apps/battle.net/desktop and install it by executing: | ||
<syntaxhighlight lang="bash"> | |||
wine64 Battle.net-Setup.exe | |||
</syntaxhighlight> | |||
Follow the installation and upon completion login in with your Battle.net Id or create one. | Follow the installation and upon completion login in with your Battle.net Id or create one. | ||
| Line 31: | Line 37: | ||
After updating any wine related packages the Battle.net client may throw an error on launch. | After updating any wine related packages the Battle.net client may throw an error on launch. | ||
Re-run the | Re-run the <code>wine64 Battle.net-Setup.exe</code> inside the previous wine prefix you used to update the application and avoid this error. | ||
== Steam == | == Steam == | ||
Alternatively, you can install Steam and then add the Battle.net installer there via '''"Add Game -> Add a Non-Steam Game..."'''. You must also go to the Properties of the added game in ''Steam'' and set ''Compatibility'' to <code>GE-Proton8-25</code> (or later version). | Alternatively, you can install Steam and then add the Battle.net installer there via '''"Add Game -> Add a Non-Steam Game..."'''. You must also go to the Properties of the added game in ''Steam'' and set ''Compatibility'' to <code>GE-Proton8-25</code> (or later version). | ||
If you get stuck on the login screen where there are no login buttons, you must launch the Steam app with <code>"WINE_SIMULATE_WRITECOPY=1"</code> env variable. This might be just a temporary glitch. You can also add Battle.net client or even the game directly to Steam. Look for installed binaries (.exe) in <code>"~/.local/share/Steam/steamapps/compatdata/"</code>. | If you get stuck on the login screen where there are no login buttons, you must launch the Steam app with <code>"WINE_SIMULATE_WRITECOPY=1"</code> env variable. This might be just a temporary glitch. You can also add Battle.net client or even the game directly to Steam. Look for installed binaries (<code>.exe</code>) in <code>"~/.local/share/Steam/steamapps/compatdata/"</code>. | ||
[[Category:Applications]] | [[Category:Applications]] | ||
[[Category:Gaming]] | [[Category:Gaming]] | ||