Forums » Suggestions

Seperate Config Files

Jul 24, 2013 coteyr link
We have config.ini and wgaf.cfg

I would like to propose (though I know it won't be that easy) that gkini.WriteString() (and others) write to a external.ini or something other then config.ini so that it can be easily copied between setups.

Would be good for copying between devices or "testing" plugin fixes without borking your entire setup.

For example if the gkini.WriteString() method wrote to external.ini then you could just remove external.ini when you think there's a plugin issue and all settings would be lost without harming your graphics/controller settings. Or the other way around. If you think you need to run vendetta with defaults you could remove config.ini without all your plugins (that use the ini file) totally resetting.

You could also copy external.ini between installs so that playing on computer 1 and computer 2 can share settings without totally borking engine/control settings.
Jul 24, 2013 abortretryfail link
gkini has limitations beyond just clobbering the game's configuration file. Most plugins which store persistent data end up using systemnotes instead.

+1 to some functions for plugins to store persistent data in a non-silly way. :)
Jul 24, 2013 coteyr link
it's less about making gkini better or giving every plugin it's own config. It's more about being able to transfer or reset a portion of your config without having to reset it all. You can already kind of manually do it. It would just be nice if vendetta write to one file and plugins wrote to another.

Or better yet if every section got it's own ini file. That would be awesome.