Attract-Mode Support Forum
Attract-Mode Support => General => Topic started by: feltz916 on April 30, 2017, 11:14:16 PM
-
Hey everyone, looking to try to create a filter using progrettosnaps bestgames.ini file which is in catver format.
bestgames.ini has rank categories, but I dont know how to query them in the filter.
Anyone done something like this?
-
The bestgames.ini isn't directly supported. In Attract-Mode most filters use the romlist, favorites and tag lists. MAME can add information from mame/list.xml, carver.ini, nplayers.ini and controls.ini (currently not working) to the romlist.
If you really want to use the bestgames.ini, your best bet is to create tag group files for each section and cut and paste the rom names from their perspective section to the corresponding tag files. Then you can create your filters base on the tag files in Attract-Mode.
-
that should be easy enough, how can i filter based on tag files? I see they are used for favorites, can you have multiple tag files for a display?
-
Yes, you can have multiple tag files for a display but they work slightly different then the favorites file (which is only one per display).
What is your romlist file named: MAME.txt, mame.txt, Arcade.txt, etc.?
What platform are you on: Linux, Windows, OSX, etc.?
-
Assuming your romlist is named "MAME.txt" and you're running Linux on a Raspberry Pi you can follow these steps...
1. Create a directory that matches your display name (without the extension) in the romlist folder
example:
/home/pi/.attract/romlists/MAME
2. in the new directory, create text files for each each category of the bestgames.ini but use the ".tag" extension and copy and paste the corresponding rom names into each file.
examples:
/home/pi/.attract/romlists/MAME/Worst.tag
azurian
battlex
bbprot
berenstn
black
boxer
brod
cball
claybust
dacholer
desertdn
einning
embargo
flyball
galgame
kot
/home/pi/.attract/romlists/MAME/Horrible.tag
005
4in1
7mezzo
ace
altair
ar_rdwr
ar_socc
astropal
attckufo
barricad
bbonk
beaminv
bilyard
birdiy
blkhole
blockade
boonggab
botanic
bowl3d
bowler
cannonbp
castfant
catchp
catnmous
cfghtice
checkmat
chkun
clayshoo
comotion
crash
crgolfhi
ctornado
dai3wksi
desertgu
destroyr
devzone
dodgem
dodgeman
dogpatch
dotrikun
dplay
fghtbskt
filetto
futflash
gmissile
gunfight
heiankyo
indianbt
istreb
kaitei
kickboy
kok
ksayakyu
laststar
logger
m4
m4conn4
mastkin
mineswpr
minferno
minivadr
mogura
navarone
nomnlnd
panther
phantom2
phklad
polyplay
redalert
reikaids
ripcord
robotbwl
roldfrog
safari
samurai
shpeng
skybase
skychut
sos
spcenctr
strtheat
timelimt
tornbase
tranqgun
tylz
wink
wtennis
yosakdon
zipzap
/home/pi/.attract/romlists/MAME/Bad.tag
30test
airrace
alienar
alinvade
animalc
armchmp2
astrowar
attackfc
berzerk
blandia
botss
buccanrs
bullfgtr
chwrestl
cmanhat
devilfsh
eeekk
enmadaio
fantasy
flyboy
galactic
imolagp
jankenmn
keroppi
naughtyb
polyplay2
3. create filters for each .tag file you created
examples:
Worst Games
Configure-->Displays-->MAME-->Add Filter-->Enter Filter Name=Worst Games-->Add Rule
Target=Tags
Comparison=contains
Filter Value=Worst
Horrible Games
Configure-->Displays-->MAME-->Add Filter-->Enter Filter Name=Horrible Games-->Add Rule
Target=Tags
Comparison=contains
Filter Value=Horrible
Bad Games
Configure-->Displays-->MAME-->Add Filter-->Enter Filter Name=Bad Games-->Add Rule
Target=Tags
Comparison=contains
Filter Value=Bad
-
This helps, i got it setup! Thanks!