Up late again, was thinking about how annoying it is to track down errors in skins so I made a little utility to check for some errors.
Right now it checks for:
- unmatched brackets,
possibly unmatched ##,
check for multiple sections of the same name,
check for multiples keys in the same section with the same name.
But it will always return mismatched brackets and ##.
For example:
Code: Select all
[Measure1]
Meter=meter
Meter=meter
[Measure1]
Meter=meter
Code: Select all
[Measure1]
Meter=meter
[Measure1]
Meter=meter
[Measure2]
Meter=meter
[Measure2]
Meter=meter
Code: Select all
[Background]
Meter=IMAGE
SolidColor=0, 0, 0, 150
X=0
Y=0
W=1680
H=70
LeftMouseDownAction=!execute [I'm Bad at brackets]]]
Found unmatched [] at line: 8. Column number 50.
LeftMouseDownAction=!execute [I'm Bad at brackets]]]
It's command line and takes the parameter -path
so something like
Code: Select all
SkinChecker -path "My path With Spaces.ini"