Build Your Own Arcade Controls Forum
Main => Software Forum => Topic started by: keilmillerjr on November 09, 2015, 11:08:30 pm
-
MAME Software Parser is a ruby script to help you set up a MAME machine dedicated to a particular driver. You can use it to copy roms or extra files that match a particular driver from your full romset and extras to your new dedicated machine.
https://github.com/keilmillerjr/mamesoftwareparser
-
Have you looked at this thread (http://forum.arcadecontrols.com/index.php/topic,148053.0.html)?
Sounds like there may be some similarities in the desired outcomes. ;D
Scott
-
I can clean up the code and share if anyone is interested?
I'd be interested in the code.
-
Mine is an outright app. It'll allow you to generate a simple list or move files for you. I'm busy right now though so please post the script to tide the peanut gallery over if you have it done.
-
Mine is an outright app. It'll allow you to generate a simple list or move files for you. I'm busy right now though so please post the script to tide the peanut gallery over if you have it done.
I'm most done and will try to have it uploaded to github tomorrow. Benifit of it being coded in ruby is that it's platform independant. And ruby is easy to code.
-
Edited the first post to include a proper description and the github repo link. A day later than promised, but code looks public worthy.
-
Any feedback?
-
Questions for you since each of these tools has a learning curve and MAME is always a time-sink.
- How does it validate the which files to to copy between the various versions of MAME that users may have?
- Does it keep the copied sets split? Rocketlauncher has difficulty with merged sets
- Does it copy files for multiple drivers in batches? Or does that sort of violate the spirit of your design and you want it for just dedicated cabs?
- Do you plan on adding other attributes to parse down with? Or are you allowing for just the one driver criteria?
I'd be willing to give it a shot, but only I can achieve the results I desire. That being, rather than tailoring for driver specifics, I need cab configuration specifics. My cabs shall be mostly horizontal, 2 player, 6 button.
-
- How does it validate the which files to to copy between the various versions of MAME that users may have?
Files with a base name (MSLUG.m4v - base name would be MSLUG) that match the rom name in XML file will be copied to a new destination. I found this helpful so I can download full rom sets, wheel art, videos, etc on an external hard drive and only copy needed files (in my case neo geo) to my arcade computer.
- Does it keep the copied sets split? Rocketlauncher has difficulty with merged sets
Any files with a base name matching the rom name in the xml file. Rom files are contained in .zip or .7z, so it doesn't matter if split or merged.
- Does it copy files for multiple drivers in batches? Or does that sort of violate the spirit of your design and you want it for just dedicated cabs?
If you can get mame to output multiple drivers. Or you could just run it once for each driver. I designed this script for my own need, but could always expand. It is open to contributes on github.
Perhaps this tool could slim down an xml to your liking and use my script to copy files. I haven't used it yet. Will try it soon. http://www.systempixel.fr/mame-xml-cleaner/ (http://www.systempixel.fr/mame-xml-cleaner/)
- Do you plan on adding other attributes to parse down with? Or are you allowing for just the one driver criteria?
I added code the other night to filter out clones. Almost done with it and will push to github soon.
I'd be willing to give it a shot, but only I can achieve the results I desire. That being, rather than tailoring for driver specifics, I need cab configuration specifics. My cabs shall be mostly horizontal, 2 player, 6 button.
Seems like most games will match your criteria. Maybe having a full arcade library and using a front end such as attract-mode to filter out unwanted games might be your best bet. I'll look into adding other filters and such after I finish the no clones code.
-
Released an updated version with revised code and includes filtering of clones. Also uploaded an overview video: https://vimeo.com/157405943