The forum

Help running Desktop Dungeons (free alpha)

Crashes on startup

Author Replies
LeoDeBruyn Saturday 14 December 2013 at 20:46
LeoDeBruynAnonymous

Hi there,

I'm a new PlayOnLinux user, though I've used Wine a bit in the past. I'm certainly no expert. I have installed a couple other games in PlayOnLinux using the built-in installers, and they work.

Can someone please assist me in getting Desktop Dungeons running? I installed the alpha (0.21) through PlayOnLinux, and it installs fine as an outside app (there's no script built in for it in POL) and creates an application icon, but it crashes at startup. There are various errors, but I don't think all of them are related to the problem. Can anyone help me narrow it down? I have a vague memory that I've installed this game in straight wine a long time ago on a different distro, but can't recall how I got it working. 

I hope we can get it working. POL is a great way to install games. Thanks so much. 

Here is the debug log, after running it a couple times:

[12/14/13 11:35:58] - Running wine- --version (Working directory : /home/leo/.PlayOnLinux)
wine-1.4.1

PlayOnLinux logfile
-------------------
Date: 12/14/13 11:35:58

> PlayOnLinux Version
  4.2.1
> uname -a
  Linux newbev 3.2.0-4-amd64 #1 SMP Debian 3.2.51-1 x86_64 GNU/Linux
> lsb_release -a
  
> wine --version
  wine-1.4.1
> POL_WINEVERSION
  
> WINEPREFIX
  /home/leo/.PlayOnLinux//wineprefix/ddungeons
> Distribution
  Debian GNU/Linux 7.2 (wheezy)
> glxinfo \| grep rendering
  direct rendering: Yes
    GL_NV_parameter_buffer_object2, GL_NV_path_rendering, 
> glxinfo \| grep renderer
  OpenGL renderer string: GeForce 8800 GTS/PCIe/SSE2
> OpenGL libs (Direct rendering testing)
  32bits direct rendering is enabled
  64bits direct rendering is enabled

[12/14/13 11:35:58] - This is a 32bits prefix!
[12/14/13 11:36:02] - Running wine- cmd /c echo %ProgramFiles% (Working directory : /home/leo/.PlayOnLinux)
C:\Program Files
[12/14/13 11:36:18] - Running wine- /home/leo/downloads/DesktopDungeons_v021.exe (Working directory : /)
fixme:shell:SHAutoComplete stub
fixme:ieframe:PersistStreamInit_InitNew (0x138340)
fixme:urlmon:URLMoniker_BindToObject use running object table
p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: cannot open shared object file: No such file or directory
fixme:iphlpapi:NotifyAddrChange (Handle 0xdbe92c, overlapped 0xdbe910): stub
fixme:ieframe:ClOleCommandTarget_QueryStatus (0x1383f4)->((null) 1 0x329230 (nil))
fixme:ieframe:ClOleCommandTarget_QueryStatus command_0: 27, 0x0
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 25
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 26
fixme:mshtml:OleControl_OnAmbientPropertyChange offline connection is not supported
fixme:mshtml:OleObject_SetClientSite silent == true
fixme:mshtml:prepare_for_binding silent == true
fixme:mshtml:prepare_for_binding offline == true
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 37 of group {000214d1-0000-0000-c000-000000000046}
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
fixme:ieframe:ClientSite_GetContainer (0x1383f4)->(0x32920c)
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 84 of group {000214d1-0000-0000-c000-000000000046}
fixme:ieframe:ClientSite_GetContainer (0x1383f4)->(0x32a02c)
fixme:imm:ImmReleaseContext (0x10088, 0x1774c90): stub
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 25
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 26
fixme:mshtml:prepare_for_binding silent == true
fixme:mshtml:prepare_for_binding offline == true
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 37 of group {000214d1-0000-0000-c000-000000000046}
fixme:win:EnumDisplayDevicesW ((null),0,0x32a350,0x00000000), stub!
fixme:mshtml:nsChannel_Cancel (0x17782c0)->(804b0002)
fixme:ieframe:ClientSite_GetContainer (0x1383f4)->(0x32b3ec)
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 69 of CGID_Explorer
fixme:ieframe:PropertyNotifySink_OnChanged unimplemented dispid 1005
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 69 of CGID_Explorer
fixme:mshtml:prepare_for_binding silent == true
fixme:mshtml:prepare_for_binding offline == true
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 37 of group {000214d1-0000-0000-c000-000000000046}
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 69 of CGID_Explorer
fixme:ieframe:PropertyNotifySink_OnChanged unimplemented dispid 1005
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 69 of CGID_Explorer
fixme:ieframe:ClientSite_GetContainer (0x1383f4)->(0x32b3e8)
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 25
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 26
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 29
fixme:ieframe:DocHostUIHandler_GetDropTarget (0x1383f4)
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 69 of CGID_Explorer
fixme:ieframe:PropertyNotifySink_OnChanged unimplemented dispid 1005
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 69 of CGID_Explorer
fixme:resource:GetGuiResources (0xffffffff,0): stub
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 26
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 29
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 103 of group {000214d1-0000-0000-c000-000000000046}
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 2315 of group {de4ba900-59ca-11cf-9592-444553540000}
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 35
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 28
fixme:shell:BrsFolder_OnCreate flags BIF_NEWDIALOGSTYLE partially implemented
fixme:ieframe:ControlSite_OnFocus (0x1383f4)->(0)
fixme:ieframe:InPlaceSite_OnInPlaceDeactivateEx fNoRedraw (1) ignored
fixme:mshtml:HlinkTarget_SetBrowseContext (0x139f08)->((nil))
fixme:ieframe:OleInPlaceObject_UIDeactivate (0x138340)
fixme:ieframe:OleInPlaceObject_InPlaceDeactivate (0x138340)
[12/14/13 11:37:18] - Running wine- DesktopDungeons.exe (Working directory : /home/leo/.PlayOnLinux/wineprefix/ddungeons/drive_c/Program Files/desktopdungeons)
p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: cannot open shared object file: No such file or directory
err:dc:CreateDCW no driver found for L"wineps.drv"
fixme:winspool:OpenPrinterW PRINTER_DEFAULTS ignored => (null),(nil),0x00000008
err:dc:CreateDCW no driver found for L"wineps.drv"
wine: Unhandled exception 0x0eedfade at address 0x0000:0x7b83b581 (thread 0009), starting debugger...
err:seh:setup_exception_record stack overflow 944 bytes in thread 0009 eip f765a43a esp 00230f80 stack 0x230000-0x231000-0x330000
[12/14/13 11:37:51] - Running wine- DesktopDungeons.exe (Working directory : /home/leo/.PlayOnLinux/wineprefix/ddungeons/drive_c/Program Files/desktopdungeons)
p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: cannot open shared object file: No such file or directory
err:dc:CreateDCW no driver found for L"wineps.drv"
fixme:winspool:OpenPrinterW PRINTER_DEFAULTS ignored => (null),(nil),0x00000008
err:dc:CreateDCW no driver found for L"wineps.drv"
wine: Unhandled exception 0x0eedfade at address 0x0000:0x7b83b581 (thread 0027), starting debugger...
err:seh:setup_exception_record stack overflow 944 bytes in thread 0027 eip f761e43a esp 00230f80 stack 0x230000-0x231000-0x330000

booman Tuesday 17 December 2013 at 18:01
booman

All of those ieframe errors probably means you need to have internet explorer 8 installed.
This library also installs Windows XP Service pack 3 too.

Did you do a "manual installation" when setting up Desktop Dungeons?
Make sure to install in a new virtual drive.

Where can I find the alpha?  I could test it too and see what libraries it requires.

To install IE8:
  1. Launch PlayOnLinux
  2. Click Configure
  3. Click Wine Tab
  4. Click Wine Configuration
  5. Make sure Windows version is Windows XP
  6. Click OK
  7. Click Install Components Tab
  8. Scroll down to IE8
  9. Click Install
Now try launching the game.
You may want to try a newer version of Wine too
ex:  1.6 or 1.7.8

† Booman †
Mint 20.2 64-bit | Nvidia 470 | GeForce GTX 1060
Linux for Beginners | List of Linux Games | My Games
PlayOnLinux Guides | PlayOnLinux Explained
LeoDeBruyn Tuesday 17 December 2013 at 19:57
LeoDeBruynAnonymous

Hi,
Thanks for the reply. I will check it when I get home later today.
If you want to try installing it yourself, it's here:
http://www.desktopdungeons.net/media/

I warn you, it's incredibly fun and well-designed. It can be addictive :)
booman Tuesday 17 December 2013 at 20:56
booman

Yeah, I've heard of it, but never really gave it any attention.
If you can't get it running, I'll try it out.
I have a super computer with Mint 14 and also have a Chromebook with ChUbuntu 12.04
So I can try it on both platforms and figure out how to make the game run.

Thanks for the link and the warning...

† Booman †
Mint 20.2 64-bit | Nvidia 470 | GeForce GTX 1060
Linux for Beginners | List of Linux Games | My Games
PlayOnLinux Guides | PlayOnLinux Explained
booman Thursday 19 December 2013 at 0:40
booman

I got it working in ChrUbuntu 64-bit
I just installed a new virtual drive and used Wine 1.5.18
Libraries:
  1. d3dx9
  2. dotnet30
  3. ie8
  4. corefonts
  5. tahoma

† Booman †
Mint 20.2 64-bit | Nvidia 470 | GeForce GTX 1060
Linux for Beginners | List of Linux Games | My Games
PlayOnLinux Guides | PlayOnLinux Explained
LeoDeBruyn Thursday 19 December 2013 at 5:33
LeoDeBruynAnonymous

Wow, that last advice worked. It runs great, with only two issues noticable.

First, there is no sound.

Second the little particle effects, which move very very slowly, but don't seem to hurt gameplay at all.

I am running a 64-bit Debian setup, but I set the game up on a 32-bit Wine virutal drive (it didn't like installing dotnet30 in a 64-bit drive).

I'd like to become more of an expert on this. Can you explain briefly why you chose to install those particular libraries, and why Wine 1.5.18?

Also, any hints on the sound?

Thanks!
booman Thursday 19 December 2013 at 14:34
booman

Ironically I can't get it running in Mint 14 32-bit
It ran fine on my Chromebook in ChrUbuntu, but now I'm having issues on my desktop.
Very strange!!

Make sure to always run in a 32-bit virtual drive because almost all games are only 32-bit compatible.
I chose Wine 1.5.18 because it is the only version of Wine that likes installing dotnet without errors or crashing. Not sure why, but it definitely works.

d3dx9 is directx 9. Most games require it, so it was just an an educated guess.
Since your debug showed a lot of "iframe" errors, that means its looking for Internet Explorer 8, but usually when a game requires Internet Explorer 8, that means it will need to be in a Windows XP environment with Dot Net Framework.

Games with these requirements usually need these libraries.

But, like I said... now I'm having problems running the game...
Exact same errors as you. Even with different versions of Wine

† Booman †
Mint 20.2 64-bit | Nvidia 470 | GeForce GTX 1060
Linux for Beginners | List of Linux Games | My Games
PlayOnLinux Guides | PlayOnLinux Explained
booman Thursday 19 December 2013 at 14:36
booman

err:ole:StdMarshalImpl_UnmarshalInterface Apartment not initializederr:ole:CoUnmarshalInterface IMarshal::UnmarshalInterface failed, 0x800401f0err:ole:CoGetClassObject no class object {e47fd9aa-43ac-462b-ab63-09e9f4d79847} could be created for context 0x4fixme:wtsapi:WTSQuerySessionInformationW Stub (nil) 0xffffffff 4 0xa7e97c 0xa7e96cfixme:heap:HeapSetInformation (nil) 1 (nil) 0fixme:process:SetProcessDEPPolicy (1): stubfixme:heap:HeapSetInformation (nil) 1 (nil) 0err:ole:StdMarshalImpl_UnmarshalInterface Apartment not initializederr:ole:CoUnmarshalInterface IMarshal::UnmarshalInterface failed, 0x800401f0err:ole:CoGetClassObject no class object {6ed04fad-882d-4105-87d0-ec63a52edef6} could be created for context 0x4fixme:advapi:RegisterEventSourceW ((null),L".NET Runtime Optimization Service"): stubfixme:advapi:DeregisterEventSource (0xcafe4242) stubfixme:wtsapi:WTSQuerySessionInformationW Stub (nil) 0xffffffff 4 0x97e66c 0x97e65cfixme:wtsapi:WTSQuerySessionInformationW Stub (nil) 0xffffffff 4 0x97e668 0x97e658fixme:wtsapi:WTSQuerySessionInformationW Stub (nil) 0xffffffff 4 0x97e668 0x97e658fixme:wtsapi:WTSQuerySessionInformationW Stub (nil) 0xffffffff 4 0x97e6b8 0x97e6a8fixme:wtsapi:WTSQuerySessionInformationW Stub (nil) 0xffffffff 4 0x97e66c 0x97e65c

Quote

† Booman †
Mint 20.2 64-bit | Nvidia 470 | GeForce GTX 1060
Linux for Beginners | List of Linux Games | My Games
PlayOnLinux Guides | PlayOnLinux Explained