[Bug 28351] Hundred Swords demo: Fails to initialize Direct3D

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Oct 2 07:48:43 CDT 2011


http://bugs.winehq.org/show_bug.cgi?id=28351

--- Comment #1 from Sagawa <sagawa.aki+winebugs at 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.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list