http://bugs.winehq.org/show_bug.cgi?id=58574
Bug ID: 58574 Summary: Multiple applications require gameinput.dll (Fritz Chess Coach, Le Mans Ultimate) Product: Wine Version: 10.12 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: alexhenrie24@gmail.com Distribution: ---
First reported at https://forum.winehq.org/viewtopic.php?t=38129
Steps to reproduce:
1. Purchase and download Fritz from https://shop.chessbase.com/en/products/fritz_your_chess_coach
2. Run `wine FritzCoachSetup.msi`, enter your license key, and complete setup
3. Run `wine 'C:\Program Files\ChessBase\Fritz - Your chess coach\FritzDX12.exe'`
The problem is pretty obvious:
0024:err:module:import_dll Library GameInput.dll (which is needed by L"C:\Program Files\ChessBase\Fritz - Your chess coach\FritzDX12.exe") not found 0024:err:module:loader_init Importing dlls for L"C:\Program Files\ChessBase\Fritz - Your chess coach\FritzDX12.exe" failed, status c0000135
With the patch from https://gitlab.winehq.org/wine/wine/-/merge_requests/8338, FritzDX12.exe gets farther: It displays an error dialog that says "This computer does not support DirectX 12." `winetricks vkd3d` fixes that, and then the error dialog changes to "Gaming Services Runtime is not installed on this system or needs updating." To get past that error, you need to extract xgameruntime.dll and its dependency gameconfighelper.dll from the SetupGamingServices.exe program that is also available on the Fritz website:
7z e SetupGamingServices.exe GamingServices.appxbundle 7z e GamingServices.appxbundle GamingServicesTcui-Package_7.70.13002.0_x64.appx 7z e GamingServicesTcui-Package_7.70.13002.0_x64.appx xgameruntime.dll 7z e GamingServicesTcui-Package_7.70.13002.0_x64.appx gameconfighelper.dll cp xgameruntime.dll gameconfighelper.dll ~/.wine/drive_c/windows/system32/
Fritz then crashes on the unimplemented function api-ms-win-shcore-taskpool-l1-1-0.dll.SHTaskPoolQueueTask, which is undocumented. I followed the instructions at https://gitlab.winehq.org/wine/wine/-/wikis/Wine-Developer%27s-Guide/Other-D... to determine that the 32-bit version of the function takes 24 bytes of arguments, guessed that the 24 bytes are 6 pointers, added a stub, and got past the crash. Then I ran into XML parsing problems:
0140:err:msxml:Schema_parse error code 1756: Element '{http://www.w3.org/2001/XMLSchema%7Dpattern': The value '[^<>":%|?*\x01-\x1f]+' of the facet 'pattern' is not a valid regular expression. 0140:err:msxml:Schema_parse error code 1756: Element '{http://www.w3.org/2001/XMLSchema%7Dpattern': The value '\bms-resource:.{1,256}' of the facet 'pattern' is not a valid regular expression. 0140:err:msxml:Schema_parse error code 1756: Element '{http://www.w3.org/2001/XMLSchema%7Dpattern': The value '[^\x01-\x1f]+' of the facet 'pattern' is not a valid regular expression. 0140:fixme:msxml:cache_entry_from_xsd_doc failed to parse doc
`winetricks msxml6` didn't fix the problem. It merely changed the error message to:
0140:err:ole:apartment_add_dll couldn't load in-process dll L"C:\windows\system32\msxml6.dll"
That's where I stopped. None of these problems seems insurmountable. For now let's focus on the first one, the lack of gameinput.dll. After that's fixed, I can open new bug reports for the next problems.
$ sha256sum FritzCoachSetup.msi SetupGamingServices.exe 9139110cb9ee94f87fe2a98dafaeaf24c7d5dfc3e246f6f97d0af65f282fadf9 FritzCoachSetup.msi 4f936785e9ed87e296c8e8fdb24ab757d8781580ddddd3d69c1471bc2cc2a700 SetupGamingServices.exe