ValveSoftware / Proton

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

GT Legends don't start (44690) #2728

Open leillo1975 opened 5 years ago

leillo1975 commented 5 years ago

Compatibility Report

System Information

I confirm:

steam-44690.log

Symptoms

After installing the dependencies and configuring the graphics, the game don't starts. I see in WineHQ ( https://appdb.winehq.org/objectManager.php?sClass=version&iId=28706 ) that the game needs to install via winetricks "mfc42.dll" to work.

Reproduction

I only start the game

leillo1975 commented 5 years ago

After installing "mfc42" with Winetricks, the game starts , shows the initial videos, but then it run extremely slow and is impossible to play with it. I attach the log: steam-44690.log

Here is a video: https://youtu.be/aaEznILxGbs

HonkingGoose commented 5 years ago

@leillo1975 looks like it needs mfc42.dll from the log:

22588.738:002c:002d:err:module:import_dll Library MFC42.DLL (which is needed by L"Z:\\media\\3TB\\SteamLibrary\\steamapps\\common\\GT Legends\\Net.dll") not found

Edit: I though the log indicated some .net issue, but this is not the case, as confirmed by @kisak-valve

leillo1975 commented 5 years ago

But... I have installed mfc42 with winetricks on the prefix. What's wrong?

If I don't install mfc42 the game don't start

kisak-valve commented 5 years ago

@leillo1975, snippets from the log are from your opening post before you worked around mfc42.

@HonkingGoose I read Net.dll in the log: which is needed by L"Z:\\media\\3TB\\SteamLibrary\\steamapps\\common\\GT Legends\\Net.dll" and interpreted it as a game library, not the .NET framework. There aren't other indicators that .NET is involved.

leillo1975 commented 5 years ago

I've finally managed to make the game work. One user posted a bug on WineHQ (https://bugs.winehq.org/show_bug.cgi?id=47380) and another find the solution. It is necessary to deactivate CSMT (winecfg) and the game start to run normally. Is possible to play with my Logitech G29 wheel, but like RACE 07 ( https://github.com/ValveSoftware/Proton/issues/1212 ), force feedback effects only works when you crash your car.

About multiplayer, is not possible to register this game. I think that this is normal, because the game was released on 2005 and probbably the multiplayer servers are down

timschumi commented 5 years ago

I just tested the game in Proton. Everything seems to work fine, both singleplayer and multiplayer. However, only LAN or unofficial servers work, since the official multiplayer servers probably went down together with SimBin.

If Valve intends to fix up the game, disabling CSMT can probably be scripted better through regedit: In the registry, a new DWORD-Value with the name "csmt" needs to be made in the key "HKEY_CURRENT_USER/Software/Wine/Direct3D" and set to 0, which disables CSMT as well.

Apart from that, only mfc42.dll needs to be supplied now and the game would probably run fine out-of-the-box when using SteamPlay.

timschumi commented 5 years ago

Actually, to fix this in Proton, the easiest way (which might regress performance on some games) would probably be to just revert commit ValveSoftware/wine@dd0ea0a61463db83c647a9367ca61e2b69a98eb3, which enabled CSMT by default.

However, that would have to be tested extensively to ensure that it doesn't make the performance on some games worse.

leillo1975 commented 5 years ago

OFFTOPIC: Hi @timschumi , are you working on the support for Saitek R440 Force Racing Wheel? Will this wheel have Force Feedback support on Linux?

https://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git/commit/?h=iforce&id=11518370b332c0eeaaccef1f5de7877747893f1f

https://www.phoronix.com/scan.php?page=news_item&px=Saitek-R400-Linux-WIP

timschumi commented 5 years ago

I don't have an R440, so I can't say anything about the functionality with 100% certainity. I added the device based on an educated guess, since the Windows driver for the R440 works for my wheel (a WingMan Formula Force) after replacing device and vendor IDs, as already outlined in the commit description.

Force Feedback works with some games in windows (with the R440 driver on the WMFF), so I guess the drivers are compatible in that regard as well.

However, with Proton/wine on top, you are going to have FF issues anyways. For me (WMFF with the iforce-driver on Linux, the same that the R440 support is being added to), of all the games I tested, FF only works with GT Legends. Grand Prix Legends (which I only tested in wine) and Project Cars do not have FF support at this time, for whatever reason.

EDIT: FF doesn't work in Proton, no matter the game, I just got confused with the custom version I had installed (which is wine 4.11 + basic compatibility, where FF in GT Legends works).

leillo1975 commented 5 years ago

The same problems continue on 4.11-1 steam-44690.log

leillo1975 commented 5 years ago

With Proton 4.11-2 and D9vk the game starts after installing mfc42 with Protontricks/winetricks. Force Feedback continues without work (with lutris and the last wine stagin you can feel when you crash your car only). Now is playable

timschumi commented 5 years ago

I suspected that the addition of D9VK did the trick, but since it still was a problem in Proton 4.11-1, I guess it wasn't. I also don't know if WineD3D is even affected by D9VK.

I guess I'll do some more bisecting, to pinpoint the exact commit where the performance issues vanished...

EDIT: The performance issues are still there for me with the default settings. If I enable D9VK through either the PROTON_USE_D9VK env variable or user_settings.py, the game doesn't even start.

EDIT2: I'm stupid. My Laptop doesn't even support Vulkan. Retested on my PC, game now runs fine with just mfc42 and PROTON_USE_D9VK.

leillo1975 commented 5 years ago

New version of Proton (4.11-8) stills breaking Force Feedback in this and a lot of racing games. Other games like: -Project Cars 2 -Project Cars 1 -RACE 07

https://github.com/ValveSoftware/Proton/issues/3194

leillo1975 commented 5 years ago

I think you must see this article on reddit. Finally we can play GT Legends with FFB with all the effects on Linux : https://www.reddit.com/r/linux_gaming/comments/dypf2q/newlg4ff_a_much_more_complete_new_driver_for_our/ Good work @berarma !!!

At the moment only works with Wine, because Proton 4.11-8 has broken FFB in some games, but in the next version it will be fixed: https://github.com/ValveSoftware/Proton/issues/3194#issuecomment-555558839

madbad commented 4 years ago

I'm getting this error message, about insufficient video memory, while trying to load the game. I have an nVidia 1070Ti that has a lot more than the required memory (same for other games like Race07) gtleggends race07

leillo1975 commented 4 years ago

This can be done when you change proton version. I fix this problem going to config.ini file located in: ""SteamLibrary/steamapps/common/GT Legends"" Then change "VIDEODRIVER=0" to "VIDEODRIVER=1"

leillo1975 commented 4 years ago

With the last version of proton (4.11-10), and using the @berarma 's new Linux Logitech Wheels Driver (new-lg4ff) , the game has a good Force Feedback. Good Work!

The FFB needs to be reversed to work properly.

leillo1975 commented 3 years ago

I found an FFB issue in this game, in RACE 07 and GTR2. When you start a race, you have no problems with Force Feedback on the Logitech G29, but if you restart it two times (sometime three), you lost a lot of effects and the steering wheel offers no resistance, unless you countersteer or crash. To fix this, you must quit the race, go to Quick Race menu, and load again the race. I tried it on Windows and this problem don't appear. Seems to be the same problem in all SimBin games with proton.

timschumi commented 3 years ago

For me force feedback consistently goes back to "constant force" after one retry. However, I'm able to fix it by selecting "Return to the Garage", going into the Controller Options, and reselecting the force feedback profile (which I assume reinitializes force feedback).

Sadly, I don't think Proton 5.0 will be updated anytime soon, even if the cause for the bug is found.

leillo1975 commented 3 years ago

Sadly, I don't think Proton 5.0 will be updated anytime soon, even if the cause for the bug is found.

5.0?? I use the last version of proton, 6.3.

timschumi commented 3 years ago

Proton 5.0 is the last version to recognize my wheel in-game.

leillo1975 commented 3 years ago

What wheel you use? What driver?

timschumi commented 3 years ago

Still a Logitech WingMan Formula Force, using the in-kernel driver.

leillo1975 commented 3 years ago

Is really strange, the FFB of this game didn't work well with the In-Kernel driver. I must use new-lg4ff to activate all effects. Do you try this module driver?

timschumi commented 3 years ago

It doesn't seem like my wheel is supported by this driver. Regardless, since the in-kernel driver works just fine on the host and on older Proton versions, the newer Proton versions should understand it just fine. Maybe I'll have some time in the future to investigate more.

leillo1975 commented 3 years ago

You wheel is supported by new-lg4ff: -Logitech WingMan Formula GP (without force feedback) -Logitech WingMan Formula Force GP

timschumi commented 3 years ago

I have the old one (without "GP"), so mine is a device that is covered by the iforce driver.