Opened 19 years ago

Closed 4 years ago

#7493 closed feature request (fixed)

savepath includes homedir statically

Reported by: SF/lblume Owned by: sev-
Priority: normal Component: --Other--
Version: 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 (9)

comment:1 by fingolfin, 19 years ago

Component: --Unset--

comment:2 by fingolfin, 19 years ago

Moving to feature requests tracker.

comment:3 by fingolfin, 18 years ago

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

Owner: set to Kirben

comment:5 by Kirben, 17 years ago

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

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 by Kirben, 17 years ago

Owner: Kirben removed

comment:8 by digitall, 6 years ago

Component: --Other--

comment:9 by sev-, 4 years ago

Owner: set to sev-
Resolution: fixed
Status: newclosed

Closing this as implemented.

Note: See TracTickets for help on using tickets.