alexs Posted October 28, 2015 Author Share Posted October 28, 2015 Hello everyone, I am a new user of Launchbox. I am playing old LucasArts (using ScummVM). Now I noticed that all save states were stored in ScummVM root folder. Does anyone know, how it is possible to set up Launchbox or ScummVM, so that the save states were stored in the respective game folder? My games are not stored inside Launchbox. They are stored in a different location and were not copied into Launchbox folder. Quote Link to comment Share on other sites More sharing options...
Jason Carr Posted October 31, 2015 Share Posted October 31, 2015 Hi @alexs, welcome. First we'd have to figure out how to make ScummVM do that outside of LaunchBox. Do you know how? Quote Link to comment Share on other sites More sharing options...
alexs Posted October 31, 2015 Author Share Posted October 31, 2015 Hello all, Hello @Jason Carr I think it can be handled with the command line : -p, --path=PATH Path to where the game is installed --savepath=PATH Path to where saved games are stored --extrapath=PATH Extra path to additional game data Additionally, you can maybe add a dropdown menu to choose the desired game language: -q, --language=LANG Select language (en,de,fr,it,pt,es,jp,zh,kr,se,gb,hb,ru,cz) Here are all other command line parameter of version 1.8.0 (daily build): Usage: scummvm.exe [OPTIONS]... [GAME] -v, --version Display ScummVM version information and exit -h, --help Display a brief help text and exit -z, --list-games Display list of supported games and exit -t, --list-targets Display list of configured targets and exit --list-saves=TARGET Display a list of saved games for the game (TARGET) specified --console Enable the console window (default:enabled) -c, --config=CONFIG Use alternate configuration file -p, --path=PATH Path to where the game is installed -x, --save-slot[=NUM] Save game slot to load (default: autosave) -f, --fullscreen Force full-screen mode -F, --no-fullscreen Force windowed mode -g, --gfx-mode=MODE Select graphics scaler (1x,2x,3x,2xsai,super2xsai, supereagle,advmame2x,advmame3x,hq2x,hq3x,tv2x, dotmatrix) --gui-theme=THEME Select GUI theme --themepath=PATH Path to where GUI themes are stored --list-themes Display list of all usable GUI themes -e, --music-driver=MODE Select music driver (see README for details) --list-audio-devices List all available audio devices -q, --language=LANG Select language (en,de,fr,it,pt,es,jp,zh,kr,se,gb, hb,ru,cz) -m, --music-volume=NUM Set the music volume, 0-255 (default: 192) -s, --sfx-volume=NUM Set the sfx volume, 0-255 (default: 192) -r, --speech-volume=NUM Set the speech volume, 0-255 (default: 192) --midi-gain=NUM Set the gain for MIDI playback, 0-1000 (default: 100) (only supported by some MIDI drivers) -n, --subtitles Enable subtitles (use with games that have voice) -b, --boot-param=NUM Pass number to the boot script (boot param) -d, --debuglevel=NUM Set debug verbosity level --debugflags=FLAGS Enable engine specific debug flags (separated by commas) -u, --dump-scripts Enable script dumping if a directory called 'dumps' exists in the current directory --cdrom=NUM CD drive to play CD audio from (default: 0 = first drive) --joystick[=NUM] Enable joystick input (default: 0 = first joystick) --platform=WORD Specify platform of game (allowed values: 2gs, 3do, acorn, amiga, atari, c64, fmtowns, nes, mac, pc, pc98, pce, segacd, wii, windows) --savepath=PATH Path to where saved games are stored --extrapath=PATH Extra path to additional game data --soundfont=FILE Select the SoundFont for MIDI playback (only supported by some MIDI drivers) --multi-midi Enable combination AdLib and native MIDI --native-mt32 True Roland MT-32 (disable GM emulation) --enable-gs Enable Roland GS mode for MIDI playback --output-rate=RATE Select output sample rate in Hz (e.g. 22050) --opl-driver=DRIVER Select AdLib (OPL) emulator (db, mame) --aspect-ratio Enable aspect ratio correction --render-mode=MODE Enable additional render modes (cga, ega, hercGreen, hercAmber, amiga) --record-mode=MODE Specify record mode for event recorder (record, playback, passthrough [default]) --record-file-name=FILE Specify record file name --disable-display Disable any gfx output. Used for headless events playback by Event Recorder --alt-intro Use alternative intro for CD versions of Beneath a Steel Sky and Flight of the Amazon Queen --copy-protection Enable copy protection in SCUMM games, when ScummVM disables it by default. --talkspeed=NUM Set talk speed for games (default: 60) --demo-mode Start demo mode of Maniac Mansion or The 7th Guest --tempo=NUM Set music tempo (in percent, 50-200) for SCUMM games (default: 100) --dimuse-tempo=NUM Set internal Digital iMuse tempo (10 - 100) per second (default: 10) Quote Link to comment Share on other sites More sharing options...
Jason Carr Posted November 3, 2015 Share Posted November 3, 2015 Thanks much @alexs, looks like there's certainly a lot of options to add yet. I'll add that to the list and do my best to get to it soon. Thanks! Quote Link to comment Share on other sites More sharing options...
alexs Posted November 4, 2015 Author Share Posted November 4, 2015 Hello, found simmilar Topic in the Forum as of Sep. 2015: https://www.launchbox-app.com/forum/troubleshooting/scummvm-extras-path @Jason Carr Quote Link to comment Share on other sites More sharing options...
alexs Posted November 5, 2015 Author Share Posted November 5, 2015 Hi @Jason here is an example for a batch file which can be used for the game which should be started via ScummVM(the one inside Launchbox). This batch file must be stored inside the respective game folder. There is only one issue: If your game folder path is to long or has spaces or you put the path-options in quotes (""), then ScummVM recognises the path options wrong. No idea how to solve this. This must be an issue in ScummVM. batch file name: startscummvm.bat Run it by handle over a argument...here the game ID, like "sky" for 'Beneath A Steel Sky'. startscummvm.bat sky @echo off setlocal ENABLEEXTENSIONS setLocal DisableDelayedExpansion set gamename=%1 cd /D %~dp0 REM REM %~dp0 is only available within a batch file and expands to the drive letter and path in REM which that batch file is located (which cannot change). It is obtained from %0 which is REM the batch file's name. REM REM scummvm.exe --config="%~dp0scummvm.ini" REM "..\..\..\ScummvM\scummvm.exe" --path=%~dp0 --savepath=%~dp0 --extrapath=%~dp0 --language=de %gamename% The following will not work or solve the problem mentioned above: "..\..\..\ScummvM\scummvm.exe" --path="%~dp0" --savepath="%~dp0" --extrapath="%~dp0" --language=de %gamename% Quote Link to comment Share on other sites More sharing options...
Jason Carr Posted November 7, 2015 Share Posted November 7, 2015 Ugh, that's a horrible problem that I've had elsewhere as well. And it seems there's no solution in some cases. Still, I'll see what I can do when I revamp ScummVM to add all these options (it may be a bit yet though, unfortunately). Quote Link to comment Share on other sites More sharing options...
alexs Posted November 7, 2015 Author Share Posted November 7, 2015 Hi @Jason, I think I solve the problem. -> Backslashes are needed after the variable %~dp0. The following batch file must be started via: startscummvm.cmd sky hq3x sky = variable %1 = game name hq3x = variable %2 = graphic mode -F = force windows mode -n = show subtitles @echo off setlocal ENABLEEXTENSIONS setLocal DisableDelayedExpansion set gamename=%1 set gamepath=%~dp0 set graphmode=%2 cd /D %~dp0 "..\..\..\scummvm.exe" -F -n --path="%~dp0\" --savepath="%~dp0\" --extrapath="%~dp0\" --gfx-mode=%graphmode% --language=de %gamename% REM exit Quote Link to comment Share on other sites More sharing options...
Jason Carr Posted November 7, 2015 Share Posted November 7, 2015 Ah, interesting, @alexs, thanks. :) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.