Proton: GT Legends don't start (44690)

Created on 23 May 2019  路  17Comments  路  Source: ValveSoftware/Proton

Compatibility Report

  • Name of the game with compatibility issues: GT Legends
  • Steam AppID of the game: 44690

System Information

I confirm:

  • [x] that I haven't found an existing compatibility report for this game.
  • [x] that I have checked whether there are updates for my system available.

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

Game compatibility - Unofficial

All 17 comments

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

@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

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

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

@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.

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

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.

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.

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

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).

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

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

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.

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

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

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

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"

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ThaChillera picture ThaChillera  路  226Comments

NTMan picture NTMan  路  848Comments

leillo1975 picture leillo1975  路  235Comments

serebit picture serebit  路  262Comments

DataBeaver picture DataBeaver  路  311Comments