If anyone is having problems trying to get Magic: The Gathering - Arena to install after the latest OpenBeta client update, I suggest installing manually for the time being. Apparently, updating Unity games is still not working 100% right on Wine.
To patch correctly, I had to restart MTGA.exe several times to get all files to download. During the last 3 files, I thought I had to put the game in single core mode, because all the errors had the name “thread” on them, making me believe some kind of multithreading problem was being randomly generated by the patcher.
The process is as follows:
- Create a new wineprefix
WINEPREFIX=/name/of/mtga/folder WINEARCH=win32 winecfg
- Install the required wineprefixes following the script
WINEPREFIX=/name/of/mtga/folder winetricks dotnet452
WINEPREFIX=/name/of/mtga/folder winetricks xact
WINEPREFIX=/name/of/mtga/folder winetricks corefonts
WINEPREFIX=/name/of/mtga/folder winetricks win10
- Download the open beta client and install it in the prefix
WINEPREFIX=/name/of/mtga/folder wine /path/to/installer/MTGAInstaller.exe
In this step, you can apparently put /quiet
in the end of the command line to skip some unreadable installer bits. The same can be done for winetricks dotnet452, but I’m not sure if the proper way is winetricks -q dotnet452
or winetricks dotnet452 /q
or something. It shouldn’t make a difference whether you use a GUI or leave it to the quiet installer, but quiet mode requires less mouse button presses.
(EDIT: updated steps 4 to 6)
4. Update the game calling MTGA.exe. This step will fail several times, but the number of updates keeps reducing (from 1 of 60, to 1 of 20 and so on). Whenever it fails, start it up again.
env WINEPREFIX="/home/USERNAME/Games/MagicArena" wine “/home/USERNAME/Games/MagicArena/drive_c/Program Files/Wizards of the Coast/MTGA/MTGA.exe”
- By the end of the updates (about 1 out of 5) I simply couldn’t keep using this method. I used this command to start the game using single core mode and it could finish updating the remaining packages.
taskset --cpu-list 1 env WINEPREFIX="/home/USERNAME/Games/MagicArena" wine “/home/USERNAME/Games/MagicArena/drive_c/Program Files/Wizards of the Coast/MTGA/MTGA.exe”
- When everything is updated, you’re safe to go back to multicore mode. Create a launcher for the actual game so you don’t have to use the command line all the time
For example, you can create a launcher in the desktop generally right-clicking the desktop and pressing “create new launcher”. This varies with Desktop Environments and distributions. The launcher command should be similar to
env WINEPREFIX="/home/USERNAME/Games/MagicArena" wine “/home/USERNAME/Games/MagicArena/drive_c/Program Files/Wizards of the Coast/MTGA/MTGA.exe”