https://bugs.winehq.org/show_bug.cgi?id=45897
Bug ID: 45897 Summary: Magic The Gathering Arena Launcher crashes on start Product: Wine Version: unspecified Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: theli.ua@gmail.com Distribution: ---
000b:fixme:winediag:start_process Wine Staging 3.16 is a testing version containing experimental patches. 000b:fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org. 0014:fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub 0014:fixme:process:SetProcessDEPPolicy (1): stub 0014:fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub 0009:fixme:thread:SetThreadStackGuarantee (0x32fc54): stub 0009:fixme:thread:RtlCreateUserThread stack_commit != 0 is unimplemented 0009:fixme:shell:URL_ParseUrl failed to parse L"INIFileParser" 0009:fixme:shell:URL_ParseUrl failed to parse L"System.Net.Http" 0009:fixme:nls:get_dummy_preferred_ui_language (0x0 0x32aff0 (nil) 0x32afec) returning a dummy value (current locale) 0009:fixme:nls:get_dummy_preferred_ui_language (0x0 0x32aff0 0x13db80 0x32afec) returning a dummy value (current locale) 0009:fixme:ntdll:EtwRegisterTraceGuidsW (0x97080a, (nil), {8e9f5090-2d75-4d03-8a81-e5afbf85daf1}, 1, 0x32befc, (null), (null), 0xcc2ba4): stub 0009:fixme:ntdll:EtwRegisterTraceGuidsW register trace class {8e9f5090-2d75-4d03-8a81-e5afbf85daf1} 0009:fixme:shell:URL_ParseUrl failed to parse L"System.Net.Http"
Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'System.Net.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. File not found. at MtgaLauncher.Program.CheckUpdate()
I have .Net 4.0 installed (tried also with 45/452/46/62) in a win32 prefix set to win7
https://bugs.winehq.org/show_bug.cgi?id=45897
Anton Romanov theli.ua@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |https://mtgarena.downloads. | |wizards.com/Live/Windows32/ | |MTGAInstaller.exe
https://bugs.winehq.org/show_bug.cgi?id=45897
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW CC| |xerox.xerox2000x@gmail.com Keywords| |dotnet, download Ever confirmed|0 |1
--- Comment #1 from Louis Lenders xerox.xerox2000x@gmail.com --- I can confirm this bug when dotnet40 is installed
However, in a prefix where i have dotnet472 installed the error is not present.
You mention you also tried in dotnet452; did you install that using wine-3.16? Because that version of wine has bug that prevent dotnet from installing correctly AFAIK.
Could try install dotnet452 with current wine (git) and try again, and report back please? Thanks
https://bugs.winehq.org/show_bug.cgi?id=45897
--- Comment #2 from Anton Romanov theli.ua@gmail.com --- @Louis I've installed using 3.10 and then used wine-3.16 (and then also with 3.16-staging and also with a git build) to test
https://bugs.winehq.org/show_bug.cgi?id=45897
--- Comment #3 from Louis Lenders xerox.xerox2000x@gmail.com --- (In reply to Anton Romanov from comment #2)
@Louis I've installed using 3.10 and then used wine-3.16 (and then also with 3.16-staging and also with a git build) to test
Ah ok, that should be fine then
I think the app needs at least dotnet452, but i too got similar error. I`ll retest in a clean prefix with dotnet472 soon
https://bugs.winehq.org/show_bug.cgi?id=45897
lubosz lubosz@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |lubosz@gmail.com
--- Comment #4 from lubosz lubosz@gmail.com --- I can confirm that using dotnet472 from most recent winetricks makes the launcher work and updates the game client correctly. I had dotnet40 installed before but updating to dotnet472 worked with winetricks --force dotnet472 without creating a new prefix.
https://bugs.winehq.org/show_bug.cgi?id=45897
zzzzzyzz@hacari.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |zzzzzyzz@hacari.org
https://bugs.winehq.org/show_bug.cgi?id=45897
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Summary|Magic The Gathering Arena |Magic The Gathering Arena |Launcher crashes on start |Launcher (.NET 4.5 app) | |crashes on start (broken | |WINEPREFIX) Version|unspecified |3.10 CC| |focht@gmx.net Resolution|--- |INVALID
--- Comment #5 from Anastasius Focht focht@gmx.net --- Hello folks,
vendor system requirements:
https://magic.wizards.com/de/content/download
--- quote --- Minimum
Operating System Windows 7 32-bit ... Other .NET Framework 4.5.1 --- quote ---
https://docs.microsoft.com/en-us/dotnet/api/system.net.http?view=netframewor...
You most likely broke your WINEPREFIX while "experimenting".
Always start with a new prefix, don't use '--force' on existing winetricks installs unless you know the implications and can handle it (even if they sometimes seem to work).
Works fine here with Wine 3.11 for Workgroups, .NET Framework 4.5.2 ('winetricks -q dotnet452') in clean 32-bit WINEPREFIX with Winver set to 'Windows 7':
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files/Wizards of the Coast/MTGA
$ WINEDEBUG=+seh,+loaddll,+process,+relay wine ./MtgaLauncher.exe >>log.txt 2>&1 ... 0009:fixme:shell:URL_ParseUrl failed to parse L"System.Net.Http" ... 0009:Call KERNEL32.CreateFileW(00188bb0 L"C:\windows\Microsoft.Net\assembly\GAC_MSIL\System.Net.Http\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Net.Http.dll",80000000,00000001,00000000,00000003,00000080,00000000) ret=006ae5b2 ... 0009:Ret KERNEL32.CreateFileW() retval=00000134 ret=006ae5b2 ... --- snip ---
Simulating a broken prefix by manually moving the .NET assembly in GAC out of the way:
--- snip --- $ find .wine/drive_c/ -iname System.Net.Http.dll .wine/drive_c/windows/Microsoft.NET/assembly/GAC_MSIL/System.Net.Http/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Net.Http.dll .wine/drive_c/windows/Microsoft.NET/Framework/v4.0.30319/System.Net.Http.dll
$ mv .wine/drive_c/windows/Microsoft.NET/assembly/GAC_MSIL/System.Net.Http/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Net.Http.dll .wine/drive_c/windows/Microsoft.NET/assembly/GAC_MSIL/System.Net.Http/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Net.Http.dll.bak --- snip ---
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files/Wizards of the Coast/MTGA
$ wine ./MtgaLauncher.exe ... 0009:err:eventlog:ReportEventW L"Application: MtgaLauncher.exe\nFramework Version: v4.0.30319\nDescription: The process was terminated due to an unhandled exception.\nException Info: System.IO.FileNotFoundException\nStack:\n at MtgaLauncher.Program.CheckUpdate()\n at MtgaLauncher.Program.Main(System.String[])\n" 0009:fixme:advapi:DeregisterEventSource (0xcafe4242) stub
Unhandled Exception: 0009:trace:loaddll:load_native_dll Loaded L"C:\windows\Microsoft.NET\Framework\v4.0.30319\diasymreader.dll" at 0x5e0d0000: native 0009:fixme:ver:GetCurrentPackageId (0x33b8a0 (nil)): stub System.IO.FileNotFoundException: Could not load file or assembly 'System.Net.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. File not found. at MtgaLauncher.Program.CheckUpdate() at MtgaLauncher.Program.Main(String[] args) ... --- snip ---
Resolving 'INVALID' here.
Regards
https://bugs.winehq.org/show_bug.cgi?id=45897
--- Comment #6 from Anton Romanov theli.ua@gmail.com --- FWIW this was tested on a clean prefix with 4.6.2 installed. However it does work after installing 4.7.2
https://bugs.winehq.org/show_bug.cgi?id=45897
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Gijs Vermeulen gijsvrm@gmail.com --- Closing.