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
"gba", // Game Boy Advance
"gbc", // Game Boy Color
"gc", // GameCube
"gamecube", // GameCube
"wii",
"wiiu",
"virtualboy",
@ -70,7 +70,7 @@ namespace PlatformIds
"psp", // PlayStation Portable
"snes", // Super Nintendo Entertainment System
"scummvm",
"x6800",
"x68000",
"solarus",
"pcengine", // (Aka turbografx-16), HuCards only
"pcenginecd", // (Aka turbografx-16), CD-ROMs only
@ -78,10 +78,31 @@ namespace PlatformIds
"wonderswancolor",
"zxspectrum",
"zx81",
"videopac",
"odyssey2",
"vectrex",
"trs-80",
"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.
"invalid"

View file

@ -70,7 +70,7 @@ namespace PlatformIds
PLAYSTATION_PORTABLE,
SUPER_NINTENDO,
SCUMMVM,
SHARP_X6800,
SHARP_X68000,
SOLARUS,
TURBOGRAFX_16, // (Aka PC Engine) HuCards only.
TURBOGRAFX_CD, // (Aka PC Engine) CD-ROMs only.
@ -82,6 +82,27 @@ namespace PlatformIds
VECTREX,
TRS80_COLOR_COMPUTER,
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_COUNT

View file

@ -125,14 +125,14 @@ bool TheGamesDBJSONRequestResources::saveResource(
{
if (req == nullptr) {
LOG(LogError) << "Http request pointer was null\n";
LOG(LogError) << "Error - HTTP request pointer was null.\n";
return true;
}
if (req->status() == HttpReq::REQ_IN_PROGRESS) {
return false; // Not ready: wait some more.
}
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();
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_SATURN, 22 },
{ SEGA_SG1000, 109 },
{ SHARP_X6800, 79},
{ SHARP_X68000, 79},
{ SOLARUS, 223 },
{ PLAYSTATION, 57 },
{ PLAYSTATION_2, 58 },

View file

@ -277,7 +277,7 @@
<path>%ROMPATH%/gameandwatch</path>
<extension>.mgw .MGW .7z .7Z .zip .ZIP</extension>
<command>retroarch -L ~/.config/retroarch/cores/gw_libretro.so %ROM%</command>
<platform>nintendo_game_and_watch</platform>
<platform>gameandwatch</platform>
<theme>gameandwatch</theme>
</system>
<system>
@ -560,13 +560,13 @@
<theme>pcengine</theme>
</system>
<system>
<name>pce-cd</name>
<name>pcenginecd</name>
<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>
<command>retroarch -L ~/.config/retroarch/cores/mednafen_pce_libretro.so %ROM%</command>
<platform>pcenginecd, pce-cd</platform>
<theme>pce-cd</theme>
<platform>pcenginecd</platform>
<theme>pcenginecd</theme>
</system>
<system>
<name>pcfx</name>
@ -718,7 +718,7 @@
<path>%ROMPATH%/tg16</path>
<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>
<platform>tg16, pcengine</platform>
<platform>pcengine</platform>
<theme>tg16</theme>
</system>
<system>
@ -727,7 +727,7 @@
<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>
<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>
</system>
<system>

View file

@ -277,7 +277,7 @@
<path>%ROMPATH%\gameandwatch</path>
<extension>.mgw .MGW .7z .7Z .zip .ZIP</extension>
<command>retroarch.exe -L "%EMUPATH%\cores\gw_libretro.dll" %ROM%</command>
<platform>nintendo_game_and_watch</platform>
<platform>gameandwatch</platform>
<theme>gameandwatch</theme>
</system>
<system>
@ -560,13 +560,13 @@
<theme>pcengine</theme>
</system>
<system>
<name>pce-cd</name>
<name>pcenginecd</name>
<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>
<command>retroarch.exe -L "%EMUPATH%\cores\mednafen_pce_libretro.dll" %ROM%</command>
<platform>pcenginecd, pce-cd</platform>
<theme>pce-cd</theme>
<platform>pcenginecd</platform>
<theme>pcenginecd</theme>
</system>
<system>
<name>pcfx</name>
@ -718,7 +718,7 @@
<path>%ROMPATH%\tg16</path>
<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>
<platform>tg16, pcengine</platform>
<platform>pcengine</platform>
<theme>tg16</theme>
</system>
<system>
@ -727,7 +727,7 @@
<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>
<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>
</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