[Bug 23706] New: Ship Simulator 2008 demo needs D3DXSaveSurfaceToFileInMemory
http://bugs.winehq.org/show_bug.cgi?id=23706 Summary: Ship Simulator 2008 demo needs D3DXSaveSurfaceToFileInMemory Product: Wine Version: unspecified Platform: x86 URL: http://www.shipsim.com/downloads/trailers OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3dx9 AssignedTo: wine-bugs(a)winehq.org ReportedBy: misha680(a)gmail.com CC: wine-bugs(a)winehq.org Once this bug is fixed: http://bugs.winehq.org/show_bug.cgi?id=22918 for example with bugs in this repository: http://github.com/misha680/wine/commits/ Ship Simulator 2008 demo crashes with this requirement: wine: Call from 0x7b8369f2 to unimplemented function d3dx9_36.dll.D3DXSaveSurfaceToFileInMemory, aborting wine: Unimplemented function d3dx9_36.dll.D3DXSaveSurfaceToFileInMemory called at address 0x7b8369f2 (thread 001c), starting debugger... Misha -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=23706 --- Comment #1 from Dmitry Timoshkov <dmitry(a)codeweavers.com> 2010-07-19 00:57:57 --- There is no need to cc: wine-bugs. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=23706 Dmitry Timoshkov <dmitry(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC|wine-bugs(a)winehq.org | -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=23706 Dmitry Timoshkov <dmitry(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |1.2 -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=23706 --- Comment #2 from Misha Koshelev <misha680(a)gmail.com> 2011-02-16 16:19:37 CST --- For what its worth I've started working on this. Misha -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=23706 --- Comment #3 from Misha Koshelev <misha680(a)gmail.com> 2011-02-17 15:17:51 CST --- Created an attachment (id=33321) --> (http://bugs.winehq.org/attachment.cgi?id=33321) Implement D3DXSaveSurfaceToFileInMemory fixme:wincodecs:ImagingFactory_CreateEncoder (0x1a0a58,{0af1d87e-fcfe-4188-bdeb-a7906471cbe3},(null),0x32fb64): stub 978 surface.c:532: Test failed: Got result 8876086c, expected 0 (D3D_OK) Unfortunately, ImagingFactory_CreateEncoder is not yet implemented. Misha -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=23706 --- Comment #4 from Vincent Povirk <madewokherd(a)gmail.com> 2011-02-17 16:10:01 CST --- CreateEncoder is just a wrapper around IWICBitmapEncoderInfo and CoCreateInstance. You shouldn't need it. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=23706 --- Comment #5 from Misha Koshelev <misha680(a)gmail.com> 2011-02-17 19:34:57 CST --- I see... sort of.(In reply to comment #4)
CreateEncoder is just a wrapper around IWICBitmapEncoderInfo and CoCreateInstance. You shouldn't need it.
I see... sort of. I understand that once I have a IWICBitmapEncoderInfo, I simply call IWICBitmapEncoderInfo_CreateInstance(bitmapencoderinfo, &bitmapencoder). However, I am a little unclear on the CoCreateInstance part. For example, for the imaging factory, I use: CoCreateInstance(&CLSID_WICImagingFactory, NULL, CLSCTX_INPROC_SERVER, &IID_IWICImagingFactory, (void**)&factory); to create the instance. If I have a GUID, such as GUID_ContainerFormatBmp, how do I use CoCreateInstance to create an instance of the appropriate IWICBitmapEncoderInfo? Is this then the CLSID? For example: CoCreateInstance(&GUID_ContainerFormatBmp, NULL, CLSCTX_INPROC_SERVER, &IID_IWICBitmapEncoderInfo, (void**)&bitmapencoderinfo); Also, would this not work then? CoCreateInstance(&GUID_ContainerFormatBmp, NULL, CLSCTX_INPROC_SERVER, &IID_IWICBitmapEncoder, (void**)&bitmapencoderinfo); and save the call to IWICBitmapEncoderInfo_CreateInstance? I don't mean to sound naive... but I learn on the fly. Thank you Misha -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=23706 --- Comment #6 from Vincent Povirk <madewokherd(a)gmail.com> 2011-02-17 19:43:51 CST --- You need a CLSID for the encoder you want. Either CLSID_WICBmpEncoder or CLSID_WICPngEncoder. The rest are currently unimplemented. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=23706 Misha Koshelev <misha680(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #33321|0 |1 is patch| | -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=23706 Józef Kucia <joseph.kucia(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |joseph.kucia(a)gmail.com --- Comment #7 from Józef Kucia <joseph.kucia(a)gmail.com> 2012-05-22 06:44:28 CDT --- Also affects King's Bounty demo. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=23706 Alexey Loukianov <mooroon2(a)mail.ru> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mooroon2(a)mail.ru --- Comment #8 from Alexey Loukianov <mooroon2(a)mail.ru> 2012-05-24 01:12:56 CDT --- I can confirm that KB:Legend and rest of the games from that series running the same engine are affected by this one. Game crashes as soon as I enter the game and try to open up in-game menu either by pressing "Menu" button with mouse or pressing "ESC" button on keyboard. Crash log consists of one simple string, so I post it here: wine: Call from 0x7b83a2b2 to unimplemented function d3dx9_36.dll.D3DXSaveSurfaceToFileInMemory, aborting -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=23706 --- Comment #9 from Józef Kucia <joseph.kucia(a)gmail.com> 2012-05-24 12:38:15 CDT --- Created attachment 40281 --> http://bugs.winehq.org/attachment.cgi?id=40281 Implement SaveSurfaceToFileInMemory -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=23706 runetmember(a)gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |runetmember(a)gmail.com -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=23706 Wylda <wylda(a)volny.cz> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, patch Status|UNCONFIRMED |NEW CC| |wylda(a)volny.cz Summary|Ship Simulator 2008 demo |d3dx9_36.dll.D3DXSaveSurfac |needs |eToFileInMemory is needed |D3DXSaveSurfaceToFileInMemo |by Ship Simulator 2008 |ry |demo, King's Bounty demo Ever Confirmed|0 |1 --- Comment #10 from Wylda <wylda(a)volny.cz> 2012-05-25 03:23:26 CDT --- Updating bug's fields... -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=23706 --- Comment #11 from Alexey Loukianov <mooroon2(a)mail.ru> 2012-05-25 06:47:29 CDT --- I can confirm that wine-1.5.4-336-g91e95e1 patched with attachment from comment #9 fixes King'g Bounty: The Lgend and other games that are based on the same engine. No visual glitches had been noticed so far so I assume it'd be safe to submit this patch for review and inclusion as soon as there would be some positive reports from other people concerning this patch. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=23706 --- Comment #12 from Wylda <wylda(a)volny.cz> 2012-05-25 22:52:45 CDT --- Works for me too. No more crashes under full version of KB:Legend & wine-1.5.5 & comment #9's patch :-D -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=23706 --- Comment #13 from Alexey Loukianov <mooroon2(a)mail.ru> 2012-05-27 14:25:27 CDT --- Ship Simulator 2008 is also "fixed" by patch from attachment #40281 - i.e. it does start up and no longer crashes on unimplemented D3DXSaceSurfaceToFileInMemory shortly after start up. Instead it crashes with something that looks like a heap and/or stack corruption (winedbg memory map post-mortem output seems to be bogus) inside libc having ID3DXBaseEffectImpl_GetTechniqueByName+0x78() being the callee in backtrace soon after accessing D3DXCreateEffect* stuff which is known to be broken currently. This crash is offtopic for this bug so I would post it to bug #13632. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=23706 Julian Rüger <jr98(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jr98(a)gmx.net -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=23706 Bruno Jesus <00cpxxx(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |00cpxxx(a)gmail.com --- Comment #14 from Bruno Jesus <00cpxxx(a)gmail.com> 2012-05-31 23:27:34 CDT --- Patch commited: http://source.winehq.org/git/wine.git/commitdiff/70b1bff69520c2ba82bb54b1233... -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=23706 --- Comment #15 from Alexey Loukianov <mooroon2(a)mail.ru> 2012-06-02 06:42:01 CDT --- Confirming fixed in wine-1.5.5-131-gbdd4294. Fixed by commit 70b1bf. King's Bounty now works well despite some fixmes in logs about unhandled filter 0x5 in D3DXLoadSurfaceFromMemory. Józef, thanks for your hard work on improving d3dx. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=23706 Bruno Jesus <00cpxxx(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |70b1bff69520c2ba82bb54b1233 | |8a76664c9e60a Status|NEW |RESOLVED Resolution| |FIXED --- Comment #16 from Bruno Jesus <00cpxxx(a)gmail.com> 2012-06-02 14:18:38 CDT --- Fixed. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=23706 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #17 from Alexandre Julliard <julliard(a)winehq.org> 2012-06-08 15:28:05 CDT --- Closing bugs fixed in 1.5.6. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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)
-
wine-bugs@winehq.org