Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Way to mass delete unused artwork?  (Read 1826 times)

0 Members and 1 Guest are viewing this topic.

rerstad

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 70
  • Last login:December 11, 2006, 01:25:57 pm
  • I want to build my own arcade controls!
Way to mass delete unused artwork?
« 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.

dabone

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 898
  • Last login:July 15, 2025, 08:32:17 pm
  • Time to work...
Re: Way to mass delete unused artwork?
« Reply #1 on: February 09, 2005, 11:37:42 am »
Just use the lastest version on Mame content manager.



Later,
dabone


Tiger-Heli

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5447
  • Last login:January 03, 2018, 02:19:23 pm
  • Ron Howard? . . . er, I mean . . . Run, Coward!!!
    • Tiger-Heli
Re: Way to mass delete unused artwork?
« Reply #2 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.
It's not what you take when you leave this world behind you, it's what you leave behind you when you go. - R. Travis.
When all is said and done, generally much more is SAID than DONE.

BuZz880

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 201
  • Last login:November 16, 2023, 02:16:43 pm
  • I'm a llama!
Re: Way to mass delete unused artwork?
« Reply #3 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.

Tiger-Heli

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5447
  • Last login:January 03, 2018, 02:19:23 pm
  • Ron Howard? . . . er, I mean . . . Run, Coward!!!
    • Tiger-Heli
Re: Way to mass delete unused artwork?
« Reply #4 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!
It's not what you take when you leave this world behind you, it's what you leave behind you when you go. - R. Travis.
When all is said and done, generally much more is SAID than DONE.

max2004

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 3
  • Last login:February 18, 2007, 12:12:21 am
  • I want to build my own arcade controls!
Re: Way to mass delete unused artwork?
« Reply #5 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.

lucindrea

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 262
  • Last login:July 28, 2005, 10:06:19 am
  • I dont think I'm a llama!
Re: Way to mass delete unused artwork?
« Reply #6 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

BuZz880

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 201
  • Last login:November 16, 2023, 02:16:43 pm
  • I'm a llama!
Re: Way to mass delete unused artwork?
« Reply #7 on: February 19, 2005, 02:03:49 pm »
That is so obvious I can't believe it never once ocurred to me.  Thanks.