The Sims 1 crashed during loading screen

Questions about Wine on Linux
Locked
Damien948
Newbie
Newbie
Posts: 3
Joined: Sat Jan 03, 2015 5:41 am

The Sims 1 crashed during loading screen

Post by Damien948 »

Hello,

I decided to try running The Sims 1 under Wine (POL). I was fighting a bit with it and now I am at the moment, when game starts, but crashes during loading screen. I have installed whole DirectX 9, D3Dcompiler, directplay, directmusic, dsound, dxdiag; I disabled GLSL. Earlier game did not even run. I use Wine 1.7.15, POL 4.2.5,my Linux is Debian Testing. I have installed the proprietary drivers (173xx) for nVidia GeFroce FX 5700.
When I want to play Warblade, it works fine, as in Windows. But The Sims don't want to work...

Log:

Code: Select all

[b][01/03/15 11:37:05][/b] - Running wine- Sims.exe (Working directory : /home/damian/.PlayOnLinux/wineprefix/default/drive_c/Program Files/Maxis/Les Sims)
err:winediag:wined3d_dll_init The GLSL shader backend has been disabled. You get to keep all the pieces if it breaks.
fixme:win:EnumDisplayDevicesW ((null),0,0x32f048,0x00000000), stub!
fixme:d3d:wined3d_device_decref Device released with resources still bound, acceptable but unexpected.
fixme:d3d:wined3d_device_decref Leftover resource 0x158028 with type WINED3D_RTYPE_SURFACE (0x1).
fixme:d3d:wined3d_device_decref Leftover resource 0x157ed0 with type WINED3D_RTYPE_TEXTURE (0x3).
fixme:win:EnumDisplayDevicesW ((null),0,0x32f048,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x32f2a8,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x32f5f8,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x32f5f8,0x00000000), stub!
fixme:amstream:IAMMultiMediaStreamImpl_AddMediaStream Specifying a stream object in params is not yet supported
fixme:ddraw:ddraw_surface7_Flip Ignoring flags 0x1.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: The Sims 1 crashed during loading screen

Post by dimesio »

Damien948
Newbie
Newbie
Posts: 3
Joined: Sat Jan 03, 2015 5:41 am

Re: The Sims 1 crashed during loading screen

Post by Damien948 »

Then can I only wait for somebody will fix it?

In that link I see, it's possible to run game with artifacts:
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.
But where should I put that code ? What should I edit?
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: The Sims 1 crashed during loading screen

Post by dimesio »

You would have to edit the source code and build Wine yourself.
Damien948
Newbie
Newbie
Posts: 3
Joined: Sat Jan 03, 2015 5:41 am

Re: The Sims 1 crashed during loading screen

Post by Damien948 »

Ok, I have changeed Wine version by using PlayOnLinux feature to 1.4.1 and game works. It also works with 1.4 and 1.3.37 versions. Everything works well except the sims unfortunately. They are invisible and I can only see houses (without roofs...) with all objects. Should I put it here?: https://appdb.winehq.org/objectManager. ... n&iId=8696
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: The Sims 1 crashed during loading screen

Post by dimesio »

No. POL is not supported here, and test reports using it are not accepted in the AppDB.
Locked