skyscraper icon indicating copy to clipboard operation
skyscraper copied to clipboard

Recalbox 7.0 support.

Open Redblueflame opened this issue 5 years ago • 1 comments

Describe the feature / request Hi ! I added theses features to Skraper recently, and it will be useful for users to be able to do it on a cli ! Recalbox will add in the next version new tags and features. Here is everything added:

  • Added <Adult>0/1</Adult> tag, if any genre is the adult one. Example C++ implementation:
bool ScreenScraperApis::ExtractAdultState(const rapidjson::Value& array)
{
  // Lookup Sub-genre first
  int id = 0;
  for(const auto& object : array.GetArray())
    if (Strings::ToInt(object["id"].GetString(), id))
      if (id == 413)
        return true;
  return false;
}
  • Added normalized genres. This allows users to get virtual systems that combines every rom from a specific genre. https://hastebin.com/qanaseniqo.cpp <- This is the C++ enum with the hex values. The value in the XML must be an int. https://hastebin.com/qanaseniqo.cpp <- This is the C++ table that manages the translation from ScreenScraper genres id to normalized ones.

Additional context If you have any question, contact me on #apiv2 on discord, or by mail ;)

Redblueflame avatar Jun 05 '20 10:06 Redblueflame

Thank you for taking the time to update me on this, I appreciate it! :)

muldjord avatar Jun 06 '20 20:06 muldjord