#8383 closed patch (wontfix)
Script to handle configuring savegame location
Reported by: | SF/dbreakey | Owned by: | fingolfin |
---|---|---|---|
Priority: | normal | Component: | Port: Linux |
Version: | 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)
Change History (4)
by , 20 years ago
Attachment: | scummvm.sh added |
---|
comment:1 by , 20 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 , 20 years ago
Owner: | set to |
---|---|
Resolution: | → wontfix |
Status: | new → closed |
comment:3 by , 6 years ago
Component: | → Port: Linux |
---|
Bash shell script