sselph / scraper

A scraper for EmulationStation written in Go using hashing
MIT License
449 stars 88 forks source link

Request: Additional field Rating (ESRB) #109

Open JamesInDigital opened 8 years ago

JamesInDigital commented 8 years ago

The tool is excellent. I've moved over to RetroFe recently and I'm looking into ways to convert the gamelist.xml previously generated with your scraper into the hyperspin style xml that Fe uses. Mostly it's just renaming elements. Fe pulls 'rating' as the ESRB and 'score' as the starpoint total. Would it be possible to add the ESRB field during the scraper based on the ESRB image for the game entry.

Ex: A game with ESRB E links to "http://thegamesdb.net/images/game-view/esrb/esrb-everyone.png".

This could be parsed as ESRB - E (Everyone)

esrb-teen.png could be ESRB - T (Teen) etc.

Just a thought. Thanks for your work, very handy.

sselph commented 8 years ago

I actually pull from the API http://thegamesdb.net/api/GetGame.php?id=2 So there is an ESRB field provided. Screenscraper shows it as

<classifications>
  <classification>esrb:T - Teen</classification>
</classifications>

So definitely possible. Do you know if any EmulationStation variants that are using this value? If would be nice to name it in a compatible way.

JamesInDigital commented 8 years ago

Didn't find much info. Launchbox plans to implement it according to some threads I read, not sure if that has happened. Read some things about RocketLauncher, gameex handling ESRB in the same format as above ESRB - T (Teen). Of course there is also the possibility of AAMA, CERO, HSRS and PEGI rating systems, country-dependent.

RetroFE makes use of as per my original post via themes. The standard theme shows the publisher logo, clearlogo, and then number of players, genre and "rating" at the bottom of the screen, pulling the images based on the meta.