Magic the Gathering: Arena current version
Playing itself works perfectly, as far as I can tell. However, many workarounds were needed to get there, and some glitches remain (see below).
The game installs with the official installer.
Then the game downloads many files.
The game connects to the game servers.
Deckbuilding, matchmaking, and playing - all work.
What does not
The installer displays several graphical glitches, making it essentially impossible to read anything. However if you've done the installation previously (e.g. on Windows), you can figure out to just click Next a lot, at the bottom. The early check box is "create a desktop icon?", which I declined. As far as I know there is no workaround for these graphical glitches.
When the game downloads files, for example right after the initial installation finishes, intermittently the program will crash, displaying a "gcThreadContext" error. This is apparently a known bug (https://bugs.winehq.org/show_b...). See below for a partial workaround to this.
In order for MtgaLauncher.exe to run, I had to install dotnet 4.7.2. This in itself is a process, which you can google for more details. But the basic procedure is:
- create a 32-bit wine prefix;
- uninstall mono from it;
- set windows version to XP;
- install .net 4.0 (download from Microsoft);
- set windows version to 7;
- set mscoree.dll to native in winecfg -> Libraries;
- install .net 4.7.2 (also download from Microsoft).
Alternatively, you can use the latest winetricks to install dotnet472 (download the latest winetricks from the winetricks github - it's just a single file: a huge shell script). But for me, doing it with winetricks took much longer, because it installs many more intermediate versions of dotnet.
To get around the gcThreadContext crash while downloading files, you can just restart the game when it happens, and it'll continue downloading where it left off. However, if you'd like to go do something else while it downloads, you can minimize how many times the crash occurs, by running like this:
WINEDEBUG=+relay,-debug wine MtgaLauncher
This makes the game run much slower, but it steadily makes progress downloading, and can do so unattended. Sometimes it still crashes, but it's much, much less. Once it finishes downloading, exit the game, and run normally, without WINEDEBUG=+relay,-debug.
In order to connect to the game servers, I needed another workaround, and this one I couldn't find with google. The game was giving an error: "Unable to connect. Could not establish connection to environment: An exception has occurred while attempting to connect. wss://client.arenagame-a.east.magic-the-gathering-arena.com:9405/Prod/WS" (the exact address may vary). To fix this, I had to turn on IPv6 in my Linux kernel.
What was not tested
In game shop
Major game version changes
Many thanks to DarkShadow4444 from FreeNode irc #winehq, who helped me produce and understand the wine debugging output, which helped me figure out that I had to turn on IPv6 in my kernel.
|Operating system||Test date||Wine version||Installs?||Runs?||Used|
|Show||openSUSE Leap 15.2||Jun 02 2021||6.9||Yes||Yes||Yes||Silver||Ingo|
|Show||Manjaro 20.2.1 Nibia||Apr 23 2021||6.6||Yes||Yes||Yes||Gold||Merlin|
|Show||Fedora 32, 64-bit.||Jan 30 2021||6.1||N/A||Yes||No||Bronze||ZhenboLi|
|Show||Manjaro 20.2.1 Nibia||Apr 23 2021||6.0||Yes||Yes||Yes||Gold||Merlin|
|Show||Arch Linux x86_64||Jul 22 2020||5.13-staging||Yes||Yes||Yes||Gold||Denis Sheremet|
|Bug #||Description||Status||Resolution||Other apps affected|
|32342||Multiple applications and games using 'Webkit' or 'Blink' web browser engine crash on startup ('Arial' and 'Times New Roman' font face name validation)||STAGED||View|
|45937||Magic The Gathering Arena stops accepting any input after losing and regaining focus||UNCONFIRMED||View|
|47753||Magic The Gathering: Arena (MTGA) issue crashing on start||UNCONFIRMED||View|
|49627||Magic The Gathering: Arena Update manager needs Windows.Foundation.Diagnostics.AsyncCausalityTracer||RESOLVED||NOTOURBUG||View|
|50537||Magic the gathering Arena Installer: shows a grey background instead of black||UNCONFIRMED||View|
|50588||Magic the gathering Arena: Game crashes after a game finished||UNCONFIRMED||View|
|50696||Magic: The Gathering Arena shows a white window when trying to add fund||UNCONFIRMED||View|
|50903||Magic the gathering Arena (MTGA) crashes when launching the game||UNCONFIRMED||View|
Make sure you use a wine version > 5.9. Prior versions suffer from a bug that causes the client to constantly crash when downloading the initial assets (https://bugs.winehq.org/show_b...). This has been fixed in wine versions > 5.9.
Other wine versions with known issues for MTGA:
After you moved your mouse outside the client or switched to a different virtual desktop, MTGA will not regain focus if you get back to the application.
To fix this focus issue you can add a registry key by running:
wine reg ADD 'HKEY_CURRENT_USER\Software\Wine\X11 Driver' /v UseTakeFocus /d 'N' /f