[Bug 48631] New: Death to Spies: Moment of Truth demo renders text as a black squares
https://bugs.winehq.org/show_bug.cgi?id=48631 Bug ID: 48631 Summary: Death to Spies: Moment of Truth demo renders text as a black squares Product: Wine Version: 5.2 Hardware: x86-64 URL: http://files.aspyr.com/support/DTS_Demo_Installer.zip OS: Linux Status: NEW Keywords: download Severity: minor Priority: P2 Component: directx-d3dx9 Assignee: wine-bugs(a)winehq.org Reporter: andrey.goosev(a)gmail.com Distribution: --- Created attachment 66482 --> https://bugs.winehq.org/attachment.cgi?id=66482 screenshot Setting d3dx9_32 to 'native,builtin' helps. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=48631 --- Comment #1 from Andrey Gusev <andrey.goosev(a)gmail.com> --- Created attachment 66483 --> https://bugs.winehq.org/attachment.cgi?id=66483 +d3dx -- 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.
https://bugs.winehq.org/show_bug.cgi?id=48631 Christian Costa <titan.costa(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |titan.costa(a)gmail.com --- Comment #2 from Christian Costa <titan.costa(a)gmail.com> --- I remember investigating this issue few years ago. It seemed D3DXGetImageInfoFromFileInMemory should return D3DFMT_A8R8G8B8 instead of D3DFMT_X8R8G8B8. I didn't find a clear way how TGA files are supposed to advertise if an alpha channel is present or not for 32 bpp and how windowscodecs.dll handles this. Maybe there's something similar to a patch in wine-staging where D3DFMT_A8R8G8B8 is returned when at least 1 pixel has a non zero alpha component. The patch fixes the cursor transparency in Runaway 2. Tests were upstreamed: https://source.winehq.org/git/wine.git/commitdiff/a30fd8c0e44833b2a6412987a3... Fix is still in wine-staging: https://github.com/wine-staging/wine-staging/blob/master/patches/d3dx9-32bpp... -- 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.
https://bugs.winehq.org/show_bug.cgi?id=48631 --- Comment #3 from Andrey Gusev <andrey.goosev(a)gmail.com> --- Yes, modified patch works with this. Thanks for the tip. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=48631 --- Comment #4 from Andrey Gusev <andrey.goosev(a)gmail.com> --- Created attachment 66491 --> https://bugs.winehq.org/attachment.cgi?id=66491 alpha for TGA -- 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.
https://bugs.winehq.org/show_bug.cgi?id=48631 --- Comment #5 from Christian Costa <titan.costa(a)gmail.com> --- Fix for ARGB BMP has been upstreamed: https://source.winehq.org/git/wine.git/commitdiff/8f6c832b3178279321140d4a79... -- 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.
https://bugs.winehq.org/show_bug.cgi?id=48631 --- Comment #6 from Christian Costa <titan.costa(a)gmail.com> --- Created attachment 69302 --> https://bugs.winehq.org/attachment.cgi?id=69302 Patch for Handling TGA ARGB This patch does the same for TGA. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=48631 --- Comment #7 from Andrey Gusev <andrey.goosev(a)gmail.com> --- (In reply to Christian Costa from comment #6)
Created attachment 69302 [details] Patch for Handling TGA ARGB
This patch does the same for TGA.
It works. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=48631 François Gouget <fgouget(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch CC| |fgouget(a)codeweavers.com -- 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.
https://bugs.winehq.org/show_bug.cgi?id=48631 --- Comment #8 from Andrey Gusev <andrey.goosev(a)gmail.com> --- Also helps with a white loading bar in Shadow Warrior. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=48631 Andrey Gusev <andrey.goosev(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Death to Spies: Moment of |Multiple games display text |Truth demo renders text as |as squares (Death to Spies: |a black squares |Moment of Truth, Shadow | |Warrior, Resident Evil 4 | |HD) -- 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.
https://bugs.winehq.org/show_bug.cgi?id=48631 Andrey Gusev <andrey.goosev(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED Fixed by SHA1| |46f08b169bc58f2ebb29f2bda84 | |3401bf2370930 --- Comment #9 from Andrey Gusev <andrey.goosev(a)gmail.com> --- Fixed by https://source.winehq.org/git/wine.git/commit/46f08b169bc58f2ebb29f2bda84340... -- 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.
https://bugs.winehq.org/show_bug.cgi?id=48631 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #10 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 7.0-rc2. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=48631 Michael Stefaniuc <mstefani(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |6.0.x -- 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.
https://bugs.winehq.org/show_bug.cgi?id=48631 Michael Stefaniuc <mstefani(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0.x |--- --- Comment #11 from Michael Stefaniuc <mstefani(a)winehq.org> --- Removing the 6.0.x milestone from bug fixes included in 6.0.4. -- 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.
participants (1)
-
WineHQ Bugzilla