A while back I started working on some fixes to the ini plugin (which affects OSX and Linux users --Windows has its own approach). I had 3 goals:
1) Provide basically the same behavior as GM:S (excluding obvious flaws). So, all the ini_* functions (including ini_write_*).
2) Extend that to support saving and loading comments verbatim --now you can comment your ini files without ENIGMA eating the comments.
3) Replacing that horribly ugly ini Extension icon.
I originally lost interest, but at Robert's request, I have polished up my branch and stabilized it. You can try it out here:https://github.com/sorlok/enigma-dev/compare/sorlok:robust_inis
A sample ini file that the plugin can load and save (mostly) verbatim:
; Comments can appear above sections.
test = hi ;..also after vars
test2 = " hi "
test3 = " hi " ;quotes are used to preserve spaces in values.
test4 = hi ;test
test5 = hi
test6 = hi ;tset
test7 = "hi;" ;...quotes also help if the comment character is inside your value
test8 = "newvar;"
;A comment at the end of the file
Please let me know your thoughts on this. I'm still debugging weird edge cases, but once it's stable I'll prepare a pull request.