WineHQ

Magic: The Gathering Online

Current and latest version of Magic: the Gathering Online. 

Application Details:

Version: 4.x
License: Retail
URL: http://www.mtgonline.com
Votes: 221
Latest Rating: Silver
Latest Wine Version Tested: 5.4

Maintainers: About Maintainership

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

Everything seems to work.

* Create Account
* Login
* Create Deck
* Play 1v1 test matches

sometimes locks up for 5-10 seconds but seems to always come back
Creating deck is very slow if you show all the card artwork and is much faster if you switch to a simple list mode

What does not

Sound did not work with my default build of wine , have not investigated as yet as sound is of no interest to me for this game

Workarounds


set up a seperate wineprefix
 export WINEPREFIX=~/.wine32
How I got it working 

used winetricks to install
 d3dx9_36
 corefonts
 dontnet46

I disabled the sound setting the override
 wmp to disabled
in winecfg
I believe there are other workarounds but I'm not bothered for the sound
 

run installer/application

 wine setup.exe

It would balk at the EULA being missing quitting out and running
 find ~/.wine32/drive_c/ -name 'EULA_en.rtf' -exec sed -e '/^{\\pict/,/^}/ d' -ibck "{}" \;
fixed it

running 
 wine setup.exe

on all subsequent instances would start the game

have played for 5-6 hours without any showstopping bugs
 

What was not tested

competitive play

Hardware tested

Graphics:

  • GPU: Nvidia
  • Driver: proprietary

Additional Comments

selected in Test Results table below
Operating systemTest dateWine versionInstalls?Runs?Used
Workaround?
RatingSubmitter
CurrentUbuntu 18.04 "Bionic" amd64 (+variants like Kubuntu)Mar 20 20205.4N/A Yes YesSilverArthur Coombes 
ShowDebian GNU/Linux Unstable "Sid"Jul 10 20194.12.1No Not installable NoGarbagebakri 
ShowGentoo LinuxMay 09 20183.7Yes Yes YesGoldAnton Romanov 
ShowmacOS 10.12 "Sierra"Feb 25 20182.0.4Yes Yes YesGoldJames Gunter 
ShowBodhi Linux 4.xJan 06 20182.21Yes Yes YesGoldJeff Hoogland 

Known Bugs

Bug # Description Status Resolution Other apps affected
43562 Magic Online (Magic The Gathering: Online) Is rendered with inverted colors UNCONFIRMED View
43873 Magic: The Gathering Online crashes when trying to add buddy UNCONFIRMED View
44342 Magic: The Gathering Online crashes inside native WMP UNCONFIRMED View
45086 Magic: The Gathering Online deadlocks inside quartz UNCONFIRMED View
46287 Magic: The Gathering Online - EULA not found due to inline image in RTF file NEW View
46511 Magic: The Gathering Online crashes in gstreamer at startup UNCONFIRMED View
56449 Magic the gathering online (MTGO) crashes silently if renderer=gl UNCONFIRMED View

Show all bugs

HowTo / Notes

HowTo

Use at least Wine version 3.7.

Staging is required for multimonitor systems, otherwise game will fail to start. (Alternatively you can just apply only multimonitor staging patchset)


Dependencies:

You will need following prerequisites in your magic prefix (32bit prefix):

winetricks -q corefonts dotnet46 win7


OSX:

On OSX I had to do

winetricks ddr=gdi 

otherwise MTGO window was not properly (re)drawn


Sound:

For sound to work you need wine built with gstreamer. Gstreamer has to be able to play wav files.

If for whatever reason you would like MTGO to not even be able to try and reproduce sounds - you can set "wmp" to "disable" in DLL overrides in winecfg.

Comments

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

Fixed Again
by Arthur Coombes on Saturday April 11th 2020, 11:53
No other changes but upgrading to wine 5.6 fixed it

by Panard on Friday March 27th 2020, 17:12
Got it running by patching wine with the following fix:
github.com/pauleve/docker-mtgo/blob/for-next/docker-wine/wine-OFS_MAXPATHNAME.patch
(pathnames are getting too long)
I will get in touch with wine dev - you can also have a look at github.com/pauleve/docker-mtgo/issues/79 - the Docker image should be up within one hour
Broken again
by Arthur Coombes on Friday March 27th 2020, 3:39
Since the last update from 25th March my installation stopped working :-(

Reinstall gives the same result
RE: Broken again
by Panard on Sunday March 29th 2020, 17:50
The docker image should be working now (github.com/pauleve/docker-mtgo/blob/master/README.md);
for plain wine setup, you can give a try to github.com/pauleve/docker-mtgo/wiki#troubleshooting
Life total's not displaying at all
by Alfredo Barragan on Monday July 22nd 2019, 10:25
Everything runs fine, yet when the actual games start there are no life totals being displayed for both players.
RE: Life total's not displaying at all
by pjimenez on Thursday July 25th 2019, 3:45
I just installed MTGO with wine and I have the exact same issue. I'm running it on Debian 10.0, which is the latest stable release. My wine version is 4.0.1. I haven't seen any solution to this yet.
RE: Life total's not displaying at all
by Panard on Thursday July 25th 2019, 8:55
I have no issue with life total display when using the docker image (github.com/pauleve/docker-mtgo) which is based on ubuntu and wine 4.12.1.
The image uses the following winetricks:

winetricks -q corefonts dotnet46 win7 gdiplus gdiplus=native ddr=gdi

Hope that helps debugging it...
RE: Life total's not displaying at all
by pjimenez on Friday July 26th 2019, 15:52
Thank you so much, that solved it for me! I used WINEPREFIX="$HOME/.wine-mtgo" ./winetricks -q corefonts dotnet461 win7 gdiplus ddr=gdi . So almost exactly as you suggested, just dotnet461 instead of dotnet46. I am still not using the docker image. I hope this will be helpful for anybody else having this issue.
wine-staging, 4-4
by Will on Friday March 22nd 2019, 17:41
The installer seems to install all the prereqs and then opens the MTGO.application file in Internet Explorer instead of executing it.
Works ok, missing life total and targets
by Charlie on Friday January 18th 2019, 14:18
Wine installation works ok - you need to run this command to fix the "eula image not found" error:
find ~/.wine*/drive_c/ -name 'EULA_en.rtf' -exec sed -e '/^{\\pict/,/^}/ d' -ibck "{}" \;
A few bugs:
-The application will switch randomly when in-game, which is distracting but not too bad
-Life total does not display for either player
-Targets are not shown for spells or abilities

Any help would be appreciated. Most recent version of MTGO, Wine 4.0-rc6, OSX 10.13.6
RE: Works ok, missing life total and targets
by Anton Romanov on Friday January 18th 2019, 15:37
The eula thing can be fixed by installing native gdiplus
I don't think I've ever had any of the other problems you described, sorry
MTGO login screen flashes briefly and is then black
by Chris on Friday August 10th 2018, 13:20
I'm trying to run MTGO on my MacBook Air. I followed instructions here: github.com/pauleve/docker-mtgo/wiki/macOS:-installing-MTGO-using-Wine

MTGO loads up and reaches the login screen. Then the screen immediately goes black. The hyperlinks still work though.

Wine Devel gives the following error repeatedly: fixme:thread:NtGetCurrentProcessorNumber need multicore support (4 processors)

Any ideas?
dotnet46 failing to install
by Jeff Hoogland on Saturday January 6th 2018, 12:51
When trying to run the winetricks command I keep seeing error messages like this over and over again:

err:ntdll:RtlpWaitForCriticalSection section 0x7bd185e0 "virtual.c: csVirtual" wait timed out in thread 009e, blocked by 030d, retrying (60 sec)

And dotnet never tried to install.
RE: dotnet46 failing to install
by Anton Romanov on Saturday January 6th 2018, 14:18
What wine version?
Are you using latest winetricks?
You can also try removing "-q" from the command and see if that helps.
Or try installing dotnet452 instead of dotnet46
RE: dotnet46 failing to install
by Jeff Hoogland on Saturday January 6th 2018, 14:32
Removing -q let it get along.

Once I run the setup,exe from MTGO though I just see this error over and over again after it finishes downloading the MTGO client:

fixme:shell:URL_ParseUrl failed to parse L"ThemeResources.resources"
fixme:kernelbase:QuirkIsEnabled3 (0x33ec48, 0xffffffff) stub!
fixme:shell:URL_ParseUrl failed to parse L"ThemeResources.resources"
fixme:kernelbase:QuirkIsEnabled3 (0x33ec48, 0xffffffff) stub!
fixme:shell:URL_ParseUrl failed to parse L"ThemeResources.resources"
fixme:kernelbase:QuirkIsEnabled3 (0x33ec48, 0xffffffff) stub!


With nothing appearing. There is a MTGO.exe that looks to be started though.
RE: dotnet46 failing to install
by Jeff Hoogland on Saturday January 6th 2018, 14:34
I am using wine staging 2.21 currently btw - forgot to mention that.
RE: dotnet46 failing to install
by Anton Romanov on Saturday January 6th 2018, 16:23
There seems to be some regression with 2.21 - I also get those messages and mtgo fails to start.
I'll look into it.
In the meanwhile - 2.20 works
RE: dotnet46 failing to install
by Jeff Hoogland on Saturday January 6th 2018, 17:20
Must be a regression. Rolling back to 2.20 has it loading up here.

Thank you!
Works, but no sound. Running "winetricks -q quartz wmp10" causes a crash after splash screen.
by Adam Olsen on Saturday November 4th 2017, 13:05
I am using staging (2.19), on Ubuntu 17.10.

Installing MTGO with the given steps does work, except that I have no sound. If I install quarts and wmp10 with winetricks, MTGO will no longer launch. I also selected the option "Enable VAAPI as backend for DXVA2 GPU decoding".

The splash screen opens, but then it crashes with the error "MTGO.exe has encountered a serious problem and needs to close". It seems like the first time it tries to play a sound (there is one on the login screen) is the moment it crashes.
RE: Works, but no sound. Running
by Adam Olsen on Saturday November 4th 2017, 14:13
Also, incidentally, for those running i3. I had to enable a virtual desktop in winecfg to get MTGO to launch at all.
RE: Works, but no sound. Running
by Anton Romanov on Sunday November 5th 2017, 0:03
Do you have multimonitor system and use non-staging by any chance?
RE: Works, but no sound. Running
by Adam Olsen on Sunday November 5th 2017, 10:38
It is mullti monitor, but I am using staging
Works almost flawless with my setup
by Alessandro Stamatto on Tuesday October 24th 2017, 18:46
Works almost flawless some cards do not render correctly - but there were no crashes, even using the trading bots and playing several matches.

Ubuntu 17.10, with x11 xorg (instead of Wayland), how I did:

#install Wine
sudo dpkg --add-architecture i386
wget -nc dl.winehq.org/wine-builds/Release.key
sudo apt-key add Release.key
sudo apt-add-repository dl.winehq.org/wine-builds/ubuntu/
sudo apt-get update
sudo apt-get install --install-recommends winehq-devel
export WINEARCH=win32
sudo apt-get install winetricks

#use "Windows 7"
WINEPREFIX=~/.wine32 winecfg

#Select the Default WinePrefix -> Install DLL or Windows Component -> dotnet4.6.1
#It will prompt and install a lot, in the end it should correctly install net 4.6.1
WINEPREFIX="$HOME/.wine32" WINEARCH=win32 winetricks

#Install and configure some more things
WINEPREFIX=~/.wine32 winetricks comctl32
WINEPREFIX=~/.wine32 winetricks corefonts
#ddr=gdi instead of ddr=opengl might improve rendering
WINEPREFIX=~/.wine32 winetricks ddr=gdi

#Install MTGO
WINEPREFIX="$HOME/.wine32" setup.exe

#Run MTGO (you can also run with WINEPREFIX="$HOME/.wine32" winefile)
WINEPREFIX="$HOME/.wine32" wine start Magic\ The\ Gathering\ Online\ .appref-ms
xhost: command not found
by Josh Anderson on Monday September 11th 2017, 18:19
Running on a mac and I get the following error:

./run-mtgo: line 93: xhost: command not found

Any ideas?
RE: xhost: command not found
by Josh Anderson on Monday September 11th 2017, 18:35
Just found the GitHub issue. Should I just follow that?
RE: xhost: command not found
by Panard on Saturday September 16th 2017, 13:24
The Mac OS X support is still on the way...
You can try it by first installing the following tools, using homebrew:

brew cask install xquartz
brew install socat gnu-getopt

Then execute the ./run-mtgo script.
Please give us feedback at github.com/pauleve/docker-mtgo/issues/3 (if it worked, or if it didn't with the full output of the script).
MTGO Clan
by Panard on Saturday September 2nd 2017, 5:17
Hi all,
Interested players can join the "WineHQ players" clan :-)
RE: MTGO Clan
by Panard on Tuesday January 9th 2018, 3:45
This can be done by going to Account > Buddies, Clan, Chat > Look for WineHQ Players and contact the captain, or directly send me your user name.
docker image
by Panard on Sunday August 13th 2017, 13:07
I created a docker image which comes with a fully configured wine (with additional patches for MTGO, kudos to Anton Romanov) and pre-installed MTGO.
It should allow you to play MTGO without any installation and configuration step.
Please see the instructions here :
hub.docker.com/r/panard/mtgo/
Any feedback is welcome (comment on the docker web page).
RE: docker image
by Adrian Petrescu on Tuesday August 22nd 2017, 21:52
Oh my god, I've been trying to get MTGO to run in Wine for about 2 years now, and this is the first time I've actually gotten it working. Thank you so much!

(Minor note: I had to remove the /etc/localtime volume mount because on my Archlinux system, it's an empty directory while Docker was expecting a file - but other than that it seems to work well so far. Time to start a league and see how it goes...!)
RE: docker image
by Anton Romanov on Tuesday August 22nd 2017, 22:28
There are patched pending to fix some more crashes, fix some images not being decoding correctly and to fix black background on mana icons/etc

I guess docker image could be updated with those before all this gets merged into wine and/or staging
RE: docker image
by Panard on Wednesday August 23rd 2017, 4:57
I just pushed a new version of the docker image based on your mtgo git branch + staging patches (which includes the jpeg decoding)
RE: docker image
by Anton Romanov on Monday September 18th 2017, 17:45
I completely forgot to ask - do you have card text rendered in italic or normal font in your docker image? If italic then that is a bug.
RE: docker image
by Panard on Tuesday September 19th 2017, 2:09
They are rendered in normal font.
I played several hours without any trouble, it is working quite perfectly :-)
RE: docker image
by Panard on Tuesday September 19th 2017, 2:27
Well, except with the high CPU usage..
RE: docker image
by thad on Tuesday January 9th 2018, 0:46
Running stable with very low CPU after the Jan 6 commit.
RE: docker image
by Anton Romanov on Tuesday September 19th 2017, 10:59
If you install wmp10 quartz allcodecs then sound starts working as well
(not sure which one of the allcodecs is actually needed or if it can be made to work with native quartz ... you can experiment)
RE: docker image
by thad on Wednesday November 1st 2017, 18:20
Thanks a ton! Working great for me in Arch.

by Anton Romanov on Thursday August 10th 2017, 11:31
wincodecs is the one doing this for you.
You can just test that by removing wincodecs dlls from dll overrides (or setting them to native)
RE:
by Panard on Thursday August 10th 2017, 13:14
Awesome!!!
Many thanks :-)
Regarding the crash some time after login, does the wine version at github.com/theli-ua/wine/commit/178104b59b0415fd24f48a14f921a30d03fcef3e fixes it?
RE:
by Anton Romanov on Thursday August 10th 2017, 14:33
Yeah, it *should* work.
There is a better version of the patch in the works though.
RE:
by Panard on Saturday August 12th 2017, 16:27
I gave a try with both mtgo-dwrite branch, and tree at commit github.com/theli-ua/wine/commit/178104b59b0415fd24f48a14f921a30d03fcef3e
in both cases I still get a crash some time after login, triggered through dwrite and libfreetype. I'm not sure it is the same issue, so I post the debug trace just in case - if you are interested in more debugging let me know how I can help.
pastebin.com/dc9ii2tk

Thanks
RE:
by Anton Romanov on Saturday August 12th 2017, 16:31
try mtgo branch with this patch on top of it
source.winehq.org/patches/data/136421
This is that "better patch that is in the works" that I mentioned
RE:
by Anton Romanov on Saturday August 12th 2017, 16:34
And btw, make sure you completely kill wine with
wineserver -k
Between trying different branches/patches with mtgo
RE:
by Anton Romanov on Sunday August 13th 2017, 3:20
Also, keep in mind there is also some random mysterious in-game crash that happens within an actual battle
And when it happens - when you restart client it'll tyr to rejoin and crash again .... and again ...
I'm not even sure yet how to debug that as there is no related wine crash
RE:
by Panard on Sunday August 13th 2017, 13:00
It works quite nicely!
I've been able to play several matches without any trouble (except CPU at 100%, but that's already a lot better than within VirtualBox which blocks all my RAM).
Once I got a X error (BadAccess) but it might be due to the isolated environment I use to run wine (within docker) - I'll keep watching and debugging.
Many thanks for your work and effort to make MTGO playable on Linux, this is really amazing :-))
RE:
by Anton Romanov on Sunday August 13th 2017, 15:22
I get crashes consistently whenever a token is placed on the board. It crashes when trying to render token card.

Does this (not) happen to you?
RE:
by Panard on Sunday August 13th 2017, 16:08
A few tokens have been placed during the couple of matches I played, no problem with that so far.
Thanks for the feedback on the CPU, I'll try to debug why it keeps eating a full CPU.
Maybe I should also test with all the staging patches (currently it is only the mtgo branch + the patch you indicated me).
RE:
by Anton Romanov on Sunday August 13th 2017, 22:37
Thats weird. For me thats consistent. Tokens were from AKH/HOU, this may matter.
Anyhow I've got to the bottom of the issue here: bugs.winehq.org/show_bug.cgi?id=43527 with a proposed one-line fix. I'm not sure yet would that be the best fix so waiting for feedback on that one.
RE:
by Panard on Friday August 18th 2017, 4:42
I figured out why I don't have the crash with tokens (I played recently with AKH/HOU): I have no LANG defined in the docker container, thus I guess nls is not used. You can try with
$ LANG= wine mtgo.exe
(with wineserver killed) it should work without any patch.
RE:
by Anton Romanov on Saturday August 19th 2017, 16:14
Well, I'm pretty sure I've tried with empty LANG/etc and it didn't gave any effect on the outcome.
Anyway, that bug is fixed in wine master already anyway.
RE:
by Anton Romanov on Sunday August 13th 2017, 15:23
Also, my CPU usage is pretty low
RE:
by Panard on Sunday August 13th 2017, 16:26
Regarding the CPU, troubles start when visiting the "Collection" tab. Maybe it is due to the high number of cards that it (pre)renders. Leaving the tab does not stop the computations.
Wine endlessly outputs lines like
fixme:thread:SetThreadIdealProcessor (0xfffffffe): stub
fixme:thread:SetThreadIdealProcessor (0xfffffffe): stub
fixme:thread:SetThreadIdealProcessor (0xfffffffe): stub
fixme:thread:SetThreadIdealProcessor (0xfffffffe): stub
fixme:kernelbase:QuirkIsEnabled3 (0x4e5adc40, 0xffffffff) stub!
fixme:thread:SetThreadIdealProcessor (0xfffffffe): stub
fixme:thread:SetThreadIdealProcessor (0xfffffffe): stub
fixme:thread:SetThreadIdealProcessor (0xfffffffe): stub
fixme:thread:SetThreadIdealProcessor (0xfffffffe): stub
fixme:thread:SetThreadIdealProcessor (0xfffffffe): stub
fixme:kernelbase:QuirkIsEnabled3 (0x4e5adc40, 0xffffffff) stub!
fixme:kernelbase:QuirkIsEnabled3 (0xa05e598, 0xffffffff) stub!
Weird colors
by Panard on Thursday August 3rd 2017, 19:03
Hi,
I'm giving a try to MTGO with wine 2.14.
Besides the crash some random time after login, I'm also experiencing quite weird colors :
pasteboard.co/GE0J9Bu.png
It looks like some 32bits/64bits issue, but I really don't know where to start looking for...
Any idea ?
Thx
RE: Weird colors
by Anton Romanov on Friday August 4th 2017, 17:55
I do not experience this. Do you have something installed in your prefix other than dotnet452 ?
RE: Weird colors
by Panard on Thursday August 10th 2017, 9:14
From a fresh wine install, I did the following commands:

export WINEARCH=win32
sudo winetricks --self-update
winetricks corefonts vcrun2015 dotnet452 windowscodecs
winetricks win7
wget mtgoclientdepot.onlinegaming.wizards.com/setup.exe -O mtgo.exe
wine mtgo.exe

so there are a few additional tricks than dotnet452 ; is there any one I should remove?

Thanks
Current status of MTGO client?
by Kyrylo Borovyk on Thursday July 6th 2017, 16:54
Hi Guys, is there anyone who playing MTGO with current client? My wine start crashing right after logging into account. Wine 2.11 + Fedora 25

ixme:advapi:RegisterEventSourceW ((null),L".NET Runtime"): stub
fixme:advapi:ReportEventW (0xcafe4242,0x0001,0x0000,0x00000402,(nil),0x0001,0x00000000,0x1455c03c,(nil)): stub
err:eventlog:ReportEventW L"Application: MTGO.exe\nFramework Version: v4.0.30319\nDescription: The process was terminated due to an unhandled exception.\nException Info: System.AccessViolationException\nStack:\n at System.Net.UnsafeNclNativeMethods+NativeNTSSPI.DecryptMessage(System.Net.SSPIHandle ByRef, System.Net.SecurityBu"...
fixme:advapi:DeregisterEventSource (0xcafe4242) stub

Unhandled Exception: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at System.Net.UnsafeNclNativeMethods.NativeNTSSPI.DecryptMessage(SSPIHandle& contextHandle, SecurityBufferDescriptor inputOutput, UInt32 sequenceNumber, UInt32* qualityOfProtection)
RE: Current status of MTGO client?
by Anton Romanov on Friday July 7th 2017, 16:56
I've tried it couple of days ago. It worked.
Though I do not have an account so all i've tried was "Free trial"
RE: Current status of MTGO client?
by Kyrylo Borovyk on Saturday July 8th 2017, 6:18
I can confirm that trial mode is working. Also I can confirm that playing via account worked something like a month ago. Not 100% stable, but worked
Currently the game is crashing on data loading right after logging in.
RE: Current status of MTGO client?
by Anton Romanov on Saturday July 29th 2017, 13:46
I've created an MTGO account to test and I opened a bug to track this issue bugs.winehq.org/show_bug.cgi?id=43453
RE: Current status of MTGO client?
by Kyrylo Borovyk on Tuesday August 1st 2017, 16:14
Thank you very much Anton.
My Linux distribution has been upgraded recently, so I did MTGO a try using new packages. For now my tests ran using Fedora Core 26 x64 + Wine 2.13 staging
I've created 32-bit prefix and installed corefonts vcrun2015 dotnet462 using latest winetricks from github

This time MTGO client have crashed complaining on MS.Internal.Text.TextInterface.Font.CreateFontFace()

Wine console output: textuploader.com/doq8a
Backtrace: textuploader.com/doqe8

Also wine did not kill process after crash leaving some garbage running
ps -aux | grep wine output sanitized: textuploader.com/doqe3
RE: Current status of MTGO client?
by Anton Romanov on Tuesday August 1st 2017, 16:39
I've got this one once or twice as well. This does not always happen to me. So trying again might just work, as this only happens in first minutes after loggin in.
Some race condition as well unfortunately :( ....
RE: Current status of MTGO client?
by Anton Romanov on Friday August 4th 2017, 18:50
Actually, that get_cached_fontface gets triggered pretty often making game unplayable even with SSPI fix.
I have a test patch that fixes that for me as well. I plan to work on those more and submit to wine-patches.
(See linked bug reports for details on issues)
Verify .net is installed correctly
by noxora on Thursday June 8th 2017, 11:03
appdb.winehq.org/objectManager.php?sClass=version&iId=25478
On the wine page for .net, they have a verification tool.

Ctrl + f for "Verify .NET Framework installation using .NET Framework Setup Verification Tool (Microsoft)"
Sort of got it working
by noxora on Thursday May 25th 2017, 15:08
I got this working with some time and effort, the big trick was to make sure that dotnet 4.5.2 was correctly installed. After that, I ran the program several times, got halfway through a few games, but had to close when I hit the error

"wine: Call from 0x7b43c26c to unimplemented function windowscodecs.dll.IWICPixelFormatInfo_GetBitsPerPixel_Proxy, aborting"

Which is what killed it. I think this is going to stay this way for now.
If I knew what the function did, I could write it and make a pull request.
RE: Sort of got it working
by Anton Romanov on Thursday May 25th 2017, 16:18
My guess is this should be fixed by installing windowscodecs with

winetricks windowscodecs
RE: Sort of got it working
by Bartosz Kosiorek on Friday May 26th 2017, 7:15
The description of this function is available at:
msdn.microsoft.com/en-us/library/windows/desktop/ee719714(v=vs.85).aspx

First please created stub of this function (which will always returns S_OK), and it could help workaround crash during run Magic.
RE: Sort of got it working
by shinolikesbugs on Thursday June 8th 2017, 10:53
when you say make sure dotnet working correctly how did you verify?
RE: Sort of got it working
by noxora on Monday June 12th 2017, 16:28
I accidentally made another comment about it, just go to the dot net page and use their tool
After MTGO Update getting new error
by shinolikesbugs on Saturday April 22nd 2017, 8:34
just updated the client had it working OK while running staging 2.5 on Debian stretch had some graphical problems with cards mana cost but everything else seemed to work well played a few matches. However after the update for MTGO I think it added art for the new masterpiece cards I get the following error usually after logging in. Anyone else getting this or have a solution? I updated to staging 2.6 same error.

Thanks

err:eventlog:ReportEventW L"Application: MTGO.exe\nFramework Version: v4.0.30319\nDescription: The process was terminated due to an unhandled exception.\nException Info: System.AccessViolationException\nStack:\n at MS.Internal.Text.TextInterface.Font.CreateFontFace()\n at MS.Internal.Text.TextInterface.Font.AddFontFaceToCac"...
fixme:advapi:DeregisterEventSource (0xcafe4242) stub

Unhandled Exception: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at MS.Internal.Text.TextInterface.Font.CreateFontFace()
at MS.Internal.Text.TextInterface.Font.AddFontFaceToCache()
at MS.Internal.Text.TextInterface.Font.GetFontFace()
.
.
.
some more stack trace then register dump
Fatal error
by AEScipher on Monday February 13th 2017, 19:37
Hello, i'm running 2.1 staging and get the following error after installing

pastebin.com/Fe5L9eEv
RE: Fatal error
by Anton Romanov on Wednesday February 15th 2017, 21:38
Does this happen to you just when you run it or when you try to log in?
It still works for me :-/
RE: Fatal error
by AEScipher on Wednesday February 15th 2017, 21:41
Just when I try to log in..
RE: Fatal error
by Anton Romanov on Thursday February 16th 2017, 12:49
Does "Free Trial" work for you?
Infinite loop
by Wine Taster on Wednesday January 18th 2017, 9:08
Jaroslav Smutek writes about infinite loop.
I did winetricks dotnet452 corefonts, can start installer, setup is downloaded and after some time I get a infinite loop:

err:rpc:RpcAssoc_BindConnection syntax {00000131-0000-0000-c000-000000000046}, 0.0 not supported
err:ole:ifproxy_release_public_refs IRemUnknown_RemRelease failed with error 0x800706b5
fixme:advapi:RegisterEventSourceW ((null),L".NET Runtime Optimization Service"): stub
fixme:advapi:DeregisterEventSource (0xcafe4242) stub
fixme:thread:NtQueryInformationThread info class 16 not supported yet
fixme:thread:NtQueryInformationThread info class 16 not supported yet
fixme:thread:NtQueryInformationThread info class 16 not supported yet
fixme:thread:NtQueryInformationThread info class 16 not supported yet
fixme:thread:NtQueryInformationThread info class 16 not supported yet
....

Can anybody confirm this and maybe even has a workaround?
RE: Infinite loop
by Anton Romanov on Wednesday January 18th 2017, 12:54
iirc it was something similar for me as well. If i'm not mistaken - installed dotnet45, then manually run 4.5.2 installer (ie not thorugh winetricks) . That worked (not sure if it instaled entierly correctly but MTGO works perfectly fine)
RE: Infinite loop
by Nathan Quintanilla on Monday February 6th 2017, 12:50
I am also getting an infinite loop. Have tried wine tricks to install dotnet45 with manual 4.5.2 and wine tricks dotnet452 with the same results. As a side note, once the program is installed it isn't clear how to launch as in windows it is launched with a ".appref-ms" file on the desktop or in thw start menu (Magic The Gathering Online .appref-ms).

fixme:thread:SetThreadIdealProcessor (0xfffffffe): stub
fixme:thread:NtGetCurrentProcessorNumber need multicore support (8 processors)
fixme:thread:NtGetCurrentProcessorNumber need multicore support (8 processors)
fixme:thread:NtGetCurrentProcessorNumber need multicore support (8 processors)
fixme:thread:NtGetCurrentProcessorNumber need multicore support (8 processors)
fixme:thread:NtGetCurrentProcessorNumber need multicore support (8 processors)
fixme:thread:NtGetCurrentProcessorNumber need multicore support (8 processors)
fixme:thread:NtGetCurrentProcessorNumber need multicore support (8 processors)
fixme:thread:NtGetCurrentProcessorNumber need multicore support (8 processors)
fixme:thread:NtGetCurrentProcessorNumber need multicore support (8 processors)
RE: Infinite loop
by Anton Romanov on Monday February 6th 2017, 13:00
I didn't get an infinite loop last time I tried with 2.0 and clean prefix. Though I think for w/e reason I had to try it twice - removing prefix for each try for it to work. (timing issue?)

As far as how to launch - I just always launch that setup.exe file as it will not redownload once the game is installed - just launch it.

Also keep in mind that due to missing cursor the game will crash when enterring the game - this is fixed with 2.1 release
RE: Infinite loop
by Andres on Wednesday January 18th 2017, 14:36
numDisplayDevicesW ((null),1,0xa08e528,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x33dea4,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x33dfb0,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),1,0x33dfb0,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0xa08e414,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0xa08e528,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),1,0xa08e528,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x33dea4,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x33dfb0,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),1,0x33dfb0,0x00000000), stub!
fixme:wincodecs:JpegDecoder_Frame_GetThumbnail (0x35b1774,0x33e520): stub
fixme:wincodecs:JpegDecoder_Frame_GetColorContexts (0x35b1774,0,(nil),0x33e580): stub
fixme:win:EnumDisplayDevicesW ((null),0,0xa08e414,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0xa08e528,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),1,0xa08e528,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x33dea4,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x33dfb0,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),1,0x33dfb0,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0xa08e414,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0xa08e528,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),1,0xa08e528,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x33dea4,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x33dfb0,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),1,0x33dfb0,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0xa08e414,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0xa08e528,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),1,0xa08e528,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x33dea4,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x33dfb0,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),1,0x33dfb0,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0xa08e414,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0xa08e528,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),1,0xa08e528,0x00000000), stub!

I get this type of loop :/ in a win32 prefix installed dotnet45 with winetricks, and then manually 452. Had same problem if install dotnet452 through winetricks
RE: Infinite loop
by Wine Taster on Thursday January 26th 2017, 13:37
Same with wine-git 76644a7c26f2c2b3a5968665c349b45bdb294387(latest). winetricks dotnet452 corefonts
Tried winetricks dotnet45 corefonts + dotnet452 manually before like Anton Romanov said, too, but nothing has changed.

Winetricks sets win2003 and it prompts, that another version doesn't work. But your cannot install without setting win7....
Back