Author Topic: Unable to scrape metadata  (Read 7185 times)


  • Newbie
  • *
  • Posts: 6
    • View Profile
Unable to scrape metadata
« on: May 05, 2017, 11:45:39 PM »
Latest version of Attract Mode and I'm having some issues scraping metadata (Maker, year, game info, etc.)

I have the History plugin working just fine using a history.dat, and unless I'm confused I need to scrape for the metadata I want.  I've restricted the scraper to "overview" only, but the output list it writes is devoid of any actual game information.

Am I confused?  Is there a better way to get this data?

Code: [Select]
pi@arcade:~ $ grep -i "scrape" ~/RetroPie/attract/attract.cfg
scrape_snaps         no
scrape_marquees      no
scrape_flyers        no
scrape_wheels        no
scrape_fanart        no
scrape_videos        no
scrape_overview      yes

Code: [Select]
pi@arcade:~ $ attract -s mame -c ~/RetroPie/attract -i ~/RetroPie/attract/romlists/mame.txt
*** Scraping artwork for: mame
 - scraping
*** Scraping done.
*** Importing Collection/Rom List: /home/pi/RetroPie/attract/romlists/mame.txt
[Import /home/pi/RetroPie/attract/romlists/mame.txt] - Imported 4721 entries.
 - Removing any duplicate entries...
 + Writing 4721 entries to: /home/pi/RetroPie/attract/romlists/multi.txt

Code: [Select]
pi@arcade:~ $ more /home/pi/RetroPie/attract/romlists/multi.txt


  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1271
    • View Profile
Re: Unable to scrape metadata
« Reply #1 on: May 06, 2017, 12:23:39 AM »
You need generate a mame.xml file to get the data you want.

My advice is to download a current version of MAME for Windows here Install it and go to the command line and change to the folder where you installed mame and run "mame64.exe -listxml > mame.xml". Create a /home/pi/.attract/extras folder on the Pi. Copy the mame.xml file from your Windows machine to your Pi /home/pi/.attract/extras folder. You should also download the catver.ini, nplayers.ini and controls.ini files from the web and place them in the /home/pi/.attract/extras folder to get the most complete data in your romlist.

Next you need these lines in your Attract-Mode mame.cfg emulator file
Code: [Select]
system               Arcade
import_extras        ./extras/mame.xml;./extras/catver.ini;./extras/nplayers.ini;./extras/controls.ini

Once this is done regenerate the mame romlist and you should have the names and information you want.
« Last Edit: May 06, 2017, 12:36:11 AM by progets »


  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Unable to scrape metadata
« Reply #2 on: May 06, 2017, 09:18:53 AM »
Did some reading to better understand those files, what they contain, and how they worked together made perfect sense in the context of generating a romlist.

Romlist built with all the info I could ever ask for.

Thanks very much for your advice!