2023-12-04 10:05:28 -06:00
|
|
|
# Battle.net Nix Flake
|
|
|
|
|
|
|
|
Sort of.
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
1. Download the Battle.net setup: https://download.battle.net/?product=bnetdesk
|
|
|
|
2. Clone and `nix develop .` (or use direnv and `direnv allow`)
|
|
|
|
3. Follow https://nixos.wiki/wiki/Battle.net
|
|
|
|
|
|
|
|
```shell
|
|
|
|
export WINEARCH=win64
|
|
|
|
export WINEPREFIX=$PWD/wineprefix
|
|
|
|
winetricks dxvk
|
|
|
|
wine64 $BATTLENET_SETUP
|
|
|
|
```
|
2023-12-04 10:11:47 -06:00
|
|
|
|
|
|
|
Once Battle.net is installed, you probably want to launch the up-to-date version
|
|
|
|
directly to avoid repeated updates:
|
|
|
|
|
|
|
|
I usually copy my WoW installation from another machine to `./wow` (so it
|
|
|
|
is .gitignore'd) and manually locate it for the Battle.net Launcher. This makes
|
|
|
|
things like installing addons and whatnot a little easier that going to
|
|
|
|
`"./wineprefix/drive_c/Program Files (x86)/World of Warcraft"`.
|