[Bug 22434] Hype - The Time Quest crashes when the game should come up (looks like null pointer dereference to me)

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Apr 23 02:49:55 CDT 2010


http://bugs.winehq.org/show_bug.cgi?id=22434





--- Comment #6 from Wylda <wylda at volny.cz>  2010-04-23 02:49:54 ---
(In reply to comment #5)
> I suspect that your card doesn't support D24S8 depth buffers.

Hi Stefan, i own nvidia 8600GT v195.36.15.

The situation is, that when you run the game in 1.1.43, it immediately goes
back to console. This can be "fixed" by reverting:

 * 8662bd7555593fe010b02e0f2f0bd80fd858ed41
 * ddraw: Fix some Z buffer formats.


That's not possible for version higher than 1.1.29, so i made my own hack:

--- a/dlls/ddraw/utils.c.orig
+++ b/dlls/ddraw/utils.c
-            DDPixelFormat->u1.dwZBufferBitDepth = 32;
+            DDPixelFormat->u1.dwZBufferBitDepth = 24;

-            DDPixelFormat->u1.dwZBufferBitDepth = 32;
+            DDPixelFormat->u1.dwZBufferBitDepth = 24;

-            DDPixelFormat->u1.dwZBufferBitDepth = 32;
+            DDPixelFormat->u1.dwZBufferBitDepth = 24;


Than the game starts and displays white screen with crash. This is regression
since 1.1.13 caused by commit:

 * efcecb9b99331a39f2f96d456df280a15a9557ca
 * ddrawex: Implement a wrapper around IDirectDraw.

Revering this one on top of 1.1.43 fails, but i did that anyway and than rip
dlls/ddrawex/Makefile.in so it successfully compiles.

Since that, Hype - The time quest starts again on 1.1.43 :-D

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list