Attract-Mode Support Forum
Attract-Mode Support => General => Topic started by: ps2daddy on October 23, 2018, 08:47:15 AM
-
I need some help an insight on where and how to create a filter to accomplish this.
I have a hyperpie 2 image based on attract mode and I thought there was some way to go to a "master" display and set the filter but I am very confused.
Any help would be greatly appreciated.
-
https://github.com/mickelson/attract/wiki/Example-filters
global_filter in attract.cfg
-
global_filter
rule Category not_contains Mature
-
I saw the roms in the arcade folder for I went to the attract.cfg file and edited the arcade menu but galpanic it still shows up in that display
I tried this
display Arcade
layout HP2-Arcade-Menu
romlist Arcade
in_cycle no
in_menu no
global_filter
rule Category not_contains Mature
rule FileIsAvailable equals 1
rule CloneOf not_equals .*
rule Status not_equals preliminary
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 ?
filter All
filter Favourites
rule Favourite equals 1
filter "Most Played"
sort_by PlayedCount
reverse_order true
rule PlayedCount not_contains 0
filter Breakout
rule Category contains Ball & Paddle|Breakout
filter Driving
rule Category contains Driving|Biking|Motorcycle
filter Fighter
rule Category contains Fighter
filter Mature
rule Category contains Mature I didnt change this but also saw this under favorites in that menu
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 Atari
sort_by Name
rule CloneOf not_equals .+
rule Manufacturer contains Atari
filter Banpresto
sort_by Name
rule CloneOf not_equals .+
rule Manufacturer contains Banpresto
filter Capcom
sort_by Name
rule CloneOf not_equals .+
rule Manufacturer contains Capcom
-
1. Your global_filter has two different "Category not_contains" rules which is likely your problem. To test you should only use one rule to be certain what works and doesn't work on its own.
2. If your romlists don't contain the correct data then your rules won't work.
-
Looked at arcade romlist and all matue games are labled "*Mature*"
2 examples
galpanica;Gals Panic (MCU Protected);Arcade;galpanic;1990;Kaneko;Puzzle / Outline * Mature *;;;;;0;;;;;
apparel;Apparel Night (Japan 860929);Arcade;;1986;Central Denshi;Tabletop / Mahjong * Mature *;;;;;0;;;;;
I took the "*" of each mature title and that did not make a difference.
I assumed the the filters for mature contained under favorites allowed you to select mature games for you favorites in arcades if you choose them but would not show up in the regular arcade list.
I even removed the Mature rule under each favorites category and left the "not_contains mature" under each global_filter and that didnt make a difference either
:(
-
Rules are case sensitive. Your example of "not_contains mature" should be "not_contains Mature" based on the romlist entries you provided.
-
I tried this in the appropriate global sections
display Arcade
layout HP2-Arcade-Menu
romlist Arcade
in_cycle no
in_menu no
global_filter
rule FileIsAvailable equals 1
rule CloneOf not_equals .*
rule Status not_equals preliminary
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 Category not_contains Mature (I added this line)
Also tried leaving the Mature filter in the "Favorites" section settings and removing it and neither way worked In conjuction with the Global filter addition
Favorites filter
filter Mature
rule Category contains Mature
(See last post for more details)
-
Like I told you in the post above.
Your global_filter has two different "Category not_contains" rules which is likely your problem.
Append the first "Category not_contains" rule with |Mature and get rid of the second "Category not_contains" rule.
-
tried that and that didn't work either
global_filter
rule FileIsAvailable equals 1
rule CloneOf not_equals .*
rule Status not_equals preliminary
rule Category not_contains Electromechanical|Tabletop|Casino|Quiz|Mahjong|Computer|Microcomputer|Test|Portable|Console|Handheld|Device|Training Board|Synthesiser|Clock|Document Processors|Mature
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 ?
Went back and to the "*"'s out for Mature in the rom list and that didn't help either
-
tried that and that didn't work either
global_filter
rule FileIsAvailable equals 1
rule CloneOf not_equals .*
rule Status not_equals preliminary
rule Category not_contains Electromechanical|Tabletop|Casino|Quiz|Mahjong|Computer|Microcomputer|Test|Portable|Console|Handheld|Device|Training Board|Synthesiser|Clock|Document Processors|Mature
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 ?
Went back and to the "*"'s out for Mature in the rom list and that didn't help either
I have tested this and it works for me. Like I mentioned above, get rid of all your other rules so you can test with just one rule until you get it right. Troubleshooting with all those rules makes zero sense. Once you have it working you can then implement your other rules and see where the problem comes in.
Post your attract.cfg and your mame.cfg if you want further feed back.
-
there is an app called simple multi filter i think. let me find it and see if i cant attach to my next reply. works great and filterswhat you want.
-
Thanks I look into the app and here are my files
-
here this works very well.... well when you figure out how to use it... sorry i had no instructions maybe find some nline. what i did found this i think in arcadepunks website.
i used it a few months ago and been using same rom list since so i kinda forgot how to use this. but it will filter the important parts. anyway....
-
there is another better filter app out there but i cant remember the name. the hdd i had it on took a crap and i cant seem to find it. it has a few more filter options then this one. sorry cant be more help.