Build Your Own Arcade Controls Forum

Main => Software Forum => Topic started by: RitchieTheBrit on September 05, 2007, 12:33:32 pm

Title: Delete all Rom Sets without Snap/Marquee/Video etc..?
Post by: RitchieTheBrit on September 05, 2007, 12:33:32 pm
Hey guys!

This one has had me puzzled for a while.  Say I want to only keep ROM Sets with a corresponding screenshot, is there any way to compare the ROM folder with the relevant support file folder, and delete all the ROMS that do not have the correct support file?

I only ask, because there's so many damn holes in my FE!  ;)

I'm guessing that Mama Content Manager could do it, with the correct DAT/INI file?
Title: Re: Delete all Rom Sets without Snap/Marquee/Video etc..?
Post by: NOP on September 05, 2007, 04:48:22 pm
it can be done with some quick-n-ugly batch file.

May require you to use a text editor with column copy-n-paste though.

in your screenshot folder, do a "dir /b >screens.bat"
then edit screens.bat, replace ".png" (or whatever your screenshots are) with ".zip .." (or whatever file you want to delete)

then just insert at the beginning of each line "move " (that's the tough part, where a column based editor will help)

That will move all the zipfiles that match your screenshots up 1 folder.  Delete anything leftover, and move the .zip files back into the directory they used to be in.

Not pretty at all, but it should do the trick.

-jeff!
Title: Re: Delete all Rom Sets without Snap/Marquee/Video etc..?
Post by: RitchieTheBrit on September 05, 2007, 05:27:23 pm
I thought of using a batch file before, and I never knew about that /b operator, cheers!