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: automatic delete non-working roms  (Read 12597 times)

0 Members and 1 Guest are viewing this topic.

Robbe

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 2
  • Last login:April 13, 2007, 12:41:14 pm
automatic delete non-working roms
« on: April 11, 2007, 09:19:35 am »
I've got a lot of roms that doesn't work.
Right now I do it like this:
mame -verifyroms > roms.txt
Then I open the file en look for the bad ones and delete them via windows explorer.

But that is goin to take very much time.
Is there a way to do this automatic?

I already tried Mr.Tool but he deletes lots of working roms too :(

I use mame 0.69
« Last Edit: April 11, 2007, 10:14:36 am by Robbe »

NOP

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 916
  • Last login:September 19, 2017, 08:22:27 pm
  • I stole my avatar.
    • winterMAME
Re: automatic delete non-working roms
« Reply #1 on: April 11, 2007, 05:04:29 pm »
Hmmm.
You could filter your roms.txt output file by using DOS's find command (or linux grep) and redirecting that out to another file, then using a text editor to search and replace text to build a batch file.

ROMLister might also be able to do it.
http://www.waste.org/~winkles/ROMLister

It would only work if MAME 0.69 can output an xml file (-listxml command) and if that xml output has any flags in it that you can key off of, such as "emulation status=preliminary" or something, but ROMLister can generate a batch file that you can tweak to delete ROMs.

-jeff!


Robbe

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 2
  • Last login:April 13, 2007, 12:41:14 pm
Re: automatic delete non-working roms
« Reply #2 on: April 12, 2007, 03:49:01 am »
Hmmm.
You could filter your roms.txt output file by using DOS's find command (or linux grep) and redirecting that out to another file, then using a text editor to search and replace text to build a batch file.

-jeff!



I don't get it exactly,
I was thinking to make a batch that find the romname.
But, how can you find romset altbeast is bad?
Then you need to do somenthing with find and then the next word after romset or so?

Edit: I already did it manually, but if someone knows how, I'm still intrested ;)
« Last Edit: April 12, 2007, 07:52:20 am by Robbe »

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: automatic delete non-working roms
« Reply #3 on: April 12, 2007, 08:18:52 am »
I have a couple of ideas, none of them great, but . . .

First, what do you mean by bad or non-working ROMS?

Do you mean the ROM is correct, but MAME hasn't figure out the emulation (so the game can't be played)?

Or do you mean the ROM is from 0.36 and you are using 0.69, so MAME doesn't recognize it?

Or both?

(The fix is slightly different depending on what you are trying to do.)
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.

Loki

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 294
  • Last login:August 14, 2012, 08:00:32 am
    • Deathnote
Re: automatic delete non-working roms
« Reply #4 on: April 12, 2007, 08:46:29 am »
Doesn't MAME32 have an option to filter out the non working roms?
Don't eat yellow snow.

bfauska

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1372
  • Last login:April 15, 2025, 10:49:31 pm
  • "You're not wrong Walter, you're just an @##hole!"
Re: automatic delete non-working roms
« Reply #5 on: April 12, 2007, 01:44:19 pm »
If you want to actually delete the ROMs and not just ignore them and let them keep taking space on your HDD, I think you should try Mame Content Manager.  I haven't used it in a while but I know it lets you set filters for just about anything (I think this includes working/nonworking status) and assigning different extensions to  all the matching files.  After the file extensions are changed it becomes simple to do with them as you please.  I think it actually allowed direct delete from within the program, but I choose to change the extension and leave them around for a while, this way if I find one that I incorrectly switched I can switch it back, but until then Mame doesn't even see it.  I also think it works on any filetype with a name that matches a ROM, so you can use it for artwork too.  Like I said it has been a while since I used it, but I remember thinking it was great.

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: automatic delete non-working roms
« Reply #6 on: April 12, 2007, 02:02:09 pm »
Okay - if you mean preliminary roms -

EmuLoader frontend will allow you to filter all the non-working sets, select all the games, and delete the associated roms.  I don't know if the current version is compatible with 0.69 or not though.  The drawback is that MAME has a lot of games flagged as preliminary that actually work fine, or not flagged that crash, and EL can't tell the difference in this case.

If you are talking about ROMS that don't work with the current MAME version, ClrMAME can make a list of these and give you options to try to repair them, or you can manually use the list to delete them, but I don't know of an automated way to do this.
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.

quintinbiker

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 94
  • Last login:September 27, 2012, 12:47:18 am
  • Go big or go home
Re: automatic delete non-working roms
« Reply #7 on: September 09, 2011, 03:27:08 am »
I also have the same problem :(
Life is your game
How you win determines your score
How you loose determines your credits
But to play the game you have to have real credits.

That's why I'm
GAME OVER
-=-=-=-=-=-=-=-=-=-=
LIVE TO RIDE
RIDE TO LIVE
=-=-=-=-=-=-=-=-=-=-
Biker born, Biker Bread, When I Die I'm Biker Dead
-=-=-=-=-=-=-=-=-=-=