Author Topic: *SOLVED* Filtering all clones but one?  (Read 5642 times)

emuola

  • Newbie
  • *
  • Posts: 3
    • View Profile
*SOLVED* Filtering all clones but one?
« 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 :/
« Last Edit: June 20, 2016, 07:33:24 AM by emuola »

emuola

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Filtering all clones but one?
« Reply #1 on: June 15, 2016, 01:10:54 AM »
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 :/

keilmillerjr

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1167
    • View Profile
Re: Filtering all clones but one?
« Reply #2 on: June 15, 2016, 07:35:40 AM »
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.

Code: [Select]
^(?!foo).*$

progets

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1274
    • View Profile
Re: Filtering all clones but one?
« Reply #3 on: June 15, 2016, 07:00:11 PM »
Exceptions must go first in your filter before your rules.

Try this:
filter               "No Clones"
   exception            Name equals <romname>
   rule                 CloneOf not_equals .*

emuola

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Filtering all clones but one?
« Reply #4 on: June 20, 2016, 07:34:09 AM »
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)