1
This code below is a configuration file .ini
As I do to read the X line and edit 0 or 1, in the app I did everything as checkbox
, if check = 1
if false = 0
, however, I do not know how to read these lines and pick up only the configurable part q would be 0 or 1 ...
someone can help me?
[AntiLag]
DisableStaticEffect = 0
DisableDynamicEffect = 0
DisableSkillEffect = 0
DisableGlowEffect = 0
[Graphics]
Anisotropy = 1
MaxAnisotropy = 32
Linear = 1
Fog = 1
TronEffects = 1
MiniMap = 1
[Other]
ServerTime = 2
DisablePing = 0
There is this lib aq that helps a lot: https://github.com/rickyah/ini-parser
– Francisco
I’ll see here, thank you.
– Rodrigo Pretti Fantin