Build Your Own Arcade Controls Forum

Main => Software Forum => Topic started by: Jabba on December 14, 2004, 05:12:01 pm

Title: mame32 help copying Roms
Post by: Jabba on December 14, 2004, 05:12:01 pm
Hi all,

I've gond through various GGKouls sticky posts in Everything Else (List of Games with various controllers - Games to Try) and have created a Favorites folder with all the games listed there (took me hours!). I've added some additional ones that I likes (i.e., circa 82-85).

In the folder directory, I can see that the Favorites file has all the games listed that I added.

Question: Is there an easy wat to export just the ROMS listed there so I can create a new MAME setup for a machine with a small harddrive/flashdrive wth just these games? Is there some utility that can read this Favorites folder (ini file) and copy the ROMS somewhere else?

Thanks in advance for the help.
Title: Re: mame32 help copying Roms
Post by: KHAN on December 14, 2004, 06:26:44 pm
I think Kymaera can do this....
Title: Re: mame32 help copying Roms
Post by: Jabba on December 15, 2004, 03:22:01 pm
I guess nothing like this exists.

Sounds like I'll be writing some C code this weekend (I'm basically lazy and hate doing things manually that I can automate)...
Title: Re: mame32 help copying Roms
Post by: KHAN on December 15, 2004, 04:23:12 pm
NICE...
Keep doing it.... :)
Title: Re: mame32 help copying Roms
Post by: elvis on December 15, 2004, 05:53:07 pm
If you can export the filenames to a plain text list (one entry per line), you can run a very easy batchfile script (or even single command line).

Say your plain text file is "filename.txt" and you want to copy all of your roms from c:\roms to c:\location, you'd run from the command line (or in a batch file):

for /f "delims=," %%I IN (filename.txt) DO copy "c:\roms\%%I.*" c:\location"

Make sure you copy and paste that properly.  Don't mess up spaces and whatnot.

That'll run through the file grabbing each delimeter as a argument to copy.  I do the same thing with catlist or sortinfo outputs to .csv files (which can be copy and pasted into a plan text file easily).  Say I want only vertical games for a vertically mounted monitor cab, it's just a matter of piping your mameinfo into sortinfo, deleting the horizontal games, and then using the above to copy those games across from the resulting list.
Title: Re: mame32 help copying Roms
Post by: Jabba on December 16, 2004, 05:02:36 pm
Hey...thanks Elvis.
I'll give that a try.
I'm still thinking of wirting a little utility with a GUI.
I'll post the app when I'm done

Chreers!
Title: Re: mame32 help copying Roms
Post by: elvis on December 17, 2004, 05:18:44 pm
If you can make a GUI that takes a plain text input, or perhaps even lets you use some of the catlist files, let us know.  I'd love to get a hold of it.
Title: Re: mame32 help copying Roms
Post by: Howard_Casto on December 17, 2004, 10:53:43 pm
Dragon King can potentially do this, and has been able to do this for quite some time. 

You simply modify the list printing template to create a bat file via scripting.  Then you make the lists you want via filters in dk, navigate to each list, press the print list key and boom, ready made batch files you can use to move your roms.  Since you can use the template.txt to make any ascii-based output, not just html, or text you can potentially use the power of dk's filter system to do anything. 

Remember:  If you have a problem, question, or suggestion I've probably already thought of it months ago and have created a solution.  ;)
Title: Re: mame32 help copying Roms
Post by: elvis on December 18, 2004, 08:36:43 am
No offense intended to anyone, but I don't like using DK at the best of times.  If there's an alternative utility that's custom built for a particular purpose and lighter on footprint/resources, then I'll use it in preference to anything else.

I'm all for freedom of choice.  The more apps on the emulation scene, the better it is for everyone who wants to customise their setups to their own needs.  There is no one-size-fits-all in software. :)