http://bugs.winehq.org/show_bug.cgi?id=28351
--- Comment #1 from Sagawa sagawa.aki+winebugs@gmail.com 2011-10-02 07:48:43 CDT --- Created attachment 36650 --> http://bugs.winehq.org/attachment.cgi?id=36650 proposed patch
I downloaded a demo executable from SEGA's official web site(*) and ran it on my wine environment. After the installation, as reported comment #1, it shows an error message that means "Failed to initialize Direct3D".
I made a patch which turns Wine's Direct3D device name into Windows one. Becuase this game seems to check against the D3D device *name* via IDirect3D::EnumDevices callbacks. This is a unusual way to look for a D3D device. Generally, an application calls IDirect3D7::CreateDevice directly with known IIDs.
* .. http://sega.jp/pc/hundreds/trial.shtml, the page is written in Japanese. sha1sum of 100swords.exe is 839509940718ec5db72c57f45a5a1bee06622c7f.