Skip to content
rogalian edited this page Jul 21, 2020 · 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. Note we exclude favourites - they are found in a second filter.

   filter               "Horizontal Games"
      rule                 Title not_contains bootleg|prototype|Sports|Trivia|Quiz|Mahjong
      rule                 Year not_contains ?
      rule                 Manufacturer not_contains bootleg
      rule                 Category not_contains Mature|Quiz|Sports|Mahjong|Casino
      rule                 Players equals 1|2
      rule                 Rotation equals 0|180
      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
      rule                 Favourite not_equals 1
   filter               "Favourite Games" 
      rule                 Favourite equals 1

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