Configuration files

Discuss API design here.
User avatar
BackRaw
Senior Member
Posts: 537
Joined: Sun Jul 15, 2012 1:46 am
Location: Germany
Contact:

Configuration files

Postby BackRaw » Fri Jul 20, 2012 10:45 pm

Hello :D

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)?
User avatar
satoon101
Project Leader
Posts: 2697
Joined: Sat Jul 07, 2012 1:59 am

Postby satoon101 » Sat Jul 21, 2012 12:09 am

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%2Fcfg

Satoon
Omega_K2
Senior Member
Posts: 227
Joined: Sat Jul 07, 2012 3:05 am
Location: Europe
Contact:

Postby Omega_K2 » Sat Jul 21, 2012 12:37 am

not implemented yet... I hope the py3 port of configobj gets added, because that's all you really need for config parsing :p
User avatar
satoon101
Project Leader
Posts: 2697
Joined: Sat Jul 07, 2012 1:59 am

Postby satoon101 » Sat Jul 21, 2012 12:54 am

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
User avatar
BackRaw
Senior Member
Posts: 537
Joined: Sun Jul 15, 2012 1:46 am
Location: Germany
Contact:

Postby BackRaw » Sun Jul 22, 2012 2:11 am

satoon101 wrote: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%2Fcfg

Satoon


Cool thang!

Return to “API Design”

Who is online

Users browsing this forum: No registered users and 13 guests