Attract-Mode Support Forum

Attract-Mode Support => General => Topic started by: fireslayer26 on August 05, 2015, 06:00:53 PM

Title: Parents roms only?
Post by: fireslayer26 on August 05, 2015, 06:00:53 PM
There is a feature in Hyperspin where you can set it to show only parent roms. So it doesn't show all the other versions on the wheel (version b, c, d, japan, etc.). Could this be implemented in AM?

Thanks
Title: Re: Parents roms only?
Post by: akafox on August 05, 2015, 09:18:08 PM
Yes you can fireslayer, if you have a filter set up. Well maybe not for parents per say. I have to admit I have not been very good with filtering rules myself. The filter rules are under display. That is press TAB then go to displays then go to mame/arcade then filter. I hope someone will come around and you more than I can. Just a side note remember some games can not be played as parents but the clone works fine.
Title: Re: Parents roms only?
Post by: tomek on August 05, 2015, 10:05:59 PM
My approach to filtering is slightly different. Rather than having to deal with ALL the roms in AM I pre-filter the list using a simple shell script. Then my AM config filters are really simple.


Here's the pre-filter script (or list generation):
Code: [Select]

#!/usr/bin/env bash
timestamp() {
  date +"%Y%m%d%H%M%S"
}


attract -c ~/.attract/ -b mame -o filtered_mame_rom_list_$(timestamp) \
-F "Status equals good" \
-F "Category not_contains System|Utilities|Multiplay|Mature|Quiz|Mahjong|Casino|Baseball|Tabletop|Electromechanical|Match|Fishing" \
-F "Title not_contains bootleg|prototype" \
-F "Control contains joystick" \
-F "Control not_contains keyboard|mouse|trackball" \
-F "DisplayType equals raster" \
-F 'CloneOf not_equals .*' \
-F 'Manufacturer not_contains bootleg' \
-F 'Year not_contains ?'


and here are my in config fiters
Code: [Select]

layout               rpo
romlist              mame
filter               Favourites
rule                 Favourite equals 1
filter               Driving
rule                 Category contains Driving
filter               "Shoot'em Up"
rule                 Category contains Shooter
filter               Fighter
rule                 Category contains Fighter
filter               All
sort_by              Title


Title: Re: Parents roms only?
Post by: akafox on August 06, 2015, 04:34:01 PM
Yeah....that is cool. I need to talk to romlister and see if he'll add attractmode