Page 1 of 1

Using WINE to run Windows-Compiled Games in PB

Posted: Thu Jul 17, 2008 3:52 am
by dracflamloc
I have a mmorpg: http://mmorpg.dracsoft.com/

I used to compile a linux version of the game, but I was curious to see if the game would run in linux using WINE, to save myself the coding headache.

The installer and autoupdater work perfect. However once I try to run the actual game, i get the following:

Code: Select all

Decayed of Zombies/client$ wine client.exe
fixme:win:EnumDisplayDevicesW ((null),0,0x32f9bc,0x00000000), stub!
fixme:d3d:WineD3D_ChoosePixelFormat Add OpenGL context recreation support to SetDepthStencilSurface
err:d3d:WineD3D_ChoosePixelFormat Can't find a suitable iPixelFormat
fixme:d3d:WineD3D_ChoosePixelFormat Add OpenGL context recreation support to SetDepthStencilSurface
fixme:wtsapi:WTSRegisterSessionNotification Stub 0x50110 0x00000000
Segmentation fault
I'm running this on a core2duo with intel 945gm chipset, if that might matter. Has anyone else had issues running windows pb games in linux under wine.

Also, I'm using ubuntu 8.04 with latest available wine package from repository.

Posted: Fri Jul 18, 2008 11:37 am
by KarLKoX
For me, it seems to be a linux driver problem : Wine try to create a stencil surface by using the same call with OpenGL but the drivers seems to not have a compatible pixelFormat used by the game and those supported by your gpu/driver.
The best way to be sure is to test with a true gpu ;)

Posted: Fri Jul 18, 2008 1:50 pm
by dracflamloc
That was my thought as well. However when you think about it, this game is just using directdraw for a 2D window. I'm sure this gfx chip can handle 32bpp, and it runs opengl apps just fine. I'll test it on another computer, but its perplexing to me that it wouldn't work is all. It could just be a limitation of wine + this card.