https://bugs.winehq.org/show_bug.cgi?id=41157
Bug ID: 41157 Summary: DX11 game "Heretics" crashes with an error message after game menu is loaded Product: Wine Version: 1.9.16 Hardware: x86 OS: Windows Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d Assignee: wine-bugs@winehq.org Reporter: svyatpro@gmail.com
Created attachment 55378 --> https://bugs.winehq.org/attachment.cgi?id=55378 Heretics crash screenshot
When you run "Heretics" using WineD3D on Windows you recieve an error message.
Here is a link where you can find Heretics binaries and sources. https://zachhoefler.com/portfolio/heretics/
Can somebody test it on Linux?
https://bugs.winehq.org/show_bug.cgi?id=41157
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |https://zachhoefler.com/por | |tfolio/heretics/ Keywords| |download Status|UNCONFIRMED |NEW Ever confirmed|0 |1
--- Comment #1 from Bruno Jesus 00cpxxx@gmail.com --- I have a similar error when running it in Linux.
https://bugs.winehq.org/show_bug.cgi?id=41157
--- Comment #2 from Bruno Jesus 00cpxxx@gmail.com --- Created attachment 55380 --> https://bugs.winehq.org/attachment.cgi?id=55380 wine 1.9.16-git +relay log
Crash at line 6303 I believe.
https://bugs.winehq.org/show_bug.cgi?id=41157
Józef Kucia joseph.kucia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |joseph.kucia@gmail.com
--- Comment #3 from Józef Kucia joseph.kucia@gmail.com --- Created attachment 55381 --> https://bugs.winehq.org/attachment.cgi?id=55381 Hack
The game seems to be broken. It uses SRVs after releasing them.
Excerpt of the source code: --- Engine::Graphics::Texture2D::Texture2D(ID3D11ShaderResourceView *pSRView, UINT width, UINT height) { m_texture2d = pSRView; m_info.Width = width; m_info.Height = height; }
Engine::Graphics::Texture2D::~Texture2D(void) { SafeRelease(&m_texture2d); } ---
The constructor should AddRef "pSRView".
https://bugs.winehq.org/show_bug.cgi?id=41157
--- Comment #4 from Svyatpro svyatpro@gmail.com --- Hack fixes this bug.
https://bugs.winehq.org/show_bug.cgi?id=41157
--- Comment #5 from Gijs Vermeulen gijsvrm@gmail.com --- Does anyone still have the binary to test this? I can't seem to find a copy.