Is it possible to make a quicklaunch batch file?

General chat related to ScummVM, adventure gaming, and so on.

Moderator: ScummVM Team

Post Reply
Rhiyo
Posts: 4
Joined: Mon Dec 24, 2012 6:11 am

Is it possible to make a quicklaunch batch file?

Post by Rhiyo »

Hey, I like to play older games when I have the time through out my campus on different PCs. I'd like to be able to double click a batch file on any computer and instantly get into the game (without having to go through the launcher), like I've set up a lot of my dosBox games to do.

I've made batch file that almost works:

Code: Select all

residualvm -p .\Grim\ -f --savepath=".\Saves" --extrapath=".\extra" --soft-renderer grim
But I can't get it to save volume settings and such that have been changed like it does if I were to launch the game through the launcher. I can change the volume settings in game, but as soon as I restart they are reset to default.

Any idea how to make it keep the settings if possible?

Thanks
User avatar
ezekiel000
Posts: 443
Joined: Mon Aug 25, 2008 5:17 pm
Location: Surrey, England

Post by ezekiel000 »

If you open the launcher/gui of residual and add grim and set up the volume/folders/etc then you can make a batch file with just: residualvm -f grim

Edit: Nevermind I skipped over where you said you wanted to do this to be portable. Try setting up as above then copy the settings file to the same folder as residual and see if this works: residualvm --config=.\[settingsfilename] -f grim

Edit2:
-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)
Rhiyo
Posts: 4
Joined: Mon Dec 24, 2012 6:11 am

Post by Rhiyo »

Is the config file the residualvm.ini file?
User avatar
ezekiel000
Posts: 443
Joined: Mon Aug 25, 2008 5:17 pm
Location: Surrey, England

Post by ezekiel000 »

Yes I think so, I use linux so I'm not 100% sure as it's different for windows.
Rhiyo
Posts: 4
Joined: Mon Dec 24, 2012 6:11 am

Post by Rhiyo »

Still unable to get it working, in game options are still reset each game run :(
User avatar
ezekiel000
Posts: 443
Joined: Mon Aug 25, 2008 5:17 pm
Location: Surrey, England

Post by ezekiel000 »

Have you tried instead with:
residualvm -p .\Grim\ -f --savepath=".\Saves" --extrapath=".\extra" --soft-renderer --music-volume=100 --sfx-volume=100 --speech-volume=100 grim
Rhiyo
Posts: 4
Joined: Mon Dec 24, 2012 6:11 am

Post by Rhiyo »

It still resets to what it is in the launcher if I relaunch it. I guess I'll just have to reset it up each time because it looks like this isn't going to work. Thanks anyway!
Nitrus
Posts: 177
Joined: Wed May 18, 2011 9:49 am

Post by Nitrus »

This works fine for me, it seems to override the settings in the config file (launcher settings):

.\residualvm.exe -p "D:\Games\Grim Fandango" -f --music-volume=150 --sfx-volume=150 --speech-volume=150 --soft-renderer --subtitles --save-slot=0 grim

I put the *.BAT it in the same folder as Residual, and get a shortcut out on Desktop.

P.S.: --save-slot loads the save game slot on startup.
Post Reply