btw, I have just fixed a few problems with -listsoftware output: not all the loading flags were properly added, a few sizes and offsets were wrong, etc.
if you now launch "mess -listsoftware", you actually obtain the same result as if you were copying and pasting in a single file the dtd + all the lists (except, of course, for comments in the original files which are not included in the output). this should be of help if you really are going to try using its output in clrmame