From a95736f642957df3e07c6e8f6c3904040a0b859c Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Tue, 10 Oct 2023 17:02:28 +0200 Subject: [PATCH] Added support for the Coleco Adam (adam) 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 | 12 ++++++++++++ resources/systems/unix/es_systems.xml | 12 ++++++++++++ resources/systems/windows/es_systems.xml | 12 ++++++++++++ 10 files changed, 55 insertions(+) diff --git a/es-app/src/PlatformId.cpp b/es-app/src/PlatformId.cpp index a8a0f20e1..0a65b6fd5 100644 --- a/es-app/src/PlatformId.cpp +++ b/es-app/src/PlatformId.cpp @@ -18,6 +18,7 @@ namespace PlatformIds "unknown", // Nothing set. "3do", // 3DO Interactive Multiplayer + "adam", // Coleco Adam "ags", // Adventure Game Studio Game Engine "amiga", // Commodore Amiga "amigacd32", // Commodore Amiga CD32 diff --git a/es-app/src/PlatformId.h b/es-app/src/PlatformId.h index 4b438b08a..325d49b32 100644 --- a/es-app/src/PlatformId.h +++ b/es-app/src/PlatformId.h @@ -17,6 +17,7 @@ namespace PlatformIds PLATFORM_UNKNOWN = 0, THREEDO, // Names can't start with a number. + COLECO_ADAM, GAMEENGINE_ADVENTUREGAMESTUDIO, COMMODORE_AMIGA, COMMODORE_AMIGA_CD32, diff --git a/es-app/src/scrapers/ScreenScraper.cpp b/es-app/src/scrapers/ScreenScraper.cpp index b4a2d1bec..cf53f2649 100644 --- a/es-app/src/scrapers/ScreenScraper.cpp +++ b/es-app/src/scrapers/ScreenScraper.cpp @@ -53,6 +53,7 @@ namespace {BIT_CORPORATION_GAMATE, 266}, {CASIO_PV1000, 74}, {CAVESTORY, 135}, + {COLECO_ADAM, 89}, {COLECOVISION, 48}, {VTECH_CREATIVISION, 241}, {VTECH_VSMILE, 120}, diff --git a/resources/sorting/hwtype_year/es_systems_sorting.xml b/resources/sorting/hwtype_year/es_systems_sorting.xml index c81968316..4cd82ecf5 100644 --- a/resources/sorting/hwtype_year/es_systems_sorting.xml +++ b/resources/sorting/hwtype_year/es_systems_sorting.xml @@ -5,6 +5,10 @@ 3do Console - 1993 + + adam + Computer - 1983 + ags Engine - 1997 diff --git a/resources/sorting/manufacturer_hwtype_year/es_systems_sorting.xml b/resources/sorting/manufacturer_hwtype_year/es_systems_sorting.xml index 783f32905..28773d978 100644 --- a/resources/sorting/manufacturer_hwtype_year/es_systems_sorting.xml +++ b/resources/sorting/manufacturer_hwtype_year/es_systems_sorting.xml @@ -5,6 +5,10 @@ 3do Panasonic - Console - 1993 + + adam + Coleco - Computer - 1983 + ags Chris Jones - Engine - 1997 diff --git a/resources/sorting/manufacturer_year/es_systems_sorting.xml b/resources/sorting/manufacturer_year/es_systems_sorting.xml index e2639516d..c53f13e74 100644 --- a/resources/sorting/manufacturer_year/es_systems_sorting.xml +++ b/resources/sorting/manufacturer_year/es_systems_sorting.xml @@ -5,6 +5,10 @@ 3do Panasonic - 1993 + + adam + Coleco - 1983 + ags Chris Jones - 1997 diff --git a/resources/sorting/year/es_systems_sorting.xml b/resources/sorting/year/es_systems_sorting.xml index 1a2f36232..9b054e948 100644 --- a/resources/sorting/year/es_systems_sorting.xml +++ b/resources/sorting/year/es_systems_sorting.xml @@ -5,6 +5,10 @@ 3do 1993 + + adam + 1983 + ags 1997 diff --git a/resources/systems/macos/es_systems.xml b/resources/systems/macos/es_systems.xml index 038f0467e..8ec275d93 100644 --- a/resources/systems/macos/es_systems.xml +++ b/resources/systems/macos/es_systems.xml @@ -10,6 +10,18 @@ 3do 3do + + adam + Coleco Adam + %ROMPATH%/adam + .1dd .1DD .bin .BIN .col .COL .cqi .CQI .cqm .CQM .d77 .D77 .d88 .D88 .ddp .DDP .dfi .DFI .dsk .DSK .hfe .HFE .imd .IMD .mfi .MFI .mfm .MFM .rom .ROM .td0 .TD0 .wav .WAV .7z .7Z .zip .ZIP + %STARTDIR%=~/.mame %EMULATOR_MAME% -rompath %GAMEDIR%\;%ROMPATH%/adam adam -flop1 %ROM% + %STARTDIR%=~/.mame %EMULATOR_MAME% -rompath %GAMEDIR%\;%ROMPATH%/adam adam -cass1 %ROM% + %STARTDIR%=~/.mame %EMULATOR_MAME% -rompath %GAMEDIR%\;%ROMPATH%/adam adam -cart1 %ROM% + %STARTDIR%=~/.mame %EMULATOR_MAME% -rompath %GAMEDIR%\;%ROMPATH%/adam adam %BASENAME% + adam + adam + ags Adventure Game Studio Game Engine diff --git a/resources/systems/unix/es_systems.xml b/resources/systems/unix/es_systems.xml index 880f6f25f..7da5596fe 100644 --- a/resources/systems/unix/es_systems.xml +++ b/resources/systems/unix/es_systems.xml @@ -10,6 +10,18 @@ 3do 3do + + adam + Coleco Adam + %ROMPATH%/adam + .1dd .1DD .bin .BIN .col .COL .cqi .CQI .cqm .CQM .d77 .D77 .d88 .D88 .ddp .DDP .dfi .DFI .dsk .DSK .hfe .HFE .imd .IMD .mfi .MFI .mfm .MFM .rom .ROM .td0 .TD0 .wav .WAV .7z .7Z .zip .ZIP + %STARTDIR%=~/.mame %EMULATOR_MAME% -rompath %GAMEDIR%\;%ROMPATH%/adam adam -flop1 %ROM% + %STARTDIR%=~/.mame %EMULATOR_MAME% -rompath %GAMEDIR%\;%ROMPATH%/adam adam -cass1 %ROM% + %STARTDIR%=~/.mame %EMULATOR_MAME% -rompath %GAMEDIR%\;%ROMPATH%/adam adam -cart1 %ROM% + %STARTDIR%=~/.mame %EMULATOR_MAME% -rompath %GAMEDIR%\;%ROMPATH%/adam adam %BASENAME% + adam + adam + ags Adventure Game Studio Game Engine diff --git a/resources/systems/windows/es_systems.xml b/resources/systems/windows/es_systems.xml index ba83a367b..78e5cd16c 100644 --- a/resources/systems/windows/es_systems.xml +++ b/resources/systems/windows/es_systems.xml @@ -10,6 +10,18 @@ 3do 3do + + adam + Coleco Adam + %ROMPATH%\adam + .1dd .1DD .bin .BIN .col .COL .cqi .CQI .cqm .CQM .d77 .D77 .d88 .D88 .ddp .DDP .dfi .DFI .dsk .DSK .hfe .HFE .imd .IMD .mfi .MFI .mfm .MFM .rom .ROM .td0 .TD0 .wav .WAV .7z .7Z .zip .ZIP + %HIDEWINDOW% %RUNINBACKGROUND% %STARTDIR%=%EMUDIR% %EMULATOR_MAME% -rompath %GAMEDIR%\;%ROMPATH%\adam adam -flop1 %ROM% + %HIDEWINDOW% %RUNINBACKGROUND% %STARTDIR%=%EMUDIR% %EMULATOR_MAME% -rompath %GAMEDIR%\;%ROMPATH%\adam adam -cass1 %ROM% + %HIDEWINDOW% %RUNINBACKGROUND% %STARTDIR%=%EMUDIR% %EMULATOR_MAME% -rompath %GAMEDIR%\;%ROMPATH%\adam adam -cart1 %ROM% + %HIDEWINDOW% %RUNINBACKGROUND% %STARTDIR%=%EMUDIR% %EMULATOR_MAME% -rompath %GAMEDIR%\;%ROMPATH%\adam adam %BASENAME% + adam + adam + ags Adventure Game Studio Game Engine