Added support for the Acorn Electron (electron) game system

This commit is contained in:
Leon Styhre 2023-10-08 12:17:48 +02:00
parent 686056ca34
commit cdeecd4265
11 changed files with 53 additions and 0 deletions

View file

@ -54,6 +54,7 @@ namespace PlatformIds
"dragon32", // Dragon Data Dragon 32
"dreamcast", // Sega Dreamcast
"easyrpg", // EasyRPG eame engine
"electron", // Acorn Electron
"famicom", // Nintendo Family Computer
"fds", // Nintendo Famicom Disk System
"flash", // Adobe Flash

View file

@ -53,6 +53,7 @@ namespace PlatformIds
DRAGON32,
SEGA_DREAMCAST,
GAMEENGINE_EASYRPG,
ACORN_ELECTRON,
NINTENDO_FAMICOM,
NINTENDO_FAMICOM_DISK_SYSTEM,
ADOBE_FLASH,

View file

@ -39,6 +39,7 @@ namespace
const std::map<PlatformId, std::string> gamesdb_new_platformid_map {
{THREEDO, "25"},
{ACORN_ELECTRON, "4954"},
{AMSTRAD_CPC, "4914"},
{APPLE_II, "4942"},
{ARCADE, "23"},

View file

@ -29,6 +29,7 @@ namespace
// https://www.screenscraper.fr/api/systemesListe.php?devid=xxx&devpassword=yyy&softname=zzz&output=XML
const std::map<PlatformId, unsigned short> screenscraper_platformid_map {
{THREEDO, 29},
{ACORN_ELECTRON, 85},
{AMSTRAD_CPC, 65},
{AMSTRAD_GX4000, 87},
{APPLE_II, 86},

View file

@ -185,6 +185,10 @@
<name>easyrpg</name>
<systemsortname>Engine - 2007</systemsortname>
</system>
<system>
<name>electron</name>
<systemsortname>Computer - 1983</systemsortname>
</system>
<system>
<name>emulators</name>
<systemsortname>Folder - 0000</systemsortname>

View file

@ -185,6 +185,10 @@
<name>easyrpg</name>
<systemsortname>EasyRPG Team - Engine - 2007</systemsortname>
</system>
<system>
<name>electron</name>
<systemsortname>Acorn Computers - Computer - 1983</systemsortname>
</system>
<system>
<name>emulators</name>
<systemsortname>Various - Folder - 0000</systemsortname>

View file

@ -185,6 +185,10 @@
<name>easyrpg</name>
<systemsortname>EasyRPG Team - 2007</systemsortname>
</system>
<system>
<name>electron</name>
<systemsortname>Acorn Computers - 1983</systemsortname>
</system>
<system>
<name>emulators</name>
<systemsortname>Various - 0000</systemsortname>

View file

@ -185,6 +185,10 @@
<name>easyrpg</name>
<systemsortname>2007</systemsortname>
</system>
<system>
<name>electron</name>
<systemsortname>1983</systemsortname>
</system>
<system>
<name>emulators</name>
<systemsortname>0000</systemsortname>

View file

@ -503,6 +503,17 @@
<platform>easyrpg</platform>
<theme>easyrpg</theme>
</system>
<system>
<name>electron</name>
<fullname>Acorn Electron</fullname>
<path>%ROMPATH%/electron</path>
<extension>.1dd .1DD .adf .ADF .adl .ADL .adm .ADM .ads .ADS .bbc .BBC .bin .BIN .cqi .CQI .cqm .CQM .csw .CSW .d77 .D77 .d88 .D88 .dfi .DFI .dsd .DSD .dsk .DSK .hfe .HFE .imd .IMD .img .IMG .mfi .MFI .mfm .MFM .rom .ROM .ssd .SSD .td0 .TD0 .uef .UEF .wav .WAV .7z .7Z .zip .ZIP</extension>
<command label="MAME [Tape] (Standalone)">%STARTDIR%=~/.mame %EMULATOR_MAME% -rompath %GAMEDIR%\;%ROMPATH%/electron electron64 -autoboot_delay "2" -autoboot_command "*T.\nCH.\"\"\n" -cass1 %ROM%</command>
<command label="MAME [Diskette DFS] (Standalone)">%STARTDIR%=~/.mame %EMULATOR_MAME% -rompath %GAMEDIR%\;%ROMPATH%/electron electron64 -exp plus1 -cart1 seds -autoboot_delay "2" -autoboot_command "*CAT\n\n\n\n\n\n*EXEC !BOOT\n" -flop1 %ROM%</command>
<command label="MAME [Diskette ADFS] (Standalone)">%STARTDIR%=~/.mame %EMULATOR_MAME% -rompath %GAMEDIR%\;%ROMPATH%/electron electron64 -exp plus3 -exp:plus3:fdc:1 35dd -autoboot_delay "2" -autoboot_command "*CAT\n\n\n\n\n\n*RUN !BOOT\n" -flop1 %ROM%</command>
<platform>electron</platform>
<theme>electron</theme>
</system>
<system>
<name>emulators</name>
<fullname>Emulators</fullname>

View file

@ -520,6 +520,17 @@
<platform>easyrpg</platform>
<theme>easyrpg</theme>
</system>
<system>
<name>electron</name>
<fullname>Acorn Electron</fullname>
<path>%ROMPATH%/electron</path>
<extension>.1dd .1DD .adf .ADF .adl .ADL .adm .ADM .ads .ADS .bbc .BBC .bin .BIN .cqi .CQI .cqm .CQM .csw .CSW .d77 .D77 .d88 .D88 .dfi .DFI .dsd .DSD .dsk .DSK .hfe .HFE .imd .IMD .img .IMG .mfi .MFI .mfm .MFM .rom .ROM .ssd .SSD .td0 .TD0 .uef .UEF .wav .WAV .7z .7Z .zip .ZIP</extension>
<command label="MAME [Tape] (Standalone)">%STARTDIR%=~/.mame %EMULATOR_MAME% -rompath %GAMEDIR%\;%ROMPATH%/electron electron64 -autoboot_delay "2" -autoboot_command "*T.\nCH.\"\"\n" -cass1 %ROM%</command>
<command label="MAME [Diskette DFS] (Standalone)">%STARTDIR%=~/.mame %EMULATOR_MAME% -rompath %GAMEDIR%\;%ROMPATH%/electron electron64 -exp plus1 -cart1 seds -autoboot_delay "2" -autoboot_command "*CAT\n\n\n\n\n\n*EXEC !BOOT\n" -flop1 %ROM%</command>
<command label="MAME [Diskette ADFS] (Standalone)">%STARTDIR%=~/.mame %EMULATOR_MAME% -rompath %GAMEDIR%\;%ROMPATH%/electron electron64 -exp plus3 -exp:plus3:fdc:1 35dd -autoboot_delay "2" -autoboot_command "*CAT\n\n\n\n\n\n*RUN !BOOT\n" -flop1 %ROM%</command>
<platform>electron</platform>
<theme>electron</theme>
</system>
<system>
<name>emulators</name>
<fullname>Emulators</fullname>

View file

@ -518,6 +518,17 @@
<platform>easyrpg</platform>
<theme>easyrpg</theme>
</system>
<system>
<name>electron</name>
<fullname>Acorn Electron</fullname>
<path>%ROMPATH%\electron</path>
<extension>.1dd .1DD .adf .ADF .adl .ADL .adm .ADM .ads .ADS .bbc .BBC .bin .BIN .cqi .CQI .cqm .CQM .csw .CSW .d77 .D77 .d88 .D88 .dfi .DFI .dsd .DSD .dsk .DSK .hfe .HFE .imd .IMD .img .IMG .mfi .MFI .mfm .MFM .rom .ROM .ssd .SSD .td0 .TD0 .uef .UEF .wav .WAV .7z .7Z .zip .ZIP</extension>
<command label="MAME [Tape] (Standalone)">%HIDEWINDOW% %RUNINBACKGROUND% %STARTDIR%=%EMUDIR% %EMULATOR_MAME% -rompath %GAMEDIR%\;%ROMPATH%\electron electron64 -autoboot_delay "2" -autoboot_command "*T.\nCH.\"\"\n" -cass1 %ROM%</command>
<command label="MAME [Diskette DFS] (Standalone)">%HIDEWINDOW% %RUNINBACKGROUND% %STARTDIR%=%EMUDIR% %EMULATOR_MAME% -rompath %GAMEDIR%\;%ROMPATH%\electron electron64 -exp plus1 -cart1 seds -autoboot_delay "2" -autoboot_command "*CAT\n\n\n\n\n\n*EXEC !BOOT\n" -flop1 %ROM%</command>
<command label="MAME [Diskette ADFS] (Standalone)">%HIDEWINDOW% %RUNINBACKGROUND% %STARTDIR%=%EMUDIR% %EMULATOR_MAME% -rompath %GAMEDIR%\;%ROMPATH%\electron electron64 -exp plus3 -exp:plus3:fdc:1 35dd -autoboot_delay "2" -autoboot_command "*CAT\n\n\n\n\n\n*RUN !BOOT\n" -flop1 %ROM%</command>
<platform>electron</platform>
<theme>electron</theme>
</system>
<system>
<name>emulators</name>
<fullname>Emulators</fullname>