[Bug 24754] Multiple games have no text rendered due to ID3DXFont::DrawTextA/W method stubs (Nancy Drew 'Tale of the Twister', Europa Universalis Rome)

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Feb 27 06:08:35 CST 2014


https://bugs.winehq.org/show_bug.cgi?id=24754

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |focht at gmx.net
            Summary|Nancy Drew "Tale of the     |Multiple games have no text
                   |Twister" demo text not      |rendered due to
                   |rendered                    |ID3DXFont::DrawTextA/W
                   |                            |method stubs (Nancy Drew
                   |                            |'Tale of the Twister',
                   |                            |Europa Universalis Rome)

--- Comment #15 from Anastasius Focht <focht at gmx.net> ---
Hello folks,

refining summary as this affect a lot of games, targeting specific stub.

Another game: 'Europa Universalis Rome' demo

Download: http://www.gamershell.com/download_24442.shtml

--- snip ---
$ pwd
/home/focht/.wine/drive_c/Program Files/Paradox Interactive/Rome - Demo

$ wine ./Rome.exe
...
fixme:d3dx:ID3DXFontImpl_DrawTextA iface 0xbe012b0, sprite 0xbe011f0, string
"Loading Map-Sprites...", count 22, rect (0,660)-(1024,760), format 0x115,
color 0xffffffff stub!
...
--- snip ---

MSDN:
http://msdn.microsoft.com/en-us/library/windows/desktop/bb173962%28v=vs.85%29.aspx

Source:
http://source.winehq.org/git/wine.git/blob/7d1fa526e6b5e6588c819af7a4aa6f73ebaa4f8d:/dlls/d3dx9_36/font.c#l179

--- snip ---
179 static INT WINAPI ID3DXFontImpl_DrawTextA(ID3DXFont *iface, ID3DXSprite
*sprite,
180          const char *string, INT count, RECT *rect, DWORD format, D3DCOLOR
color)
181 {
182     FIXME("iface %p, sprite %p, string %s, count %d, rect %s, format %#x,
color 0x%08x stub!\n",
183            iface, sprite, debugstr_a(string), count,
wine_dbgstr_rect(rect), format, color);
184     return 1;
185 }
186
187 static INT WINAPI ID3DXFontImpl_DrawTextW(ID3DXFont *iface, ID3DXSprite
*sprite,
188            const WCHAR *string, INT count, RECT *rect, DWORD format,
D3DCOLOR color)
189 {
190     FIXME("iface %p, sprite %p, string %s, count %d, rect %s, format %#x,
color 0x%08x stub!\n",
191            iface, sprite, debugstr_w(string), count,
wine_dbgstr_rect(rect), format, color);
192     return 1;
193 }
--- snip ---

'winetricks d3dx9_36' works around and the text is rendered.

$ sha1sum Rome_Demo.exe 
57e1fc8f2a1b8eeb0a1ccff218010eb828b00159  Rome_Demo.exe

$ du -sh Rome_Demo.exe 
308M    Rome_Demo.exe

$ wine --version
wine-1.7.13-100-gfcae016

Regards

-- 
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