View Single Post
05-12-18, 10:39 AM   #9
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
I had to upgrade for some 7.x major patch... maybe 7.3? when Blizzard apparently added some new copy protection scheme into WoW and my then-current wine-staging-2.2 no longer worked. Here's what I did:

1. Rename the existing Wine prefix folder, e.g. /home/phanx/Games/wow ➞ /home/phanx/Games/wow-wine2.2
2. Delete the existing WoW entry in Lutris
3. Install WoW again through Lutris (this does not actually download WoW, just the Bnet app, which is quite small)
4. Launch the new WoW entry in Lutris (actually launches the Bnet app)
5. Point it to where my existing WoW install actually lives

If all goes well then you can delete the old Wine prefix and corresponding entry in Lutris.

Like I said in my last post, I don't actually use Lutris to launch WoW, as it just adds an extra step. Instead I use a shell script that references the Lutris-installed version of Wine, the Lutris-created Wine prefix, and the appropriate env vars:

Code:
#!/bin/sh

PREFIX="/home/phanx/Games/wow"
RUNNER="/home/phanx/.local/share/lutris/runners/wine/pba-3.3-x86_64"

env WINEDEBUG=-all \
	__GL_SHADER_DISK_CACHE=1 \
	__GL_SHADER_DISK_CACHE_PATH="$PREFIX" \
	__GL_THREADED_OPTIMIZATIONS=1 \
	mesa_glthread=true \
	WINEPREFIX="$PREFIX" \
	"$RUNNER"/bin/wine \
	start /unix /home/phanx/bin-wine/world-of-warcraft/Wow-64.exe
I did notice that the current WoW install script for Lutris uses a different Wine build, but I haven't tried it yet since the pba build works great and I don't actually play the game, haha.

Also, you can easily add/remove different Wine versions in Lutris. From the main window, open the "Lutris" menu and select "Manage runners". Scroll down to Wine and press the "Manage versions" button. From there just check the box next to any Wine build you want to add, and uncheck the box next to any old builds you want to remove. If you launch WoW from Lutris, right-click on the WoW entry, select "Configure", switch to the "Runner options" tab, and change the "Wine version" dropdown.
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.

Last edited by Phanx : 05-12-18 at 10:42 AM.
  Reply With Quote