Skip to content

Latest commit

 

History

History
62 lines (42 loc) · 1.73 KB

README.md

File metadata and controls

62 lines (42 loc) · 1.73 KB

ES-MAME-Scraper

ROM Info Scraper with XML output designed for EmulationStation on the Raspberry Pi

The only information grabbed at the moment is the proper name, but support for genres, year, manufacturer, etc. can be added at a later date. This information is gotten from MameDB.com, as it is a reliable source of information for MAME ROMs.

Installation

NOTE: Currently uses Python 2.7, please ensure that the appropriate version of Python is used before submitting bug reports.

ElementTree and Requests are bundled into the ZIP file now, so simply run the script in the same directory as the ElementTree and Requests folders or install those modules.

Download and install ElementTree from Here

Download and install Requests from Here

Usage

Running the script directly is very simple:

python romscraper.py ROM [-p] [-d] [-h] [-o=<file>]

Where ROM is either a directory or file, specify using -p flag (-p for folder, leave out for file) -d Is used to output debug info.

After the script is run it dumps the information into a XML file (gamelist.xml) in the same directory as the script that EmulationStation can use.

Examples:

python romscraper.py 19xx.zip
>>>19XX: The War Against Destiny

python romscraper.py /roms/19xx.zip
>>>19XX: The War Against Destiny

python romscraper.py /roms/ -p
>>>19XX: The War Against Destiny
>>>Frogger
>>>Pac-Man

python romscraper.py 19xx.zip -o /roms/gamelist.xml
>>>19XX: The War Against Destiny
>>>gamelist.xml

Plans

  • Make Repo
  • Get it Working
  • Add Year
  • Add Manufacturer
  • Add Description
  • Specify Output File
  • Auto-Detect File/Folder