diff --git a/es-app/src/PlatformId.cpp b/es-app/src/PlatformId.cpp index 935da954d..5b9aaa9f0 100644 --- a/es-app/src/PlatformId.cpp +++ b/es-app/src/PlatformId.cpp @@ -43,6 +43,8 @@ namespace PlatformIds "gc", // gamecube "wii", "wiiu", + "virtualboy", + "gameandwatch", "pc", "sega32x", "segacd", @@ -52,6 +54,7 @@ namespace PlatformIds "mastersystem", // sega master system "megadrive", // sega megadrive "saturn", // sega saturn + "sg-1000", "psx", "ps2", "ps3", @@ -63,6 +66,10 @@ namespace PlatformIds "wonderswan", "wonderswancolor", "zxspectrum", + "videopac", + "vectrex", + "trs-80", + "coco", "ignore", // do not allow scraping for this system "invalid" diff --git a/es-app/src/PlatformId.h b/es-app/src/PlatformId.h index fa31d0525..569f843e5 100644 --- a/es-app/src/PlatformId.h +++ b/es-app/src/PlatformId.h @@ -43,6 +43,8 @@ namespace PlatformIds NINTENDO_GAMECUBE, NINTENDO_WII, NINTENDO_WII_U, + NINTENDO_VIRTUAL_BOY, + NINTENDO_GAME_AND_WATCH, PC, SEGA_32X, SEGA_CD, @@ -52,6 +54,7 @@ namespace PlatformIds SEGA_MASTER_SYSTEM, SEGA_MEGA_DRIVE, SEGA_SATURN, + SEGA_SG1000, PLAYSTATION, PLAYSTATION_2, PLAYSTATION_3, @@ -63,6 +66,10 @@ namespace PlatformIds WONDERSWAN, WONDERSWAN_COLOR, ZX_SPECTRUM, + VIDEOPAC_ODYSSEY2, + VECTREX, + TRS80_COLOR_COMPUTER, + TANDY, PLATFORM_IGNORE, // do not allow scraping for this system PLATFORM_COUNT diff --git a/es-app/src/scrapers/GamesDBScraper.cpp b/es-app/src/scrapers/GamesDBScraper.cpp index d330bf6c7..47d4aa283 100644 --- a/es-app/src/scrapers/GamesDBScraper.cpp +++ b/es-app/src/scrapers/GamesDBScraper.cpp @@ -28,7 +28,7 @@ const std::map gamesdb_platformid_map = boost::assign:: (MAC_OS, "Mac OS") (XBOX, "Microsoft Xbox") (XBOX_360, "Microsoft Xbox 360") - // missing MSX + (MSX, "MSX") (NEOGEO, "Neo Geo") (NEOGEO_POCKET, "Neo Geo Pocket") (NEOGEO_POCKET_COLOR, "Neo Geo Pocket Color") @@ -43,6 +43,8 @@ const std::map gamesdb_platformid_map = boost::assign:: (NINTENDO_GAMECUBE, "Nintendo GameCube") (NINTENDO_WII, "Nintendo Wii") (NINTENDO_WII_U, "Nintendo Wii U") + (NINTENDO_VIRTUAL_BOY, "Nintendo Virtual Boy") + (NINTENDO_GAME_AND_WATCH, "Game & Watch") (PC, "PC") (SEGA_32X, "Sega 32X") (SEGA_CD, "Sega CD") @@ -52,6 +54,7 @@ const std::map gamesdb_platformid_map = boost::assign:: (SEGA_MASTER_SYSTEM, "Sega Master System") (SEGA_MEGA_DRIVE, "Sega Mega Drive") (SEGA_SATURN, "Sega Saturn") + (SEGA_SG1000, "SEGA SG-1000") (PLAYSTATION, "Sony Playstation") (PLAYSTATION_2, "Sony Playstation 2") (PLAYSTATION_3, "Sony Playstation 3") @@ -62,8 +65,11 @@ const std::map gamesdb_platformid_map = boost::assign:: (TURBOGRAFX_16, "TurboGrafx 16") (WONDERSWAN, "WonderSwan") (WONDERSWAN_COLOR, "WonderSwan Color") - (ZX_SPECTRUM, "Sinclair ZX Spectrum"); - + (ZX_SPECTRUM, "Sinclair ZX Spectrum") + (VIDEOPAC_ODYSSEY2, "Magnavox Odyssey 2") + (VECTREX, "Vectrex") + (TRS80_COLOR_COMPUTER, "TRS-80 Color Computer") + (TANDY, "TRS-80 Color Computer"); void thegamesdb_generate_scraper_requests(const ScraperSearchParams& params, std::queue< std::unique_ptr >& requests, std::vector& results)