Configuration files
Posted: Fri Jul 20, 2012 10:45 pm
by BackRaw
Hello
Do we need to parse .cfg files for addon configuration? Is it worth a C++ library for it or should we stay with Python on this thing (like the ES
cfglib)?
Posted: Sat Jul 21, 2012 12:09 am
by satoon101
It will be a module that will utilize some of the same functionality of cfglib. If you look at GunGame51's cfg structure, you will likely see many of those design concepts integrated as well:
http://code.google.com/p/gungame51/source/browse/#svn%2Ftrunk%2Fcstrike%2Faddons%2Feventscripts%2Fgungame51%2Fcore%2FcfgSatoon
Posted: Sat Jul 21, 2012 12:37 am
by Omega_K2
not implemented yet... I hope the py3 port of configobj gets added, because that's all you really need for config parsing
Posted: Sat Jul 21, 2012 12:54 am
by satoon101
More than likely it will be added at some point. You don't need configobj to parse config files, though... cfglib only uses it for AddonINI implementation.
Satoon
Posted: Sun Jul 22, 2012 2:11 am
by BackRaw