https://bugs.winehq.org/show_bug.cgi?id=56571
Bug ID: 56571 Summary: osu! quits with InvalidCastException when using wine-mono Product: Wine Version: 9.6 Hardware: x86-64 URL: https://m1.ppy.sh/r/osu!install.exe OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: mscoree Assignee: wine-bugs@winehq.org Reporter: aidas957@gmail.com Distribution: ArchLinux
Created attachment 76324 --> https://bugs.winehq.org/attachment.cgi?id=76324 Snippet of Wine Mono log with the cast exception
Hello,
So osu!(stable) quits after the osu! logo (with InvalidCastException being shown in the terminal when using the WINE_MONO_TRACE=frog variable) when running the game with wine-mono installed (instead of .NET)
Installing .NET with the dotnet45 winetricks verb allows the game to run again (like with bug 50111)
I think this bug may be a continuation of https://bugs.winehq.org/show_bug.cgi?id=50111 (because I see marshalling-related functions before the exception gets thrown in the Mono log)
I'll attach a snippet of the relay-level Wine Mono log that has the exception stuff (the full log is likely too big even after compression)
I tried editing the RuntimeAssembly class to public in dnSpy for the Wine Mono mscorlib.dll (but I got an EXCEPTION_ILLEGAL_INSTRUCTION exception instead with no obvious explanation for that in the Wine Mono log which of course prevented the game from starting)