Attract-Mode Support Forum

Attract-Mode Support => General => Topic started by: Bgoulette on August 13, 2015, 09:56:45 PM

Title: Yet another n00b filter question
Post by: Bgoulette on August 13, 2015, 09:56:45 PM
Hey all,

I'm curious to learn if there's a way to filter based on, say, games released before or after a certain year. Basic greater than/less than comparators. But I'm not sure how (if?) they might be implemented in the filters. I have other filters working, but not sure what to do for this (assuming it's even possible)! If there is a way to do this, I'd also use it in games that can be either 1 or more (e.g., 1, 2, 3, 4) players, etc. Anyway, thanks!
Title: Re: Yet another n00b filter question
Post by: akafox on August 14, 2015, 12:27:29 PM
Yes you can. You can filter within a filter. Say Figthing games...but only street fighter.
Or say shooters but only the one made in '83 '87.

For the second example :
You filter by category .. equals Shooter / Flying Vertical
then within  the same category rule you add a second rule:
filter by year equals 1983
then still in the first filter rule set filter again
year equals 1987

Title: Re: Yet another n00b filter question
Post by: Bgoulette on August 14, 2015, 12:30:33 PM
Thanks for the response. I was afraid it might be something like that :( I was hoping there was a one-line (rule) approach, but assuming we're doing regex under the hood, it makes sense that math operators wouldn't work. All right, thanks again!
Title: Re: Yet another n00b filter question
Post by: tomek on August 14, 2015, 03:51:43 PM
It's really not that bad, really. Think of the filters as progressive refinement the it will make more sense. Each filter line can use the OR operator "|".


You can always pre-filter your list before it even gets to AM. See my other post if you're interested in this approach:


http://forum.attractmode.org/index.php?topic=315.msg2256#msg2256 (http://forum.attractmode.org/index.php?topic=315.msg2256#msg2256)


cheers,
-tomek