ValveSoftware / Proton

Compatibility tool for Steam Play based on Wine and additional components
Other
24.29k stars 1.06k forks source link

WRC 8 (1004750) #4567

Open xpander69 opened 3 years ago

xpander69 commented 3 years ago

Compatibility Report

System Information

Proton log (5.13-5): steam-1004750.log Proton log (5.0-10): steam-1004750.log Proton log (experimental): - doesn't even get to the log creation

I confirm:

Symptoms

Game crashing with with an error.

ss_24012021_00 53 32

ss_24012021_00 53 36

Additional notes

kodatarule commented 3 years ago

Managed to get it to run with proton-tkg_6.0 by setting the prefix to windows 7 (protontricks 1004750 win7), but as xpander69 said above there is no FFB coming to the wheel. Tested with my Formula Force EX which uses the same driver as the G29(which I also have if testing is necessary) - new-lg4ff. Here is a more detailed log using - WINEDEBUG="+timestamp,+pid,+tid,+seh,+debugstr,+module,+trace,+hid,+dinput" %command% https://easyupload.io/zmoql7 (it has 7 days before it expires so if anyone needs it after that I can re-upload) as well as in-game screenshot that the FFB settings actually show up as intended. 20210124100341_1

whizse commented 3 years ago

I compared vanilla Proton with the patches in GE. The patch needed to make the game work is "ntdll-Builtin_Prot/0001-ntdll-Fix-holes-in-ELF-mappings.patch" from staging. As I understand it, the game loads the d3d dlls in peculiar way as some sort of cheating countermeasure. This issue is discussed in the upstream Wine bug 44650.

I've confirmed this by applying the patch against Proton 6.3-5 (and setting Windows version to 7 as previously mentioned).

The second issue, the crash that happens when Windows version is set to 10, is caused by the game loading a native dll from "UWP\xinput1_3.dll". Wine/Proton instead prefers and pushes the builtin xinput1_3.dll. I'm not sure why this causes a crash or if it's related to the anti-cheat stuff.

Besides changing the Windows version, it can be worked around by deleting the UWP folder from the game dir, or setting the xinput1_3 dll to native in winecfg (but this might have other adverse effects?).

WRC9 (tried with the version from EGS) have the same problems (and fixes). Probably the upcoming WRC10 too. Both games will launch on Steam soon so it would be great to have this fixed.

ivyl commented 3 years ago

The game should be playable as of experimental-20210830. Xbox controllers may not work as the game requires as of yet unimplemented windows.input.gaming.dll. It's possible to work around that by switching game's prefix to win7 and adding WINEDLLOVERRIDES="xinput1_3=b".

Steering wheels should work just fine though, including force feedback.

ipr commented 1 year ago

Just adding that currently (it is 2023 now..) game is working fine. No issues with DS4 controlller, AMD GPU, Mesa 22.3.3, kernel version 6.2.5.