Attract-Mode Support Forum

Attract-Mode Support => General => Topic started by: Takaji on September 11, 2016, 09:13:44 AM

Title: Can AM output a text file containing a list of filtered roms?
Post by: Takaji on September 11, 2016, 09:13:44 AM
I'm trying to pare down my collection of MAME roms by deleting clones, non-working games, mahjong titles, etc.

I created a series of filters in AM for MAME and am left with 1920 "playable" games. Is there some way to get a text file containing this list of filtered games, so that I can use it to delete roms that are not in the list? (I am aware that my roms collection also contains BIOS files, so I won't be deleting those.)

Thanks!
Title: Re: Can AM output a text file containing a list of filtered roms?
Post by: progets on September 11, 2016, 10:35:40 PM
Yes, it can. You need to use the command line.

Something like this (you can add more filters)
Code: [Select]
attract --build-romlist mame --filter "CloneOf not equals .*" --fliter "Status equals good|imperfect" --output mame_clean

You can also use a third party tool like romlister to get your list.
Title: Re: Can AM output a text file containing a list of filtered roms?
Post by: Takaji on September 12, 2016, 09:55:54 AM
Thank you, this is exactly what I was looking for. :)
Title: Re: Can AM output a text file containing a list of filtered roms?
Post by: akafox on September 12, 2016, 10:18:32 AM
The kist is a text file isn't it? Structured CVS...but a editable text file never the less..or am wrong?
Title: Re: Can AM output a text file containing a list of filtered roms?
Post by: Takaji on September 12, 2016, 01:09:42 PM
kist?
Title: Re: Can AM output a text file containing a list of filtered roms?
Post by: akafox on September 12, 2016, 07:30:33 PM
list I mean..

after I build my list I open it up in a text editor or a spread sheet program and edit it that way.
Title: Re: Can AM output a text file containing a list of filtered roms?
Post by: Takaji on September 13, 2016, 01:48:03 PM
Yup, it's totally possible. For me, it was enough to generate the romlist using the command line, and then use that with some Windows batch functions to save only the roms I wanted. Now my collection is trimmed down to ~2500 roms that are actually playable on my setup.