Added support for the Commodore Plus/4 (plus4) game system

This commit is contained in:
Leon Styhre 2023-09-18 17:55:46 +02:00
parent 7620bf00f5
commit 622f24d9f7
16 changed files with 99 additions and 8 deletions

View file

@ -115,6 +115,8 @@ Emulators\tsugaru\Tsugaru_CUI.exe
Emulators\VBA-M\visualboyadvance-m.exe Emulators\VBA-M\visualboyadvance-m.exe
Emulators\VICE\x64sc.exe Emulators\VICE\x64sc.exe
Emulators\VICE\bin\x64sc.exe Emulators\VICE\bin\x64sc.exe
Emulators\VICE\xplus4.exe
Emulators\VICE\bin\xplus4.exe
Emulators\VICE\xvic.exe Emulators\VICE\xvic.exe
Emulators\VICE\bin\xvic.exe Emulators\VICE\bin\xvic.exe
Emulators\Visual Pinball\VPinballX.exe Emulators\Visual Pinball\VPinballX.exe

View file

@ -106,6 +106,7 @@ namespace PlatformIds
"pcfx", // NEC PC-FX "pcfx", // NEC PC-FX
"pcwindows", // Microsoft Windows "pcwindows", // Microsoft Windows
"pico8", // PICO-8 Fantasy Console "pico8", // PICO-8 Fantasy Console
"plus4", // Commodore Plus/4
"pokemini", // Nintendo Pokémon Mini "pokemini", // Nintendo Pokémon Mini
"ps2", // Sony PlayStation 2 "ps2", // Sony PlayStation 2
"ps3", // Sony PlayStation 3 "ps3", // Sony PlayStation 3

View file

@ -105,6 +105,7 @@ namespace PlatformIds
NEC_PCFX, NEC_PCFX,
MICROSOFT_WINDOWS, MICROSOFT_WINDOWS,
GAMEENGINE_PICO8, GAMEENGINE_PICO8,
COMMODORE_PLUS4,
NINTENDO_POKEMON_MINI, NINTENDO_POKEMON_MINI,
SONY_PLAYSTATION_2, SONY_PLAYSTATION_2,
SONY_PLAYSTATION_3, SONY_PLAYSTATION_3,

View file

@ -39,8 +39,6 @@ namespace
const std::map<PlatformId, std::string> gamesdb_new_platformid_map { const std::map<PlatformId, std::string> gamesdb_new_platformid_map {
{THREEDO, "25"}, {THREEDO, "25"},
{COMMODORE_AMIGA, "4911"},
{COMMODORE_AMIGA_CD32, "4947"},
{AMSTRAD_CPC, "4914"}, {AMSTRAD_CPC, "4914"},
{APPLE_II, "4942"}, {APPLE_II, "4942"},
{ARCADE, "23"}, {ARCADE, "23"},
@ -63,6 +61,9 @@ namespace
{CAVESTORY, "1"}, {CAVESTORY, "1"},
{COLECOVISION, "31"}, {COLECOVISION, "31"},
{COMMODORE_64, "40"}, {COMMODORE_64, "40"},
{COMMODORE_AMIGA, "4911"},
{COMMODORE_AMIGA_CD32, "4947"},
{COMMODORE_PLUS4, "5007"},
{COMMODORE_VIC20, "4945"}, {COMMODORE_VIC20, "4945"},
{CREATRONIC_MEGA_DUCK, "4948"}, {CREATRONIC_MEGA_DUCK, "4948"},
{DAPHNE, "23"}, {DAPHNE, "23"},

View file

@ -29,8 +29,6 @@ namespace
// https://www.screenscraper.fr/api/systemesListe.php?devid=xxx&devpassword=yyy&softname=zzz&output=XML // https://www.screenscraper.fr/api/systemesListe.php?devid=xxx&devpassword=yyy&softname=zzz&output=XML
const std::map<PlatformId, unsigned short> screenscraper_platformid_map { const std::map<PlatformId, unsigned short> screenscraper_platformid_map {
{THREEDO, 29}, {THREEDO, 29},
{COMMODORE_AMIGA, 64},
{COMMODORE_AMIGA_CD32, 130},
{AMSTRAD_CPC, 65}, {AMSTRAD_CPC, 65},
{AMSTRAD_GX4000, 87}, {AMSTRAD_GX4000, 87},
{APPLE_II, 86}, {APPLE_II, 86},
@ -57,7 +55,10 @@ namespace
{VTECH_CREATIVISION, 241}, {VTECH_CREATIVISION, 241},
{VTECH_VSMILE, 120}, {VTECH_VSMILE, 120},
{COMMODORE_64, 66}, {COMMODORE_64, 66},
{COMMODORE_AMIGA, 64},
{COMMODORE_AMIGA_CD32, 130},
{COMMODORE_CDTV, 129}, {COMMODORE_CDTV, 129},
{COMMODORE_PLUS4, 99},
{COMMODORE_VIC20, 73}, {COMMODORE_VIC20, 73},
{CREATRONIC_MEGA_DUCK, 90}, {CREATRONIC_MEGA_DUCK, 90},
{DAPHNE, 49}, {DAPHNE, 49},

View file

@ -465,6 +465,10 @@
<name>pico8</name> <name>pico8</name>
<systemsortname>Engine - 2015</systemsortname> <systemsortname>Engine - 2015</systemsortname>
</system> </system>
<system>
<name>plus4</name>
<systemsortname>Computer - 1984</systemsortname>
</system>
<system> <system>
<name>pokemini</name> <name>pokemini</name>
<systemsortname>Portable - 2001</systemsortname> <systemsortname>Portable - 2001</systemsortname>

View file

@ -465,6 +465,10 @@
<name>pico8</name> <name>pico8</name>
<systemsortname>Lexaloffle - Engine - 2015</systemsortname> <systemsortname>Lexaloffle - Engine - 2015</systemsortname>
</system> </system>
<system>
<name>plus4</name>
<systemsortname>Commodore - Computer - 1984</systemsortname>
</system>
<system> <system>
<name>pokemini</name> <name>pokemini</name>
<systemsortname>Nintendo - Portable - 2001</systemsortname> <systemsortname>Nintendo - Portable - 2001</systemsortname>

View file

@ -465,6 +465,10 @@
<name>pico8</name> <name>pico8</name>
<systemsortname>Lexaloffle - 2015</systemsortname> <systemsortname>Lexaloffle - 2015</systemsortname>
</system> </system>
<system>
<name>plus4</name>
<systemsortname>Commodore - 1984</systemsortname>
</system>
<system> <system>
<name>pokemini</name> <name>pokemini</name>
<systemsortname>Nintendo - 2001</systemsortname> <systemsortname>Nintendo - 2001</systemsortname>

View file

@ -465,6 +465,10 @@
<name>pico8</name> <name>pico8</name>
<systemsortname>2015</systemsortname> <systemsortname>2015</systemsortname>
</system> </system>
<system>
<name>plus4</name>
<systemsortname>1984</systemsortname>
</system>
<system> <system>
<name>pokemini</name> <name>pokemini</name>
<systemsortname>2001</systemsortname> <systemsortname>2001</systemsortname>

View file

@ -334,8 +334,15 @@
<entry>/usr/local/bin/x64sc</entry> <entry>/usr/local/bin/x64sc</entry>
</rule> </rule>
</emulator> </emulator>
<emulator name="VICE-XPLUS4">
<!-- Commodore 8-bit computer emulator VICE (xplus4) -->
<rule type="staticpath">
<entry>/opt/homebrew/bin/xplus4</entry>
<entry>/usr/local/bin/xplus4</entry>
</rule>
</emulator>
<emulator name="VICE-XVIC"> <emulator name="VICE-XVIC">
<!-- Commodore 8-bit computer emulator VICE (xvic VIC-20) --> <!-- Commodore 8-bit computer emulator VICE (xvic) -->
<rule type="staticpath"> <rule type="staticpath">
<entry>/opt/homebrew/bin/xvic</entry> <entry>/opt/homebrew/bin/xvic</entry>
<entry>/usr/local/bin/xvic</entry> <entry>/usr/local/bin/xvic</entry>

View file

@ -1282,6 +1282,16 @@
<platform>pico8</platform> <platform>pico8</platform>
<theme>pico8</theme> <theme>pico8</theme>
</system> </system>
<system>
<name>plus4</name>
<fullname>Commodore Plus/4</fullname>
<path>%ROMPATH%/plus4</path>
<extension>.bin .BIN .cmd .CMD .crt .CRT .d2m .D2M .d4m .D4M .d64 .D64 .d6z .D6Z .d71 .D71 .d7z .D7Z .d80 .D80 .d81 .D81 .d82 .D82 .d8z .D8Z .g41 .G41 .g4z .G4Z .g64 .G64 .g6z .G6Z .gz .GZ .lnx .LNX .m3u .M3U .nbz .NBZ .nib .NIB .p00 .P00 .prg .PRG .t64 .T64 .tap .TAP .vfl .VFL .vsf .VSF .x64 .X64 .x6z .X6Z .7z .7Z .zip .ZIP</extension>
<command label="VICE xplus4">%EMULATOR_RETROARCH% -L %CORE_RETROARCH%/vice_xplus4_libretro.dylib %ROM%</command>
<command label="VICE xplus4 (Standalone)">%EMULATOR_VICE-XPLUS4% %ROM%</command>
<platform>plus4</platform>
<theme>plus4</theme>
</system>
<system> <system>
<name>pokemini</name> <name>pokemini</name>
<fullname>Nintendo Pokémon Mini</fullname> <fullname>Nintendo Pokémon Mini</fullname>

View file

@ -871,8 +871,19 @@
<entry>~/.local/share/flatpak/exports/bin/net.sf.VICE</entry> <entry>~/.local/share/flatpak/exports/bin/net.sf.VICE</entry>
</rule> </rule>
</emulator> </emulator>
<emulator name="VICE-XPLUS4">
<!-- Commodore 8-bit computer emulator VICE (xplus4) -->
<rule type="systempath">
<entry>xplus4</entry>
<entry>vice-jz.xplus4</entry>
</rule>
<rule type="staticpath">
<entry>/var/lib/flatpak/exports/bin/net.sf.VICE|flatpak run --command=xplus4 net.sf.VICE</entry>
<entry>~/.local/share/flatpak/exports/bin/net.sf.VICE|flatpak run --command=xplus4 net.sf.VICE</entry>
</rule>
</emulator>
<emulator name="VICE-XVIC"> <emulator name="VICE-XVIC">
<!-- Commodore 8-bit computer emulator VICE (xvic VIC-20) --> <!-- Commodore 8-bit computer emulator VICE (xvic) -->
<rule type="systempath"> <rule type="systempath">
<entry>xvic</entry> <entry>xvic</entry>
<entry>vice-jz.xvic</entry> <entry>vice-jz.xvic</entry>

View file

@ -1335,6 +1335,16 @@
<platform>pico8</platform> <platform>pico8</platform>
<theme>pico8</theme> <theme>pico8</theme>
</system> </system>
<system>
<name>plus4</name>
<fullname>Commodore Plus/4</fullname>
<path>%ROMPATH%/plus4</path>
<extension>.bin .BIN .cmd .CMD .crt .CRT .d2m .D2M .d4m .D4M .d64 .D64 .d6z .D6Z .d71 .D71 .d7z .D7Z .d80 .D80 .d81 .D81 .d82 .D82 .d8z .D8Z .g41 .G41 .g4z .G4Z .g64 .G64 .g6z .G6Z .gz .GZ .lnx .LNX .m3u .M3U .nbz .NBZ .nib .NIB .p00 .P00 .prg .PRG .t64 .T64 .tap .TAP .vfl .VFL .vsf .VSF .x64 .X64 .x6z .X6Z .7z .7Z .zip .ZIP</extension>
<command label="VICE xplus4">%EMULATOR_RETROARCH% -L %CORE_RETROARCH%/vice_xplus4_libretro.so %ROM%</command>
<command label="VICE xplus4 (Standalone)">%EMULATOR_VICE-XPLUS4% %ROM%</command>
<platform>plus4</platform>
<theme>plus4</theme>
</system>
<system> <system>
<name>pokemini</name> <name>pokemini</name>
<fullname>Nintendo Pokémon Mini</fullname> <fullname>Nintendo Pokémon Mini</fullname>

View file

@ -805,8 +805,20 @@
<entry>%ESPATH%\..\Emulators\VICE\bin\x64sc.exe</entry> <entry>%ESPATH%\..\Emulators\VICE\bin\x64sc.exe</entry>
</rule> </rule>
</emulator> </emulator>
<emulator name="VICE-XPLUS4">
<!-- Commodore 8-bit computer emulator VICE (xplus4) -->
<rule type="systempath">
<entry>xplus4.exe</entry>
</rule>
<rule type="staticpath">
<entry>%ESPATH%\Emulators\VICE\xplus4.exe</entry>
<entry>%ESPATH%\Emulators\VICE\bin\xplus4.exe</entry>
<entry>%ESPATH%\..\Emulators\VICE\xplus4.exe</entry>
<entry>%ESPATH%\..\Emulators\VICE\bin\xplus4.exe</entry>
</rule>
</emulator>
<emulator name="VICE-XVIC"> <emulator name="VICE-XVIC">
<!-- Commodore 8-bit computer emulator VICE (xvic VIC-20) --> <!-- Commodore 8-bit computer emulator VICE (xvic) -->
<rule type="systempath"> <rule type="systempath">
<entry>xvic.exe</entry> <entry>xvic.exe</entry>
</rule> </rule>

View file

@ -534,8 +534,17 @@
<entry>%ESPATH%\..\Emulators\VICE\bin\x64sc.exe</entry> <entry>%ESPATH%\..\Emulators\VICE\bin\x64sc.exe</entry>
</rule> </rule>
</emulator> </emulator>
<emulator name="VICE-XPLUS4">
<!-- Commodore 8-bit computer emulator VICE (xplus4) -->
<rule type="staticpath">
<entry>%ESPATH%\Emulators\VICE\xplus4.exe</entry>
<entry>%ESPATH%\Emulators\VICE\bin\xplus4.exe</entry>
<entry>%ESPATH%\..\Emulators\VICE\xplus4.exe</entry>
<entry>%ESPATH%\..\Emulators\VICE\bin\xplus4.exe</entry>
</rule>
</emulator>
<emulator name="VICE-XVIC"> <emulator name="VICE-XVIC">
<!-- Commodore 8-bit computer emulator VICE (xvic VIC-20) --> <!-- Commodore 8-bit computer emulator VICE (xvic) -->
<rule type="staticpath"> <rule type="staticpath">
<entry>%ESPATH%\Emulators\VICE\xvic.exe</entry> <entry>%ESPATH%\Emulators\VICE\xvic.exe</entry>
<entry>%ESPATH%\Emulators\VICE\bin\xvic.exe</entry> <entry>%ESPATH%\Emulators\VICE\bin\xvic.exe</entry>

View file

@ -1330,6 +1330,16 @@
<platform>pico8</platform> <platform>pico8</platform>
<theme>pico8</theme> <theme>pico8</theme>
</system> </system>
<system>
<name>plus4</name>
<fullname>Commodore Plus/4</fullname>
<path>%ROMPATH%\plus4</path>
<extension>.bin .BIN .cmd .CMD .crt .CRT .d2m .D2M .d4m .D4M .d64 .D64 .d6z .D6Z .d71 .D71 .d7z .D7Z .d80 .D80 .d81 .D81 .d82 .D82 .d8z .D8Z .g41 .G41 .g4z .G4Z .g64 .G64 .g6z .G6Z .gz .GZ .lnx .LNX .m3u .M3U .nbz .NBZ .nib .NIB .p00 .P00 .prg .PRG .t64 .T64 .tap .TAP .vfl .VFL .vsf .VSF .x64 .X64 .x6z .X6Z .7z .7Z .zip .ZIP</extension>
<command label="VICE xplus4">%EMULATOR_RETROARCH% -L %CORE_RETROARCH%\vice_xplus4_libretro.dll %ROM%</command>
<command label="VICE xplus4 (Standalone)">%EMULATOR_VICE-XPLUS4% %ROM%</command>
<platform>plus4</platform>
<theme>plus4</theme>
</system>
<system> <system>
<name>pokemini</name> <name>pokemini</name>
<fullname>Nintendo Pokémon Mini</fullname> <fullname>Nintendo Pokémon Mini</fullname>