https://bugs.winehq.org/show_bug.cgi?id=43980
Bug ID: 43980 Summary: Missing geometry in .hack//G.U Last Recode Product: Wine Version: 2.15 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3dx11 Assignee: wine-bugs@winehq.org Reporter: mailRoxas@gmail.com Distribution: ---
Created attachment 59636 --> https://bugs.winehq.org/attachment.cgi?id=59636 Fragment shader with problematic discard line commented out.
Various models are not rendered correctly in .hack//G.U Last Recode. The problematic shaders seems to have generated if branch with discard that seems to cause this.
Attached is example of wine generated GLSL shader with problematic line commented.
The game looks like this by default: https://my.mixtape.moe/zcrgqq.png
And with hack applied that removes discards: https://my.mixtape.moe/fqffup.png
I wrote this small tool to apply dump and replace opengl resources in game and apply runtime hacks, as none of the opengl debuggers seemed to work with the game: https://github.com/Cloudef/glinject
https://bugs.winehq.org/show_bug.cgi?id=43980
--- Comment #1 from Jari Vetoniemi mailRoxas@gmail.com --- Created attachment 59637 --> https://bugs.winehq.org/attachment.cgi?id=59637 +d3d_shader log
https://bugs.winehq.org/show_bug.cgi?id=43980
--- Comment #2 from Jari Vetoniemi mailRoxas@gmail.com --- Removing discards completely of course breaks some other aspects, such as blending of grass. The alpha is ignored and instead rendered black.
https://bugs.winehq.org/show_bug.cgi?id=43980
Jari Vetoniemi mailRoxas@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Distribution|--- |ArchLinux
https://bugs.winehq.org/show_bug.cgi?id=43980
Józef Kucia joseph.kucia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |joseph.kucia@gmail.com Component|directx-d3dx11 |directx-d3d
https://bugs.winehq.org/show_bug.cgi?id=43980
Józef Kucia joseph.kucia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|UNCONFIRMED |NEW
--- Comment #3 from Józef Kucia joseph.kucia@gmail.com --- Please try if the patch from bug 43131 fixes the issue.
https://bugs.winehq.org/show_bug.cgi?id=43980
--- Comment #4 from Jari Vetoniemi mailRoxas@gmail.com --- Yup, that patch works. Geometry is visible now and alpha blends correctly. Glyphs in subtitles still sometimes have black background but may not be related to this issue.
https://bugs.winehq.org/show_bug.cgi?id=43980
Józef Kucia joseph.kucia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |DUPLICATE Status|NEW |RESOLVED
--- Comment #5 from Józef Kucia joseph.kucia@gmail.com --- Thanks for testing. Resolving as duplicate.
*** This bug has been marked as a duplicate of bug 43131 ***
https://bugs.winehq.org/show_bug.cgi?id=43980
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- Closing Duplicate