[Bug 9672] The Sims crashes with page fault on read access

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Sep 19 21:12:57 CDT 2007


Jose Suarez <guebby at gmail.com> changed:

           What    |Removed                     |Added
                 CC|                            |guebby at gmail.com

--- Comment #4 from Jose Suarez <guebby at gmail.com>  2007-09-19 21:12:57 ---
I had the same problem and after reading some developing mails I tried to
modify a function called "IDirectDrawImpl_CreateNewSurface". In this function,
after a line like this:

  Format = PixelFormat_DD2WineD3D(&pDDSD->u4.ddpfPixelFormat);

I put this code:

  if (Format == WINED3DFMT_UNKNOWN)
    Format = 23; //WINED3DFMT_R5G6B5;

and now the game can start:

  $ wine explorer /desktop=foo,800x600 Sims.exe

but it still have some blinking artifacts, and I cannot see the mouse pointer.
I also have tested all the posible values for "Format" and, despite any value
different from "0" makes the game to start, some of that permits entering the
houses and some not (crashes the game). Those are the wined3d pixel format
values that do: 20, 21, 22, 23, 24, 25, 26, 28, 29, 30, 33, 51, 60, 61, 71, 75,
77, 79, 80.

Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.

More information about the wine-bugs mailing list