Author Topic: Switch Collection/Rom List  (Read 4839 times)

cybermat

  • Jr. Member
  • **
  • Posts: 22
    • View Profile
Switch Collection/Rom List
« on: May 15, 2021, 03:04:20 AM »
Hello,
is there a way to easily select inside a system (for example Mame) the desidered Collection/Rom List ?

I set up mame and i have all the games listed inside Mame.txt , with filter option i cannot select all the games with this driver value "namcos11.cpp; , but with other tools i'm able to do this and i created a new list (Namco11.txt) but i would like to select this inside "mame" enviroment.

The only solution i found is creating a new display mode called Namco 11 and assigning that playlist. Is the only way to do what i need ?

progets

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1274
    • View Profile
Re: Switch Collection/Rom List
« Reply #1 on: May 15, 2021, 10:28:51 PM »
You can use the "tagging" feature to do this.

1. create a tag group in your mame display of Attract-Mode called Namco11 and add the games you want. This can be done through the GUI or manually.
2. create a filter in your mame display of Attract-Mode to only show games in the Namco11 tag group. This can be done through the GUI or manually.
3. toggle mame filters to only see Namco11 games using this filter

Look at this thread http://forum.attractmode.org/index.php?topic=1165.msg8455#msg8455 for help to setup control buttons/keys and create a tag group as well as add games in the GUI. You don't need a "masterlist" described in the thread for what you want but you might find other good info on creating filters there, too.
« Last Edit: May 15, 2021, 10:35:45 PM by progets »

cybermat

  • Jr. Member
  • **
  • Posts: 22
    • View Profile
Re: Switch Collection/Rom List
« Reply #2 on: May 16, 2021, 03:25:05 AM »
Thanks, it works. I hadn't read enough the tutorial and i missed this "tag" feature. Filtering seems complicated at once, but when you understand how it works is very powerful.

One question , i called Namco11 the tagging group , the file is Namco11.tag under mame folder. If i put EQUALS Namco11 i can't show anything if i put CONTAINS it works. Shouldn't also work EQUALS ?


hermine.potter

  • Hero Member
  • *****
  • Posts: 767
    • View Profile
Re: Switch Collection/Rom List
« Reply #3 on: May 16, 2021, 01:51:34 PM »
@ cybermat
Some commands are not very good documented here.
Somewhere I read, that a "tag seperator character" is necessary.
Not sure, that it was here a thread or directly a comment in AM sourcecode.
Can't remember.

For example a tag for all Puzzle games: Puzzle.tag

This works:
Target : Tags
Comparision : equals
Filter Value : .Puzzle.

this works too:
Filter Value : ;Puzzle;

If you want to use multiple tags (for example: Puzzle.tag and Racing.tag)
Tags contains Puzzle|Racing
or
Tags equals ;Puzzle;|;Racing;
AM Version : 2.6.1
Input : Mad Catz Brawlstick; Mouse; Keyboard; Xbox360 Wireless
Cabinet : Yes
OS : Windows10 Pro
System : Dell Precision T3500 ; Intel X5650 ; 12GB RAM

cybermat

  • Jr. Member
  • **
  • Posts: 22
    • View Profile
Re: Switch Collection/Rom List
« Reply #4 on: May 18, 2021, 02:16:34 AM »
Ok thanks it works putting equals and .*. or ;*;

I struggled in order to find documentation, but i didn't :(

hermine.potter

  • Hero Member
  • *****
  • Posts: 767
    • View Profile
Re: Switch Collection/Rom List
« Reply #5 on: May 18, 2021, 11:01:36 AM »
there don't exist a single documentation.
so different media are necessary (programming references, readme, board search, AM sourcecode)
Here
Here

Found it here:
Download AM sourcecode > src\fe_info.cpp
// The tags logic requires a FE_TAGS_SEP character on each side of
AM Version : 2.6.1
Input : Mad Catz Brawlstick; Mouse; Keyboard; Xbox360 Wireless
Cabinet : Yes
OS : Windows10 Pro
System : Dell Precision T3500 ; Intel X5650 ; 12GB RAM