New version and wine
fot1
Member Posts: 74
Hello folks,
I've been developing a module and took a break for vacations. Now that I'm back, I'm having a couple of issues when running the toolset with wine.
The first issue is related to test module action (F9). It won't load the game. After some research, I figured out is related to dropping 64bit support to the game launcher, and my wine is running on a 32bit prefix. Unfortunately I was not able to use this feature even using a 64 bit prefix, because I believe the .NET won't work properly on 64 bit prefixes. Does anybody found a way to make this work?
output when running on a 32 bit prefix:
output when running on a 64 bit prefix:
The second issue is that in both prefixes, I can't hear anything while using the toolset. I can hear some sounds that represent errors sometimes, but activating the sounds on the three buttons in the top of the viewport won't work. Similarly, I can't hear the preview while painting sounds or selecting the area background music.
I wonder if those issues are related to my environment. So if you happen to have the toolset working fine through wine, please let me know.
Thanks for reading through.
I've been developing a module and took a break for vacations. Now that I'm back, I'm having a couple of issues when running the toolset with wine.
The first issue is related to test module action (F9). It won't load the game. After some research, I figured out is related to dropping 64bit support to the game launcher, and my wine is running on a 32bit prefix. Unfortunately I was not able to use this feature even using a 64 bit prefix, because I believe the .NET won't work properly on 64 bit prefixes. Does anybody found a way to make this work?
output when running on a 32 bit prefix:
0085:err:process:create_process 64-bit application L"nwmain.exe" not supported in 32-bit prefix
output when running on a 64 bit prefix:
001c:err:module:import_dll Library MSVCR100_CLR0400.dll (which is needed by L"C:\\windows\\Microsoft.NET\\Framework64\\v4.0.30319\\mscorsvw.exe") not found 001c:err:module:import_dll Library mscoree.dll (which is needed by L"C:\\windows\\Microsoft.NET\\Framework64\\v4.0.30319\\mscorsvw.exe") not found 001c:err:module:attach_dlls Importing dlls for L"C:\\windows\\Microsoft.NET\\Framework64\\v4.0.30319\\mscorsvw.exe" failed, status c0000135 000f:err:service:process_send_command service protocol error - failed to write pipe! 003c:err:module:import_dll Loading library OpenAL32.dll (which is needed by L"Z:\\home\\username\\.local\\share\\Steam\\steamapps\\common\\Neverwinter Nights\\bin\\win32\\nwmain.exe") failed (error c000007b). 003c:err:module:attach_dlls Importing dlls for L"Z:\\home\\username\\.local\\share\\Steam\\steamapps\\common\\Neverwinter Nights\\bin\\win32\\nwmain.exe" failed, status c0000135
The second issue is that in both prefixes, I can't hear anything while using the toolset. I can hear some sounds that represent errors sometimes, but activating the sounds on the three buttons in the top of the viewport won't work. Similarly, I can't hear the preview while painting sounds or selecting the area background music.
I wonder if those issues are related to my environment. So if you happen to have the toolset working fine through wine, please let me know.
Thanks for reading through.
1
Comments
Issue #2 is not related to Wine, it's a known bug in the Toolset build in 1.79. We're working to fix it for the next patch.
However I tend to use that for quickly go to the module when creating a new area to see if it feels right. I'll give another go on how to run NWN on wine64 later today.
With wine 3.0, assuming you want to create a new prefix on `/home/user/wineprefix/toolset`, do the following commands:
If you have a command not found error on wine or winetricks you need to install those commands on your distro, using your distro package manager.
Just to be clear, Neverwinter Nights is working perfectly in an earlier version of wine. This is the error:
~/Beamdog Library/00785/bin/win32$ wine nwmain.exe
00c0:fixme:kernelbase:AppPolicyGetThreadInitializationType FFFFFFFFFFFFFFFA, 00000000014DFE40
Registering crash signal handlers.
00b8:fixme:win:RegisterTouchWindow (0x2004e 00000003): stub
00b8:fixme:wgl:X11DRV_wglChoosePixelFormatARB unused pfAttribFList
00b8:fixme:imm:ImmReleaseContext (000000000002004E, 00000000015C5EB0): stub
00b8:fixme:msctf:ThreadMgr_ActivateEx Unimplemented flags 0x4
00b8:fixme:imm:ImeSetCompositionString PROBLEM: This only sets the wine level string
00b8:fixme:imm:ImeSetCompositionString Reading string unimplemented
00b8:fixme:imm:NotifyIME NI_CLOSECANDIDATE
00e4:fixme:ver:GetCurrentPackageId (00000000023DFE40 0000000000000000): stub
00f4:err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
00f4:fixme:sync:SetWaitableTimerEx (0000000000000160, 00000000026FF650, 0, 0000000000000000, 0000000000000000, 0000000000000000, 32) semi-stub
00b8:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
00b8:fixme:file:server_ioctl_file Unsupported ioctl 900a8 (device=9 access=0 func=2a method=0)
00b8:fixme:file:server_ioctl_file Unsupported ioctl 900a8 (device=9 access=0 func=2a method=0)
00b8:fixme:file:server_ioctl_file Unsupported ioctl 900a8 (device=9 access=0 func=2a method=0)
00b8:fixme:file:server_ioctl_file Unsupported ioctl 900a8 (device=9 access=0 func=2a method=0)
00b8:fixme:file:server_ioctl_file Unsupported ioctl 900a8 (device=9 access=0 func=2a method=0)
I think this crash has to do with something having changed in wine_development and not the game itself.
There might be a simple fix for this which I haven't figured out. I installed 'winbind' but that didn't fix the issue.
I've written of this issue elsewhere in the forums: https://forums.beamdog.com/discussion/69316/introducing-the-nwn-ee-development-branch#latest but thought I would try my luck here too.
This is my best approach try output:
Anybody currently running toolset on wine? What is your wine version/winetricks? Thanks!