Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Wine DirectDraw = black display.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
IvanHoe
l33t
l33t


Joined: 05 Oct 2002
Posts: 658

PostPosted: Fri Jan 26, 2007 10:33 pm    Post subject: Wine DirectDraw = black display. Reply with quote

I'm trying to run this application in Wine. It's not a game (it's actually an electronic flight information system simulator) but it uses DirectDraw. Unfortunately, the output is just a black window. I tried setting DirectDrawRenderer to "opengl" but that made it even worse by obliterating the menu. Anyone know of a way to get this working correctly?
_________________
Whoever said 'a picture is worth a thousand words' was a cheapskate.
http://www.pbase.com/dot_borg
Back to top
View user's profile Send private message
killertux
Tux's lil' helper
Tux's lil' helper


Joined: 11 Dec 2003
Posts: 119

PostPosted: Sat Jan 27, 2007 10:29 pm    Post subject: Reply with quote

I dout you get it working without additional patches... or hacks.

I guess the problem is likely that app mix gdi and ddraw that causes Wine to draw black surface above the app surface... other
possibily is that app fakes use of Direct3D even if it still uses just 2D in that case you might also get black screen.
Back to top
View user's profile Send private message
blice
Guru
Guru


Joined: 12 Feb 2005
Posts: 598
Location: D- 26188

PostPosted: Sun Jan 28, 2007 10:34 am    Post subject: Reply with quote

Try to replace the .wine/drive_c/windows/ddraw.dll with a "hacked" version.

http://www.nanacide.com/wahelp/installguide-original4.php
This is for Worms , but the dll should work for other Ddraw Games too .

Edit: Works.
http://blice.de/design/enigma_scrsht.png
_________________
Gentoo seit 2004.3
Skype: bodokhan
SecondLife: Bodokhan Fall
Email: blice@gmx.de
Back to top
View user's profile Send private message
IvanHoe
l33t
l33t


Joined: 05 Oct 2002
Posts: 658

PostPosted: Sun Jan 28, 2007 6:49 pm    Post subject: Reply with quote

The screen is supposed to look like the device, here:

http://www.mglavionics.co.za/Images/Enigmasmall.jpg

I get the same thing you do if I move the window to the upper left corner of the screen.

http://i5.pbase.com/o6/09/605909/1/73666621.UDDOp0TC.Screenshot.jpg

Anyway, I added a bug to winehq.

http://bugs.winehq.org/show_bug.cgi?id=7270
_________________
Whoever said 'a picture is worth a thousand words' was a cheapskate.
http://www.pbase.com/dot_borg
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum