[ scummvm-Bugs-1787239 ] GOB3: Data file fails to open, lockup
SourceForge.net
noreply at sourceforge.net
Mon Sep 3 20:07:20 CEST 2007
Bugs item #1787239, was opened at 2007-09-03 18:07
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=418820&aid=1787239&group_id=37116
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Unknown Crash/Other
Group: Goblins 3
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: shadowcode (onnojongbloed)
Assigned to: Nobody/Anonymous (nobody)
Summary: GOB3: Data file fails to open, lockup
Initial Comment:
Original thread on the forums:
http://forums.scummvm.org/viewtopic.php?p=26812
Version: 0.10.0a, build: DS #D
Issue:
ScummVM locks up after the initial Coktel movie/sting.
Cause:
IMD.ITK fails to be loaded, causes error() to be called which halts the application.
Method of Reproduction:
Hardware was a Nintendo DS classic with an M3 Adapter (v30 firmware, latest) and a 1gb kingston flashcard. The game is the CD version. DLDI driver came from <a href="http://dldi.drunkencoders.com/index.php?title=M3_Adapter_%28SD_Card%29">here</a> and is the one by AgentQ.
Possible cause:
DataIO::file_open() fails, because open on the file handle fails, all the way down to FAT_fopen failing in ::std_fopen. Is this a bug in the DLDI driver? Path passed to FAT_fopen was "GOB3//IMD.ITK".
Workaround:
o2_openItk doesn't seem to mind when DataIO::openDataFile(const char *src, bool itk) fails. REplacing the error() call in that function by a return at least allowed me to resume the game into a playable state.
Worth noting:
Other ITK files seem to load just fine for some reason.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=418820&aid=1787239&group_id=37116
More information about the Scummvm-tracker
mailing list