From 63a90447dc81d90e6ce067ca282c674062a944e2 Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Mon, 10 Jul 2023 14:48:39 +0200 Subject: [PATCH] Added support for the Hartung Game Master (gmaster) game system --- es-app/src/PlatformId.cpp | 1 + es-app/src/PlatformId.h | 1 + es-app/src/scrapers/ScreenScraper.cpp | 1 + resources/sorting/hwtype_year/es_systems_sorting.xml | 4 ++++ .../manufacturer_hwtype_year/es_systems_sorting.xml | 4 ++++ .../sorting/manufacturer_year/es_systems_sorting.xml | 4 ++++ resources/sorting/year/es_systems_sorting.xml | 4 ++++ resources/systems/macos/es_systems.xml | 9 +++++++++ resources/systems/unix/es_systems.xml | 9 +++++++++ resources/systems/windows/es_systems.xml | 9 +++++++++ 10 files changed, 46 insertions(+) diff --git a/es-app/src/PlatformId.cpp b/es-app/src/PlatformId.cpp index 74c23c012..9dc6df86b 100644 --- a/es-app/src/PlatformId.cpp +++ b/es-app/src/PlatformId.cpp @@ -65,6 +65,7 @@ namespace PlatformIds "gbc", // Nintendo Game Boy Color "gc", // Nintendo GameCube "genesis", // Sega Genesis + "gmaster", // Hartung Game Master "gx4000", // Amstrad GX4000 "intellivision", // Mattel Electronics Intellivision "lcdgames", // LCD Handheld Games diff --git a/es-app/src/PlatformId.h b/es-app/src/PlatformId.h index 72d47ae0d..506ef20ef 100644 --- a/es-app/src/PlatformId.h +++ b/es-app/src/PlatformId.h @@ -64,6 +64,7 @@ namespace PlatformIds NINTENDO_GAME_BOY_COLOR, NINTENDO_GAMECUBE, SEGA_GENESIS, + HARTUNG_GAME_MASTER, AMSTRAD_GX4000, INTELLIVISION, LCD_GAMES, diff --git a/es-app/src/scrapers/ScreenScraper.cpp b/es-app/src/scrapers/ScreenScraper.cpp index ad4f7a459..d140edc13 100644 --- a/es-app/src/scrapers/ScreenScraper.cpp +++ b/es-app/src/scrapers/ScreenScraper.cpp @@ -66,6 +66,7 @@ namespace {GAMEENGINE_LUTRO, 206}, {GAMEENGINE_LOWRES_NX, 244}, {GAMEENGINE_WASM4, 262}, + {HARTUNG_GAME_MASTER, 103}, {APPLE_MACINTOSH, 146}, {GOOGLE_ANDROID, 63}, {LCD_GAMES, 75}, diff --git a/resources/sorting/hwtype_year/es_systems_sorting.xml b/resources/sorting/hwtype_year/es_systems_sorting.xml index 36e862480..361f5fae1 100644 --- a/resources/sorting/hwtype_year/es_systems_sorting.xml +++ b/resources/sorting/hwtype_year/es_systems_sorting.xml @@ -245,6 +245,10 @@ genesis Console - 1989 + + gmaster + Portable - 1990 + gx4000 Console - 1990 diff --git a/resources/sorting/manufacturer_hwtype_year/es_systems_sorting.xml b/resources/sorting/manufacturer_hwtype_year/es_systems_sorting.xml index d8649aed7..70cd6611c 100644 --- a/resources/sorting/manufacturer_hwtype_year/es_systems_sorting.xml +++ b/resources/sorting/manufacturer_hwtype_year/es_systems_sorting.xml @@ -245,6 +245,10 @@ genesis Sega - Console - 1989 + + gmaster + Hartung - Portable - 1990 + gx4000 Amstrad - Console - 1990 diff --git a/resources/sorting/manufacturer_year/es_systems_sorting.xml b/resources/sorting/manufacturer_year/es_systems_sorting.xml index b018c1363..4b4470d2d 100644 --- a/resources/sorting/manufacturer_year/es_systems_sorting.xml +++ b/resources/sorting/manufacturer_year/es_systems_sorting.xml @@ -245,6 +245,10 @@ genesis Sega - 1989 + + gmaster + Hartung - 1990 + gx4000 Amstrad - 1990 diff --git a/resources/sorting/year/es_systems_sorting.xml b/resources/sorting/year/es_systems_sorting.xml index 5961b1b0c..1c85486d8 100644 --- a/resources/sorting/year/es_systems_sorting.xml +++ b/resources/sorting/year/es_systems_sorting.xml @@ -245,6 +245,10 @@ genesis 1989 + + gmaster + 1990 + gx4000 1990 diff --git a/resources/systems/macos/es_systems.xml b/resources/systems/macos/es_systems.xml index da41c54fd..c23ec00a1 100644 --- a/resources/systems/macos/es_systems.xml +++ b/resources/systems/macos/es_systems.xml @@ -687,6 +687,15 @@ genesis genesis + + gmaster + Hartung Game Master + %ROMPATH%/gmaster + .bin .BIN .7z .7Z .zip .ZIP + %STARTDIR%=~/.mame %EMULATOR_MAME% -rompath %GAMEDIR%\;%ROMPATH%/gmaster gmaster -cart %ROM% + gmaster + gmaster + gx4000 Amstrad GX4000 diff --git a/resources/systems/unix/es_systems.xml b/resources/systems/unix/es_systems.xml index 376159ee7..7b7c006c2 100644 --- a/resources/systems/unix/es_systems.xml +++ b/resources/systems/unix/es_systems.xml @@ -709,6 +709,15 @@ genesis genesis + + gmaster + Hartung Game Master + %ROMPATH%/gmaster + .bin .BIN .7z .7Z .zip .ZIP + %STARTDIR%=~/.mame %EMULATOR_MAME% -rompath %GAMEDIR%\;%ROMPATH%/gmaster gmaster -cart %ROM% + gmaster + gmaster + gx4000 Amstrad GX4000 diff --git a/resources/systems/windows/es_systems.xml b/resources/systems/windows/es_systems.xml index 33e16a614..1ee98fb5a 100644 --- a/resources/systems/windows/es_systems.xml +++ b/resources/systems/windows/es_systems.xml @@ -709,6 +709,15 @@ genesis genesis + + gmaster + Hartung Game Master + %ROMPATH%\gmaster + .bin .BIN .7z .7Z .zip .ZIP + %HIDEWINDOW% %RUNINBACKGROUND% %STARTDIR%=%EMUDIR% %EMULATOR_MAME% -rompath %GAMEDIR%\;%ROMPATH%\gmaster gmaster -cart %ROM% + gmaster + gmaster + gx4000 Amstrad GX4000