Opened 16 years ago

Closed 16 years ago

Last modified 23 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 16 years ago.
Bash shell script

Download all attachments as: .zip

Change History (4)

by SF/dbreakey, 16 years ago

Attachment: scummvm.sh added

Bash shell script

comment:1 by fingolfin, 16 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, 16 years ago

Owner: set to fingolfin
Resolution: wontfix
Status: newclosed

comment:3 by digitall, 23 months ago

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