http://bugs.winehq.org/show_bug.cgi?id=14935
Summary: Final Fantasy 7 exits on start with no error messages Product: Wine Version: 1.1.0 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: ryan.reich@gmail.com
Created an attachment (id=15519) --> (http://bugs.winehq.org/attachment.cgi?id=15519) Console and debug output
Final Fantasy 7 (original CD, unpatched) installs fine, but when run, exits before even displaying a start screen: the Wine desktop opens and then, a second later, closes. No message boxes, no error messages on the console aside from a few fixme's. Attached is a portion of the WINEDEBUG=+relay log leading up to a call of ExitProcess(); the only error I can detect is that ShowCursor failed. My question is WHY, and what improvement in wine it requires to succeed.
Seems similar to bug #13388, except that nowhere can I find mention of KeInitializeMutex.
http://bugs.winehq.org/show_bug.cgi?id=14935
Ryan Reich ryan.reich@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #15519|application/octet-stream |text/plain mime type| |
http://bugs.winehq.org/show_bug.cgi?id=14935
Louis Lenders xerox_xerox2000@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xerox_xerox2000@yahoo.co.uk
--- Comment #1 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2008-08-21 08:43:23 --- as far i as i can see there's an unusual try of closing the same key twice , so the last try returns ERROR_INVALID_HANDLE. Of course I don't know if that's the problem, but you could try hack below if that's the reason why the program aborts. ( Is this a very old game btw?)
diff --git a/dlls/advapi32/registry.c b/dlls/advapi32/registry.c index 9ce3da0..dc7988a 100644 --- a/dlls/advapi32/registry.c +++ b/dlls/advapi32/registry.c @@ -915,7 +915,8 @@ LSTATUS WINAPI RegCloseKey( HKEY hkey ) { if (!hkey) return ERROR_INVALID_HANDLE; if (hkey >= (HKEY)0x80000000) return ERROR_SUCCESS; - return RtlNtStatusToDosError( NtClose( hkey ) ); + RtlNtStatusToDosError( NtClose( hkey )); + return 0; }
http://bugs.winehq.org/show_bug.cgi?id=14935
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
http://bugs.winehq.org/show_bug.cgi?id=14935
--- Comment #2 from Ryan Reich ryan.reich@gmail.com 2008-08-21 12:36:35 --- I patched wine and recompiled. I ran the patched version from the source tree without installing; I'm never sure how this works, but I guess it was fine since the log changed rather notably. It still exits in the same way, but your patch has cut a lot of the crap and it seems to me even more than before that the ShowCursor call is the problem. I'm attaching the log for the patched run.
To answer your question: the game is more than ten years old (1997, I think). It's known to have been a bit delicate, and wouldn't run properly on Windows XP without a patch, but I'm emulating Windows 95 (same behavior with 98; which one does the Wine team recommend, by the way?).
http://bugs.winehq.org/show_bug.cgi?id=14935
--- Comment #3 from Ryan Reich ryan.reich@gmail.com 2008-08-21 12:37:23 --- Created an attachment (id=15527) --> (http://bugs.winehq.org/attachment.cgi?id=15527) Output following the patch in comment #2
http://bugs.winehq.org/show_bug.cgi?id=14935
Ryan Reich ryan.reich@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #15527|0 |1 is obsolete| |
--- Comment #4 from Ryan Reich ryan.reich@gmail.com 2008-08-21 12:52:05 --- Created an attachment (id=15530) --> (http://bugs.winehq.org/attachment.cgi?id=15530) Output following the patch in comment #2 (corrected)
Correction; previous attachment was the wrong one.
http://bugs.winehq.org/show_bug.cgi?id=14935
Luke nethaven@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #5 from Luke nethaven@hotmail.com 2008-09-16 01:21:16 --- *** This bug has been confirmed by popular vote. ***
http://bugs.winehq.org/show_bug.cgi?id=14935
Alexandre Detiste alexandre@detiste.be changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |alexandre@detiste.be
http://bugs.winehq.org/show_bug.cgi?id=14935
--- Comment #6 from Austin English austinenglish@gmail.com 2009-10-01 15:09:42 --- Is this still an issue in current (1.1.30 or newer) wine?
http://bugs.winehq.org/show_bug.cgi?id=14935
--- Comment #7 from Ryan Reich ryan.reich@gmail.com 2009-10-21 14:09:41 --- (In reply to comment #6)
Is this still an issue in current (1.1.30 or newer) wine?
Yes, still present with a freshly upgraded Wine-1.1.30.
http://bugs.winehq.org/show_bug.cgi?id=14935
--- Comment #8 from Austin English austinenglish@gmail.com 2010-05-26 16:03:16 --- This is your friendly reminder that there has been no bug activity for 6 months. Is this still an issue in current (1.2-rc1 or newer) wine?
http://bugs.winehq.org/show_bug.cgi?id=14935
Timo t.sztyler@googlemail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |t.sztyler@googlemail.com
--- Comment #9 from Timo t.sztyler@googlemail.com 2011-06-29 12:27:09 CDT --- (In reply to comment #8)
This is your friendly reminder that there has been no bug activity for 6 months. Is this still an issue in current (1.2-rc1 or newer) wine?
The game doesn't exit on start up with no error messages, but it happends if i try to open the menu or change the room/screen - so unplayable (i have loaded a savegame)
http://bugs.winehq.org/show_bug.cgi?id=14935
Chris sithlord48@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sithlord48@gmail.com
--- Comment #10 from Chris sithlord48@gmail.com 2011-11-04 08:05:54 CDT --- the game works in wine of you use aalis opengl driver. and v1.02 of the exe please see http://forums.qhimm.com/index.php?topic=11994.0 for a howto i made its older but still releivent. also currently with wine 1.3.30 i get a crash after the game starts up because of the audio.while i am running an ubuntu varent i do not have pulseaudio installed and am using ALSA for my sound system. can anyone else confirm this new crash?
http://bugs.winehq.org/show_bug.cgi?id=14935
--- Comment #11 from Timo t.sztyler@googlemail.com 2012-05-12 14:45:08 CDT --- with the current build (1.5.4) the game crashs on start up :( - but I don't know the reason - there are only four "fixme" messages...
http://bugs.winehq.org/show_bug.cgi?id=14935
--- Comment #12 from Austin English austinenglish@gmail.com --- This is your friendly reminder that there has been no bug activity for 2 years. Is this still an issue in current (1.7.18 or newer) wine?
https://bugs.winehq.org/show_bug.cgi?id=14935
Ryan Reich ryan.reich@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |ABANDONED
--- Comment #13 from Ryan Reich ryan.reich@gmail.com --- Sorry, I haven't tried to play FF7 on wine in a long time. I don't think it's really a relevant strategy anymore; I mean, they are rereleasing it endlessly these days.
https://bugs.winehq.org/show_bug.cgi?id=14935
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |00cpxxx@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=14935
--- Comment #14 from Bruno Jesus 00cpxxx@gmail.com --- The game is still unplayable but the reasons certainly changed since this bug was opened. I'll open a new bug when I have more time.
https://bugs.winehq.org/show_bug.cgi?id=14935
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #15 from Bruno Jesus 00cpxxx@gmail.com --- Closing abandoned bugs.