Attract-Mode Support Forum

Attract-Mode Support => General => Topic started by: gamesmame on April 05, 2021, 05:19:54 AM

Title: Please how i use the filter today?? MAME and 4players???
Post by: gamesmame on April 05, 2021, 05:19:54 AM
I use MAME 229 but i dont can make filter 4players...

Please help here.. Thanks!!  ;)
Title: Re: Please how i use the filter today?? MAME and 4players???
Post by: hermine.potter on April 05, 2021, 05:44:12 AM
set controls for filter > set filter for : Players > set filter equals : 4
Search (http://forum.attractmode.org/index.php?topic=200.0)
Search (http://forum.attractmode.org/index.php?topic=3306.0)
Search (http://forum.attractmode.org/index.php?topic=1398.0)
Search (http://forum.attractmode.org/index.php?topic=1982.0)
Search (https://github.com/mickelson/attract/wiki/Example-filters)
Title: Re: Please how i use the filter today?? MAME and 4players???
Post by: gamesmame on April 05, 2021, 08:43:21 AM
I put this..


Code: [Select]

display 4Players
layout               Cabs
romlist              MAME
in_cycle             yes
in_menu              yes
global_filter
rule                 CloneOf not_equals .*
filter               Controls
rule                 Control equals 4
filter               Favourites
rule                 Favourite equals 1


And dont work.. Why?
Title: Re: Please how i use the filter today?? MAME and 4players???
Post by: mahuti on April 05, 2021, 01:24:30 PM
Does your romlist contain a column for Controls?
Title: Re: Please how i use the filter today?? MAME and 4players???
Post by: hermine.potter on April 06, 2021, 02:06:06 AM
your filter is wrong. have a look to your romlist:

in my case:
C:\attract\romlists\mame.txt

#Name;Title;Emulator;CloneOf;Year;Manufacturer;Category;Players;Rotation;Control;Status;DisplayCount;DisplayType;AltRomname;AltTitle;Extra;Buttons
carpolo;Car Polo;mame;;1977;Exidy;Action;4;0;dial,dial,dial,dial;preliminary;1;raster;;;;

see column of Control : dial => can't be 4
see column of Players : 4 => that's it



setting Controls in AM to filter:
Start AM > press TAB key > Controls > Set a Button to 'Next Filter'

Title: Re: Please how i use the filter today?? MAME and 4players???
Post by: gamesmame on April 06, 2021, 06:36:44 AM
Does your romlist contain a column for Controls?

Does your romlist contain a column for Controls?

your filter is wrong. have a look to your romlist:


Here it is like this:

(https://i.imgur.com/VsM9BPz.jpg)

(https://i.imgur.com/QqvmvRy.png)

its wrong??
Title: Re: Please how i use the filter today?? MAME and 4players???
Post by: hermine.potter on April 06, 2021, 08:19:04 AM
Yes, it's wrong.
not Control => Players
Players equals 4
then press button for 'Next Filter' till games are shown.

one thing:
use 'Add filter' instead 'Global Filter'.
there exist games with 6 Players. with 'Global Filter' they are not shown.
so add one filter each number of players:
one rule for : Players equals 4
one rule for : Players equals 6
and so on
Title: Re: Please how i use the filter today?? MAME and 4players???
Post by: gamesmame on April 07, 2021, 08:47:22 AM
Yes, it's wrong.

Thanks my friend!!! you is the MAN  8)!!! and sorry for my noob  ;D