1
XPiratez / Re: [MAIN] XPiratez - 0.99 - 7 Jun - First Impressions
« on: June 11, 2016, 12:49:37 pm »
A possible implementation of the ruleset idea without actually doing any implementation would be to provide a custom shortcut to the executable with lots of "-<option name> <option value>" pairs. This appears to update the current cfg with the values specified.
I'd think a config based solution might provide a lower barrier of entry to customizing each setting though. An alternative might be that a mod could supply their own (partial or full) default_options.cfg which would be used during the construction of the user options.cfg or for adding missing values to the same file upon version change. This way users wouldn't have to dig into the ruleset to change certain values, and if the game wasn't supplied with a user config a new (and correctly configured) one would be automatically created to suit the active mod.
I'd think a config based solution might provide a lower barrier of entry to customizing each setting though. An alternative might be that a mod could supply their own (partial or full) default_options.cfg which would be used during the construction of the user options.cfg or for adding missing values to the same file upon version change. This way users wouldn't have to dig into the ruleset to change certain values, and if the game wasn't supplied with a user config a new (and correctly configured) one would be automatically created to suit the active mod.