EMULAB Forum

clrmamepro [English] => clrmame Discussion => Topic started by: UnluckyForSome on 09 June 2018, 18:27

Title: Set info filtering - USA only AND exclude demos?
Post by: UnluckyForSome on 09 June 2018, 18:27
Hi Guys,

I can get clrmamepro to exclude all roms (actually isos in my case) except USA using

%d=*(USA)*

However I also want to exclude Demos and I can’t figure out how to do this at the same time as I would need a “does not equal” e.g

%d=*(USA)*; %d≠*(Demo)*

This symbol (≠) obviously isn’t supported, is there any way of acheiving this? I know there is an inverse option and a logical NOT, but these inverse BOTH variables not just the one.

Many thanks!
 
Title: Re: Set info filtering - USA only AND exclude demos?
Post by: Roman on 09 June 2018, 20:08
you got an example dat so I can play around a bit?
Title: Re: Set info filtering - USA only AND exclude demos?
Post by: UnluckyForSome on 09 June 2018, 22:09
Hey Roman,

It's a redump dat file you can get from here: (http://redump.org/datfile/psx/ (http://redump.org/datfile/psx/)) so there's no way of filtering by region in any other way other than by matching the "(USA)" text in the description string.

Let me know if you find any way of doing it! :D

Many thanks
Title: Re: Set info filtering - USA only AND exclude demos?
Post by: Roman on 10 June 2018, 19:59
Hmm...guess this should do it....

*(USA)*[!(][!D][!e][!m][!o]?;*(USA)

To explain it: second part behind semicolon: match all setnames which end with (USA)....ok the easy one...the part before the semicolon is: match anything which got something before (USA) and something after (USA) but not (Demo (followed by at least one character)...

....or something ;-)
Title: Re: Set info filtering - USA only AND exclude demos?
Post by: UnluckyForSome on 14 June 2018, 20:33
Haha Thanks Roman, I've ended up just creating a new dat with just USA, then filtering again with Demo's and a couple of other things disabled :)  - thought it would be easier to add extra filters this way! :)