Fora

Need help with Playonlinux

Terraria

Autor Odpowiedzi
Kursed Sunday 2 February 2014 at 2:37
KursedAnonymous

So basically I purchased Terraria through steam, but realized it doesn't work naturally on linux, therefore I used Playonlinux, everything installed and worked perfectly, until I attempted to open Terraria within the virtual desktop on steam, Nothing appeared, yet the application appeared on, so then I reattempted to open it and steam claimed it was open confirming that is open, but it isn't visible. Please help me fix it to make Terraria actually visible.

Ubuntu 14.04
Not sure about wine version believe its 1.7x, but I can confirm which version it is, if you inform me on how to find this info.

Edytowane przez Kursed

allenskd Sunday 2 February 2014 at 5:48
allenskdAnonymous

I installed it with a previous Borderlands 2 virtual drive I had.

Do a 32bit installation of wine and use version 1.7.8

Install the following packages:
dxfullsetup, dotnet40 and xna40 through PoL Install Components Tab (or when you install the virtual drive)


Kursed Sunday 2 February 2014 at 21:10
KursedAnonymous

So basically I attempted to install them, but received the message that said "unable to find a version of the runtime to run this application"

However,
When attempting to open terraria IT did open, the game runs smoothly, but once I choose my characters look and proceed to his name, as soon as I enter a letter, the game crashes

Edytowane przez Kursed

allenskd Sunday 2 February 2014 at 23:42
allenskdAnonymous

If you were installing packages through the tab while the wineserver was running it could lead get unstable and get a crash.

Ensure that everything is closed through Tools -> Close all PoL Software. Install _xinput_ from the software package just to be safe.

Click on your Steam installation you did for Terraria and instead of Run, click Debug (it will open an extra window with logs). Play Terraria normally to see if it crashes. If it does, paste logs.
Kursed Monday 3 February 2014 at 4:26
KursedAnonymous

at System.Windows.Forms.Application.Run(Form mainForm)
at Microsoft.Xna.Framework.WindowsGameHost.Run()
at Microsoft.Xna.Framework.Game.RunGame(Boolean useBlockingRun)
at Terraria.Program.Main(String[] args)
[02/02/14 16:01:29] - Running wine-1.7.8 Steam.exe steam://rungameid/105600 (Working directory : /home/bogus/.PlayOnLinux/wineprefix/terraria/drive_c/Program Files/Steam)
[0202/160138:ERROR:resource_bundle.cc(417)] Failed to load C:\Program Files\Steam\bin\chrome.pak
Some features may not be available.
[0202/160138:ERROR:network_change_notifier_win.cc(126)] WSALookupServiceBegin failed with: 8

Unhandled Exception: ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at System.Windows.Forms.UnsafeNativeMethods.GetMessageA(MSG& msg, HandleRef hWnd, Int32 uMsgFilterMin, Int32 uMsgFilterMax)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
at Microsoft.Xna.Framework.WindowsGameHost.Run()
at Microsoft.Xna.Framework.Game.RunGame(Boolean useBlockingRun)
at Terraria.Program.Main(String[] args)
[0202/160247:ERROR:network_change_notifier_win.cc(126)] WSALookupServiceBegin failed with: 8
[0202/160255:ERROR:network_change_notifier_win.cc(126)] WSALookupServiceBegin failed with: 8
[02/02/14 16:04:48] - Running wine-1.7.8 Steam.exe steam://rungameid/105600 (Working directory : /home/bogus/.PlayOnLinux/wineprefix/terraria/drive_c/Program Files/Steam)
fixme:heap:HeapSetInformation (nil) 1 (nil) 0
[0202/160458:ERROR:resource_bundle.cc(417)] Failed to load C:\Program Files\Steam\bin\chrome.pak
Some features may not be available.
[0202/160458:ERROR:network_change_notifier_win.cc(126)] WSALookupServiceBegin failed with: 8

Unhandled Exception: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at System.Windows.Forms.UnsafeNativeMethods.GetMessageA(MSG& msg, HandleRef hWnd, Int32 uMsgFilterMin, Int32 uMsgFilterMax)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
at Microsoft.Xna.Framework.WindowsGameHost.Run()
at Microsoft.Xna.Framework.Game.RunGame(Boolean useBlockingRun)
at Terraria.Program.Main(String[] args)
[02/02/14 22:19:09] - Running wine-1.7.8 Steam.exe steam://rungameid/105600 (Working directory : /home/bogus/.PlayOnLinux/wineprefix/terraria/drive_c/Program Files/Steam)
[0202/221912:ERROR:resource_bundle.cc(417)] Failed to load C:\Program Files\Steam\bin\chrome.pak
Some features may not be available.
[0202/221912:ERROR:network_change_notifier_win.cc(126)] WSALookupServiceBegin failed with: 8
[02/02/14 22:19:48] - Running wine-1.7.8 Steam.exe steam://rungameid/105600 (Working directory : /home/bogus/.PlayOnLinux/wineprefix/terraria/drive_c/Program Files/Steam)
[0202/221953:ERROR:resource_bundle.cc(417)] Failed to load C:\Program Files\Steam\bin\chrome.pak
Some features may not be available.
[0202/221953:ERROR:network_change_notifier_win.cc(126)] WSALookupServiceBegin failed with: 8

Unhandled Exception: ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at System.Windows.Forms.UnsafeNativeMethods.GetMessageA(MSG& msg, HandleRef hWnd, Int32 uMsgFilterMin, Int32 uMsgFilterMax)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
at Microsoft.Xna.Framework.WindowsGameHost.Run()
at Microsoft.Xna.Framework.Game.RunGame(Boolean useBlockingRun)
at Terraria.Program.Main(String[] args)
[02/02/14 22:21:55] - ----- Starting function POL_Install_xinput -----
[02/02/14 22:21:57] - Running wine-1.7.8 regsvr32 xinput1_1.dll (Working directory : /home/bogus/.PlayOnLinux/ressources)
DllRegisterServer not implemented in DLL xinput1_1.dll
fixme:advapi:RegisterTraceGuidsW (0x4024d0, 0x40d708, {7c830ece-5fb3-417a-a1bd-508f45277356}, 1, 0x32f9e4, (null), (null), 0x40d710): stub
[02/02/14 22:21:58] - Running wine-1.7.8 regsvr32 xinput1_2.dll (Working directory : /home/bogus/.PlayOnLinux/ressources)
DllRegisterServer not implemented in DLL xinput1_2.dll
fixme:advapi:RegisterTraceGuidsW (0x4024d0, 0x40d708, {7c830ece-5fb3-417a-a1bd-508f45277356}, 1, 0x32f9e4, (null), (null), 0x40d710): stub
[02/02/14 22:21:58] - Running wine-1.7.8 regsvr32 xinput1_3.dll (Working directory : /home/bogus/.PlayOnLinux/ressources)
DllRegisterServer not implemented in DLL xinput1_3.dll
[02/02/14 22:21:58] - Running wine-1.7.8 regsvr32 xinput1_4.dll (Working directory : /home/bogus/.PlayOnLinux/ressources)
DllRegisterServer not implemented in DLL xinput1_4.dll
[02/02/14 22:21:59] - Running wine-1.7.8 regsvr32 xinput9_1_0.dll (Working directory : /home/bogus/.PlayOnLinux/ressources)
DllRegisterServer not implemented in DLL xinput9_1_0.dll
fixme:advapi:RegisterTraceGuidsW (0x4024d0, 0x40d6e8, {7c830ece-5fb3-417a-a1bd-508f45277356}, 1, 0x33f9e4, (null), (null), 0x40d6f0): stub
[02/02/14 22:21:59] - ----- Starting function POL_Function_OverrideDLL -----
[02/02/14 22:22:00] - Running wine-1.7.8 regedit /home/bogus/.PlayOnLinux//tmp/override-dll.reg (Working directory : /home/bogus/.PlayOnLinux/tmp)
[02/02/14 22:22:00] - Content of /home/bogus/.PlayOnLinux//tmp/override-dll.reg
-----------
REGEDIT4

[HKEY_CURRENT_USER\Software\Wine\DllOverrides]
"*xinput1_1"="native"
"*xinput1_2"="native"
"*xinput1_3"="native"
"*xinput9_1_0"="native"
-----------
[02/02/14 22:22:00] - ----- Ending function POL_Function_OverrideDLL -----
[02/02/14 22:22:00] - ----- Ending function POL_Install_xinput -----
[02/02/14 22:22:37] - ----- Starting function POL_Install_xinput -----
[02/02/14 22:22:39] - Running wine-1.7.8 regsvr32 xinput1_1.dll (Working directory : /home/bogus/.PlayOnLinux/ressources)
DllRegisterServer not implemented in DLL xinput1_1.dll
fixme:advapi:RegisterTraceGuidsW (0x4024d0, 0x40d708, {7c830ece-5fb3-417a-a1bd-508f45277356}, 1, 0x32f9e4, (null), (null), 0x40d710): stub
[02/02/14 22:22:39] - Running wine-1.7.8 regsvr32 xinput1_2.dll (Working directory : /home/bogus/.PlayOnLinux/ressources)
fixme:advapi:RegisterTraceGuidsW (0x4024d0, 0x40d708, {7c830ece-5fb3-417a-a1bd-508f45277356}, 1, 0x32f9e4, (null), (null), 0x40d710): stub
DllRegisterServer not implemented in DLL xinput1_2.dll
[02/02/14 22:22:40] - Running wine-1.7.8 regsvr32 xinput1_3.dll (Working directory : /home/bogus/.PlayOnLinux/ressources)
DllRegisterServer not implemented in DLL xinput1_3.dll
[02/02/14 22:22:40] - Running wine-1.7.8 regsvr32 xinput1_4.dll (Working directory : /home/bogus/.PlayOnLinux/ressources)
DllRegisterServer not implemented in DLL xinput1_4.dll
[02/02/14 22:22:40] - Running wine-1.7.8 regsvr32 xinput9_1_0.dll (Working directory : /home/bogus/.PlayOnLinux/ressources)
fixme:advapi:RegisterTraceGuidsW (0x4024d0, 0x40d6e8, {7c830ece-5fb3-417a-a1bd-508f45277356}, 1, 0x33f9e4, (null), (null), 0x40d6f0): stub
DllRegisterServer not implemented in DLL xinput9_1_0.dll
[02/02/14 22:22:41] - ----- Starting function POL_Function_OverrideDLL -----
[02/02/14 22:22:41] - Running wine-1.7.8 regedit /home/bogus/.PlayOnLinux//tmp/override-dll.reg (Working directory : /home/bogus/.PlayOnLinux/tmp)
[02/02/14 22:22:41] - Content of /home/bogus/.PlayOnLinux//tmp/override-dll.reg
-----------
REGEDIT4

[HKEY_CURRENT_USER\Software\Wine\DllOverrides]
"*xinput1_1"="native"
"*xinput1_2"="native"
"*xinput1_3"="native"
"*xinput9_1_0"="native"
-----------
[02/02/14 22:22:41] - ----- Ending function POL_Function_OverrideDLL -----
[02/02/14 22:22:42] - ----- Ending function POL_Install_xinput -----
[02/02/14 22:22:58] - Running wine-1.7.8 Steam.exe steam://rungameid/105600 (Working directory : /home/bogus/.PlayOnLinux/wineprefix/terraria/drive_c/Program Files/Steam)
fixme:heap:HeapSetInformation (nil) 1 (nil) 0
[02/02/14 22:23:08] - Running wine-1.7.8 Steam.exe steam://rungameid/105600 (Working directory : /home/bogus/.PlayOnLinux/wineprefix/terraria/drive_c/Program Files/Steam)
[0202/222310:ERROR:resource_bundle.cc(417)] Failed to load C:\Program Files\Steam\bin\chrome.pak
Some features may not be available.
[0202/222310:ERROR:network_change_notifier_win.cc(126)] WSALookupServiceBegin failed with: 8

Unhandled Exception: ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at System.Windows.Forms.UnsafeNativeMethods.GetMessageA(MSG& msg, HandleRef hWnd, Int32 uMsgFilterMin, Int32 uMsgFilterMax)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
at Microsoft.Xna.Framework.WindowsGameHost.Run()
at Microsoft.Xna.Framework.Game.RunGame(Boolean useBlockingRun)
at Terraria.Program.Main(String[] args)

So basically I did close all PoL software like you said, I installed xinput, and I did the debug thing with the log file above. I started up terraria I what happened before happened again, Once I chose my characters look and proceeded to choosing the name immediately as I attempted to type a letter it crashed.
allenskd Monday 3 February 2014 at 5:23
allenskdAnonymous

First time I see an error like that:

System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

So... I did a little search on it.

Solution from Morshu9001:

This has been happening for me in Age of Empires II HD in Steam. I found a solution after I saw this thread, and I hope it'll work for Terraria too.

Go to your Libraries section in the Wine config, and add "gameoverlayrenderer" as an override. Set it to "disabled". This will kill the Steam overlay ingame but will fix the problem.

Source: http://www.playonlinux.com/en/issue-3769.html

Kursed Monday 3 February 2014 at 22:59
KursedAnonymous

Thanks alot It Worked :D !
Kursed Monday 3 February 2014 at 23:14
KursedAnonymous

One more problem now XD
When I try to join a friend's server, it says "requesting tile data" and then nothing happens...
Kursed Monday 3 February 2014 at 23:22
KursedAnonymous

I ran it with debug once again
and it kept repeating this:

ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred

then:

fixme:thread:NtQueryInformationThread info class 16 not supported yet

allenskd Tuesday 4 February 2014 at 3:19
allenskdAnonymous

Can't help you there with the two issues :(

ALSA Lib underrun is pretty common at least for me, especially with Guild Wars 2... I have yet to find a solid solution. (Plus I'm behind pulseaudio which adds to the mess)

sometimes it's better to look directly into WineHQ.org app sections. You might find your answers there since people do How-Tos and help others. Most of the solutions provided in wineHQ can be applied to PoL