[Scummvm-devel] different default savepath for *nix
Max Horn
max at quendi.de
Sat Apr 17 05:28:10 CEST 2004
Am 17.04.2004 um 11:53 schrieb Jonathan Gray:
> Does anyone have any objections to the savepath changing from the
> current directory to the following if none is specified?
>
> I was thinking ~/Library/ScummVM/ for Mac OS X and ~/.scummvm/ for
> everything else that has $HOME defined.
>
> Of course this behaviour would only happen if the user hasn't specified
> a savepath.
>
> Thoughts?
For Max OS X, ~/Library/ScummVM/ would be wrong, correct would be
~/Library/Preferences/ScummVM. Just because Apple isn't following its
own conventions and added a ~/Library/Safari/ (which should be
~/Library/Preferences/Safari/) and ~/Library/iTunes/ (which should have
been ~/Library/Application Support/iTunes/), we shouldn't fall for the
same mistake. :-)
Is there any reason for the above locations outside the CWD, besides
making ScummVM working out-of-the box on read-only volumes?
As for dealing with ScummVM on read-only volumes, I think changing the
default savepath as suggested above is just the lazy & easy workaround.
Why not rather have ScummVM check, when it is being started, whether
the active savepath (whatever it is), is writable. If not, pop up a
dialog to the user, tell 'em about it, and let them choose another
location, which is then stored in the config file. Presto, problem
solved. The user then even can decide to quit ScummVM instead of
changing that location, in order to copy ScummVM to another place...
Bye,
Max
More information about the Scummvm-devel
mailing list