From 5248ece0c206b08a5a2909a491e66b47a7393ea7 Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Wed, 24 Mar 2021 19:44:36 +0100 Subject: [PATCH] Made 'Valve Steam' a separate platform. --- es-app/src/PlatformId.cpp | 1 + es-app/src/PlatformId.h | 1 + es-app/src/scrapers/GamesDBJSONScraper.cpp | 1 + es-app/src/scrapers/ScreenScraper.cpp | 1 + resources/templates/es_systems.cfg_macos | 2 +- resources/templates/es_systems.cfg_unix | 2 +- resources/templates/es_systems.cfg_unix_flatpak | 2 +- resources/templates/es_systems.cfg_windows | 2 +- 8 files changed, 8 insertions(+), 4 deletions(-) diff --git a/es-app/src/PlatformId.cpp b/es-app/src/PlatformId.cpp index f4155e904..5e8ffc05a 100644 --- a/es-app/src/PlatformId.cpp +++ b/es-app/src/PlatformId.cpp @@ -105,6 +105,7 @@ namespace PlatformIds "snes", // Nintendo SNES (Super Nintendo) "solarus", // Solarus game engine "spectravideo", // Spectravideo + "steam", // Valve Steam "stratagus", // Stratagus game engine "sufami", // Bandai SuFami Turbo "supergrafx", // NEC SuperGrafx diff --git a/es-app/src/PlatformId.h b/es-app/src/PlatformId.h index fcdb753a2..2dfe0e144 100644 --- a/es-app/src/PlatformId.h +++ b/es-app/src/PlatformId.h @@ -105,6 +105,7 @@ namespace PlatformIds SUPER_NINTENDO, GAMEENGINE_SOLARUS, SPECTRAVIDEO, + VALVE_STEAM, GAMEENGINE_STRATAGUS, BANDAI_SUFAMI_TURBO, NEC_SUPERGRAFX, diff --git a/es-app/src/scrapers/GamesDBJSONScraper.cpp b/es-app/src/scrapers/GamesDBJSONScraper.cpp index 11eca22a2..5f3a33627 100644 --- a/es-app/src/scrapers/GamesDBJSONScraper.cpp +++ b/es-app/src/scrapers/GamesDBJSONScraper.cpp @@ -83,6 +83,7 @@ const std::map gamesdb_new_platformid_map { { BANDAI_SUFAMI_TURBO, "6" }, { DOS, "1" }, { PC, "1" }, + { VALVE_STEAM, "1" }, { NEC_PCFX, "4930" }, { SEGA_32X, "33" }, { SEGA_CD, "21" }, diff --git a/es-app/src/scrapers/ScreenScraper.cpp b/es-app/src/scrapers/ScreenScraper.cpp index 9b0d808f9..e575cbef3 100644 --- a/es-app/src/scrapers/ScreenScraper.cpp +++ b/es-app/src/scrapers/ScreenScraper.cpp @@ -83,6 +83,7 @@ const std::map screenscraper_platformid_map { { BANDAI_SUFAMI_TURBO, 108 }, { DOS, 135 }, { PC, 135 }, + { VALVE_STEAM, 135 }, { NEC_PCFX, 72 }, { GAMEENGINE_OPENBOR, 214 }, { TANGERINE_ORIC, 131 }, diff --git a/resources/templates/es_systems.cfg_macos b/resources/templates/es_systems.cfg_macos index 813aaf0a8..9cd1989a4 100644 --- a/resources/templates/es_systems.cfg_macos +++ b/resources/templates/es_systems.cfg_macos @@ -1015,7 +1015,7 @@ %ROMPATH%/steam .sh .csh bash %ROM% - pc + steam steam diff --git a/resources/templates/es_systems.cfg_unix b/resources/templates/es_systems.cfg_unix index 1c5d61e0b..30a19e203 100644 --- a/resources/templates/es_systems.cfg_unix +++ b/resources/templates/es_systems.cfg_unix @@ -1015,7 +1015,7 @@ %ROMPATH%/steam .sh .csh bash %ROM% - pc + steam steam diff --git a/resources/templates/es_systems.cfg_unix_flatpak b/resources/templates/es_systems.cfg_unix_flatpak index 365f69ee8..503bc40f4 100644 --- a/resources/templates/es_systems.cfg_unix_flatpak +++ b/resources/templates/es_systems.cfg_unix_flatpak @@ -1015,7 +1015,7 @@ %ROMPATH%/steam .sh .csh bash %ROM% - pc + steam steam diff --git a/resources/templates/es_systems.cfg_windows b/resources/templates/es_systems.cfg_windows index a704dc44b..3f0b4a299 100644 --- a/resources/templates/es_systems.cfg_windows +++ b/resources/templates/es_systems.cfg_windows @@ -1015,7 +1015,7 @@ %ROMPATH%\steam .bat .ps1 %ROM% - pc + steam steam