http://bugs.winehq.org/show_bug.cgi?id=13277
Summary: Return to Mysterious Island crashes Product: Wine Version: CVS/GIT Platform: PC URL: http://download19.gamershell.com/cgi- bin/fhx.pl?auth=a1ktbHC%2FAIL22&id=7332&ts=1211019002&ca t=demo&filename=RtMIDemo-US.zip OS/Version: Linux Status: NEW Keywords: download, regression Severity: normal Priority: P2 Component: directx-ddraw AssignedTo: wine-bugs@winehq.org ReportedBy: xerox_xerox2000@yahoo.co.uk
Created an attachment (id=13126) --> (http://bugs.winehq.org/attachment.cgi?id=13126) minimal patch to fix the crash
As reported on wine-users list this game ran fine in wine-09.58, but now just crashes. The patch that broke the app appeared to be http://www.winehq.org/pipermail/wine-cvs/2008-April/043077.html
Attached is a minimal patch that makes the game start fine again but i haven't got a clue of it's correct ;)
http://bugs.winehq.org/show_bug.cgi?id=13277
Louis Lenders xerox_xerox2000@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jens@albretsen.dk
--- Comment #1 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2008-05-17 13:16:50 --- added author of patch
http://bugs.winehq.org/show_bug.cgi?id=13277
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com Target Milestone|--- |1.0.0
--- Comment #2 from Dan Kegel dank@kegel.com 2008-05-17 14:06:59 --- This was the very first entry in the "Platinum Regression Hunt", see http://winehq.org/pipermail/wine-users/2008-May/034706.html
http://bugs.winehq.org/show_bug.cgi?id=13277
--- Comment #3 from Jens Albretsen jens@albretsen.dk 2008-05-17 14:09:53 --- The patch is not right, games needing a HAL and checking by string will fail. Seems like it want's a emulation layer that has the same flags as the abstraction layer.
I will investigate.
http://bugs.winehq.org/show_bug.cgi?id=13277
--- Comment #4 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2008-05-17 14:25:16 --- Created an attachment (id=13127) --> (http://bugs.winehq.org/attachment.cgi?id=13127) +ddraw log
Jens, maybe your patch is correct but just revealed another bug in ddraw , i attached +ddraw log
http://bugs.winehq.org/show_bug.cgi?id=13277
--- Comment #5 from Jens Albretsen jens@albretsen.dk 2008-05-17 14:44:46 --- I believe so to, the patch I submitted fixes some Ubisoft games, i.e Donald Duck going quackers. Anyway i'm downloading the demo at the moment, and I will try to enumerate the interfaces differently.
http://bugs.winehq.org/show_bug.cgi?id=13277
--- Comment #6 from Jens Albretsen jens@albretsen.dk 2008-05-17 15:49:20 --- I've investigated the problem, I ran the game using my patch and then Louis's patch recording the result into two log files, then I diffed the files. You know what, the game can run without d3d but not with, when it detect d3d it crashes and when it's not able to find a DirectD3D HAL the game works, it reverts to software rendering.
Resolutions: 1. Find real issue in D3D7 2. Use Louis's patch for 1.0, and reapply My patch after 1.0, will make games that started working not detect D3D. 3. Make a override so it's possible to disable D3D for specific games, possibly hardcoded.
http://bugs.winehq.org/show_bug.cgi?id=13277
--- Comment #7 from Vitaliy Margolen vitaliy@kievinfo.com 2008-05-18 22:46:17 --- If the d3d7 can not be easily fixed the patch that introduced the regression should be reverted until after 1.0
http://bugs.winehq.org/show_bug.cgi?id=13277
--- Comment #8 from Jens Albretsen jens@albretsen.dk 2008-05-21 09:58:47 --- The bug seems fixable, I have the game running with d3d7. First problem is the game releases the d3d7 interface from the beginning, so wine kills everything. I tried to force it to stay alive, then the next problem was a copysurface trying to copy itself to itself, anyway that was a quick fix. I'll let you know when I have found out why the game want's to destroy d3d7 maybe d3d7 and below allows this type of behavior, I'm mean keeping it alive as long as there are resources alive and the process.is still running.
http://bugs.winehq.org/show_bug.cgi?id=13277
Alexander Dorofeyev alexd4@inbox.lv changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |alexd4@inbox.lv
--- Comment #9 from Alexander Dorofeyev alexd4@inbox.lv 2008-05-22 08:55:24 --- (In reply to comment #8)
The bug seems fixable, I have the game running with d3d7. First problem is the game releases the d3d7 interface
From the log it looks more like d3d3 btw.
About game releasing the interface, do you mean IDirect3DDevice or IDirect3D?
I tried to force it to stay alive, then the next problem was a copysurface trying to copy itself to itself, anyway that was a quick fix.
copysurface?
http://bugs.winehq.org/show_bug.cgi?id=13277
--- Comment #10 from Jens Albretsen jens@albretsen.dk 2008-05-22 14:31:50 --- A little update: I have submitted patches that fixes the issue. copysurface? my bad just got out of bed when I wrote about what I did the night before. I meant IDirect3DTextureImpl_Load, it was trying to load itself into itself. d3d7 is the base of d3d3 and the problem is in there. When a program creates a direct draw object uses it to create a surface and then releases the direct draw object and then expects directdraw to still be there anyway the fix was quite easy, surfaces now have an internal refcounter so ddraw can't close down if there surfaces attached.
http://bugs.winehq.org/show_bug.cgi?id=13277
Louis Lenders xerox_xerox2000@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #11 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2008-05-28 16:59:39 --- Jens, patch is in git nw, and the game starts fine again. Thanks very much for your efforts. Resolving fixed
http://bugs.winehq.org/show_bug.cgi?id=13277
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #12 from Alexandre Julliard julliard@winehq.org 2008-05-31 04:19:15 --- Closing bugs fixed in 1.0-rc3.
http://bugs.winehq.org/show_bug.cgi?id=13277
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|CVS/GIT |unspecified
http://bugs.winehq.org/show_bug.cgi?id=13277
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|directx-ddraw |directx-d3d
https://bugs.winehq.org/show_bug.cgi?id=13277
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://download19.gamershel |https://archive.org/downloa |l.com/cgi-bin/fhx.pl?auth=a |d/ReturnToMysticIsland/Retu |1ktbHC%2FAIL22&id=7332&ts=1 |rn%20To%20Mystic%20Island.e |211019002&cat=demo&filename |xe |=RtMIDemo-US.zip | CC| |focht@gmx.net Regression SHA1| |cf38e4c9304286f57c1cab31c76 | |0e49c033a149c Fixed by SHA1| |46ef2e06fcc4ff34dbae2133202 | |338a777824373 Version|unspecified |0.9.61.
--- Comment #13 from Anastasius Focht focht@gmx.net --- Hello folks,
adding stable download link via Internet Archive for documentation.
https://archive.org/details/ReturnToMysticIsland
https://archive.org/download/ReturnToMysticIsland/Return%20To%20Mystic%20Isl...
$ sha1sum Return\ To\ Mystic\ Island.exe 56e3b21a4620d61872732f2fef6eb5ffa5788f09 Return To Mystic Island.exe
$ du -sh Return\ To\ Mystic\ Island.exe 214M Return To Mystic Island.exe
https://www.virustotal.com/gui/file/c000cbccb65396f8018495f06e690df9fa21e3db...
Regards