Author Topic: Filters and gamelist  (Read 3457 times)

Brandini

  • Jr. Member
  • **
  • Posts: 10
    • View Profile
Filters and gamelist
« on: February 11, 2017, 09:17:31 PM »
Hello,
I am attempting to setup a filter for my mame list. (0.37b5)
When I set this up in the global list - CloneOf does not equal .*
It does not filter anything out.  I am guessing it is because my gamelist.xml doesn't have the proper tags in it. 
Would anyone know how to generate a gamelist.xml file with all the information it, ie. all the appropriate tags?
Or am I wrong and the filter works off of something else?

Thanks everyone!  I have attached my current gamelist.xml for reference.

progets

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 847
    • View Profile
Re: Filters and gamelist
« Reply #1 on: February 11, 2017, 09:41:51 PM »
That looks like an EmulationStation gamelist which doesn't contain any clone information and isn't in a format that Attract-Mode can use.

You need to generate a listxml file using Mame.

Code: [Select]
mame -listxml > mame.xml

What hardware and OS are you using?

Brandini

  • Jr. Member
  • **
  • Posts: 10
    • View Profile
Re: Filters and gamelist
« Reply #2 on: February 11, 2017, 09:53:43 PM »
I'm using PI3b with a Noobs image. 
Once I generate the list how would I go about populating it with metadata?

progets

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 847
    • View Profile
Re: Filters and gamelist
« Reply #3 on: February 11, 2017, 10:08:59 PM »
Creating a correct mame.xml for that old version won't be easy. Those old versions of mame use a different format then Attract-Mode. For more information search the entire AM forum for "listxml" and/or "mame.xml". This has been discussed many times.

Once you have a mame.xml you just need to reference it in the mame.cfg emuator file.
Configure-->Emulators-->mame-->Info Source/Scraper = <leave blank>
Configure-->Emulators-->mame-->Additional Import File(s) = <path to your mame.xml file>
Configure-->Emulators-->mame-->Generate Collection/Rom list

« Last Edit: February 11, 2017, 10:14:10 PM by progets »

Brandini

  • Jr. Member
  • **
  • Posts: 10
    • View Profile
Re: Filters and gamelist
« Reply #4 on: February 11, 2017, 10:19:12 PM »
I didn't realize that was an old version.  Which mame rom version would you recommend for attract mode?

progets

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 847
    • View Profile
Re: Filters and gamelist
« Reply #5 on: February 11, 2017, 11:15:48 PM »
Any version of mame that runs on the Pi is going to be old and problematic to create a good list for Attract-Mode without third party software.

I personally like mame2003 on the Pi because it skips the nag screens, saves hi score information and has the most properly working roms. It uses the .078 rom set. At the end of the day, I use many emulators for mame to cover the most amount of games.

For a limited time I will supply files that will help you here.

Download this file and unzip it. Copy the entire "extras" folder to /home/pi/.attract/ on your Pi. Modify these two lines in your mame.cfg emulator file to look like this.
Code: [Select]
info_source
import_extras        /home/pi/.attract/extras/mame.xml;/home/pi/.attract/extras/catver.ini;/home/pi/.attract/extras/nplayers.ini
Then generate the mame romlist and you should have all the info you're looking for.
 
« Last Edit: February 15, 2017, 02:51:09 PM by progets »

Maouu

  • Full Member
  • ***
  • Posts: 27
    • View Profile
Re: Filters and gamelist
« Reply #6 on: February 12, 2017, 04:38:21 AM »
I give you my MAME.xml for the romset 0.37b5 (I used mame4all)

There is all information !!

You just do to create 2 filters in All section :

Filesavailabes    egals to      .*
clone of            do not egals        .*


Enjoy  ;D

Brandini

  • Jr. Member
  • **
  • Posts: 10
    • View Profile
Re: Filters and gamelist
« Reply #7 on: February 14, 2017, 06:26:16 PM »
Thank you all!
I ended up going with Progets method.  Thanks for the file.  And also thanks Maouu for posting your file as well.
I ended up with 2 Global filters

Code: [Select]
Title does not contain Japan
CloneOf does not equal .*

ssshake

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Filters and gamelist
« Reply #8 on: March 13, 2019, 10:09:25 PM »
Dated but relevant, because searching for the solution is what brought me to this post.

The XML files are posted on the retropie wiki itself. So perhaps don't worry about generating your own.

https://github.com/RetroPie/RetroPie-Setup/wiki/MAME#mame4all-pi

In my case I was using "arcade" which maps to retroarch using mame2003 library.

Anyway after a lot of time wasted and headache, all I had to do was download the proper XML/dat file from the wiki, copy it to my pi, then follow the steps progets pointed out.

This worked for many ROMs which made me quite happy. But it didn't work for all roms. I still dont really understand Mame versioning. I'm guessing that I have more ROMs than what was included in mame2003? No idea.

keilmillerjr

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 845
    • View Profile
Re: Filters and gamelist
« Reply #9 on: March 14, 2019, 05:17:24 AM »
Dated but relevant, because searching for the solution is what brought me to this post.

The XML files are posted on the retropie wiki itself. So perhaps don't worry about generating your own.

https://github.com/RetroPie/RetroPie-Setup/wiki/MAME#mame4all-pi

In my case I was using "arcade" which maps to retroarch using mame2003 library.

Anyway after a lot of time wasted and headache, all I had to do was download the proper XML/dat file from the wiki, copy it to my pi, then follow the steps progets pointed out.

This worked for many ROMs which made me quite happy. But it didn't work for all roms. I still dont really understand Mame versioning. I'm guessing that I have more ROMs than what was included in mame2003? No idea.

“mame2003” uses the mame 0.78 romset.

ssshake

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Filters and gamelist
« Reply #10 on: March 14, 2019, 05:40:15 AM »
I used the proper XML, I was linking to mame4all for the OP.