Attract-Mode Support Forum
Attract-Mode Support => General => Topic started by: emuola on June 14, 2016, 06:39:36 AM
-
Hi.
Ikari Warriors has this nice bootleg/hacked clone version, that works great with standard joystick instead on the "original pots". I want to filter out all my other clones, but not that one. How do I accomplish this via a filter? I have filtered all clones out via this in my "All":
target="CloneOf", comparison="does not equal" and the filter value=".*" (dot star)
So now I should be able to make an exception concerning the Ikari Warriors clone.
Sorry, I suck at filters :/
-
Ok, let's try the other way around :) How can I run a clone from Attract Mode? In AdvanceMenu there was a configurable key for this back in the day. This would be a nice workaround for the filtering problem :) I could not figure this out either :/
-
Try negative lookahead and let me know how it works. You might have to play around with the regex a bit. I can't test as I am out of state for work.
^(?!foo).*$
-
Exceptions must go first in your filter before your rules.
Try this:
filter "No Clones"
exception Name equals <romname>
rule CloneOf not_equals .*
-
Exceptions must go first in your filter before your rules.
Try this:
filter "No Clones"
exception Name equals <romname>
rule CloneOf not_equals .*
This did it :D Thank you so much progets 8)