[Bug 36960] New: Avencast: Rise of the Mage fails to start (D3DXCreateTextureFromFileA failed)
https://bugs.winehq.org/show_bug.cgi?id=36960 Bug ID: 36960 Summary: Avencast: Rise of the Mage fails to start (D3DXCreateTextureFromFileA failed) Product: Wine Version: 0.9.48. Hardware: x86 URL: http://www.strategyinformer.com/pc/avencast/demo/17710 .html OS: Linux Status: NEW Keywords: download Severity: normal Priority: P2 Component: directx-d3dx9 Assignee: wine-bugs(a)winehq.org Reporter: austinenglish(a)gmail.com Blocks: 10325 Created attachment 49077 --> https://bugs.winehq.org/attachment.cgi?id=49077 +d3dx,+d3d trace While looking at old bugs (bug 10325), I noticed that Avencast has a problem with d3dx: "DXC_Gfx: D3DXCreateTextureFromFileA failed: D3DERR_INVALIDCALL (file:graphics\\gui\\windows\\gui_energybar02_frame.tga)" terminal shows: fixme:d3d:wined3d_device_set_software_vertex_processing device 0x169430, software 0 stub! fixme:d3d:swapchain_gl_present WINED3D_SWAP_EFFECT_FLIP not implemented. fixme:ntdll:NtLockFile I/O completion on lock not implemented yet fixme:d3dx:D3DXCreateTextureFromFileInMemoryEx Texture creation failed. doing winetricks d3dx9 let's the game start without that error. I've attached a +d3d,+d3dx trace austin(a)aw25 ~ $ du -h avencastdemo.exe 309M avencastdemo.exe austin(a)aw25 ~ $ sha1sum avencastdemo.exe 704c0f3fd05405e00814282cc6247401b2884574 avencastdemo.exe austin(a)aw25 ~ $ wine --version wine-1.7.22 -- 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=36960 Matteo Bruni <matteo.mystral(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |matteo.mystral(a)gmail.com --- Comment #1 from Matteo Bruni <matteo.mystral(a)gmail.com> --- For the records, the game wants to create a DXT5 texture from a (non-DXT5) .tga file: trace:d3dx:D3DXCreateTextureFromFileExA device 0x15fb70, srcfile "graphics\\gui\\windows\\gui_energybar02_frame.tga", width 4294967294, height 4294967294, miplevels 1, usage 0, format 0x35545844, pool 0x1, filter 0x3, mipfilter 0x3, colorkey 0x00000000, srcinfo 0x1209034, palette (nil), texture 0x3f60e5c. -- 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=36960 super_man(a)post.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man(a)post.com --- Comment #2 from super_man(a)post.com --- This was the bug I was looking for. it's still valid with the demo. wine-1.7.54-179-ga0d0d0d -- 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=36960 joaopa <jeremielapuree(a)yahoo.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree(a)yahoo.fr --- Comment #3 from joaopa <jeremielapuree(a)yahoo.fr> --- Bug still occurs in current wine (3.11) -- 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=36960 --- Comment #4 from joaopa <jeremielapuree(a)yahoo.fr> --- Confirming with wine-4.0-rc6 -- 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=36960 Paul Gofman <gofmanp(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gofmanp(a)gmail.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=36960 --- Comment #5 from Gijs Vermeulen <gijsvrm(a)gmail.com> --- This bug is gone with wine-5.17. The game now chokes on d3dx9_mesh_OptimizeInplace returning E_NOTIMPL when D3DXMESHOPT_ATTRSORT is passed and `(flags & (D3DXMESHOPT_COMPACT | D3DXMESHOPT_IGNOREVERTS | D3DXMESHOPT_ATTRSORT)) == D3DXMESHOPT_COMPACT` is false. Commenting out this check makes the game work fully for me, without noticeable visual glitches. Matteo, is getting rid of this check an absolute no-go? -- 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=36960 Gijs Vermeulen <gijsvrm(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED URL|http://www.strategyinformer |https://www.gamepressure.co |.com/pc/avencast/demo/17710 |m/download.asp?ID=17605 |.html | Status|NEW |RESOLVED --- Comment #6 from Gijs Vermeulen <gijsvrm(a)gmail.com> --- (In reply to Gijs Vermeulen from comment #5)
This bug is gone with wine-5.17. The game now chokes on d3dx9_mesh_OptimizeInplace returning E_NOTIMPL when D3DXMESHOPT_ATTRSORT is passed and `(flags & (D3DXMESHOPT_COMPACT | D3DXMESHOPT_IGNOREVERTS | D3DXMESHOPT_ATTRSORT)) == D3DXMESHOPT_COMPACT` is false. Commenting out this check makes the game work fully for me, without noticeable visual glitches.
Matteo, is getting rid of this check an absolute no-go?
Nevermind, I completely missed <https://bugs.winehq.org/show_bug.cgi?id=48529#c1>. Marking this one FIXED then. -- 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=36960 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #7 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 5.18. -- 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 (2)
-
wine-bugs@winehq.org -
WineHQ Bugzilla