Opened 15 years ago

Closed 15 years ago

Last modified 11 months ago

#8383 closed patch (wontfix)

Script to handle configuring savegame location

Reported by: SF/dbreakey Owned by: fingolfin
Priority: normal Component: Port: Linux
Keywords: Cc:
Game:

Description

This is a small script I use to automatically set the
SCUMMVM_SAVEPATH environment variable and create the
directory, if necessary.

This is a Bash shell script, designed to go into
/etc/profile.d for those setups that support it;
otherwise, it can be integrated into a standard shell
profile script. Note, it should probably be set chmod 0755

Creating something similar for Windows should be pretty
trivial, probably something like the following:

SET SCUMMVM_SAVEPATH=path
IF NOT EXIST %SCUMMVM_SAVEPATH%\NUL MKDIR
%SCUMMVM_SAVEPATH% > NUL

Since I don't have a Windows box to test it on, though ...

Ticket imported from: #1090890. Ticket imported from: patches/488.

Attachments (1)

scummvm.sh (256 bytes ) - added by SF/dbreakey 15 years ago.
Bash shell script

Download all attachments as: .zip

Change History (4)

by SF/dbreakey, 15 years ago

Attachment: scummvm.sh added

Bash shell script

comment:1 by fingolfin, 15 years ago

So... where's the point? What's special about this?

Note that SCUMMVM_SAVEPATH will probably be removed completely in
a future release. Use a config file or a command line option to specify an
alternate savepath instead.

comment:2 by fingolfin, 15 years ago

Owner: set to fingolfin
Resolution: wontfix
Status: newclosed

comment:3 by digitall, 11 months ago

Component: Port: Linux
Note: See TracTickets for help on using tickets.