Skip to content
rogalian edited this page Aug 10, 2022 · 16 revisions

Table of Contents

Where To Add Filters

These filter sections should be added to the 'attract.cfg' file under the emulator section that you want them to be available for. On Linux the file path is '~/.attract/attract.cfg'.

Horizontal Games

Requires CATVER.INI. Filters out bootleg/prototype/terrible/unplayable games for use in a standard joystick arcade cabinet. Swaps out better parent sets.

        global_filter
                exception            Name equals 3wonders|cyberbal2p|ddcrew2|gauntlet2p|gaunt22p|goldnaxej|lifefrcej|mainevt2p|metamrphj|mshvsfj|nslasherj|rampart2p|rastsaga|robocop2j|rtypeleoj|rygarj|ryukendn|sf2hfj|sf2cejc|sf2jl|sfiii3r1|sfz2al|simpsons2p|ssf2xj|ssridersebd|terrafj|tgm2p|thunderxj|tmnt2pj|uccopsar|vendettaj|wbmlvcd|xexexj
                rule                 Rotation equals 0|180
                rule                 CloneOf not_contains .
                rule                 Manufacturer not_contains bootleg|unknown|?
                rule                 DisplayCount equals 1
                rule                 Players contains 1|2
                rule                 Title not_contains bootleg|prototype|Sports|Trivia|Quiz|Mahjong
                rule                 Category not_contains Mature|Quiz|Mahjong|Casino|Redemption|Utilities|Tabletop|Medal|Unknown|Compilation|Mini-Game|Music
                rule                 DisplayType equals raster
                rule                 Year not_contains ?
                rule                 Control contains joystick|only_buttons
                rule                 Control contains 2-way|4-way|8-way|only_buttons
                rule                 Control not_contains gambling|positional|pedal|analog
                rule                 Status equals good|imperfect
                rule                 Name not_equals (cyberbal)|(ddcrew)|(gauntlet)|(gaunt2)|(goldnaxe)|(salamand)|(mainevt)|(metamrph)|(mshvsf)|(nslasher)|(rampart)|(rastan)|(robocop2)|(rtypeleo)|(rygar)|(shadoww)|(sf2hf)|(sf2ce)|(sf2)|(sfiii3)|(sfz2a)|(simpsons)|(ssf2t)|(ssriders)|(terraf)|(tgm2)|(thunderx)|(tmnt)|(uccops)|(vendetta)|(wbml)|(xexex)|(dariusgx)
        filter               "All Games"
                sort_by                 Title
        filter               "Most Played"
                sort_by              PlayedTime
                reverse_order        true
                list_limit           25
        filter               "Beat 'em up Games"
                rule                 Category equals Fight.+2.5D
        filter               "Driving Games"
                rule                 Category equals Driving.+
        filter               "Fighting Games"
                rule                 Category equals Fight.+Versus
                sort_by              Series
        filter               "Maze Games"
                rule                 Category equals Maze.+
        filter               "Platform Games"
                rule                 Category contains Jump
        filter               "Platform Fighting Games"
                rule                 Category equals Platform.+
                rule                 Category contains Fight
        filter               "Platform Shooting Games"
                rule                 Category equals Platform.+
                rule                 Category contains Shoot
        filter               "Puzzle Games"
                rule                 Category equals Puzzle.+
        filter               "Shooting Games"
                rule                 Category equals Shooter.+
                rule                 Category not_equals Shooter.+Horizontal
                rule                 Category not_equals Shooter.+Vertical
                rule                 Category not_equals Shooter.+Diagonal
        filter               "SHMUP Games"
                rule                 Category equals (Shooter.+Horizontal)|(Shooter.+Vertical)|(Shooter.+Diagonal)
        filter               "Sports Games"
                rule                 Category equals Sport.+
        filter               "© Bally/Midway"
                rule                 Manufacturer equals (Ball.*)|(Midwa.*)|(.*/.Ball.*)|(.*/.Midwa.*)
        filter               "© Capcom"
                rule                 Manufacturer equals (Capco.*)|(.*/.Capco.*)
        filter               "© Data East"
                rule                 Manufacturer equals (Data.Eas.*)|(.*/.Data.Eas.*)
        filter               "© Irem"
                rule                 Manufacturer equals (Ire.*)|(.*/.Ire.*)
        filter               "© Jaleco"
                rule                 Manufacturer equals (Jalec.*)|(.*/.Jalec.*)
        filter               "© Konami"
                rule                 Manufacturer equals (Konam.*)|(.*/.Konam.*)
        filter               "© Namco"
                rule                 Manufacturer equals (Namc.*)|(.*/.Namc.*)
        filter               "© Sega"
                rule                 Manufacturer equals (Seg.*)|(.*/.Seg.*)
        filter               "© SNK"
                rule                 Manufacturer equals (SN.*)|(.*/.SN.*)
        filter               "© Taito"
                rule                 Manufacturer equals (Tait.*)|(.*/.Tait.*)
        filter               "© Video System Co."
                rule                 Manufacturer equals (Visc.*)|(Video.System.Co.*)|(.*/.Visc.*)|(.*/.Video.System.C.*)
        filter               "Golden Age - 1978-1983"
                rule                 Year equals 1978|1979|1980|1981|1982|1983
        filter               "Released in 1984"
                rule                 Year equals 1984
        filter               "Released in 1985"
                rule                 Year equals 1985
        filter               "Released in 1986"
                rule                 Year equals 1986
        filter               "Released in 1987"
                rule                 Year equals 1987
        filter               "Released in 1988"
                rule                 Year equals 1988
        filter               "Released in 1989"
                rule                 Year equals 1989
        filter               "Released in 1990"
                rule                 Year equals 1990
        filter               "Released in 1991"
                rule                 Year equals 1991
        filter               "Released in 1992"
                rule                 Year equals 1992
        filter               "Released in 1993"
                rule                 Year equals 1993
                rule                 Year equals 1994
        filter               "Released in 1995"
                rule                 Year equals 1995
        filter               "Released in 1996"
                rule                 Year equals 1996
        filter               "Released in 1997"
                rule                 Year equals 1997
        filter               "Released in 1998"
                rule                 Year equals 1998
        filter               "Released in 1999"
                rule                 Year equals 1999
        filter               "Released after 1999..."
                rule                 Year equals 20..

Vertical Games

Global filter separates vertically oriented games playable with a joystick. Additional filters separate out genres, manufacturers, and year of release. Demonstrates using an exception list to override specific parents with better/playable clones.

global_filter        
	exception            Name equals batsugunsp|cyvernj|driftout|ddpdojblk|dkongjrj|dogosokb|downtownj|ghoxj|gwarb|ikarijpb|omegafs
	rule                 Rotation equals 90|270
	rule                 DisplayType equals raster
	rule                 DisplayCount equals 1
	rule                 Control contains joystick|dial
	rule                 Control not_contains gambling|positional
	rule                 Category not_contains Mature|Casino|MultiGame|Redemption
	rule                 Status not_equals preliminary
	rule                 Title not_contains bootleg|internal build|\(prototype|prototype\)|China|Raiden II New
	rule                 Manufacturer not_contains bootleg|Promat
	rule                 CloneOf not_contains .
	rule                 AltRomname not_equals decocass|cedmag
	rule                 Year not_contains ?
	rule                 Name not_equals batsugun|cyvern|ddp3|ddpdojt|dkongjr|ghox|ikari|gwar|mjleague|metlhawk|alleymas|omegaf
filter               "All Games"
filter               "Most Played"
	sort_by              PlayedTime
	reverse_order        true
	list_limit           25
filter               "Breakout Games"
	rule                 Category contains Breakout
filter               "Driving Games"
	rule                 Category equals Driving.+
filter               "Fighting Games"
	rule                 Category equals Fight.+
filter               "Maze Games"
	rule                 Category equals Maze.+
filter               "Platform Games"
	rule                 Category equals Platform.+
filter               "Puzzle Games"
	rule                 Category equals Puzzle.+
filter               "Shooting Games"
	rule                 Category equals Shooter.+
filter               "Sports Games"
	rule                 Category equals Sport.+
filter               "© Alpha Denshi"
	rule                 Manufacturer equals (Alpha.Densh.*)|(.*/.Alpha.Densh.*)
filter               "© Bally/Midway"
	rule                 Manufacturer equals (Ball.*)|(Midwa.*)|(.*/.Ball.*)|(.*/.Midwa.*)
filter               "© Capcom"
	rule                 Manufacturer equals (Capco.*)|(.*/.Capco.*)
filter               "© Cave"
	rule                 Manufacturer equals (Cav.*)|(.*/.Cav.*)
filter               "© Data East"
	rule                 Manufacturer equals (Data.Eas.*)|(.*/.Data.Eas.*)
filter               "© Irem"
	rule                 Manufacturer equals (Ire.*)|(.*/.Ire.*)
filter               "© Jaleco"
	rule                 Manufacturer equals (Jalec.*)|(.*/.Jalec.*)
filter               "© Kaneko"
	rule                 Manufacturer equals (Kanek.*)|(.*/.Kanek.*)
filter               "© Konami"
	rule                 Manufacturer equals (Konam.*)|(.*/.Konam.*)
filter               "© Namco"
	rule                 Manufacturer equals (Namc.*)|(.*/.Namc.*)
filter               "© Nintendo"
	rule                 Manufacturer equals (Nintend.*)|(.*/.Nintend.*)
filter               "© Psikyo"
	rule                 Manufacturer equals (Psiky.*)|(.*/.Psiky.*)
filter               "© Raizing / Eighting"
	rule                 Manufacturer equals (Raizin.*)|(Eightin.*)|(.*/.Raizin.*)|(.*/.Eightin.*)
filter               "© Seibu Kaihatsu"
	rule                 Manufacturer equals (Seibu.Kaihats.*)|(.*/.Seibu.Kaihats.*)
filter               "© Sega"
	rule                 Manufacturer equals (Seg.*)|(.*/.Seg.*)
filter               "© SNK"
	rule                 Manufacturer equals (SN.*)|(.*/.SN.*)
filter               "© Taito"
	rule                 Manufacturer equals (Tait.*)|(.*/.Tait.*)
filter               "© Technos"
	rule                 Manufacturer equals (Techno.*)|(.*/.Techno.*)
filter               "© Tecmo"
	rule                 Manufacturer equals (Tecm.*)|(.*/.Tecm.*)
filter               "© Toaplan"
	rule                 Manufacturer equals (Toapla.*)|(.*/.Toapla.*)
filter               "© Universal"
	rule                 Manufacturer equals (Universa.*)|(.*/.Universa.*)
filter               "© Video System Co."
	rule                 Manufacturer equals (Visc.*)|(Video.System.Co.*)|(.*/.Visc.*)|(.*/.Video.System.C.*)
filter               "© Zaccaria"
	rule                 Manufacturer equals (Zaccari.*)|(.*/.Zaccari.*)
filter               "Released 1970 - 1979"
	rule                 Year equals 197.
filter               "Released 1980"
	rule                 Year equals 1980
filter               "Released 1981"
	rule                 Year equals 1981
filter               "Released 1982"
	rule                 Year equals 1982
filter               "Released 1983"
	rule                 Year equals 1983
filter               "Released 1984 - 1985"
	rule                 Year equals 1984|1985
filter               "Released 1986 - 1987"
	rule                 Year equals 1986|1987
filter               "Released 1988 - 1989"
	rule                 Year equals 1988|1989
filter               "Released 1990 - 1994"
	rule                 Year equals 1990|1991|1992|1993|1994
filter               "Released 1995 - 1999"
	rule                 Year equals 1995|1996|1997|1998|1999
filter               "Released 2000 - 2020"
	rule                 Year equals 20..

Vertical SHMUPs

Requires CATVER.INI.

   filter               "SHMUPs"
      rule                 Title not_contains bootleg|prototype|Sports|Trivia|Quiz|Mahjong
      rule                 Year not_contains ?
      rule                 Manufacturer not_contains bootleg
      rule                 Category contains "Shooter / Flying"
      rule                 Players equals 1|2
      rule                 Rotation equals 90|270
      rule                 Control contains joystick
      rule                 Control contains 2-way|4-way|8-way
      rule                 Status equals good|imperfect
      rule                 DisplayCount equals 1
      rule                 DisplayType equals raster

MESS/UME

Filters are based on the most successful English language market for the system and the MESS tags.

list	Sega Master System
	filter               All
		rule                 Title contains (\(World\))|(\(Euro)
		rule                 Title not_contains (Prototype\))|(, Sega Card)
		rule                 Year not_contains ?

list	Sega Mega Drive
	filter               All
		rule                 Title contains (\(USA\))|(\(Euro, USA\))|(\(World\))
		rule                 Year not_contains ?

list	Nintendo Entertainment System
	filter               All
		rule                 Title contains (\(USA\))
		rule                 Year not_contains ?

list	Super Nintendo Entertainment System
	filter               All
		rule                 Title contains (\(USA\))
		rule                 Year not_contains ?

Filter out all hacks and prototypes along with roms from specified regions.

list	Nintendo Entertainment System
		rule                 Title not_contains (\(Rus)|(\(Chi)

No Clones

Filter out anything marked as a clone in MAME/MESS lists.

	filter               "No Clones"
		rule                 CloneOf not_equals .*

Categories sorting

Requires CATVER.INI. A global filter for all filters in the same Display is present at the beginning. it is applied to every filters in the same Display.

	global_filter        
		rule                 CloneOf not_equals .*
		rule                 Status equals good|imperfect
		rule                 Status not_equals preliminary
		rule                 Players contains 1|2
		rule                 Category not_contains Electromechanical|Tabletop|Casino|Quiz|Mahjong|Computer|Microcomputer|Test|Portable|Console|Handheld|Device|Training Board|Synthesiser|Clock|Document Processors
		rule                 Category not_equals Misc.|Quiz / Korean|Electromechanical / Reels|Casino / Cards|Casino / Reels
		rule                 Title not_contains bootleg|prototype
		rule                 Manufacturer not_contains bootleg
		rule                 Year not_contains ?
		#rule                 DisplayType equals raster|vector
		#rule                 Control contains joystick
		#rule                 Control contains 2-way|4-way|8-way
		#rule                 Control not_contains keyboard|mouse|trackball
			
	filter               All
	
	filter               Favourites
		rule                 Favourite equals 1
	filter               "Most Played Games"
		sort_by              PlayedCount
		reverse_order        true
		rule                 PlayedCount not_equals 0
	filter               "Breakout"
		rule                 Category contains Ball & Paddle|Breakout
	filter               Casino
		rule                 Category contains Casino
	filter               Driving
		rule                 Category contains Driving|Biking|Motorcycle
	filter               Fighter
		rule                 Category contains Fighter
	filter               Mature
		rule                 Category contains Mature
	filter               "Maze Games"
		rule                 Category equals Maze
	filter               Mini-Games
		rule                 Category contains Mini-Games
	filter               Pinball
		rule                 Category contains Pinball
	filter               Platform
		rule                 Category contains Platform
	filter               Puzzle
		rule                 Category contains Puzzle
	filter               Rhythm
		rule                 Category contains Rhythm
	filter               Shooter
		rule                 Category contains Shooter
	filter               Sports
		rule                 Category contains Sports
	filter               Tabletop
		rule                 Category contains Tabletop