[Bug 53634] New: Outer Wilds Mod Loader: Application cannot read config due to Newtonsoft.Json not working correctly in Wine
https://bugs.winehq.org/show_bug.cgi?id=53634 Bug ID: 53634 Summary: Outer Wilds Mod Loader: Application cannot read config due to Newtonsoft.Json not working correctly in Wine Product: Wine Version: 7.16 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: mscoree Assignee: wine-bugs(a)winehq.org Reporter: domi+wine(a)secnd.me Distribution: --- Created attachment 73032 --> https://bugs.winehq.org/attachment.cgi?id=73032 wine logs When trying to run OWML in a clean Wine prefix it will fail due to issues with the Newtonsoft.Json library. Running the same application with regular .NET 4.8 works perfectly fine. This issue occurs in multiple applications that use Newtonsoft.Json. To reproduce: * Download OWML: wget https://github.com/ow-mods/owml/releases/download/2.6.0/OWML.zip * Unzip it: unzip OWML.zip * Start it with a fresh prefix: WINEPREFIX=$PWD/.prefix wine OWML.Launcher.exe See attachment for error log. To fix it simply install dotnet48 with winetricks: WINEPREFIX=$PWD/.prefix winetricks dotnet48 Starting it now will work. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=53634 --- Comment #1 from Esme Povirk <madewokherd(a)gmail.com> --- This is affected by https://github.com/madewokherd/wine-mono/issues/138, it ships a bunch of .NET dll's that shouldn't be used but currently are. I can't easily work around it because it has a reference to System.Core.dll with the wrong publickeytoken. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=53634 --- Comment #2 from Esme Povirk <madewokherd(a)gmail.com> --- There's code in Mono that's supposed to map the publickeytoken for System.Core from silverlight to ecma, and that's not being called for some reason. If I hack around that, and remove all the .NET Framework dll's that shouldn't be loaded, it then fails to start for me because it can't find the game installed. So we need to solve that Wine Mono bug so the Mono GAC takes priority, and figure out how publickeytoken remapping is supposed to work. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=53634 Esme Povirk <madewokherd(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |madewokherd(a)gmail.com --- Comment #3 from Esme Povirk <madewokherd(a)gmail.com> --- Created attachment 73052 --> https://bugs.winehq.org/attachment.cgi?id=73052 work-around for Wine Mono For completeness, here is the diff I used to work around the failure to load System.Core. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
WineHQ Bugzilla