[ scummvm-Patches-589718 ] Getting simon2win to start at all

noreply at sourceforge.net noreply at sourceforge.net
Thu Aug 1 19:20:25 CEST 2002


Patches item #589718, was opened at 2002-08-01 19:20
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418822&aid=589718&group_id=37116

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Torbjörn Andersson (eriktorbjorn)
Assigned to: Nobody/Anonymous (nobody)
Summary: Getting simon2win to start at all

Initial Comment:
When I try to start simon2win, ScummVM complains that
it can't read effects offsets. Since Simon 2 doesn't
have an effects file (apparently voices and effects are
stored together in one single file), it shouldn't even
be trying.

That it does is because fopen_maybe_lowercase() takes
the empty string, prepends _game_path and appends "."
to it, i.e. it's trying to open the game directory as a
file.

This patch will cause fopen_maybe_lowercase() to return
NULL if you try to open NULL or an empty string.

It's still not playable because it will hang pretty
early on, but it's still an improvement. :-)

The patch is made against a July 31 CVS snapshot.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418822&aid=589718&group_id=37116




More information about the Scummvm-tracker mailing list