ResidualVM logo Forum Index - ResidualVM website - Contact us - Rules Login    Register     Search curved edge
It is currently Tue Dec 18, 2018 1:05 pm

All times are UTC




Post new topic Reply to topic  [ 8 posts ] 
Author Message
PostPosted: Mon Dec 24, 2012 6:18 am 
Offline

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


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 24, 2012 8:17 am 
Offline

Joined: Thu May 07, 2009 9:18 am
Posts: 101
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)


Top
 Profile  
 
 Post subject:
PostPosted: Wed Dec 26, 2012 11:44 am 
Offline

Joined: Mon Dec 24, 2012 6:11 am
Posts: 4
Is the config file the residualvm.ini file?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Dec 26, 2012 12:04 pm 
Offline

Joined: Thu May 07, 2009 9:18 am
Posts: 101
Yes I think so, I use linux so I'm not 100% sure as it's different for windows.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 27, 2012 11:09 am 
Offline

Joined: Mon Dec 24, 2012 6:11 am
Posts: 4
Still unable to get it working, in game options are still reset each game run :(


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 27, 2012 2:15 pm 
Offline

Joined: Thu May 07, 2009 9:18 am
Posts: 101
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


Top
 Profile  
 
 Post subject:
PostPosted: Sat Dec 29, 2012 7:19 am 
Offline

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


Top
 Profile  
 
 Post subject:
PostPosted: Sat Dec 29, 2012 10:05 am 
Offline
User avatar

Joined: Thu Jun 21, 2012 3:00 pm
Posts: 141
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group
Forum design by ScummVM team, icons by raina, adopted for ResidualVM
curved edge   curved edge