Build Your Own Arcade Controls Forum

Main => Software Forum => Topic started by: rerstad on February 08, 2005, 11:44:23 pm

Title: Way to mass delete unused artwork?
Post by: rerstad on February 08, 2005, 11:44:23 pm
I've gone through and used various methods to delete the roms that won't play or I don't want played on my arcade (I still have them on DVD if I ever want to reinstall them).  Now, due to space limitations, I would like to delete unneeded artwork as well.  Is there a way to delete everything that doesn't appear in my filtered Mamewah list? Or any other way to mass delete the files I don't want?

Thanks.
Title: Re: Way to mass delete unused artwork?
Post by: dabone on February 09, 2005, 11:37:42 am
Just use the lastest version on Mame content manager.



Later,
dabone

Title: Re: Way to mass delete unused artwork?
Post by: Tiger-Heli on February 09, 2005, 12:43:06 pm
I don't know what you can do from MAMEwah.

MCM will only remove artwork based on content - so if galpanic got removed, MCM will remove the artwork files, since it's a mature game, but if you just decided you didn't want to play the Spanish version of Gauntlet, MCM won't help you.

You can do this with EmuLoader (www.mameworld.net/emuloader) assuming the following:

The only games you want are games supported by your roms, and

Your artwork is named as gamename.png or gamename.jpg.

Here's the quick way to do it.

Install EL - It should find MAME and all your available games.

Filter the list to show only available games (4th button on the toolbar).

Tell EL where your title (marquee, etc.) shots are.

In the image viewer, select the correct image type, right-click and select "Delete unnecessary images".

I think this sends them to the recycle bin.  It's not a bad idea to go back through and make sure it didn't delete anything you wanted.
Title: Re: Way to mass delete unused artwork?
Post by: BuZz880 on February 09, 2005, 06:27:28 pm
What I would do, is simply use Excel with its find and replace abilites combined with the power to use a formula to concatenate some text with your list of romnames (use a utility like dirhtml or something to generate a column list of romnames) the goal is to create a move command for each so:

pacman.zip
becomes
move pacman.jpg c:\snaps\pacman.jpg

Then just copy these move commands into notepad and save it as a BAT file in the directory of your artwork and double-click it.  After it moves all the art you want to keep into a new directory you can simply delete anything that remains.

I told you it wouldn't be slick but its pretty simple really.
Title: Re: Way to mass delete unused artwork?
Post by: Tiger-Heli on February 10, 2005, 07:16:45 am
What I would do, is simply use Excel with its find and replace abilites combined with the power to use a formula to concatenate some text with your list of romnames (use a utility like dirhtml or something to generate a column list of romnames) the goal is to create a move command for each so:

pacman.zip
becomes
move pacman.jpg c:\snaps\pacman.jpg

Then just copy these move commands into notepad and save it as a BAT file in the directory of your artwork and double-click it.  After it moves all the art you want to keep into a new directory you can simply delete anything that remains.

I told you it wouldn't be slick but its pretty simple really.

Actually, that's a pretty cool idea!
Title: Re: Way to mass delete unused artwork?
Post by: max2004 on February 14, 2005, 08:23:05 pm
The easiest way to do this is use the Mame Content Manager and use the MCM.ini file at Retroblast.com download section.


http://www.mameworld.net/mcm/

http://retroblast.com/files.html

"New in version 2.0 - not only ROM files, but Snapshots, Flyers, Marquees, Cabinets, and Title Snaps can be weeded out with MCM.
Title: Re: Way to mass delete unused artwork?
Post by: lucindrea on February 15, 2005, 02:17:22 pm
use a utility like dirhtml or something to generate a column list of romnames


or insted of going through all the trouble of finding then installing some program you could just do a

dir /b > files.txt
Title: Re: Way to mass delete unused artwork?
Post by: BuZz880 on February 19, 2005, 02:03:49 pm
That is so obvious I can't believe it never once ocurred to me.  Thanks.