[ scummvm-Patches-1090890 ] Script to handle configuring savegame location
SourceForge.net
noreply at sourceforge.net
Fri Dec 24 17:56:56 CET 2004
Patches item #1090890, was opened at 2004-12-24 09:56
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=418822&aid=1090890&group_id=37116
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: David Breakey (dbreakey)
Assigned to: Nobody/Anonymous (nobody)
Summary: Script to handle configuring savegame location
Initial Comment:
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 ...
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=418822&aid=1090890&group_id=37116
More information about the Scummvm-tracker
mailing list