Added missing systems to PlatformId.

Also did some other small system name changes.
This commit is contained in:
Leon Styhre 2020-07-25 16:18:41 +02:00
parent c4d634670d
commit 6735dd3d76
15 changed files with 63 additions and 21 deletions

View file

@ -46,7 +46,7 @@ namespace PlatformIds
"gb", // Game Boy "gb", // Game Boy
"gba", // Game Boy Advance "gba", // Game Boy Advance
"gbc", // Game Boy Color "gbc", // Game Boy Color
"gc", // GameCube "gamecube", // GameCube
"wii", "wii",
"wiiu", "wiiu",
"virtualboy", "virtualboy",
@ -70,7 +70,7 @@ namespace PlatformIds
"psp", // PlayStation Portable "psp", // PlayStation Portable
"snes", // Super Nintendo Entertainment System "snes", // Super Nintendo Entertainment System
"scummvm", "scummvm",
"x6800", "x68000",
"solarus", "solarus",
"pcengine", // (Aka turbografx-16), HuCards only "pcengine", // (Aka turbografx-16), HuCards only
"pcenginecd", // (Aka turbografx-16), CD-ROMs only "pcenginecd", // (Aka turbografx-16), CD-ROMs only
@ -78,10 +78,31 @@ namespace PlatformIds
"wonderswancolor", "wonderswancolor",
"zxspectrum", "zxspectrum",
"zx81", "zx81",
"videopac", "odyssey2",
"vectrex", "vectrex",
"trs-80", "trs-80",
"coco", "coco",
"ags",
"astrocade",
"bbcmicro",
"cavestory",
"daphne",
"doom",
"dragon32",
"famicom",
"love",
"lutro",
"mess",
"moonlight",
"oric",
"pcfx",
"residualvm",
"samcoupe",
"supergrafx",
"stratagus",
"videopac",
"zmachine",
"ti99",
"ignore", // Do not allow scraping for this system. "ignore", // Do not allow scraping for this system.
"invalid" "invalid"

View file

@ -70,7 +70,7 @@ namespace PlatformIds
PLAYSTATION_PORTABLE, PLAYSTATION_PORTABLE,
SUPER_NINTENDO, SUPER_NINTENDO,
SCUMMVM, SCUMMVM,
SHARP_X6800, SHARP_X68000,
SOLARUS, SOLARUS,
TURBOGRAFX_16, // (Aka PC Engine) HuCards only. TURBOGRAFX_16, // (Aka PC Engine) HuCards only.
TURBOGRAFX_CD, // (Aka PC Engine) CD-ROMs only. TURBOGRAFX_CD, // (Aka PC Engine) CD-ROMs only.
@ -82,6 +82,27 @@ namespace PlatformIds
VECTREX, VECTREX,
TRS80_COLOR_COMPUTER, TRS80_COLOR_COMPUTER,
TANDY, TANDY,
ADVENTUREGAMESTUDIO,
ASTROCADE,
BBCMICRO,
CAVESTORY,
DAPHNE,
DOOM,
DRAGON32,
FAMICOM,
LOVE,
LUTRO,
MESS,
MOONLIGHT,
ORIC,
PCFX,
RESIDUALVM,
SAMCOUPE,
SUPERGRAFX,
STRATAGUS,
VIDEOPAC,
ZMACHINE,
TI99,
PLATFORM_IGNORE, // Do not allow scraping for this system. PLATFORM_IGNORE, // Do not allow scraping for this system.
PLATFORM_COUNT PLATFORM_COUNT

View file

@ -125,14 +125,14 @@ bool TheGamesDBJSONRequestResources::saveResource(
{ {
if (req == nullptr) { if (req == nullptr) {
LOG(LogError) << "Http request pointer was null\n"; LOG(LogError) << "Error - HTTP request pointer was null.\n";
return true; return true;
} }
if (req->status() == HttpReq::REQ_IN_PROGRESS) { if (req->status() == HttpReq::REQ_IN_PROGRESS) {
return false; // Not ready: wait some more. return false; // Not ready: wait some more.
} }
if (req->status() != HttpReq::REQ_SUCCESS) { if (req->status() != HttpReq::REQ_SUCCESS) {
LOG(LogError) << "Resource request for " << file_name << LOG(LogError) << "Error - Resource request for " << file_name <<
" failed:\n\t" << req->getErrorMsg(); " failed:\n\t" << req->getErrorMsg();
return true; // Request failed, resetting request.. return true; // Request failed, resetting request..
} }

View file

@ -73,7 +73,7 @@ const std::map<PlatformId, unsigned short> screenscraper_platformid_map {
{ SEGA_MEGA_DRIVE, 1 }, { SEGA_MEGA_DRIVE, 1 },
{ SEGA_SATURN, 22 }, { SEGA_SATURN, 22 },
{ SEGA_SG1000, 109 }, { SEGA_SG1000, 109 },
{ SHARP_X6800, 79}, { SHARP_X68000, 79},
{ SOLARUS, 223 }, { SOLARUS, 223 },
{ PLAYSTATION, 57 }, { PLAYSTATION, 57 },
{ PLAYSTATION_2, 58 }, { PLAYSTATION_2, 58 },

View file

@ -277,7 +277,7 @@
<path>%ROMPATH%/gameandwatch</path> <path>%ROMPATH%/gameandwatch</path>
<extension>.mgw .MGW .7z .7Z .zip .ZIP</extension> <extension>.mgw .MGW .7z .7Z .zip .ZIP</extension>
<command>retroarch -L ~/.config/retroarch/cores/gw_libretro.so %ROM%</command> <command>retroarch -L ~/.config/retroarch/cores/gw_libretro.so %ROM%</command>
<platform>nintendo_game_and_watch</platform> <platform>gameandwatch</platform>
<theme>gameandwatch</theme> <theme>gameandwatch</theme>
</system> </system>
<system> <system>
@ -560,13 +560,13 @@
<theme>pcengine</theme> <theme>pcengine</theme>
</system> </system>
<system> <system>
<name>pce-cd</name> <name>pcenginecd</name>
<fullname>PC Engine CD</fullname> <fullname>PC Engine CD</fullname>
<path>%ROMPATH%/pce-cd</path> <path>%ROMPATH%/pcenginecd</path>
<extension>.pce .PCE .cue .CUE .ccd .CCD .iso .ISO .img .IMG .bin .BIN .chd .CHD .7z .7Z .zip .ZIP</extension> <extension>.pce .PCE .cue .CUE .ccd .CCD .iso .ISO .img .IMG .bin .BIN .chd .CHD .7z .7Z .zip .ZIP</extension>
<command>retroarch -L ~/.config/retroarch/cores/mednafen_pce_libretro.so %ROM%</command> <command>retroarch -L ~/.config/retroarch/cores/mednafen_pce_libretro.so %ROM%</command>
<platform>pcenginecd, pce-cd</platform> <platform>pcenginecd</platform>
<theme>pce-cd</theme> <theme>pcenginecd</theme>
</system> </system>
<system> <system>
<name>pcfx</name> <name>pcfx</name>
@ -718,7 +718,7 @@
<path>%ROMPATH%/tg16</path> <path>%ROMPATH%/tg16</path>
<extension>.pce .PCE .bin .BIN .chd .CHD .7z .7Z .zip .ZIP</extension> <extension>.pce .PCE .bin .BIN .chd .CHD .7z .7Z .zip .ZIP</extension>
<command>retroarch -L ~/.config/retroarch/cores/mednafen_pce_fast_libretro.so %ROM%</command> <command>retroarch -L ~/.config/retroarch/cores/mednafen_pce_fast_libretro.so %ROM%</command>
<platform>tg16, pcengine</platform> <platform>pcengine</platform>
<theme>tg16</theme> <theme>tg16</theme>
</system> </system>
<system> <system>
@ -727,7 +727,7 @@
<path>%ROMPATH%/tg-cd</path> <path>%ROMPATH%/tg-cd</path>
<extension>.pce .PCE .cue .CUE .ccd .CCD .iso .ISO .img .IMG .bin .BIN .chd .CHD .7z .7Z .zip .ZIP</extension> <extension>.pce .PCE .cue .CUE .ccd .CCD .iso .ISO .img .IMG .bin .BIN .chd .CHD .7z .7Z .zip .ZIP</extension>
<command>retroarch -L ~/.config/retroarch/cores/mednafen_pce_libretro.so %ROM%</command> <command>retroarch -L ~/.config/retroarch/cores/mednafen_pce_libretro.so %ROM%</command>
<platform>tg-cd, pcenginecd, pce-cd</platform> <platform>pcenginecd</platform>
<theme>tg-cd</theme> <theme>tg-cd</theme>
</system> </system>
<system> <system>

View file

@ -277,7 +277,7 @@
<path>%ROMPATH%\gameandwatch</path> <path>%ROMPATH%\gameandwatch</path>
<extension>.mgw .MGW .7z .7Z .zip .ZIP</extension> <extension>.mgw .MGW .7z .7Z .zip .ZIP</extension>
<command>retroarch.exe -L "%EMUPATH%\cores\gw_libretro.dll" %ROM%</command> <command>retroarch.exe -L "%EMUPATH%\cores\gw_libretro.dll" %ROM%</command>
<platform>nintendo_game_and_watch</platform> <platform>gameandwatch</platform>
<theme>gameandwatch</theme> <theme>gameandwatch</theme>
</system> </system>
<system> <system>
@ -560,13 +560,13 @@
<theme>pcengine</theme> <theme>pcengine</theme>
</system> </system>
<system> <system>
<name>pce-cd</name> <name>pcenginecd</name>
<fullname>PC Engine CD</fullname> <fullname>PC Engine CD</fullname>
<path>%ROMPATH%\pce-cd</path> <path>%ROMPATH%\pcenginecd</path>
<extension>.pce .PCE .cue .CUE .ccd .CCD .iso .ISO .img .IMG .bin .BIN .chd .CHD .7z .7Z .zip .ZIP</extension> <extension>.pce .PCE .cue .CUE .ccd .CCD .iso .ISO .img .IMG .bin .BIN .chd .CHD .7z .7Z .zip .ZIP</extension>
<command>retroarch.exe -L "%EMUPATH%\cores\mednafen_pce_libretro.dll" %ROM%</command> <command>retroarch.exe -L "%EMUPATH%\cores\mednafen_pce_libretro.dll" %ROM%</command>
<platform>pcenginecd, pce-cd</platform> <platform>pcenginecd</platform>
<theme>pce-cd</theme> <theme>pcenginecd</theme>
</system> </system>
<system> <system>
<name>pcfx</name> <name>pcfx</name>
@ -718,7 +718,7 @@
<path>%ROMPATH%\tg16</path> <path>%ROMPATH%\tg16</path>
<extension>.pce .PCE .bin .BIN .chd .CHD .7z .7Z .zip .ZIP</extension> <extension>.pce .PCE .bin .BIN .chd .CHD .7z .7Z .zip .ZIP</extension>
<command>retroarch.exe -L "%EMUPATH%\cores\mednafen_pce_fast_libretro.dll" %ROM%</command> <command>retroarch.exe -L "%EMUPATH%\cores\mednafen_pce_fast_libretro.dll" %ROM%</command>
<platform>tg16, pcengine</platform> <platform>pcengine</platform>
<theme>tg16</theme> <theme>tg16</theme>
</system> </system>
<system> <system>
@ -727,7 +727,7 @@
<path>%ROMPATH%\tg-cd</path> <path>%ROMPATH%\tg-cd</path>
<extension>.pce .PCE .cue .CUE .ccd .CCD .iso .ISO .img .IMG .bin .BIN .chd .CHD .7z .7Z .zip .ZIP</extension> <extension>.pce .PCE .cue .CUE .ccd .CCD .iso .ISO .img .IMG .bin .BIN .chd .CHD .7z .7Z .zip .ZIP</extension>
<command>retroarch.exe -L "%EMUPATH%\cores\mednafen_pce_libretro.dll" %ROM%</command> <command>retroarch.exe -L "%EMUPATH%\cores\mednafen_pce_libretro.dll" %ROM%</command>
<platform>tg-cd, pcenginecd, pce-cd</platform> <platform>pcenginecd</platform>
<theme>tg-cd</theme> <theme>tg-cd</theme>
</system> </system>
<system> <system>

View file

Before

Width:  |  Height:  |  Size: 56 KiB

After

Width:  |  Height:  |  Size: 56 KiB

View file

Before

Width:  |  Height:  |  Size: 80 KiB

After

Width:  |  Height:  |  Size: 80 KiB

View file

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

View file

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 17 KiB

View file

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 17 KiB

View file

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB