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: Gold
Latest Wine Version Tested: 4.17

Maintainers: About Maintainership

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

Test Results

Old test results
The test results you have selected are very old and may not represent the current state of Wine.
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)Oct 05 20194.17No, but has workaround Yes YesGoldArthur Peters 
ShowGentoo LinuxAug 27 20194.14No, but has workaround Yes YesGoldZeroPointEnergy 
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 

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

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.

Screen frozen when attempting tu purchase "gems" in the store
by Camille ALBERT on Wednesday October 9th 2019, 1:12
Hi,

I'm getting the following error (Unhandled exception 0x80000003) when accessing the store in MTG Arena and trying to purchase "gems" :

0074:fixme:ver:GetCurrentPackageId (0x34fac4 (nil)): stub
0074:fixme:ntdll:EtwRegisterTraceGuidsW (0x4762a4, (nil), {f7b697a3-4db5-4d3b-be71-c4d284e6592f}, 7, 0x4b12d8, (null), (null), 0x4b90c0): stub
0074:fixme:ntdll:EtwRegisterTraceGuidsW register trace class {72b14a7d-704c-423e-92f8-7e6d64bcb92a}
0074:fixme:ntdll:EtwRegisterTraceGuidsW register trace class {e2091f8a-1e0a-4731-84a2-0dd57c8a5261}
0074:fixme:ntdll:EtwRegisterTraceGuidsW register trace class {e8a3bf1f-a86b-4390-9c60-5390b969d22c}
0074:fixme:ntdll:EtwRegisterTraceGuidsW register trace class {5727a00f-50be-4519-8256-f7699871fecb}
0074:fixme:ntdll:EtwRegisterTraceGuidsW register trace class {7e854ec7-cdc4-405a-b5b2-aaf7c9e7d40c}
0074:fixme:ntdll:EtwRegisterTraceGuidsW register trace class {79a60dc6-5fc8-4952-a41c-1163aeec5eb8}
0074:fixme:ntdll:EtwRegisterTraceGuidsW register trace class {2718d25b-5bf5-4479-8e88-babc64bdbfca}
0074:fixme:process:GetNumaHighestNodeNumber (0x34faa4): semi-stub
0074:fixme:process:SetProcessDEPPolicy (3): stub
0074:fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
0074:fixme:ntdll:EtwEventRegister ({d2d578d9-2936-45b6-a09f-30e32715f42d}, 0x11214b60, 0x149f0538, 0x14a17088) stub.
0074:fixme:dwrite:get_name_record_codepage encoding 20 not handled, platform 1.
0074:fixme:dwrite:get_name_record_codepage encoding 20 not handled, platform 1.
0074:fixme:nls:GetThreadPreferredUILanguages 00000038, 0x34ef9c, (nil) 0x34ef98
0074:fixme:nls:get_dummy_preferred_ui_language (0x38 0x34ef9c (nil) 0x34ef98) returning a dummy value (current locale)
0074:fixme:nls:GetThreadPreferredUILanguages 00000038, 0x34ef9c, 0x5fc148 0x34ef98
0074:fixme:nls:get_dummy_preferred_ui_language (0x38 0x34ef9c 0x5fc148 0x34ef98) returning a dummy value (current locale)
0074:fixme:winsock:WSALookupServiceBeginW (0x34eda8 0x00000ff0 0x34ede4) Stub!
0074:fixme:iphlpapi:NotifyAddrChange (Handle 0x34efc0, overlapped 0x5fc644): stub
0074:fixme:win:RegisterDeviceNotificationW (hwnd=0x1008c, filter=0x34ef34,flags=0x00000000) returns a fake device notification handle!
0074:fixme:win:RegisterDeviceNotificationW (hwnd=0x1008c, filter=0x34ef34,flags=0x00000000) returns a fake device notification handle!
008e:fixme:wlanapi:WlanEnumInterfaces (0x1, (nil), 0x3bef790) semi-stub
0095:fixme:process:SetProcessDEPPolicy (3): stub
0095:fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
0095:fixme:ntdll:EtwEventRegister ({d2d578d9-2936-45b6-a09f-30e32715f42d}, 0x11214b60, 0x149f0538, 0x14a17088) stub.
00a3:fixme:time:QueryThreadCycleTime (0xcc,0x19cfda0): stub!
0095:fixme:ntdll:EtwEventUnregister (deadbeef) stub.
00a1:fixme:process:SetProcessDEPPolicy (3): stub
00a1:fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
00a1:fixme:ntdll:EtwEventRegister ({d2d578d9-2936-45b6-a09f-30e32715f42d}, 0x11214b60, 0x149f0538, 0x14a17088) stub.
00a1:fixme:gdi:GdiInitializeLanguagePack stub
00ae:fixme:process:SetProcessDEPPolicy (3): stub
00ae:fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
00ae:fixme:ntdll:EtwEventRegister ({d2d578d9-2936-45b6-a09f-30e32715f42d}, 0x11214b60, 0x149f0538, 0x14a17088) stub.
00bf:fixme:time:QueryThreadCycleTime (0xcc,0x19cfda0): stub!
00ae:fixme:ntdll:EtwEventUnregister (deadbeef) stub.
00c9:fixme:process:SetProcessDEPPolicy (3): stub
00c9:fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
00c9:fixme:ntdll:EtwEventRegister ({d2d578d9-2936-45b6-a09f-30e32715f42d}, 0x11214b60, 0x149f0538, 0x14a17088) stub.
00cb:fixme:time:QueryThreadCycleTime (0xcc,0x19cfda0): stub!
00c9:fixme:ntdll:EtwEventUnregister (deadbeef) stub.
00d5:fixme:process:SetProcessDEPPolicy (3): stub
00d5:fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
00d5:fixme:ntdll:EtwEventRegister ({d2d578d9-2936-45b6-a09f-30e32715f42d}, 0x11214b60, 0x149f0538, 0x14a17088) stub.
00d7:fixme:time:QueryThreadCycleTime (0xcc,0x19cfda0): stub!
00d5:fixme:ntdll:EtwEventUnregister (deadbeef) stub.
wine: Unhandled exception 0x80000003 in thread a1 at address 0x125f02e5 (thread 00a1), starting debugger...
00e7:fixme:process:SetProcessDEPPolicy (3): stub
00e7:fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
00e7:fixme:ntdll:EtwEventRegister ({d2d578d9-2936-45b6-a09f-30e32715f42d}, 0x11214b60, 0x149f0538, 0x14a17088) stub.
00e7:fixme:gdi:GdiInitializeLanguagePack stub
wine: Unhandled page fault on read access to 0x0000002c at address 0x12adbe21 (thread 00e7), starting debugger...
00ff:fixme:process:SetProcessDEPPolicy (3): stub
00ff:fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
00ff:fixme:ntdll:EtwEventRegister ({d2d578d9-2936-45b6-a09f-30e32715f42d}, 0x11214b60, 0x149f0538, 0x14a17088) stub.
00ff:fixme:gdi:GdiInitializeLanguagePack stub
wine: Unhandled page fault on read access to 0x0000002c at address 0x12adbe21 (thread 00ff), starting debugger...

It's just an extract of the log, after first error the screen is frozen and the log continues to show "wine: Unhandled page fault on read access to 0x0000002c at address 0x12adbe21" errors endlessly.

Could you try reproduce thiserror ? Any idea to solve this issue ?

Many thanks for your time and your help.

Camille
Getting error when starting MTGA on mac
by Benjamin Bozou on Monday September 16th 2019, 8:50
Hi,
Anyone is facing an issue when running MTGA on mac? I've tried with versions 4.15, 4.7, 4.0.2 and getting always the same error on starting the app.

I've open the bug #47753 but was wondering if someone faced it and found a workaround.

Thanks
Install issues with the new installer
by ZeroPointEnergy on Friday July 26th 2019, 7:19
There seems to be an issue with the installer that released 25/26 July not installing the game at all. I was able to workaround the issue by following the instructions here: forums.mtgarena.com/forums/threads/58489
RE: Install issues with the new installer
by Kaive Cosmus on Sunday July 28th 2019, 5:01
how you got this command line working on mac? if i try it the terminal says -bash: msiexec: command not found, as i expected.

did i miss something or is there a wine Terminal to use?
RE: Install issues with the new installer
by Kaive Cosmus on Sunday July 28th 2019, 5:21
in fact i did not need the command line but simply use the downloaded msi as executable. But now im stuck in game with the message "not enought disk space. 4,462 mb required"

how to solve this?

btw im new to wineskin
RE: Install issues with the new installer
by ZeroPointEnergy on Sunday July 28th 2019, 15:32
Sorry, only used this on Linux. I just used "wine msiexec /i ./MTGAInstaller_0.1.1595.718832.msi". The msiexec binary should be part of wine and be in the wine prefix under windows/system32/msiexec.exe
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