Opened 15 years ago

Closed 15 years ago

Last modified 6 months ago

#1479 closed defect (fixed)

No warning provided when saving fails

Reported by: SF/pdietrich Owned by: eriktorbjorn
Priority: normal Component: Engine: Sky
Keywords: Cc:
Game: Beneath a Steel Sky

Description

I'm using MacOSX 10.3. (Panther) on an G4-iBook.
The ScummVM version is 5.1.
I have the CD version of the game.

When I try to save a game simply nothing happens.
I can type a name of the savegame but whenever I try to
load it again or save an other one, there are no saved
games.

First, I thought maybe it's a problem with the unix
file rights so I made the ScummVM as well as the game
owned by my account - which did'nt help.

hope someone can help!
Patrick

Ticket imported from: #901865. Ticket imported from: bugs/1479.

Change History (16)

comment:1 Changed 15 years ago by SF/pdietrich

Ok, seems that it's not a Problem of the game but of ScummVM
since the game saving doesn't work in other games, too.

sorry

comment:2 Changed 15 years ago by eriktorbjorn

Have you made sure that you have access to write to the
savegame path?

comment:3 Changed 15 years ago by SF/pdietrich

I didn't find a savegame path. Maybe that's the problem.

My ScummVM is installed in /Applications/ScummVM.app
In that folder are only the executable and some of those
icons, just the things all the MacOSX-Apps have.
The games are all installed somwhere in my Home: e.g.
~/Applications/sky-cd

I have write access to all those directories but
/Applications/, of course.

ScummVM saved it's config in the file
~/Library/Preferences/ScummVM Preferences

Where should the savegame path be?
Or where is it usualy on other Systems?

thanks for your help
Patrick

comment:4 Changed 15 years ago by eriktorbjorn

From what I recall, by default ScummVM stores savegames in
the "current directory", but on some operating systems it
may not be immediately obvious where that is.

With ScummVM 0.5.1 I think you have to edit the
configuration file to specify a save path. See the README
file for details about the "savepath" parameter.

With the development snapshots, you should be able to select
a save path from the launcher window.

comment:5 Changed 15 years ago by eriktorbjorn

Did it work?

comment:6 Changed 15 years ago by SF/pdietrich

After telling the system an explicit path using the savepath
parameter in the config file, it workes just fine.
Thanks very much for that help!

I think it would be a good idea to set a default savepath in
the MacOSX version, maybe somewhere in the users Homedirectory.
The configfile allready lies there.

comment:7 Changed 15 years ago by eriktorbjorn

Since te savepath setting is much more visible in the
development version (which will hopefully become 0.6.0 in a
not too distant future) the problem should be less serious
now, so I'm tempted to close this bug report. (Possibly
opening a feature request in the process.)

On the other hand, since it's about OS X I guess fingolfin
should get a chance to say something about it first, if he
wants to...

comment:8 Changed 15 years ago by eriktorbjorn

Owner: set to fingolfin

comment:9 Changed 15 years ago by fingolfin

Setting the default savepath to e.g. ~/Documents of course would be
possible, but if you want that, please file a feature request on it, then I
can discuss it with Ender there.

Furthermore, what is really buggy me here is that apparently BASS isn't
checking whether saving was successful. In the SCUMM frontend we put
up an error dialog if saving fails - not the best solution, but at least the
user knows this way that something went wrong...

comment:10 Changed 15 years ago by fingolfin

No reason why this bug report is still assigned to me.

comment:11 Changed 15 years ago by fingolfin

Owner: fingolfin deleted

comment:12 Changed 15 years ago by SF/khalek

Summary: Can't save games on MacOSXNo warning provided when saving fails

comment:13 Changed 15 years ago by eriktorbjorn

Owner: set to eriktorbjorn
Resolution: fixed
Status: newclosed

comment:14 Changed 15 years ago by eriktorbjorn

I've added a very crude warning message when saving fails.

It's crude because it uses the two-button yes/no dialog
instead of creating a new one-button error dialog. As far as
I can tell, the two buttons are actually one big sprite so
re-using one of them would be tricky. >sigh<

Of course, it doesn't do anything to explain to the user
*why* saving the game failed. But at least it's some
feedback; it's better than nothing.

comment:15 Changed 14 years ago by fingolfin

Component: Engine: Sky
Game: Beneath a Steel Sky

comment:16 Changed 6 months ago by Filippos Karapetis <bluegr@…>

In 1d0ffca0:

SCI32: Fix QFG4 castle gate after geas (#1479)

Fixes hero being able to walk through the closed gate, bug #10871

Note: See TracTickets for help on using tickets.