I have GOG Galaxy installed and working, and I’ve installed a game using Run EXE inside prefix to install my offline installation of Divinity - Original Sin 2.
Now the game is installed in that bottle, but I get
The entry point method could not be loaded due to Could not load file or assembly 'PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies.
When trying to run it… So I’ve read that I can use winretricks to install the .net framework, but I want to install it into that GOG wine bottle, and not to the system wine… How do I do that?
I’ve tried using WINEPREFIX=~/Games/gog-galaxy winecfg to see if it’d bring up the correct environment, but it uses the system’s wine (i.e. version 4.0), instead of the staging 4.5 the gog-galaxy uses under Lutris.
Ok, found winetricks on the context menu for the Galaxy entry in Lutris, installed .net framework… but it seems to not be correctly installed…
Here’s my lutris -d output:
INFO 2019-04-15 00:53:12,247 [application.do_command_line:225]:Running Lutris 0.5.2
INFO 2019-04-15 00:53:12,248 [startup.check_driver:54]:Using NVIDIA drivers 418.56 for x86_64
INFO 2019-04-15 00:53:12,248 [startup.check_driver:58]:GPU: GeForce GTX 1080 Ti
INFO 2019-04-15 00:53:12,248 [startup.check_driver:75]:GPU: 10DE:1B06 1458:374D using nvidia drivers
ERROR 2019-04-15 00:53:12,248 [startup.check_libs:109]:i386 libvulkan.so.1 missing (needed by vulkan)
Gtk-Message: 00:53:12.270: GtkDialog mapped without a transient parent. This is discouraged.
INFO 2019-04-15 00:53:14,251 [startup.check_vulkan:129]:Vulkan is supported
Gtk-Message: 00:53:14.260: GtkDialog mapped without a transient parent. This is discouraged.
INFO 2019-04-15 00:53:15,304 [dxvk.get_dxvk_versions:24]:Updating DXVK versions
INFO 2019-04-15 00:53:15,384 [lutriswindow.toggle_connection:561]:Connected to lutris.net as cantfind
DEBUG 2019-04-15 00:53:15,385 [http.get:68]:GET https://lutris.net/api/runtime
DEBUG 2019-04-15 00:53:15,385 [http.get:68]:GET https://lutris.net/api/games/library/cantfind
Gtk-Message: 00:53:18.795: GtkDialog mapped without a transient parent. This is discouraged.
DEBUG 2019-04-15 00:53:28,279 [wine.use_lutris_runtime:113]:/home/master/.local/share/lutris/runners/wine/tkg-4.4-x86_64/bin/wine is provided by Lutris, using runtime
DEBUG 2019-04-15 00:53:28,279 [command.start:111]:Running /usr/bin/lutris-wrapper 0 0 /home/master/.local/share/lutris/runners/wine/tkg-4.4-x86_64/bin/wine /home/master/Games/gog-galaxy/drive_c/GOG Games/Divinity - Original Sin 2/bin/SupportTool.exe
DEBUG 2019-04-15 00:53:28,279 [command.start:113]:ENV: WINEARCH="win64"
DEBUG 2019-04-15 00:53:28,279 [command.start:113]:ENV: WINE="/home/master/.local/share/lutris/runners/wine/tkg-4.4-x86_64/bin/wine"
DEBUG 2019-04-15 00:53:28,279 [command.start:113]:ENV: WINEPREFIX="/home/master/Games/gog-galaxy"
DEBUG 2019-04-15 00:53:28,279 [command.start:113]:ENV: LD_LIBRARY_PATH="/home/master/.local/share/lutris/runners/wine/tkg-4.4-x86_64/lib:/home/master/.local/share/lutris/runners/wine/tkg-4.4-x86_64/lib64:/lib:/lib64:/lib/i386-linux-gnu:/lib/x86_64-linux-gnu:/usr/lib/i386-linux-gnu:/usr/lib/x86_64-linux-gnu:/home/master/.local/share/lutris/runtime/Ubuntu-18.04-i686:/home/master/.local/share/lutris/runtime/steam/i386/lib/i386-linux-gnu:/home/master/.local/share/lutris/runtime/steam/i386/lib:/home/master/.local/share/lutris/runtime/steam/i386/usr/lib/i386-linux-gnu:/home/master/.local/share/lutris/runtime/steam/i386/usr/lib:/home/master/.local/share/lutris/runtime/Ubuntu-18.04-x86_64:/home/master/.local/share/lutris/runtime/steam/amd64/lib/x86_64-linux-gnu:/home/master/.local/share/lutris/runtime/steam/amd64/lib:/home/master/.local/share/lutris/runtime/steam/amd64/usr/lib/x86_64-linux-gnu:/home/master/.local/share/lutris/runtime/steam/amd64/usr/lib"
DEBUG 2019-04-15 00:53:28,279 [command.start:113]:ENV: PYTHONPATH="/usr/bin:/usr/lib/python36.zip:/usr/lib/python3.6:/usr/lib/python3.6/lib-dynload:/usr/local/lib/python3.6/dist-packages:/usr/lib/python3/dist-packages:/usr/lib/python3.6/dist-packages"
DEBUG 2019-04-15 00:53:28,281 [signals.register_handler:26]:Registering <bound method MonitoredCommand.on_stop of <lutris.command.MonitoredCommand object at 0x7fbe8e6cf208>> to 20451
Running /home/master/.local/share/lutris/runners/wine/tkg-4.4-x86_64/bin/wine /home/master/Games/gog-galaxy/drive_c/GOG Games/Divinity - Original Sin 2/bin/SupportTool.exe
000b:fixme:winediag:start_process Wine Staging 4.4 is a testing version containing experimental patches.
000b:fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org.
0012:fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
0012:fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
0017:fixme:process:SetProcessShutdownParameters (00000380, 00000000): partial stub.
001a:fixme:heap:RtlSetHeapInformation 0x360000 0 0x24e730 4 stub
001a:fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
001d:fixme:process:SetProcessShutdownParameters (00000380, 00000000): partial stub.
0036:fixme:heap:RtlSetHeapInformation 0x550000 0 0x54e730 4 stub
0036:fixme:thread:SetThreadStackGuarantee (0x54f9c8): stub
0036:fixme:ntdll:EtwEventRegister ({e13c0d23-ccbc-4e12-931b-d9cc2eee27e4}, 0x6447f7085f0, 0x6447f97c568, 0x6447f9d5268) stub.
0036:fixme:ntdll:EtwEventRegister ({763fd754-7086-4dfe-95eb-c01a46faf4ca}, 0x6447f7085f0, 0x6447f97c4e8, 0x6447f97c820) stub.
0036:fixme:ntdll:EtwEventRegister ({a669021c-c450-4609-a035-5af59af4df18}, 0x6447f7085f0, 0x6447f9d5278, 0x6447f9d5270) stub.
0036:fixme:ntdll:EtwEventRegister ({cc2bcbba-16b6-4cf3-8990-d74c2e8af500}, 0x6447f7085f0, 0x6447f9d52a8, 0x6447f97c710) stub.
0036:fixme:wer:WerRegisterRuntimeExceptionModule (L"C:\\windows\\Microsoft.NET\\Framework64\\v4.0.30319\\mscordacwks.dll", 0x6447f100000) stub!
0038:err:ole:CoGetContextToken apartment not initialised
0036:fixme:nls:LocaleNameToLCID unsupported flags 8000000
0036:fixme:shell:URL_ParseUrl failed to parse L"PresentationFramework"
0036:fixme:shell:URL_ParseUrl failed to parse L"WindowsBase"
0036:fixme:shell:URL_ParseUrl failed to parse L"System.Xaml"
0036:fixme:shell:URL_ParseUrl failed to parse L"PresentationCore"
0036:fixme:shell:URL_ParseUrl failed to parse L"System"
0036:fixme:ntdll:EtwEventRegister ({e13b77a8-14b6-11de-8069-001b212b5009}, 0x550cf69c, 0x551d40f0, 0x551de988) stub.
0036:fixme:nls:LCIDToLocaleName unsupported flags 8000000
0036:fixme:nls:get_dummy_preferred_ui_language (0x0 0x5493f0 (nil) 0x5493f4) returning a dummy value (current locale)
0036:fixme:nls:get_dummy_preferred_ui_language (0x0 0x5493f0 0x11a4d0 0x5493f4) returning a dummy value (current locale)
0036:fixme:ntdll:EtwEventRegister ({e13b77a8-14b6-11de-8069-001b212b5009}, 0xaa0fdc, (nil), 0x54dd40) stub.
0036:fixme:shell:URL_ParseUrl failed to parse L"System.Core"
0036:fixme:shell:URL_ParseUrl failed to parse L"System.Xml"
0036:fixme:shell:URL_ParseUrl failed to parse L"System.Xml.Linq"
0036:fixme:shell:URL_ParseUrl failed to parse L"System.Data.SqlXml"
0036:fixme:advapi:RegisterEventSourceW ((null),L".NET Runtime"): stub
0036:fixme:advapi:ReportEventW (0xcafe4242,0x0001,0x0000,0x00000402,(nil),0x0001,0x00000000,0x547be0,(nil)): stub
0036:err:eventlog:ReportEventW L"Application: SupportTool.exe\nFramework Version: v4.0.30319\nDescription: The process was terminated due to an unhandled exception.\nException Info: System.TypeLoadException\nStack:\n at DOS2Launcher.App.AutoStartGame(System.String[])\n at DOS2Launcher.App.OnStartup(System.Windows.StartupEventArg"...
0036:fixme:advapi:DeregisterEventSource (0xcafe4242) stub
Unhandled Exception: 0036:fixme:ntdll:EtwEventRegister ({8e9f5090-2d75-4d03-8a81-e5afbf85daf1}, 0xaa129c, (nil), 0x11c87f8) stub.
0036:fixme:shell:URL_ParseUrl failed to parse L"mscorlib.resources"
System.TypeLoadException: Could not load type 'System.Windows.Input.ICommand' from assembly 'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
at DOS2Launcher.App.AutoStartGame(String[] startupArguments)
at DOS2Launcher.App.OnStartup(StartupEventArgs eventArgs)
at System.Windows.Application.<.ctor>b__1(Object unused)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.DispatcherOperation.InvokeImpl()
at System.Threading.ExecutionContext.runTryCode(Object userData)
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Threading.DispatcherOperation.Invoke()
at System.Windows.Threading.Dispatcher.ProcessQueue()
at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
at System.Windows.Application.RunDispatcher(Object ignore)
at System.Windows.Application.RunInternal(Window window)
at DOS2Launcher.App.Main()
wine: Unhandled exception 0xe0434352 in thread 36 at address 0x7b4503f7 (thread 0036), starting debugger...
Unhandled exception: 0xe0434352 in 64-bit code (0x000000007b4503f7).
Register dump:
rip:000000007b4503f7 rsp:0000000000549770 rbp:00000000005498e0 eflags:00000202 ( - -- I - - - )
rax:0000000000549790 rbx:000000000054b310 rcx:0000000000549790 rdx:00000000005497b0
rsi:000000000054b858 rdi:00000000005497d8 r8:0000000000000005 r9:000000000054b830 r10:0000000000091888
r11:0000000000000009 r12:000000000054a8f8 r13:0000000000000000 r14:0000000000549960 r15:000006447f482764
Stack dump:
0x0000000000549770: 0000000000549790 0000000000000000
0x0000000000549780: 0000000000000000 0000000000000000
0x0000000000549790: 00000001e0434352 0000000000000000
0x00000000005497a0: 000000007b4503f7 0000000000000005
0x00000000005497b0: ffffffff80131522 0000000000000000
0x00000000005497c0: 0000000000000000 0000000000000000
0x00000000005497d0: 000006447f100000 0000000000000000
0x00000000005497e0: 0000000000549850 000006447fd6142d
0x00000000005497f0: 0000000000052a10 000000000054d2d0
0x0000000000549800: 00000000e0434352 000006447f2e438a
0x0000000000549810: 00000001e06d7363 0000000000000000
0x0000000000549820: 0000000000000000 a49c644232634600
Backtrace:
=>0 0x000000007b4503f7 EntryPoint+0x2a717() in kernel32 (0x00000000005498e0)
0x000000007b4503f7 EntryPoint+0x2a717 in kernel32: movq 0x00000000000000b8(%rsp),%rax
Modules:
Module Address Debug info Name (44 modules)
PE 19d20000- 1a1de000 Deferred mscorlib
PE 55000000- 55212000 Deferred wpfgfx_v0400
PE 554b0000- 555be000 Deferred presentationnative_v0400
PE 55600000- 55950000 Deferred presentationcore
PE 56980000- 56f92000 Deferred presentationframework
PE 58c20000- 58d62000 Deferred windowsbase
PE 59200000- 592b0000 Deferred system.xaml
PE 60e50000- 60f9c000 Deferred system.core
PE 64400000- 644ba000 Deferred system.data.sqlxml
PE 69720000- 6993e000 Deferred system.xml
PE 69e50000- 69e76000 Deferred system.xml.linq
PE 7a820000- 7ab76000 Deferred system
PE 7b420000- 7b5e0000 Export kernel32
PE 7bc20000- 7bc33000 Deferred ntdll
PE 140000000- 1402d8000 Deferred supporttool
PE 516f00000- 516fea000 Deferred diasymreader
PE 6427ee50000- 6427eebf000 Deferred mscoree
PE 6447f100000- 6447fa65000 Deferred clr
PE 6447faf0000- 6447fc67000 Deferred clrjit
PE 6447fd00000- 6447fdd1000 Deferred msvcr100_clr0400
PE 644ff540000- 644ff5d0000 Deferred mscoreei
PE 644ffae0000- 644ffaf4000 Deferred nlssorting
PE 7fc05ebb0000- 7fc05ebb5000 Deferred uxtheme
PE 7fc05ebf0000- 7fc05ebf4000 Deferred usp10
PE 7fc05ec40000- 7fc05ec93000 Deferred comctl32
PE 7fc05eda0000- 7fc05edaa000 Deferred aclui
PE 7fc05edc0000- 7fc05edc5000 Deferred shcore
PE 7fc05ee00000- 7fc05f6f7000 Deferred shell32
PE 7fc05f820000- 7fc05f825000 Deferred shfolder
PE 7fc05f840000- 7fc05f844000 Deferred dwrite
PE 7fc061000000- 7fc061046000 Deferred crypt32
PE 7fc0610f0000- 7fc0610f5000 Deferred bcrypt
PE 7fc061110000- 7fc061115000 Deferred rsaenh
PE 7fc061170000- 7fc06117d000 Deferred oleaut32
PE 7fc063d80000- 7fc063d85000 Deferred winex11
PE 7fc063e20000- 7fc063e2b000 Deferred rpcrt4
PE 7fc063ee0000- 7fc063f0c000 Deferred ole32
PE 7fc064070000- 7fc064076000 Deferred imm32
PE 7fc0640a0000- 7fc0640a5000 Deferred version
PE 7fc0640c0000- 7fc0640cc000 Deferred gdi32
PE 7fc064260000- 7fc064351000 Deferred user32
PE 7fc0644c0000- 7fc0644cf000 Deferred shlwapi
PE 7fc064650000- 7fc06465b000 Deferred advapi32
PE 7fc065500000- 7fc065503000 Deferred wow64cpu
Threads:
process tid prio (all id:s are in hex)
0000000e services.exe
[C:\windows\system32\services.exe]
0000002c 0
00000027 0
00000021 0
0000001b 0
00000015 0
00000014 0
00000013 0
00000010 0
0000000f 0
00000011 mscorsvw.exe
[C:\windows\Microsoft.NET\Framework\v4.0.30319\mscorsvw.exe]
00000018 0
00000017 0
00000016 0
00000012 0
00000019 mscorsvw.exe
[C:\windows\Microsoft.NET\Framework64\v4.0.30319\mscorsvw.exe]
0000001e 0
0000001d 0
0000001c 0
0000001a 0
0000001f winedevice.exe
[C:\windows\system32\winedevice.exe]
00000024 0
00000023 0
00000022 0
00000020 0
00000025 plugplay.exe
[C:\windows\system32\plugplay.exe]
00000029 0
00000028 0
00000026 0
0000002a winedevice.exe
[C:\windows\system32\winedevice.exe]
0000002f 0
0000002e 0
0000002d 0
0000002b 0
00000030 explorer.exe
[C:\windows\system32\explorer.exe /desktop]
00000034 0
00000033 0
00000032 0
00000031 0
00000035 (D) C:\GOG Games\Divinity - Original Sin 2\bin\SupportTool.exe
["C:\GOG Games\Divinity - Original Sin 2\bin\SupportTool.exe"]
00000038 2
00000037 0
00000036 0 <==
System information:
Wine build: wine-4.4.r2.g18e878bc ( TkG Staging Esync )
Platform: x86_64
Version: Windows 7
Host system: Linux
Host version: 4.15.0-47-generic
Waiting on children
Waiting on children
2019-04-15 00:53:31,011: Unable to read stat for process 20496
2019-04-15 00:53:31,012: Unable to read stat for process 20496
Waiting on children
2019-04-15 00:53:33,012: Unable to read stat for process 20479
2019-04-15 00:53:33,012: Unable to read stat for process 20479
2019-04-15 00:53:33,012: Unable to read stat for process 20485
2019-04-15 00:53:33,012: Unable to read stat for process 20485
2019-04-15 00:53:33,012: Unable to read stat for process 20490
2019-04-15 00:53:33,012: Unable to read stat for process 20490
Waiting on children
2019-04-15 00:53:33,117: Unable to read stat for process 20465
2019-04-15 00:53:33,118: Unable to read stat for process 20465
2019-04-15 00:53:33,118: Unable to read stat for process 20473
2019-04-15 00:53:33,118: Unable to read stat for process 20473
All children gone
Exit with returncode 82
DEBUG 2019-04-15 00:53:33,150 [command.on_stop:158]:The process has terminated with code 20992
DEBUG 2019-04-15 00:53:33,150 [command.stop:241]:Management process looks dead already.
DEBUG 2019-04-15 00:53:33,150 [command.stop:253]:logger already detached
By the way, why do I have to have dxvk installed in 32bit for it to work? There are dxvk dlls in 64bit as far as I know… Why not use these?