protonscr

YUR

protonopen appid 1188920Game compatibility - Unofficial.NET
ValveSoftware/Proton#7308 · opened 2023-12-02 by Milliw · updated 2024-01-26 · 10 comments · github · game page · search this game
1 matching comments, n / p to jump
MMilliw 2023-12-02 github

Compatibility Report

  • Name of the game with compatibility issues: YUR
  • Steam AppID of the game: 1188920

System Information

  • GPU: Radeon RX 5700
  • Video driver version: Mesa 23.1.9
  • Kernel version: Linux 6.6.2-201.fsync.fc38.x86_64
  • Link to full system information report as Gist:
  • Proton version: 8.0.4

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-1188920.log

Symptoms

Does not run at all.

Reproduction

Install. Hit run button.

Kkisak-valve maintainer 2023-12-02 github

Hello @Milliw, this looks like a possible line of interest from your log:
[0000000000000134:] EXCEPTION handling: System.TypeLoadException: Could not load type of field 'YUR.Fit.Windows.WindowsBtLeHrmProvider:_connectedCharacteristic' (2) due to: Could not load file or assembly 'Windows, Version=255.255.255.255, Culture=neutral, PublicKeyToken=null' or one of its dependencies.

MMilliw 2023-12-03 github

Hello @Milliw, this looks like a possible line of interest from your log: [0000000000000134:] EXCEPTION handling: System.TypeLoadException: Could not load type of field 'YUR.Fit.Windows.WindowsBtLeHrmProvider:_connectedCharacteristic' (2) due to: Could not load file or assembly 'Windows, Version=255.255.255.255, Culture=neutral, PublicKeyToken=null' or one of its dependencies.

That caught my attention immediately as well.
But besides that I don't have any abilities other than looking it up on the internet - which I did but found nothing.

Mmadewokherd 2023-12-04 github

Likely a variation on https://github.com/mono/mono/issues/15767, I'll see if it's possible to add a similar work-around.

MMilliw 2023-12-05 github

I digged deeper and found some report on protondb by looking up with the app id instead the app name. There was some user reporting some years ago after installing dotnet462 he got it running but not beeing able to login. I tried same but was not able to install that (I guess too old) dotnet. Tried with younger versions but did not work either.

How do you find out which dependencies this software needs?

Mmadewokherd 2023-12-05 github

I see the problem, there's a Windows.winmd file that it depends on, and Wine Mono doesn't support winmd files.

MMilliw 2023-12-05 github

I see the problem, there's a Windows.winmd file that it depends on, and Wine Mono doesn't support winmd files.

So no way to run this on Linux?

Mmadewokherd 2023-12-06 github

I can't say that for sure, since I don't know what the issue was with logging in. It might be possible with native .NET Framework (but I can't help with that).

Without .NET Framework, significant development time would be required to implement winmd support in Wine Mono. I suspect we'll need it eventually, but this program is the only example I've seen that needs it so far. I filed a Wine bug for that: https://bugs.winehq.org/show_bug.cgi?id=55989

Ssomeonewithpc 2024-01-26 github

I see the problem, there's a Windows.winmd file that it depends on, and Wine Mono doesn't support winmd files.

From what I can tell, Mono.Cecil supports WinMD files. This is also mentioned here https://github.com/mono/api-doc-tools/issues/29#issuecomment-299875585

The linked PR seems to have a hack for mscorlib

Maybe this is of use?

Mmadewokherd 2024-01-26 github

Thanks, I think it helps a little bit but there's still a lot that needs to be done.

Mono.Cecil is rather low-level, so I think it "supports" winmd files by virtue of them using the same file format as .NET dll's. Someone would still need to figure out what to put in the files exactly. And it would only potentially help with creating a windows.winmd file, support for them will still need to be added to the Mono runtime.

Ssomeonewithpc 2024-01-26 github

I took a quick look through Mono, but I don't even know C#, so it wasn't clear what even is missing. If you have pointers, I might try to investigate it further

BTW, do you think the line

23080.371:0130:0134:fixme:mscoree:parse_supported_runtime sku=L".NETFramework,Version=v4.6.2" not implemented

Is relevant? I looked at the implementation in Wine and unless I'm not understanding something, it feels like it should just do a very similar thing to the way it parses version=: https://github.com/wine-mirror/wine/blob/0170cd3a4c67bd99291234dd8e0d638a824d7715/dlls/mscoree/config.c#L374-L397

Upstream links