I get the same error on CPViewer when trying to create the 3 ini files from the mame.xml file. I backtracked through MAME versions and found that the last version this worked correctly on was 129, so I generated my ini files from that. Anyone found a way around this for versions 130+?