tModLoader crashes upon startup

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Post Reply
Avem231
Newbie
Newbie
Posts: 1
Joined: Tue Feb 16, 2021 11:12 pm

tModLoader crashes upon startup

Post by Avem231 » Tue Feb 16, 2021 11:16 pm

So recently, I just installed Terraria 1.4.1.2 (Windows version) using Wine, with PlayOnLinux as my frontend. I use elementaryOS 5.1.6 Hera as my OS. Here is the crash log:

Code: Select all

 /home/avem/.PlayOnLinux//wineprefix/tModLoader
> Distribution
  elementary OS 5.1.7 Hera
> glxinfo \| grep rendering
  direct rendering: Yes
> glxinfo \| grep renderer
      GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer, 
    GLX_INTEL_swap_event, GLX_MESA_copy_sub_buffer, GLX_MESA_query_renderer, 
Extended renderer info (GLX_MESA_query_renderer):
OpenGL renderer string: NVC1
> OpenGL libs (Direct rendering testing)
  check_dd_x86 missing, test skipped
  check_dd_amd64 missing, test skipped

[02/17/21 12:00:20] - This is a 32bits prefix!
[02/17/21 12:00:20] - Running wine- cmd /c echo %ProgramFiles% (Working directory : /usr/share/playonlinux/python)
C:\Program Files
[02/17/21 12:01:07] - ----- Starting function POL_Install_mono5.20 -----
[02/17/21 12:01:08] - Running wine- start msiexec /i mono-5.20.1.34-gtksharp-2.12.45-win32-0.msi /silent (Working directory : /home/avem/.PlayOnLinux/ressources/mono4.81)
[02/17/21 12:02:40] - ----- Ending function POL_Install_mono5.20 -----
[02/17/21 12:03:08] - ----- Starting function POL_Install_xna31 -----
[02/17/21 12:03:12] - Running wine- msiexec /i xnafx31_redist.msi /quiet (Working directory : /home/avem/.PlayOnLinux/ressources)
regsvr32: Successfully registered DLL 'C:\Program Files\Common Files\Microsoft Shared\XNA\Framework\Shared\xnavisualizer.dll'
0031:err:setupapi:do_file_copyW Unsupported style(s) 0x144
0031:err:setupapi:do_file_copyW Unsupported style(s) 0x144
0031:err:setupapi:do_file_copyW Unsupported style(s) 0x144
0031:err:setupapi:do_file_copyW Unsupported style(s) 0x144
0031:err:setupapi:do_file_copyW Unsupported style(s) 0x144
0031:err:setupapi:do_file_copyW Unsupported style(s) 0x144
0031:err:setupapi:do_file_copyW Unsupported style(s) 0x144
[02/17/21 12:03:16] - ----- Ending function POL_Install_xna31 -----
[02/17/21 12:05:14] - Running wine- winepath -u C:\\users\\avem\\Desktop (Working directory : /home/avem/.PlayOnLinux/wineprefix/tModLoader/drive_c)
/home/avem/.PlayOnLinux//wineprefix/tModLoader/dosdevices/c:/users/avem/Desktop
[02/17/21 12:06:08] - Running wine- tModLoader.exe (Working directory : /home/avem/.wine/drive_c/GOG Games/tModLoader)
Could not load signature of ReLogic.OS.WindowsPlatform:SetWindowUnicodeTitle due to: Could not load file or assembly 'Microsoft.Xna.Framework.Game, Version=4.0.0.0, Culture=neutral, PublicKeyToken=842
Unhandled Exception:
System.TypeInitializationException: The type initializer for 'ReLogic.OS.Platform' threw an exception. ---> System.TypeLoadException: ReLogic.OS.WindowsPlatform
   --- End of inner exception stack trace ---
  at Terraria.WindowsLaunch.Main (System.String[] args) [0x0003f] in <1a96aef3b47c41b7bd7cba675857b1bb>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'ReLogic.OS.Platform' threw an exception. ---> System.TypeLoadException: ReLogic.OS.WindowsPlatform


   --- End of inner exception stack trace ---


  at Terraria.WindowsLaunch.Main (System.String[] args) [0x0003f] in <1a96aef3b47c41b7bd7cba675857b1bb>:0 
[02/17/21 12:06:15] - Running wine- tModLoader.exe (Working directory : /home/avem/.wine/drive_c/GOG Games/tModLoader)
Could not load signature of ReLogic.OS.WindowsPlatform:SetWindowUnicodeTitle due to: Could not load file or assembly 'Microsoft.Xna.Framework.Game, Version=4.0.0.0, Culture=neutral, PublicKeyToken=842
Unhandled Exception:
System.TypeInitializationException: The type initializer for 'ReLogic.OS.Platform' threw an exception. ---> System.TypeLoadException: ReLogic.OS.WindowsPlatform
   --- End of inner exception stack trace ---
  at Terraria.WindowsLaunch.Main (System.String[] args) [0x0003f] in <1a96aef3b47c41b7bd7cba675857b1bb>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'ReLogic.OS.Platform' threw an exception. ---> System.TypeLoadException: ReLogic.OS.WindowsPlatform


   --- End of inner exception stack trace ---


  at Terraria.WindowsLaunch.Main (System.String[] args) [0x0003f] in <1a96aef3b47c41b7bd7cba675857b1bb>:0 

Can anyone please provide a step-by-step guide? I've scoured the documentation and Wiki, and nothing of help was given.

Post Reply