Opened 21 years ago

Closed 20 years ago

Last modified 6 years ago

#1479 closed defect (fixed)

No warning provided when saving fails

Reported by: SF/pdietrich Owned by: eriktorbjorn
Priority: normal Component: Engine: Sky
Version: 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 by SF/pdietrich, 21 years ago

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 by eriktorbjorn, 21 years ago

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

comment:3 by SF/pdietrich, 21 years ago

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 by eriktorbjorn, 21 years ago

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 by eriktorbjorn, 21 years ago

Did it work?

comment:6 by SF/pdietrich, 21 years ago

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 by eriktorbjorn, 21 years ago

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 by eriktorbjorn, 21 years ago

Owner: set to fingolfin

comment:9 by fingolfin, 21 years ago

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 by fingolfin, 21 years ago

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

comment:11 by fingolfin, 21 years ago

Owner: fingolfin removed

comment:12 by SF/khalek, 20 years ago

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

comment:13 by eriktorbjorn, 20 years ago

Owner: set to eriktorbjorn
Resolution: fixed
Status: newclosed

comment:14 by eriktorbjorn, 20 years ago

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 by fingolfin, 19 years ago

Component: Engine: Sky
Game: Beneath a Steel Sky

comment:16 by Filippos Karapetis <bluegr@…>, 6 years ago

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.