Opened 13 years ago

Last modified 3 months ago

#7493 new enhancement

savepath includes homedir statically

Reported by: SF/lblume Owned by:
Priority: normal Component: --Other--
Keywords: Cc:
Game:

Description

This is rather a request for enhancement than a bug report.

I recently changed my login on my Solaris box. However,
the .scummvmrc file included the full directory to my
previous home dir, not a dynamic shortcut like "~".

When starting 0.9.0svn for MI2, I got the following
message after a few minutes:

Failed to save the game state to file:
monkey2.s00

No other explanation, so it was a bit mysterious at first.

So I'd say, it would be nice if ScummVM used the
current user's homedir as the root to .scummvm/ unless
specifically modified.

Ticket imported from: #1498475. Ticket imported from: feature-requests/309.

Change History (8)

comment:1 Changed 13 years ago by fingolfin

Component: --Unset--

comment:2 Changed 13 years ago by fingolfin

Moving to feature requests tracker.

comment:3 Changed 12 years ago by fingolfin

ScummVM *does* use the users current homedir as root to .scummvm, unless specifically modified!

But using the options dialog will always save the savepath, I think, in its "expanded" form. Still, it would be possible to work around this by manually removing the custom "savepath" from the config file, and letting ScummVm revert to the default (mind you, I am not suggesting this as a (re)solution for this request, just wanted to mention the possibility, it's better than nothing).

Kirben, is the default savepath on Windows still the current dir? Can't seem to find anything about it. I wonder: Would it make sense to move it to the user's home dir, like the default config file location? And like the default savepath location on Linux and Mac OS X?

comment:4 Changed 12 years ago by fingolfin

Owner: set to Kirben

comment:5 Changed 12 years ago by Kirben

Yes, the current directory is still the default location under Windows.

Under Windows, there is no set default location, for where saved games should be stored. The Application Data area is only meant for configuration files, and My Documents area is only meant for user created data.

For systems without a default saved game path, I think it would more useful if ScummVM would prompt for the saved game path, when started for the first time. And confirm that path is valid and writable.

comment:6 Changed 11 years ago by fingolfin

Update: We added support for "~" expansion some time ago. If you want to make use of that, you'll still have to manually edit the config file, but at least you can use it on POSIX systems ;-).

comment:7 Changed 11 years ago by Kirben

Owner: Kirben deleted

comment:8 Changed 3 months ago by digitall

Component: --Other--
Note: See TracTickets for help on using tickets.