[ scummvm-Feature Requests-743288 ] WIN: Append current directory's config to the global config

SourceForge.net noreply at sourceforge.net
Wed Oct 8 20:03:36 CEST 2003


Feature Requests item #743288, was opened at 2003-05-25 20:51
Message generated for change (Settings changed) made by fingolfin
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418823&aid=743288&group_id=37116

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Mark Lodato (itsr0y)
>Assigned to: Max Horn (fingolfin)
Summary: WIN: Append current directory's config to the global config

Initial Comment:
In the Windows version, it would make more sense to
have the default path for scummvm.ini to be in the
current directory rather than the system directory. 
This makes it easier to make changes in scummvm.ini.

----------------------------------------------------------------------

Comment By: Jamieson Christian (jamieson630)
Date: 2003-08-30 05:56

Message:
Logged In: YES 
user_id=596642

If the global scummvm.ini and ./scummvm.ini set a different 
value to the same property in the same domain, which one 
would take precedence?

Personally, I can't see modifying the global scummvm.ini 
from ./scummvm.ini, but I *can* see using the ./scummvm.ini 
settings if an appropriate domain is defined therein. 
Conceptually it would just become one more step in the 
prioritization of competing domains. For example, domains may 
be applied in this order, effecting lowest to highest priority:

Global INI, [scummvm] domain
Local INI, [scummvm] domain
Global INI, [game-specific] domain
Local INI, [game-specific] domain
Command Line Options
GUI Launcher Options

As with command line options, settings from the local INI 
should ONLY append/overwrite settings in the global INI if 
the -w option is used, IMO.

----------------------------------------------------------------------

Comment By: James Brown (ender)
Date: 2003-05-29 04:24

Message:
Logged In: YES 
user_id=2715

However I do not want this behavor. 
 
ScummVM is designed to be as portable yet idiot-proof as 
possible. Most programs either store their configuration in an 
.ini file in the game data directory, in the Windows directory or 
in the registry. The last we do not want to use for portability. 
 
Our game data directory changes, and scummvm.exe can be 
ran from anywhere. Thus we put the file in the Windows 
directory with other .ini's. I don't see any reason that storing it 
in CWD would be useful. (Why -would- you want to use 
multiple config files for different versions of ScummVM?!?) 
 
At some stage I would like to make it APPEND the 
./scummvm.ini file to the current config, but we will still always 
store the global configuration in a global location  
(homedir, or on this platform the windows dir) 

----------------------------------------------------------------------

Comment By: Mark Lodato (itsr0y)
Date: 2003-05-28 18:28

Message:
Logged In: YES 
user_id=707939

I could create a shortcut, but it seems like common practice
to put all files belonging to a particular program in that
program's folder.  By placing files in other places, it
makes it difficult to uninstall (I know it's not that
difficult, but it's still not as easy as just deleting the
program folder.)  Also, by having it in the program's
folder, it makes it easier to use separate scummvm.ini files
for different versions of the program.

----------------------------------------------------------------------

Comment By: Thomas Combeleran (hibernatus)
Date: 2003-05-27 23:26

Message:
Logged In: YES 
user_id=750069

Why don't you simply make a shortcut to scummvm.ini?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418823&aid=743288&group_id=37116




More information about the Scummvm-tracker mailing list