is there a way to the separate global setting and my own setting that only belongs to one particular game?

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

Moderator: ScummVM Team

Post Reply
UFO
Posts: 22
Joined: Sat Jun 23, 2012 6:56 pm

is there a way to the separate global setting and my own setting that only belongs to one particular game?

Post by UFO »

is there a way to the separate global setting and my own setting that only belongs to one particular game
supposedly this way... scummvm.exe -c "scummvm.ini" -c "myconf.ini" -p "%~dp0\"

currently myconf.ini has two settings
[scummvm]
.
.
.

[kyra2-cd]
sfx_mute=false
engineid=kyra
guioptions=midiPCSpk midiAdLib midiMt32 midiGM vga lang_German
updates_check=0
description=The Legend of Kyrandia: The Hand of Fate (CD/DOS/English)
path=W:\kyrandia 2 - scummVM\
gameid=kyra2

if i have 100 myconf.ini files and change the global setting, then i have go to each game directory and edit 100 ini files
----------------------
my old way was this way
[scummvm]
.
.
.

[game 1]
[game 2]
[game 3]
[game 4]
.
.
i used to have a more trouble putting all settings together
**************************************
my 2nd wish is to remove "path" from ini file. or auto-take it from where the game was launched. if i decide to change the names of the game directories, too much editings are required
[kyra2-cd]
path=W:\kyrandia 2 - scummVM\
User avatar
criezy
ScummVM Developer
Posts: 974
Joined: Sat Sep 23, 2006 10:41 am
Location: West Sussex, UK

Re: is there a way to the separate global setting and my own setting that only belongs to one particular game?

Post by criezy »

If I understand properly your message, you want to use one config file for the global settings, and one config file for each game with only the game settings? I don't think there is any way in scummvm to use two config files and thus make this work. The -c "scummvm.ini" command line option can only be used once and thus it will still only use a single config file.

What you may want to look at is the auto-start feature: https://docs.scummvm.org/en/v2.9.0/adva ... start.html
From your message I don't think it would really fit your needs, but maybe you will think of something to make it work.

Regarding the game paths, they do not need to be absolute path and can be relative path. However on Windows I don't know if that actually works, and what they are relative to (if I had to make a guess it would be that they are relative to the directory where you have you scummvm executable).
Post Reply