| Main > Software Forum |
| Has someone mcm.ini and mame.xml (and controls.dat) combined? |
| << < (3/3) |
| MaMeNnO:
Well, that's far from what I'm planning on doing. I mean, I see the advantage of combining several files, but what good will it be to just dump it in a file and then read the dumped file again in another program??? I'm dreaming of a piece of public code with API calls for doing things like: read this file in a list, sort it on this key, combine these lists with this key, etc. |
| NOP:
--- Quote from: MaMeNnO on March 30, 2007, 11:46:45 am ---Well, that's far from what I'm planning on doing. I mean, I see the advantage of combining several files, but what good will it be to just dump it in a file and then read the dumped file again in another program??? --- End quote --- It does me a LOT of good-my software reads exactly 1 xml file. Currently there's data that I would like to see in 2 xml files. As previously mentioned, I'm lazy to re-write my code, and this is a perfect solution for me! :D Merging the 2 xml files would be a 1 time process; whenever a new MAME and a new controls.xml file is available (in other words, not that often). After that, all software would only need to import that 1 file to do their respective jobs. -jeff! |
| NOP:
for anyone still interested in this thread, I kicked up a program to merge mame's -listxml + controls.xml (aka, controls.dat) + catver.ini The output file is another xml file; essentially mame's XML file with data from controls and catver injected into ROM's <game> </game> field. This was done entirely for ROMLister's use, but may come in handy for others. http://www.waste.org/~winkles/ROMLister/mmm.html |
| Navigation |
| Message Index |
| Previous page |