https://bugs.winehq.org/show_bug.cgi?id=38138
--- Comment #11 from Béla Gyebrószki gyebro69@gmail.com --- (In reply to Paul Gofman from comment #8)
Created attachment 63280 [details] Use 8 bit value for D3DRS_ALPHAREF
Sorry, the patch in previous message accidentally got some of my debug leftovers, replacing it.
Regarding d3dx, the problems with builtin one relate to DXTN textures creation and some mesh functions. The game works with builtin d3dx from staging (with aliasing on some textures probably due to missing mipmap generation which it warns about).
The patch fixes the problem for me (Steam version of the game).