http://bugs.winehq.org/show_bug.cgi?id=13632
Summary: ShipSimulator 2008 freezes after start playing Product: Wine Version: 1.0-rc3 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: roland@mxchange.org
Created an attachment (id=13616) --> (http://bugs.winehq.org/attachment.cgi?id=13616) Default logfile from demo version
The game (demo and retail likewise!) do freeze after I have started a game. It doesn't depend on if I choose the only one mission in demo or try to sail arround in free mode with the retail version. The game is saying "Loading: 0%" in the screen and no more.
Additionally I have found out some strange things like missing menu entries in selection boxes and the sea surface has a lot lines over it (looks like the mesh lines to me). Attached is a default log file. I will add a relay log shortly.
http://bugs.winehq.org/show_bug.cgi?id=13632
Roland Haeder roland@mxchange.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |roland@mxchange.org
--- Comment #1 from Roland Haeder roland@mxchange.org 2008-06-03 07:16:51 --- Btw: The retail version is at latest available path (1.4.2). :) But you can try it with the demo version. Just start playing and chosse the only one playable mission. Freeze!
http://bugs.winehq.org/show_bug.cgi?id=13632
--- Comment #2 from Roland Haeder roland@mxchange.org 2008-06-03 08:28:42 --- Here is the relay log: http://www.mxchange.org/downloads/wine-logs/shipsimulator2008/relay.log.bz2
Took me a lot time to create it. What I did to create it:
I started the game (so?), pressed "Play" and then I was not able to choose a mission. But sometimes this works. Strange, you may investigate on this matter.
http://bugs.winehq.org/show_bug.cgi?id=13632
Lei Zhang thestig@google.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #13616|application/octet-stream |text/plain mime type| |
http://bugs.winehq.org/show_bug.cgi?id=13632
Lei Zhang thestig@google.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |http://www.shipsim.com/downl | |oads/trailers.php Keywords| |download
http://bugs.winehq.org/show_bug.cgi?id=13632
--- Comment #3 from Lei Zhang thestig@google.com 2008-06-05 02:01:47 --- What video card / driver version are you using? The demo worked for me with a radeon x600 and fglrx version 8.29.6. It was slow and had some rendering issues, but it worked.
http://bugs.winehq.org/show_bug.cgi?id=13632
--- Comment #4 from Roland Haeder roland@mxchange.org 2008-06-05 04:50:57 --- Created an attachment (id=13711) --> (http://bugs.winehq.org/attachment.cgi?id=13711) glxinfo
A MSI GeForce 7600 GT with 512 MB, prohibitory nvidia drivers. See attachment for glxinfo output and "lspci -x".
http://bugs.winehq.org/show_bug.cgi?id=13632
--- Comment #5 from Roland Haeder roland@mxchange.org 2008-06-05 04:51:17 --- Created an attachment (id=13712) --> (http://bugs.winehq.org/attachment.cgi?id=13712) lspci -x
http://bugs.winehq.org/show_bug.cgi?id=13632
Lei Zhang thestig@google.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #6 from Lei Zhang thestig@google.com 2008-06-05 23:15:17 --- Crashes on my geforce 6200 / driver 169.12 as well.
http://bugs.winehq.org/show_bug.cgi?id=13632
--- Comment #7 from Roland Haeder roland@mxchange.org 2008-06-06 06:14:20 --- What "assembler" have you? I had an PNY (low-cost class B card) and MaxPayne2 + HL2 where both crashing. Now I have a MSI here and the same game is not crashing anymore.
http://bugs.winehq.org/show_bug.cgi?id=13632
--- Comment #8 from Lei Zhang thestig@google.com 2008-06-06 15:54:22 --- You mean what brand is my video card? I have no idea actually (it came in a white box)
http://bugs.winehq.org/show_bug.cgi?id=13632
--- Comment #9 from Roland Haeder roland@mxchange.org 2008-06-06 16:28:52 --- What I mean is that you may want to find out which kind of graphics card you have. A low-cost one or a better one. Low-cost cards still have a GeForce chip attached to the board but the other parts on the card like pipelines or RAM might sometimes be damaged. So the low-cost manufacturer is mostly reducing the bandwidth for data flow to avoid trouble in his own win32 drivers, prohibitory Linux kernel modules are mostly not shipped so you have to take the NVIDIA drivers if you want OpenGL working. If you do so these generic NVIDIA drivers will set normal (non-reduced) data bandwidth which causes the crash of the card.
The "solution" here is to buy a "class A" card, a better one where the manufacturer (like MSI or ASUS) has taken more care about his pipelines and RAM.
I hope this is now more clear to you what I want from you and why. :) I paid 100 EURO here, thats about $90, for my MSI card which is really a fair price for good quality.
http://bugs.winehq.org/show_bug.cgi?id=13632
--- Comment #10 from Austin English austinenglish@gmail.com 2009-01-03 17:21:19 --- In git, I can't select a ship, so can't test this bug.
http://bugs.winehq.org/show_bug.cgi?id=13632
--- Comment #11 from Roland Haeder roland@mxchange.org 2010-01-11 19:19:17 --- I have updated wine to recent version (git) and with the demo I got this at the end of the output:
wine: Call from 0x7ee0ca62 to unimplemented function d3dx9_36.dll.D3DXCreateTextureFromFileInMemoryEx, aborting
Attached is a logfile from console
http://bugs.winehq.org/show_bug.cgi?id=13632
Roland Haeder roland@mxchange.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #13616|0 |1 is obsolete| |
--- Comment #12 from Roland Haeder roland@mxchange.org 2010-01-11 19:20:21 --- Created an attachment (id=25681) --> (http://bugs.winehq.org/attachment.cgi?id=25681) console log
This makes attachment 13616 obsolete because these messages are no longer popping up.
http://bugs.winehq.org/show_bug.cgi?id=13632
Roland Haeder roland@mxchange.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |directx-d3d Version|1.0-rc3 |1.1.36
http://bugs.winehq.org/show_bug.cgi?id=13632
Roland Haeder roland@mxchange.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |blocker
http://bugs.winehq.org/show_bug.cgi?id=13632
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|1.1.36 |1.0-rc3 Severity|blocker |normal
--- Comment #13 from Nikolay Sivov bunglehead@gmail.com 2010-01-11 19:22:31 --- Don't change version field, just put a comment that you tested with 1.1.36.
http://bugs.winehq.org/show_bug.cgi?id=13632
--- Comment #14 from Roland Haeder roland@mxchange.org 2010-01-11 19:25:01 --- Created an attachment (id=25682) --> (http://bugs.winehq.org/attachment.cgi?id=25682) Backtrace for all threads.
http://bugs.winehq.org/show_bug.cgi?id=13632
--- Comment #15 from Roland Haeder roland@mxchange.org 2010-01-11 19:28:27 --- Ok, sorry. Should I better open a new ticket?
http://bugs.winehq.org/show_bug.cgi?id=13632
Roland Haeder roland@mxchange.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #25682|Backtrace for all threads. |Backtrace for all threads. description| |wine 1.1.36
http://bugs.winehq.org/show_bug.cgi?id=13632
Roland Haeder roland@mxchange.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #25681|console log |console log, wine 1.1.36 description| |
http://bugs.winehq.org/show_bug.cgi?id=13632
Roland Haeder roland@mxchange.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #13616|Default logfile from demo |Default logfile from demo description|version |version, wine 1.0-rc3
--- Comment #16 from Roland Haeder roland@mxchange.org 2010-01-11 19:31:11 --- (From update of attachment 13616) Better we close this bug and I open a new one for updated wine version.
http://bugs.winehq.org/show_bug.cgi?id=13632
--- Comment #17 from Roland Haeder roland@mxchange.org 2010-01-11 19:33:45 --- BTW: It doesn't freeze, it crashes which is both very different. I can recreate all logfiles if you ask me to do. :)
http://bugs.winehq.org/show_bug.cgi?id=13632
--- Comment #18 from Austin English austinenglish@gmail.com 2010-01-11 20:16:20 --- (In reply to comment #15)
Ok, sorry. Should I better open a new ticket?
No.
BTW, 'winetricks d3dx9' should work around it.
http://bugs.winehq.org/show_bug.cgi?id=13632
--- Comment #19 from Roland Haeder roland@mxchange.org 2010-01-11 20:20:27 --- I thought that is unsupported?
http://bugs.winehq.org/show_bug.cgi?id=13632
--- Comment #20 from Austin English austinenglish@gmail.com 2010-01-11 21:39:52 --- (In reply to comment #19)
I thought that is unsupported?
Yes, but should let you run your game without problems, ;-).
http://bugs.winehq.org/show_bug.cgi?id=13632
--- Comment #21 from Austin English austinenglish@gmail.com 2010-09-01 11:32:21 CDT --- (In reply to comment #11)
I have updated wine to recent version (git) and with the demo I got this at the end of the output:
wine: Call from 0x7ee0ca62 to unimplemented function d3dx9_36.dll.D3DXCreateTextureFromFileInMemoryEx, aborting
Attached is a logfile from console
http://source.winehq.org/git/wine.git/?a=commitdiff;h=3604671a3af6ed1ab3190f...
now implemented, please retest.
http://bugs.winehq.org/show_bug.cgi?id=13632
--- Comment #22 from Roland Haeder roland@mxchange.org 2010-09-02 19:07:22 CDT ---
wine: Call from 0x7ee0ca62 to unimplemented function d3dx9_36.dll.D3DXCreateTextureFromFileInMemoryEx, aborting
Attached is a logfile from console
http://source.winehq.org/git/wine.git/?a=commitdiff;h=3604671a3af6ed1ab3190f...
now implemented, please retest.
I got another one. Attaching a logfile from output:
$ wine ShipSim2008.exe 2>debug.log
http://bugs.winehq.org/show_bug.cgi?id=13632
Roland Haeder roland@mxchange.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #25681|0 |1 is obsolete| |
--- Comment #23 from Roland Haeder roland@mxchange.org 2010-09-02 19:08:44 CDT --- Created an attachment (id=30525) --> (http://bugs.winehq.org/attachment.cgi?id=30525) console log, wine 1.x-dev (latest GIT)
http://bugs.winehq.org/show_bug.cgi?id=13632
--- Comment #24 from Juan Lang juan_lang@yahoo.com 2010-09-02 20:08:36 CDT --- Here's the relevant part of your log: wine: Call from 0x7b838a63 to unimplemented function d3dx9_36.dll.D3DXCreatePolygon, aborting
http://bugs.winehq.org/show_bug.cgi?id=13632
--- Comment #25 from joaopa jeremielapuree@yahoo.fr 2011-03-07 15:19:39 CST --- Created an attachment (id=33561) --> (http://bugs.winehq.org/attachment.cgi?id=33561) Stub implementation for D3DXCreatePolygon
Does the following patch help?
http://bugs.winehq.org/show_bug.cgi?id=13632
--- Comment #26 from Roland Haeder roland@mxchange.org 2011-04-25 13:59:23 CDT --- (In reply to comment #25)
Created an attachment (id=33561)
--> (http://bugs.winehq.org/attachment.cgi?id=33561) [details]
Stub implementation for D3DXCreatePolygon
Does the following patch help?
Sorry for long time no answer. :) Here is what I did:
1.) Installed the demo in new WINEPREFIX: WINEPREFIX=~/.wine-ss2008-demo wine shipsim2008_demo_v1.exe
2.) cd ~/.wine-ss2008-demo/drive_c/Program Files/Vstep/ShipSim2008Demo
3.) Created debug.log with: WINEPREFIX=~/.wine-ss2008-demo wine ShipSim2008_Demo.exe 2>debug.log
Will attach the file next.
http://bugs.winehq.org/show_bug.cgi?id=13632
Roland Haeder roland@mxchange.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #30525|0 |1 is obsolete| |
--- Comment #27 from Roland Haeder roland@mxchange.org 2011-04-25 14:00:58 CDT --- Created an attachment (id=34347) --> (http://bugs.winehq.org/attachment.cgi?id=34347) console log, wine 1.3.x (latest GIT)
There is a new function missing, from the log an except: ------------------------------------------------- wine: Call from 0x7b83c222 to unimplemented function d3dx9_36.dll.D3DXSaveSurfaceToFileInMemory, aborting wine: Unimplemented function d3dx9_36.dll.D3DXSaveSurfaceToFileInMemory called at address 0x7b83c222 (thread 0021), starting de bugger... -------------------------------------------------
http://bugs.winehq.org/show_bug.cgi?id=13632
Roland Haeder roland@mxchange.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #25682|0 |1 is obsolete| |
http://bugs.winehq.org/show_bug.cgi?id=13632
Roland Haeder roland@mxchange.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #13712|0 |1 is obsolete| |
--- Comment #28 from Roland Haeder roland@mxchange.org 2011-04-25 14:02:24 CDT --- Created an attachment (id=34348) --> (http://bugs.winehq.org/attachment.cgi?id=34348) lspci -x
http://bugs.winehq.org/show_bug.cgi?id=13632
Roland Haeder roland@mxchange.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #13711|0 |1 is obsolete| |
--- Comment #29 from Roland Haeder roland@mxchange.org 2011-04-25 14:02:59 CDT --- Created an attachment (id=34349) --> (http://bugs.winehq.org/attachment.cgi?id=34349) glxinfo
http://bugs.winehq.org/show_bug.cgi?id=13632
--- Comment #30 from Roland Haeder roland@mxchange.org 2011-08-06 07:10:32 CDT --- I have updated the patch to fit in latest GIT. Attaching it.
http://bugs.winehq.org/show_bug.cgi?id=13632
--- Comment #31 from Roland Haeder roland@mxchange.org 2011-08-06 07:11:12 CDT --- Created an attachment (id=35839) --> (http://bugs.winehq.org/attachment.cgi?id=35839) Updated stub implementation
http://bugs.winehq.org/show_bug.cgi?id=13632
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
--- Comment #32 from Austin English austinenglish@gmail.com 2011-08-08 14:36:12 CDT --- Patches should be sent to wine-patches@winehq.org.
http://bugs.winehq.org/show_bug.cgi?id=13632
--- Comment #33 from Roland Haeder roland@mxchange.org 2011-08-08 20:09:39 CDT --- But is it wort to send it? I mean, it just adds an implemented stub (with no function).
http://bugs.winehq.org/show_bug.cgi?id=13632
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com
--- Comment #34 from Dan Kegel dank@kegel.com 2012-01-05 10:33:09 CST --- D3DXSaveSurfaceToFileInMemory is bug 23706
fwiw, David Adam sent a D3DXCreatePolygon implementation, http://www.winehq.org/pipermail/wine-patches/2012-January/110336.html
http://bugs.winehq.org/show_bug.cgi?id=13632
--- Comment #35 from Alexey Loukianov mooroon2@mail.ru 2012-05-27 15:27:41 CDT --- Created attachment 40306 --> http://bugs.winehq.org/attachment.cgi?id=40306 WINEDEBUG="-all,err+all,fixme+all,fixme-ntdll,fixme-class,fixme-msg,+d3dx,+tid,+loaddll,+fps"
Downloaded demo and tested it a bit.
a) I've got no "freeze" upon starting up the game, instead it crashes with various messages appearing in logs depending on what native DLLs overrides are in place.
b) Game crashes shortly after starting up choking on non-implemented D3DXSaveSurfaceToFileInMemory. In case I patch in attachment #40281 from bug #23706 I've got game pass by into main menu which is being rendered incorrectly (no texts at all) due to non-implemented text output d3dx9* routines (see bug #26136).
c) Game chokes on non-implemented C++ method in msvcp71 (bug #30782), it could be workarounded by installing native vcrun2003 using winetricks.
d) With native vcrun2003 in place game crashes inside libc's __strcmp_sse4_2 proc with access violation and it looks like there's some kind of heap corruption there as post-mortem memory map displayed by winedbg seems to be bogus. Debug logs with +d3dx9 channel enabled are available in attachment to this comment. From a quick glance it seems that the game enters the endless loop calling functions from D3DXCreateEffect* family and essentially crashes. It reminds me about bug #11675 which is a catch-in bug about properly implementing D3DXCreateEffect* in Wine.
e) Installing native versions of both msvcp71.dll and d3dx9_36.dll workarounds the bug completely and I was finally able to successfully start up a new game and play it a bit just to make sure it really works. There seems to be some problems with text rendering on information panel but that's off topic here.
f) Patching Wine with latest D3DXCreatePolygon implementation attempt by David Adam from 2012/04/02 doesn't change a thing - ShipSim2008 crashes inside libc the same way it does without implemented D3DXCreatePolygon (i.e. with stubbed one).
http://bugs.winehq.org/show_bug.cgi?id=13632
Alexey Loukianov mooroon2@mail.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mooroon2@mail.ru
http://bugs.winehq.org/show_bug.cgi?id=13632
--- Comment #36 from Rico kgbricola@web.de 2012-05-28 02:37:38 CDT --- For the effect interface: it looks like there is a uninitialized/garbage technique handle in ID3DXBaseEffectImpl_GetTechniqueByName(). I suspect this may be due to a stubbed ID3DXEffectImpl_FindNextValidTechnique() implementation. I'll download the app and check it, so no further log is needed for the effect interface. Also it looks like your output is missing debug symbols (see http://wiki.winehq.org/Backtraces).
http://bugs.winehq.org/show_bug.cgi?id=13632
--- Comment #37 from Alexey Loukianov mooroon2@mail.ru 2012-05-28 02:53:20 CDT --- (In reply to comment #36)
Also it looks like your output is missing debug symbols (see http://wiki.winehq.org/Backtraces).
Yeah, forgot to switch my build system from "release" into "debug" profile so CFLAGS ended up being "-g -O2" during build instead of usual "-g -ddwarf-2 -O0". Would rebuild Wine later this evening and retest.
http://bugs.winehq.org/show_bug.cgi?id=13632
--- Comment #38 from Alexey Loukianov mooroon2@mail.ru 2012-05-29 01:29:47 CDT --- Created attachment 40320 --> http://bugs.winehq.org/attachment.cgi?id=40320 Updated crash log with symbolic info
I had identified this crash to happen in case Wine had been compiler with "-O2" flag. Replacing it with "-O0" and recompiling fixes the problem,
The game is now able to start up (using native vcrun2003 and Wine patched with D3DXSaveSurfaceToFileInMemory implementation) with built-in d3dx9_XX/d3dcompiler_XX and successfully start up a new game with the only mission that is available in demo. Rendering is messed up (I will attach screenshot illustrating it a bit later) and there are no texts displayed at all (as expected, it is bug #26136), but as soon as it would be clear how to treat the crash in libc's strcmp I get when Wine is compiled with level 2 gcc optimizations turned on - IMO this bug might be safely closed as FIXED. Other issues related to properly implementing all d3dx9_XX fucntionality should be tracked in other bug reports.
http://bugs.winehq.org/show_bug.cgi?id=13632
--- Comment #39 from Alexey Loukianov mooroon2@mail.ru 2012-05-29 01:36:07 CDT --- Created attachment 40322 --> http://bugs.winehq.org/attachment.cgi?id=40322 Screen shot illustrating Ship Simulator 2008 rendering as it works with Wine 1.5.5 built-in d3dx9_XX implementation.
As seen on screenshot, rendering is messed up (looks like shaders and effects are missing and so are all texts) but otherwise the game works as it should - you could control your shit, e.t.c.
http://bugs.winehq.org/show_bug.cgi?id=13632
--- Comment #40 from Alexey Loukianov mooroon2@mail.ru 2012-05-29 01:56:38 CDT --- Followup: recompiling Wine with another setting for "-march=" (was using "generic", switched to match my current CPU - "bdver1") and enabled level 2 gcc optimization made the problem went away so I suspect it to more likely be a gcc bug (I've got pretty old gcc version here, 4.4.5 20101112 == Red Hat 4.4.5-2). It means that Ship Simulator 2008 no longer freezes or crashes when starting up a new game under Wine 1.5.5 patched with D3DXSaveSurfaceToFileInMemory. SoO, as soon as Józef would sharpen http://source.winehq.org/patches/data/86635 to a state that would be accepted into Wine's main tree - this bug would be safe to close fixed.
http://bugs.winehq.org/show_bug.cgi?id=13632
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #41 from joaopa jeremielapuree@yahoo.fr 2013-04-20 14:40:38 CDT --- does this bug work without any native dll?
http://bugs.winehq.org/show_bug.cgi?id=13632
--- Comment #42 from Roland Haeder roland@mxchange.org 2013-06-02 14:47:06 CDT --- Sorry for not reporting back. I start debugging now with latest GIT and separate WINEPREFIX.
http://bugs.winehq.org/show_bug.cgi?id=13632
--- Comment #43 from Roland Haeder roland@mxchange.org 2013-06-02 15:41:59 CDT --- No, the game crashes (latest version installed: 1.4.2) due to same missing function D3DXCreatePolygon. I update now my patch here.
http://bugs.winehq.org/show_bug.cgi?id=13632
Roland Haeder roland@mxchange.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #35839|0 |1 is obsolete| |
--- Comment #44 from Roland Haeder roland@mxchange.org 2013-06-02 15:48:25 CDT --- Created attachment 44634 --> http://bugs.winehq.org/attachment.cgi?id=44634 Updated stub for latest GIT changes
http://bugs.winehq.org/show_bug.cgi?id=13632
--- Comment #45 from Roland Haeder roland@mxchange.org 2013-06-02 16:00:43 CDT --- Created attachment 44635 --> http://bugs.winehq.org/attachment.cgi?id=44635 Backtrace (really only one entry) after applying patch #44634
http://bugs.winehq.org/show_bug.cgi?id=13632
Roland Haeder roland@mxchange.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #44635|0 |1 is obsolete| |
--- Comment #46 from Roland Haeder roland@mxchange.org 2013-06-24 21:14:58 CDT --- Created attachment 44954 --> http://bugs.winehq.org/attachment.cgi?id=44954 Updated backtrace
Plus this from ERRLOG.txt (created by the game): ----------------------------------- EPM_Effect::CreateEffect().D3DXCreateEffectFromFile() EPM_Effect::CreateEffect().D3DXCreateEffectFromFile() ----------------------------------- If I use native d3dx9_36.dll, the game at least shows loading screen but then crashes with "division by zero". So maybe this can be concluded to that WINE's d3dx9_36.dll implementation is causing this?
http://bugs.winehq.org/show_bug.cgi?id=13632
Jarkko K jarkko_korpi@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jarkko_korpi@hotmail.com
--- Comment #47 from Jarkko K jarkko_korpi@hotmail.com --- Could someone say what happened to the patch? I don't see it merged into wine.
https://bugs.winehq.org/show_bug.cgi?id=13632
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net Summary|ShipSimulator 2008 freezes |ShipSimulator 2008 freezes |after start playing |after start playing (needs | |d3dx9_36.D3DXCreatePolygon)
--- Comment #48 from Anastasius Focht focht@gmx.net --- Hello folks,
refining summary to specifically target the stub.
Regards
https://bugs.winehq.org/show_bug.cgi?id=13632
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sebastian@fds-team.de
--- Comment #49 from Sebastian Lackner sebastian@fds-team.de --- The original patch ( http://www.winehq.org/pipermail/wine-patches/2012-January/110336.html ) had a very bad coding style and contained some errors (adjacency not calculated completely correct).
I have cleaned the patches up a bit and added them to the staging tree: https://github.com/wine-compholio/wine-staging/tree/master/patches/d3dx9_36-...
https://bugs.winehq.org/show_bug.cgi?id=13632
--- Comment #50 from Bruno Jesus 00cpxxx@gmail.com --- Patch commited: http://source.winehq.org/git/wine.git/?a=commit;h=0cde50d2235015d5123dbbc392...
https://bugs.winehq.org/show_bug.cgi?id=13632
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |0cde50d2235015d5123dbbc3928 | |dcef1ba757701 Status|NEW |RESOLVED URL|http://www.shipsim.com/down |http://www.gamefront.com/fi |loads/trailers.php |les/17086167 Resolution|--- |FIXED
--- Comment #51 from Anastasius Focht focht@gmx.net --- Hello folks,
both variants, retail and demo bind to 'd3dx9_25.dll' - no other DX9 SDK component involved. The crash on 'd3dx9_36' is a result of Wine builtin code sharing/component forwarding.
Hard to verify now because of other issues (with existing bug reports) preceding. I don't see the API call yet.
--- snip --- $ grep "Call d3dx9_" log.txt | cut -d '(' -f1 | sort | uniq 0026:Call d3dx9_36.D3DXCreateBox 0026:Call d3dx9_36.D3DXCreateCylinder 0026:Call d3dx9_36.D3DXCreateFontIndirectW 0026:Call d3dx9_36.D3DXCreateSphere 0026:Call d3dx9_36.D3DXCreateSprite 0026:Call d3dx9_36.D3DXCreateTexture 0026:Call d3dx9_36.D3DXCreateTextureFromFileInMemoryEx 0026:Call d3dx9_36.D3DXMatrixInverse 0026:Call d3dx9_36.D3DXMatrixLookAtLH 0026:Call d3dx9_36.D3DXMatrixMultiply 0026:Call d3dx9_36.D3DXMatrixRotationQuaternion 0026:Call d3dx9_36.D3DXMatrixTranspose 0026:Call d3dx9_36.D3DXQuaternionRotationMatrix 0026:Call d3dx9_36.D3DXQuaternionSlerp 0026:Call d3dx9_36.D3DXSaveSurfaceToFileInMemory 0026:Call d3dx9_36.D3DXVec3Normalize --- snip ---
All issues (crash, missing text) can be worked around by placing 'd3dx9_25.dll' from 'Apr2005_d3dx9_25_x86.cab' into the game folder.
For the demo and retail version, the most serious one is a crash on startup due to bug 36820
Since the bug has already been recycled multiple times for different issues, I'd close this for good and leave a continuation comment for this game in bug 36820
Fixed by commit http://source.winehq.org/git/wine.git/?a=commit;h=0cde50d2235015d5123dbbc392...
Thanks Sebastian
$ sha1sum ShipSim2008_Demo_v1.exe 46d0932ffca42f2afb60e54d58eb79c1239d2e12 ShipSim2008_Demo_v1.exe
$ du -sh ShipSim2008_Demo_v1.exe 151M ShipSim2008_Demo_v1.exe
$ wine --version wine-1.7.30-148-gafc6962
Regards
https://bugs.winehq.org/show_bug.cgi?id=13632
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #52 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.31.