Author Topic: Exclude all arcade games that require a .chd  (Read 4197 times)

firewater

  • Jr. Member
  • **
  • Posts: 21
    • View Profile
Exclude all arcade games that require a .chd
« on: December 07, 2018, 03:29:15 PM »
What ways are there to do this from the filter?

rand0m

  • Sr. Member
  • ****
  • Posts: 343
    • View Profile
Re: Exclude all arcade games that require a .chd
« Reply #1 on: December 07, 2018, 04:43:29 PM »
Filter Edit > Rule: Name-contains-.chd (Filter can have multiple rules/ conditions so you can edit any filter already in use)

progets

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1274
    • View Profile
Re: Exclude all arcade games that require a .chd
« Reply #2 on: December 07, 2018, 04:47:09 PM »
Chd information isn't stored in the AttractMode romlist so there isn't a simple filter that can be applied. You'll need to get the chd list and be a little creative.

Assuming your AttractMode emulator is called "MAME", I believe the easiest thing to do would be:
1. create, download or generate a list of all the chd file games (one can be found here https://www.reddit.com/r/MAME/comments/2hci59/does_anyone_have_a_listlink_for_all_arcade_games/)
2. create a MAME folder inside your AttractMode romlist folder (i.e. /attract/romlists/MAME)
3. create a text file inside your new MAME folder called chd.tag (i.e. /attract/romlists/MAME/chd.tag) then cut and paste the list of games (without file extensions) from step #1 into this text file and save it
4. create a filter in AttractMode that reads "Tags not_contains chd"
« Last Edit: December 07, 2018, 11:53:51 PM by progets »

progets

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1274
    • View Profile
Re: Exclude all arcade games that require a .chd
« Reply #3 on: December 07, 2018, 04:52:53 PM »
Filter Edit > Rule: Name-contains-.chd (Filter can have multiple rules/ conditions so you can edit any filter already in use)

I don't think this will work because MAME games with chd files are still launched using the .zip files and AttractMode doesn't know which MAME games will need to call chd files.

rand0m

  • Sr. Member
  • ****
  • Posts: 343
    • View Profile
Re: Exclude all arcade games that require a .chd
« Reply #4 on: December 07, 2018, 04:56:54 PM »
oh sorry, I thought OP wanted to exclude .chd files from other file formats.

firewater

  • Jr. Member
  • **
  • Posts: 21
    • View Profile
Re: Exclude all arcade games that require a .chd
« Reply #5 on: December 07, 2018, 05:29:27 PM »
Thanks again guys, it worked. Here's a list of all CHD games for MAME .204 https://pastebin.com/Z1Db8WDP

progets

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1274
    • View Profile
Re: Exclude all arcade games that require a .chd
« Reply #6 on: December 08, 2018, 12:32:13 AM »
oh sorry, I thought OP wanted to exclude .chd files from other file formats.

No need to be sorry, you were just trying to help someone. At the same time, I was trying to prevent someone from attempting something that wasn't likely to work.

At the end of the day, they got what they needed so I would call that a win for all of us!
« Last Edit: December 08, 2018, 12:43:14 AM by progets »