Build Your Own Arcade Controls Forum

Main => Software Forum => Topic started by: Robbe on April 11, 2007, 09:19:35 am

Title: automatic delete non-working roms
Post by: Robbe 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
Title: Re: automatic delete non-working roms
Post by: NOP 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!

Title: Re: automatic delete non-working roms
Post by: Robbe 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 ;)
Title: Re: automatic delete non-working roms
Post by: Tiger-Heli 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.)
Title: Re: automatic delete non-working roms
Post by: Loki on April 12, 2007, 08:46:29 am
Doesn't MAME32 have an option to filter out the non working roms?
Title: Re: automatic delete non-working roms
Post by: bfauska 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 (http://www.mameworld.net/mcm/).  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.
Title: Re: automatic delete non-working roms
Post by: Tiger-Heli 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.
Title: Re: automatic delete non-working roms
Post by: quintinbiker on September 09, 2011, 03:27:08 am
I also have the same problem :(