Attract-Mode Support Forum
Attract-Mode Support => General => Topic started by: Brandini 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.
-
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.
mame -listxml > mame.xml
What hardware and OS are you using?
-
I'm using PI3b with a Noobs image.
Once I generate the list how would I go about populating it with metadata?
-
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
-
I didn't realize that was an old version. Which mame rom version would you recommend for attract mode?
-
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.
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.
-
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
-
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
Title does not contain Japan
CloneOf does not equal .*
-
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.
-
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.
-
I used the proper XML, I was linking to mame4all for the OP.