http://bugs.winehq.org/show_bug.cgi?id=5694
Summary: Lionhead Black & White 2 demo crashes Product: Wine Version: CVS Platform: Other URL: http://bwgame.com OS/Version: other Status: NEW Keywords: download Severity: normal Priority: P2 Component: wine-directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: dank@kegel.com
The demo is a 650MB download. It installs without trouble. You're given the choice to install Direct X. (I chose 'no'.) To run the game, you need first to install one native dll, d3dx9_25, as with other games (e.g. http://appdb.winehq.org/appview.php?versionId=4905&iTestingId=3737) although perhaps just clicking 'ok' when the installer wants to install Direct X would do. So that's the first bug.
The second bug is the game calls the unimplemented function SetHeapInformation. Adding an 'do nothing and always succeed' implementation of that function (attached) helps it get further. The next problem is that the game wants "version 1.1 pixel shaders", and refuses to start, at least for me. Here's the console output:
dank@lappy:~/.wine/drive_c/Program Files/Lionhead Studios/Black & White 2 Demo$ wine BW2Demo.exe /MINSPEC fixme:system:SystemParametersInfoW Unimplemented action: 112 (SPI_GETMOUSESPEED) fixme:powermgnt:GetSystemPowerStatus (): stub, harmless. fixme:process:GetProcessWorkingSetSize (0xffffffff,0x7fc8f70c,0x7fc8f710): stub fixme:process:SetProcessWorkingSetSize (0xffffffff,134217728,475004928): stub - harmless fixme:process:GetProcessWorkingSetSize (0xffffffff,0x7fc8f70c,0x7fc8f710): stub fixme:d3d:IWineD3DDeviceImpl_GetAvailableTextureMem (0x7fe3ec68) : stub, emulating 64MB for now, returning 64MB fixme:ddraw:IDirectDrawImpl_SetCooperativeLevel (0x7fe3e5e0)->((nil),00000008) fixme:d3d:IWineD3DStateBlockImpl_Release Releasing primary stateblock fixme:win:WIN_CreateWindowEx Parent is HWND_MESSAGE fixme:d3d:IWineD3DImpl_GetDeviceCaps Caps support for directx9 is nonexistent at the moment! fixme:d3d:IWineD3DImpl_CheckDeviceMultiSampleType Quality levels unsupported at present fixme:d3d:IWineD3DImpl_GetDeviceCaps Caps support for directx9 is nonexistent at the moment!
(and then it gives a dialog box saying I don't have shader support. Clicking 'ok' crashes.)