WineHQ

Magic: The Gathering Arena

No Screenshot

Submit Screenshot

Magic the Gathering: Arena open beta version

Application Details:

Version: Open Beta
License: Free to use
URL: https://magic.wizards.com/en/m...
Votes: 1
Latest Rating: Silver
Latest Wine Version Tested: 4.11

Maintainers: About Maintainership

Free Download Official free to play client, open beta version for Windows

Test Results

Selected Test Results

What works

The installer works, but the buttons and graphics do not display properly. Just find the button in the bottom right and keep on clicking! A bit of guesswork should get you through to an installation with the default settings.

Launching the game itself also works, MTGA.exe. And within the game, just about everything appears flawless. It runs almost like native, from what I can tell. The direct challenge mode was a bit finicky but ended up working.

I did have one time recently when it glitched when I tried to play a land. This made it impossible to play any other cards, forcing me to lose the game. That was a one-time issue so far, though.

What does not

Initially for me the sound was not working, but by making a clean 32-bit wine prefix and installing the wine-pulseaudio.i686 package on Fedora 29 I was able to solve the issue.

The main issues remaining are:

1) The updater does not work. When there is an automatic update the game starts up with an error message and forces you to exit. Running the updater program manually doesn't work as there is a missing library:

Could not load file or assembly 'PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies.
File name: 'PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
  at MtgaLauncher.Program.Main (System.String[] args) [0x00000] in <9537be7608944626bd47048671a716c9>:0

2) Within my window manager (i3) switching away from the app to another desktop, and then returning, leaves the application blind to mouse and keyboard input.

Workarounds

For issue #1, it is possible to download the latest installer and install over the existing install. Then when the application starts up next, it will download all necessary files over again. This takes a while and is basically an entire re-installation of the program, but it gets around the update issue.

I had previously read that by installing the right version of the .net framework using winetricks, the PresentationFramework dependency could be filled, but I have been unable to install most of the available versions, and with dotnot452 or whatever I was able to install, it made no difference.

For issue #2, I have not discovered a workaround.

What was not tested

I haven't tested all of the game modes, just the main non-ranked play mode, deck editing, and some use of the store.

Hardware tested

Graphics:

  • GPU: Intel
  • Driver: open source

Additional Comments

v1011_677424

selected in Test Results table below
Operating systemTest dateWine versionInstalls?Runs?Used
Workaround?
RatingSubmitter
ShowUbuntu 19.04 "Disco" amd64 (+ variants like Kubuntu)Jun 25 20194.11Yes Yes YesSilverArthur Peters 
ShowDebian 10.x "Buster"Apr 26 20194.0Yes Yes YesGoldShane B 
CurrentFedora 29 x86_64Jan 30 20194.0Yes Yes YesBronzeJosh 
ShowArch LinuxDec 15 20184.0-rc1Yes Yes YesSilverinknos 
ShowVoid LinuxDec 02 20183.21Yes Yes YesSilverIan 

Known Bugs

Bug # Description Status Resolution Other apps affected
24501 wine-mono does not support WPF NEW View
45546 Magic The Gathering Arena updater: Unity fork of Mono-runtime reports 'Fatal error in gc, GetThreadContext failed' (suspension of Mono-managed threads sometimes exceed 100ms) NEW View
45898 Magic The Gathering Arena has most hotkeys not working UNCONFIRMED View
45937 Magic The Gathering Arena stops accepting any input after losing and regaining focus UNCONFIRMED View
47479 Darkula by Locomalito gives white screen with Wine 4.12.1 STAGED View

Show all bugs

HowTo / Notes

How to get MtgaLauncher.exe to work
  1. Set up a 32-bit Wine prefix
  2. Set Windows version to Windows 7
  3. Install dotnet472 using winetricks

This should allow you to run the updater. 

Note that this does not fix the GetThreadContext failed bug.

How to fix game locking up when alt-tabbing

The alt-tabbing is fixed by adding a registry key for "HKEY_CURRENT_USER\Software\Wine\X11 Driver\UseTakeFocus" and set it to "N"

Fixing the "Fatal error in gc, GetThreadContext failed" crash when downloading game files

It is possible to overcome the "Fatal error in gc, GetThreadContext failed" crash when downloading game files by using a patched version of wine. (see the discussion here https://bugs.winehq.org/show_bug.cgi?id=45546)

For those using lutris there is a build with the patch enabled available called: tkg-mtga-x.xx

Comments

The following comments are owned by whoever posted them. WineHQ is not responsible for what they say.

patched wine for Playonlinux
by Lluís Gili on Wednesday May 29th 2019, 14:47
to avoid "Fatal error in gc, GetThreadContext failed" while updating there's a little patch in bugs.winehq.org/show_bug.cgi?id=45546#c18
if you are using Playonlinux, you can download patched wine 4.9 here 5.135.181.113/wine_4.9_patched.tar.gz
put it in ~/.PlayOnLinux/wine/linux-x86/ and choose wine version 4.9_patched in Playonlinux, after update return to your previous wine version
MTGA Installer
by tagelicht on Sunday May 5th 2019, 14:11
For me using wine 4.7 (OS set to Windows 10) the installer works fine (though for some reason, only in a clean wineprefix). Its Graphics are terribly broken, but it installs the game. Updating doesn't work though, but I will try the workaround so I dont have to reinstall all the time.

The game works great, performance is flawless, and as described in the corresponding bug creating a string "UseTakeFocus" in "HKEY_CURRENT_USER\Software\Wine\X11 Drivers\" fixes the game not receiving input anymore after tabbing out.

Other than updating and the tabbing bug I did not notice any bugs, while playing the game intensively ;)
RE: MTGA Installer
by tagelicht on Friday May 10th 2019, 16:58
"HKEY_CURRENT_USER\Software\Wine\X11 Driver\" and set value of UseTakeFocus to "N"
The latest installer seems to be broken with newer wine versions
by ZeroPointEnergy on Thursday March 28th 2019, 7:34
I tested with the following wine versions, every time with a new prefix:
- wine 4.1 (works)
- wine 4.2 (works)
- wine 4.3 (broken)
- wine 4.4 (broken)

Looks like the breakage is somewhere between wine 4.2 and 4.3. I did not test with staging wine so far.
RE: The latest installer seems to be broken with newer wine versions
by ZeroPointEnergy on Monday April 29th 2019, 10:04
Just for the record: There was a regression introduced in 4.3 that breaks the installer of MTGA. This was supposedly fixed in 4.5 (I did not test this version), but in 4.6 another regression was introduced when a staging patchset was merged upstream incomplete which is now again fixed with 4.7.

So if you have trouble installing, try a wine version =4.7
updater stopped working
by Lluís Gili on Wednesday February 20th 2019, 14:15
since last two updates I can't update and had to re-install from scratch
any workaround for updating instead or re-installing?
RE: updater stopped working
by Lluís Gili on Wednesday February 20th 2019, 14:36
found "wine uninstall" command, with it is quick enough to re-install, I was creating the whole wineprefix and re-installing dotnet
Lockup after alttab
by Anton Romanov on Thursday February 14th 2019, 23:45
That "stops accepting input after alt-tab" thing is better of fixed by adding a registry key for "HKEY_CURRENT_USER\Software\Wine\X11 Driver\UseTakeFocus" and set it to "N"
RE: Lockup after alttab
by William on Friday February 15th 2019, 0:56
Thanks!
GC error workaround
by Doesn'tMatter on Tuesday October 9th 2018, 22:10
For me running game on one core only fixed the download assets issue (GC thread error). I needed to restart it couple of times anyway but I was able to download all in the end.

Try running lutris like this:
$ taskset --cpu-list 1 lutris
Install
by Drew on Friday October 5th 2018, 21:55
Given the weird black box issue with the installer, is there a way to tell the install is working? It says "Configuring MTGArena", but it's been there for a while. Obviously I can't tell if the bar is advancing given the graphical hiccup
Game Update
by Diogo Kersting on Thursday October 4th 2018, 16:32
If anyone is having trouble updating the game, it's probably that you'll need to download the newer installer, and install the game again from scratch.

Apparently some updates can only be executed by `MtgaLauncher.exe` which doesn't seem to work with wine-3.17-staging.
In my case I started with a new wine configuration, and reinstalled with the newest version of the installer available on the Magic Arena website and was able to play normally.
RE: Game Update
by Musang on Friday October 5th 2018, 7:40
Additionally, it is possible that redownloading the installer and rerunning it will not properly patch the game (lobby loads but matchmaking doesn't work). This is due to the fact that the game will download only the necessary files on top of the current installation but will not successfully produce a working installation.
To fix this, first uninstall the game entirely, then reinstall the newest version from the website.
RE: Game Update
by Miguel on Friday October 5th 2018, 10:29
Yep, I had this happen. I was able to start the launcher which patched the game, and then the lobby loaded fine, but it failed to load the actual game beyond the lobby. I will try reinstalling
Game stuck at preparing assets
by Banars on Thursday October 4th 2018, 9:00
OS: MacOS High Sierra 10.13.6
Wine Ver: 3.17 Stagging
Winecfg to Windows 10

Game started and finished downloading al parts. After that a window crash app showed up and then an other window saying that there was a program error and game closed.

Then I realised I was using windows 7 so changed it to windows 10.

Now when I open the game it stucks at "preparing assets" until mac activity monitor shows it stopped working.
GetThreadContext failed
by Dbr on Saturday September 29th 2018, 0:25
I am using 3.16 and set my winecfg to Windows 10. I was able to play closed beta, but open beta will not patch.
RE: GetThreadContext failed
by Musang on Saturday September 29th 2018, 9:50
The error "GetThreadContext failed" seems to be commonly reported while the application downloads and installs files. Relaunch the application after the error or failing that, redownload the application from the given URL. That seems to work for most people.
RE: GetThreadContext failed
by Dbr on Saturday September 29th 2018, 16:51
These are my results from downloading the files. Tried both wired and wifi. I would not rate this wine install gold based on the install process alone.
file of total
16/58
10/43
3/34
4/32
1/29
2/29
2/28
9/58
8/50
10/43
6/33
4/28
5/25
2/21
3/20
1/18
4/18
1/15
3/15
5/13
2/9
1/8
1/8
3/8
1/6
1/6
1/6
1/6
1/6
.....x20
1/5
1/5
.....x10
And still trying.
RE: GetThreadContext failed
by Musang on Sunday September 30th 2018, 12:54
So it seems that the issue has been pinpointed roughly in bug 45546:bugs.winehq.org/show_bug.cgi?id=45546

The short of it is that it's unstable mono behaviour by unity's mono runtime. The thread suggests to set the environment variable WINEDEBUG=+relay,-debug
Other than that, as suggested clean reinstall, update wine, retry...
To be fair I've seen people complain about this exact issue on windows so I'd say that the issue is upstream of wine at this point.
RE: GetThreadContext failed
by Odedi on Saturday September 29th 2018, 13:47
Try reinstalling the whole thing, on windows switching to beta requires the launcher executable, which doesn't work properly on wine.
Back