Thanks for the files.
There aren't many additions in MAME 0.171 from MESS 0.141.
In the meantime, I created a Perl script which converts "mame -listsoftware <system>" output to AM romlist format.
Btw, GroovyMAME does not contain the required "hash" directory for MESS roms. Need to take it from the regular MAME version.
Here's the AM display config I use to filter on console region for SNES and SMD. SNES and SFC are compatible (just a different cart on the real system), but a distinct setup avoids duplicates games in the display.
display Sega Genesis
layout Cools
romlist mess-genesis
in_cycle yes
in_menu yes
global_filter
rule Title not_contains Prototype
rule Title contains \(World\)|\(World.*\)|\(.*World\)|\(.*World.*\)|\(USA\)|\(.*USA\)|\(USA.*\)|\(.*USA.*\)
filter All
filter Favourites
rule Favourite equals 1
display Sega Mega Drive
layout Cools
romlist mess-megadrij
in_cycle yes
in_menu yes
global_filter
rule Title not_contains Prototype
rule Title contains \(World\)|\(World.*\)|\(.*World\)|\(.*World.*\)|\(Jpn\)|\(.*Jpn\)|\(Jpn.*\)|\(.*Jpn.*\)
filter All
filter Favourites
rule Favourite equals 1
display Nintendo SNES
layout Cools
romlist mess-snes
in_cycle yes
in_menu yes
global_filter
rule Title not_contains Prototype
rule Title contains \(USA\)|\(.*USA\)|\(USA.*\)|\(.*USA.*\)
filter All
filter Favourites
rule Favourite equals 1
display Nintendo Super Famicom
layout Cools
romlist mess-snes
in_cycle yes
in_menu yes
global_filter
rule Title not_contains Prototype
rule Title contains \(Jpn\)|\(.*Jpn\)|\(Jpn.*\)|\(.*Jpn.*\)
filter All
filter Favourites
rule Favourite equals 1
The filter rule could be possibly shorter. I'm not familiar with the AM specific implementation of regexp.
Usually, ".*" matches anything or nothing while ".+" needs at least one character. And ".*?" stop quantifiers from being greedy. AM seems to treat ".*" like ".+" and doesn't recognize "?".
Is there a detailed AM regexp description somewhere?
And there's one detail missing in my whole setup.
I haven't found a way to exit AM with a button
combination.
MAME allows to config combos like L+R+Start for exit (and optional confirmation). I would like to configure the same combo in AM.