mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-04-13 12:22:33 -05:00
fix: add missing system slugs to batocera and retrobat scrapers
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -92,6 +92,27 @@ SYSTEM_SLUG_MAP = {
|
|||||||
"dos": "dos",
|
"dos": "dos",
|
||||||
"videopac": "philips-videopac",
|
"videopac": "philips-videopac",
|
||||||
"pokemini": "nintendo-pokemon-mini",
|
"pokemini": "nintendo-pokemon-mini",
|
||||||
|
"gsplus": "apple-iigs",
|
||||||
|
"apple2": "apple-ii",
|
||||||
|
"apple2gs": "apple-iigs",
|
||||||
|
"ps3": "sony-playstation-3",
|
||||||
|
"psvita": "sony-playstation-vita",
|
||||||
|
"coco": "coco",
|
||||||
|
"dragon32": "dragon32",
|
||||||
|
"dragon64": "dragon64",
|
||||||
|
"mc10": "mc10",
|
||||||
|
"msx2+": "microsoft-msx",
|
||||||
|
"msxturbor": "microsoft-msx",
|
||||||
|
"spectravideo": "spectravideo",
|
||||||
|
"tvc": "videoton-tvc",
|
||||||
|
"enterprise": "enterprise-64-128",
|
||||||
|
"vis": "tandy-vis",
|
||||||
|
"supracan": "supracan",
|
||||||
|
"jaguar": "atari-jaguar",
|
||||||
|
"jaguarcd": "atari-jaguar",
|
||||||
|
"switch": "nintendo-switch",
|
||||||
|
"wii": "nintendo-wii",
|
||||||
|
"xbox360": "microsoft-xbox-360",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -27,6 +27,14 @@ SOURCE_URL = (
|
|||||||
|
|
||||||
GITHUB_REPO = "RetroBat-Official/retrobat"
|
GITHUB_REPO = "RetroBat-Official/retrobat"
|
||||||
|
|
||||||
|
# Map RetroBat system keys to our normalized system IDs
|
||||||
|
SYSTEM_SLUG_MAP = {
|
||||||
|
"ps2": "sony-playstation-2",
|
||||||
|
"ps3": "sony-playstation-3",
|
||||||
|
"psvita": "sony-playstation-vita",
|
||||||
|
"gsplus": "apple-iigs",
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
class Scraper(BaseScraper):
|
class Scraper(BaseScraper):
|
||||||
"""Scraper for RetroBat batocera-systems.json."""
|
"""Scraper for RetroBat batocera-systems.json."""
|
||||||
@@ -83,7 +91,7 @@ class Scraper(BaseScraper):
|
|||||||
|
|
||||||
requirements.append(BiosRequirement(
|
requirements.append(BiosRequirement(
|
||||||
name=name,
|
name=name,
|
||||||
system=sys_key,
|
system=SYSTEM_SLUG_MAP.get(sys_key, sys_key),
|
||||||
md5=md5 or None,
|
md5=md5 or None,
|
||||||
destination=file_path,
|
destination=file_path,
|
||||||
required=True,
|
required=True,
|
||||||
|
|||||||
Reference in New Issue
Block a user