https://bugs.winehq.org/show_bug.cgi?id=51643
Bug ID: 51643 Summary: WRC 9: crash on launch with Windows version 10 Product: Wine Version: 6.15 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: sa@whiz.se Distribution: ---
Created attachment 70503 --> https://bugs.winehq.org/attachment.cgi?id=70503 Log with +loaddll,+trace,+seh
Hi,
The game WRC 9: FIA World Rally Championship crashes on launch when Windows version is set to 10.
This seems to be caused by explicitly loading a native dll shipped with the game (in "UWP/xinput1_3.dll") Wine by default loads the builtin dll of the same name and the game crashes. The game does not crash if xinput1_3.dll is set to native.
The game requires the patches from bug #44650 , to start. I'm not sure if this is a related issue where the game is very particular how dll's are loaded?
WRC 8, the games predecessor, have the same problem.
Workarounds include setting xinput1_3 to native, deleting "UWP/xinput1_3.dll", or keeping Windows version set to 7.
This is very much a low priority issue as there are plenty of workarounds but I thought it prudent to report the issue before Wine switches to reporting version 10 by default.
There's a built in crash handler in the game, so I'm not sure how to get a proper backtrace. Log captured with +loaddll,+trace,+seh is attached.
https://bugs.winehq.org/show_bug.cgi?id=51643
--- Comment #1 from Sven Arvidsson sa@whiz.se --- Created attachment 70548 --> https://bugs.winehq.org/attachment.cgi?id=70548 winedump for game and windows xinput1_3 dlls
It looks like the xinput1_3 loaded by the game is not a dll shipped by Windows. It's called XInputUWP64_r.dll, is much smaller, and have far fewer functions than the normal dll.
I presume it's some sort of wrapper that translates xinput to whatever UWP uses?
I have attached a winedump for the game dll comparing it to the native version.
https://bugs.winehq.org/show_bug.cgi?id=51643
mirh mirh@protonmail.ch changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mirh@protonmail.ch
--- Comment #2 from mirh mirh@protonmail.ch --- https://github.com/ValveSoftware/wine/pull/121 I suppose this should be renamed to something like "windows.gaming.input: actually support controllers".