http://bugs.winehq.org/show_bug.cgi?id=37076
Bug ID: 37076 Summary: Silent Hunter 5 crashes after showing the intro video with Wine Mono Product: Wine Version: 1.7.24 Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: mscoree Assignee: wine-bugs@winehq.org Reporter: gyebro69@gmail.com
Created attachment 49276 --> http://bugs.winehq.org/attachment.cgi?id=49276 terminal output
Game version is v1.2, installed on Steam, the game uses Ubisoft Game Launcher (Uplay). Dwrite.dll and Steam gameoverlayrenderer disabled, native d3dx9_42 and d3dcompiler_43 are installed to work around an early crash on launch.
After showing the intro movies the game throws an exception:
Unhandled Exception: System.InvalidProgramException: Invalid IL code in<Module>:ScriptedEntityHelper.LoadScriptFromFile (ScriptedEntityHelper*,sScriptedEntity*,sbyte*,sbyte*): IL_0040: ret at (wrapper native-to-managed) <Module>.ScriptedEntityHelper.LoadScriptFromFile (ScriptedEntityHelper*,sScriptedEntity*,sbyte*,sbyte*) <0x0003b>
[ERROR] FATAL UNHANDLED EXCEPTION: System.InvalidProgramException: Invalid IL code in <Module>:ScriptedEntityHelper.LoadScriptFromFile (ScriptedEntityHelper*,sScriptedEntity*,sbyte*,sbyte*): IL_0040: ret at (wrapper native-to-managed) <Module>.ScriptedEntityHelper.LoadScriptFromFile (ScriptedEntityHelper*,sScriptedEntity*,sbyte*,sbyte*) <0x0003b>
'winetricks dotnet20' is sufficient to get rid of the crash and the game loads fine to the menu.