From 676b076e0707313436c5e1cdc99a2780c78a1b25 Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Thu, 30 Jul 2020 22:19:12 +0200 Subject: [PATCH] Some changes mostly to get Ports working properly. --- es-app/src/MetaData.cpp | 1 + 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_unix | 2 +- resources/templates/es_systems.cfg_windows | 4 +- themes/rbsimple-DE/ports/images/logo.svg | 390 ++++++++++++++++----- 8 files changed, 313 insertions(+), 88 deletions(-) diff --git a/es-app/src/MetaData.cpp b/es-app/src/MetaData.cpp index 347540de5..59b819f30 100644 --- a/es-app/src/MetaData.cpp +++ b/es-app/src/MetaData.cpp @@ -41,6 +41,7 @@ MetaDataDecl folderDecls[] = { {"name", MD_STRING, "", false, "name", "enter game name", true}, {"desc", MD_MULTILINE_STRING, "", false, "description", "enter description", true}, {"rating", MD_RATING, "0", false, "rating", "enter rating", true}, +{"releasedate", MD_DATE, "not-a-date-time", false, "release date", "enter release date", true}, {"developer", MD_STRING, "unknown", false, "developer", "enter game developer", true}, {"publisher", MD_STRING, "unknown", false, "publisher", "enter game publisher", true}, {"genre", MD_STRING, "unknown", false, "genre", "enter game genre", true}, diff --git a/es-app/src/PlatformId.cpp b/es-app/src/PlatformId.cpp index 45c48cdaa..cd99a017c 100644 --- a/es-app/src/PlatformId.cpp +++ b/es-app/src/PlatformId.cpp @@ -53,6 +53,7 @@ namespace PlatformIds "gameandwatch", "openbor", "dos", + "pc", "sega32x", "segacd", "dreamcast", diff --git a/es-app/src/PlatformId.h b/es-app/src/PlatformId.h index 2ef1c94c5..ba8444103 100644 --- a/es-app/src/PlatformId.h +++ b/es-app/src/PlatformId.h @@ -53,6 +53,7 @@ namespace PlatformIds NINTENDO_GAME_AND_WATCH, OPENBOR, DOS, + PC, SEGA_32X, SEGA_CD, SEGA_DREAMCAST, diff --git a/es-app/src/scrapers/GamesDBJSONScraper.cpp b/es-app/src/scrapers/GamesDBJSONScraper.cpp index bffb4e844..13975690c 100644 --- a/es-app/src/scrapers/GamesDBJSONScraper.cpp +++ b/es-app/src/scrapers/GamesDBJSONScraper.cpp @@ -78,6 +78,7 @@ const std::map gamesdb_new_platformid_map { { NINTENDO_VIRTUAL_BOY, "4918" }, { NINTENDO_GAME_AND_WATCH, "-1" }, { DOS, "1" }, + { PC, "1" }, { SEGA_32X, "33" }, { SEGA_CD, "21" }, { SEGA_DREAMCAST, "16" }, diff --git a/es-app/src/scrapers/ScreenScraper.cpp b/es-app/src/scrapers/ScreenScraper.cpp index 95807f3ce..69331cd04 100644 --- a/es-app/src/scrapers/ScreenScraper.cpp +++ b/es-app/src/scrapers/ScreenScraper.cpp @@ -63,6 +63,7 @@ const std::map screenscraper_platformid_map { { NINTENDO_VIRTUAL_BOY, 11 }, { NINTENDO_GAME_AND_WATCH, 52 }, { DOS, 135 }, + { PC, 135 }, { OPENBOR, 214 }, { SCUMMVM, 123}, { SEGA_32X, 19 }, diff --git a/resources/templates/es_systems.cfg_unix b/resources/templates/es_systems.cfg_unix index 0d59ff612..ad632f814 100644 --- a/resources/templates/es_systems.cfg_unix +++ b/resources/templates/es_systems.cfg_unix @@ -608,7 +608,7 @@ ports Ports %ROMPATH%/ports - .sh .SH + .sh .csh bash %ROM% pc ports diff --git a/resources/templates/es_systems.cfg_windows b/resources/templates/es_systems.cfg_windows index 94fcba58e..3e5032874 100644 --- a/resources/templates/es_systems.cfg_windows +++ b/resources/templates/es_systems.cfg_windows @@ -608,8 +608,8 @@ ports Ports %ROMPATH%\ports - .sh .SH - bash %ROM% + .bat .ps1 + %ROM% pc ports diff --git a/themes/rbsimple-DE/ports/images/logo.svg b/themes/rbsimple-DE/ports/images/logo.svg index 35857651a..8522d4339 100644 --- a/themes/rbsimple-DE/ports/images/logo.svg +++ b/themes/rbsimple-DE/ports/images/logo.svg @@ -1,96 +1,316 @@ - + - - - - - + +image/svg+xml + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - - - - - - - - - - - + + + + + + + + + + + + + + \ No newline at end of file