http://bugs.winehq.org/show_bug.cgi?id=30137
Bug #: 30137 Summary: Depth Hunter unable to take photos without native d3dx9_36 (D3DXSaveSurfaceToFileA not implemented) Product: Wine Version: 1.4 Platform: x86 URL: http://www.biart7.com/dh_demo.zip OS/Version: Linux Status: NEW Keywords: download Severity: minor Priority: P2 Component: directx-d3dx9 AssignedTo: wine-bugs@winehq.org ReportedBy: gyebro69@gmail.com CC: wine-bugs@winehq.org Classification: Unclassified
Depth Hunter is an underwater fishing game. The game starts and runs fine using only built-in d3dx9* dlls, but taking photos in the game doesn't work without native d3dx9_36. There is no error message or crash, photos are simply not saved.
These messages are showing up in the console when I take a picture in the game:
fixme:d3dx:D3DXSaveSurfaceToFileA (0x32fa58, 0, 0x29e9520, (nil), 0x32f848): stub fixme:d3dx:D3DXSaveSurfaceToFileA (0x32f858, 0, 0x2745b40, (nil), 0x32f838): stub
Steps to reproduce the problem with the demo version: 1. winetricks mfc42 2. install the demo. At the end of installation choose to *not* to install DirectX. 3. start the demo with depthhunter.exe. Start a new game. While in the game press 'r' to bring up the photo camera and press the left mouse button to take a photo. Although the demo version lacks the in-game photo gallery feature, you can find the pictures in ~/DepthHunter/Photos directory. Pictures are in bmp format.
Native d3dx9_36.dll is a workaround.