PDA

View Full Version : PTanks on Ubuntu Linux Question


mini_gamer1896
08-25-2006, 02:23 AM
I would like to try to get Pocket Tanks Deluxe v1.0b to run properly on Ubuntu Linux (http://www.ubuntu.com) via WINE (http://www.winehq.com) (a Windows emulator). It runs well, but I get no sound/music (am looking into getting more recent sound libs for this) and the two panels in GNOME aren't wanting to be drawn over. I can see everything that is necessary to play if I slide them to one side or the other (looks better than a auto-hide), but would prefer a more permanent solution (Screen shots are at end).


It shows this when starting up (edited):
>:wine ptanks
Xlib: extension "GLX" missing on display ":0.0".
fixme:ddraw:Main_DirectDraw_SetCooperativeLevel (0x7fd47dd8)->((nil),00000008)
Xlib: extension "GLX" missing on display ":0.0".
fixme:ddraw:Main_DirectDraw_SetCooperativeLevel (0x7fd4dec0)->(0x20024,00000008)fixme:ddraw:Main_DirectDraw_SetC ooperativeLevel (0x7fd4dec0)->(0x20024,00000011)
>:err:wave:DSDB_MapBuffer Could not map sound device for direct access (Input/output error)
err:wave:DSDB_MapBuffer Please run winecfg, open "Audio" page and set "Hardware Acceleration" to "Emulation".
Error!
Error initializing output device.
fixme:ddraw:DIB_DirectDrawSurface_Blt Can't handle DDBLT_WAIT flag right nowI tried with no avail to get to the Audio page. Got this:
ALSA lib seq_hw.c:456:(snd_seq_hw_open) open /dev/snd/seq failed: No such file or directory
Creating link /home/dayj/.kde/socket-UBUNTU-J.
can't create mcop directory
(Am planning to upgrade all the ALSA/other sound/audio lib's so as to hopefully get this solved.)

And when it shuts down, it adds this:
fixme:ddraw:Main_DirectDraw_SetCooperativeLevel (0x7fd4dec0)->(0x20024,00000008)

Am using Pocket Tanks Deluxe v1.0b, Ubuntu 6.06, & WINE 0.9.12.


Great job so far!

~J

Sidenote: Runs perfectly on Vista B2!
_______________________
Screen shots:


With panels slid to right side of the screen:
http://i103.photobucket.com/albums/m125/optiquest86/Screenshot-2.png


Screen shot of as to what it looks like when normally running:
http://i103.photobucket.com/albums/m125/optiquest86/Screenshot-1.png



Version Screen shot:
http://i103.photobucket.com/albums/m125/optiquest86/PTankVer.png

ben
08-25-2006, 01:22 PM
From what I understand, Ubuntu builds WINE with aRts support, but Ubuntu normally doesn't have aRts, only Kubuntu does. I think that's what's causing the audio problems.

You might try running Pocket Tanks in windowed mode (F7) to get around WINE not putting Pocket Tanks over the GNOME panel.

As for the Xlib: errors, they're harmless. That's just X11 warning you that you don't have 3D acceleration (which Pocket Tanks doesn't need anyway).

The rest are WINE stubs, which are up to the WINE developers to fix. Since Pocket Tanks works, they're apparently unimportant.