https://bugs.winehq.org/show_bug.cgi?id=43180
Bug ID: 43180 Summary: KnightOfKnights crashes without native d3dxof Product: Wine Version: 2.10 Hardware: x86 URL: http://ftp.vector.co.jp/34/19/1946/Knight050.lzh OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3dxof Assignee: wine-bugs@winehq.org Reporter: dark.shadow4@web.de Distribution: ---
Created attachment 58451 --> https://bugs.winehq.org/attachment.cgi?id=58451 Logfile
This is an old freeware game that seems to use DirectX7. It has a lot of issues, black textures are addressed in Bug 43159.
Without native d3dxof, when starting the game, the game crashes.
When testing the game, it's advised to check "emulate a virtual desktop" in winecfg, since it only supports low-resolution fullscreen mode and is prone to crashes. Also, when you have a gamepad plugged in it might not accept keyboard input, keep that in mind when testing.
To work around other issues that crash the game, please run "winetricks gmdls directmusic".
How to test: To select an option, press x. Just click through your way through. When in "Stage Select", move left with the arrow keys, then press x. Press x again to start the game.
It then crashes. Logfile attached, but it's pretty useless I think. Download link attached.
There is a way to make it start without crashes, by patching the executable. If you turn the conditional branch at 0x00424474 into an unconditional jump, the game will load. Please note that this hack makes the game start, but the character models are visibly broken. If the same change is applied while the native d3dxof is used, it still renders fine.
I'm trying to find the cause, but I'm not yet very good at this, and don't really know how to go about it, so help is appreciated.