Thanks for the info Krick!
I was already aware of that utility, but I wanted more flexibility when generating ini files. For example, AVRes generates some parameters that we don't necessary want and also some are outdated (like hwstretch).
By providing textboxes the user can add whatever needed.
I'm also thinking of leaving the XML tag user configurable. That way, if the mame.xml format change, we could type in the new tags and parse the new XML format accordingly.
I would take his algorithm for resolutions detection though!
So far mine is not that bad, but still needs some improvements.
I'll continue working on it.
Any suggestions is appreciated.