2014-03-06, 23:58
(2014-03-06, 23:49)uNiversal Wrote: can you add a switch to write the default settings to file like ./texturecache wcfg so that all defaults are put into a file and we can edit those after to suit any particular changes we want to do like -R etc.?
"./texturecache.py config" will show you your current settings, and without a config file these will all be the defaults.
You could redirect the output of "config" to a file and with a bit of editing use it as a configuration file but I really don't recommend adding properties to the confguration file unless you want to override the default value - if you add properties to the config file using what are the current default values, if/when the default value of a property changes in future you won't get the benefit as you'll still be using the "old" default value.
My advice is always to add only the properties you need to your config file.