mirror of
https://github.com/rommapp/romm.git
synced 2026-06-28 06:46:00 +00:00
Add CPS1-3 and TIC-80
This commit is contained in:
@@ -377,6 +377,9 @@ class UniversalPlatformSlug(enum.StrEnum):
|
||||
COMPUCOLOR_II = "compucolor-ii"
|
||||
COMPUCORP_PROGRAMMABLE_CALCULATOR = "compucorp-programmable-calculator"
|
||||
CPET = "cpet"
|
||||
CPS1 = "cps1"
|
||||
CPS2 = "cps2"
|
||||
CPS3 = "cps3"
|
||||
CPM = "cpm"
|
||||
CREATIVISION = "creativision"
|
||||
CYBERVISION = "cybervision"
|
||||
@@ -672,6 +675,7 @@ class UniversalPlatformSlug(enum.StrEnum):
|
||||
TI_99 = "ti-99"
|
||||
TI_994A = "ti-994a"
|
||||
TI_PROGRAMMABLE_CALCULATOR = "ti-programmable-calculator"
|
||||
TIC_80 = "tic-80"
|
||||
TIKI_100 = "tiki-100"
|
||||
TIM = "tim"
|
||||
TIMEX_SINCLAIR_2068 = "timex-sinclair-2068"
|
||||
|
||||
@@ -61,7 +61,7 @@ PS1_SS_ID: Final = 57
|
||||
PS2_SS_ID: Final = 58
|
||||
PSP_SS_ID: Final = 61
|
||||
SWITCH_SS_ID: Final = 225
|
||||
ARCADE_SS_ID: Final = 75
|
||||
ARCADES_SS_IDS: Final = [75, 6, 7, 8]
|
||||
|
||||
# Regex to detect ScreenScraper ID tags in filenames like (ssfr-12345)
|
||||
SS_TAG_REGEX = re.compile(r"\(ssfr-(\d+)\)", re.IGNORECASE)
|
||||
@@ -651,7 +651,7 @@ class SSHandler(MetadataHandler):
|
||||
)
|
||||
|
||||
# Support for MAME arcade filename format
|
||||
if platform_ss_id == ARCADE_SS_ID:
|
||||
if platform_ss_id in ARCADES_SS_IDS:
|
||||
search_term = await self._mame_format(search_term)
|
||||
fallback_rom = SSRom(ss_id=None, name=search_term)
|
||||
|
||||
@@ -736,7 +736,7 @@ SCREENSAVER_PLATFORM_LIST: dict[UPS, SlugToSSId] = {
|
||||
UPS.ANDROID: {"id": 63, "name": "Android"},
|
||||
UPS.APPLEII: {"id": 86, "name": "Apple II"},
|
||||
UPS.APPLE_IIGS: {"id": 51, "name": "Apple IIGS"},
|
||||
UPS.ARCADE: {"id": ARCADE_SS_ID, "name": "Arcade"},
|
||||
UPS.ARCADE: {"id": ARCADES_SS_IDS[0], "name": "Arcade"},
|
||||
UPS.ARCADIA_2001: {"id": 94, "name": "Arcadia 2001"},
|
||||
UPS.ARDUBOY: {"id": 263, "name": "Arduboy"},
|
||||
UPS.ATARI2600: {"id": 26, "name": "Atari 2600"},
|
||||
@@ -746,6 +746,7 @@ SCREENSAVER_PLATFORM_LIST: dict[UPS, SlugToSSId] = {
|
||||
UPS.ATARI_ST: {"id": 42, "name": "Atari ST"},
|
||||
UPS.ATOM: {"id": 36, "name": "Atom"},
|
||||
UPS.BBCMICRO: {"id": 37, "name": "BBC Micro"},
|
||||
UPS.BK: {"id": 93, "name": "Elektronika BK"},
|
||||
UPS.ASTROCADE: {"id": 44, "name": "Astrocade"},
|
||||
UPS.PHILIPS_CD_I: {"id": 133, "name": "CD-i"},
|
||||
UPS.COMMODORE_CDTV: {"id": 129, "name": "Amiga CDTV"},
|
||||
@@ -760,6 +761,9 @@ SCREENSAVER_PLATFORM_LIST: dict[UPS, SlugToSSId] = {
|
||||
UPS.C_PLUS_4: {"id": 99, "name": "Plus/4"},
|
||||
UPS.C16: {"id": 99, "name": "Plus/4"},
|
||||
UPS.C64: {"id": 66, "name": "Commodore 64"},
|
||||
UPS.CPS1: {"id": ARCADES_SS_IDS[1], "name": "Capcom Play System"},
|
||||
UPS.CPS2: {"id": ARCADES_SS_IDS[2], "name": "Capcom Play System 2"},
|
||||
UPS.CPS3: {"id": ARCADES_SS_IDS[3], "name": "Capcom Play System 3"},
|
||||
UPS.CPET: {"id": 240, "name": "PET"},
|
||||
UPS.CREATIVISION: {"id": 241, "name": "CreatiVision"},
|
||||
UPS.DOS: {"id": 135, "name": "PC Dos"},
|
||||
@@ -783,6 +787,7 @@ SCREENSAVER_PLATFORM_LIST: dict[UPS, SlugToSSId] = {
|
||||
UPS.GB: {"id": 9, "name": "Game Boy"},
|
||||
UPS.GBA: {"id": 12, "name": "Game Boy Advance"},
|
||||
UPS.GBC: {"id": 10, "name": "Game Boy Color"},
|
||||
UPS.GAMATE: {"id": 266, "name": "Gamate"},
|
||||
UPS.GAMEGEAR: {"id": 21, "name": "Game Gear"},
|
||||
UPS.GAME_DOT_COM: {"id": 121, "name": "Game.com"},
|
||||
UPS.NGC: {"id": 13, "name": "GameCube"},
|
||||
@@ -821,6 +826,7 @@ SCREENSAVER_PLATFORM_LIST: dict[UPS, SlugToSSId] = {
|
||||
UPS.PC_8800_SERIES: {"id": 221, "name": "NEC PC-8801"},
|
||||
UPS.PC_9800_SERIES: {"id": 208, "name": "NEC PC-9801"},
|
||||
UPS.PC_FX: {"id": 72, "name": "PC-FX"},
|
||||
UPS.PEGASUS: {"id": 83, "name": "Aamber Pegasus"},
|
||||
UPS.PICO: {"id": 234, "name": "Pico-8"},
|
||||
UPS.PSVITA: {"id": 62, "name": "PS Vita"},
|
||||
UPS.PSP: {"id": PSP_SS_ID, "name": "PSP"},
|
||||
@@ -842,6 +848,7 @@ SCREENSAVER_PLATFORM_LIST: dict[UPS, SlugToSSId] = {
|
||||
UPS.SNES: {"id": 4, "name": "Super Nintendo"},
|
||||
UPS.SFAM: {"id": 4, "name": "Super Famicom"},
|
||||
UPS.X1: {"id": 220, "name": "Sharp X1"},
|
||||
UPS.SCUMMVM: {"id": 123, "name": "ScummVM"},
|
||||
UPS.SHARP_X68000: {"id": 79, "name": "Sharp X68000"},
|
||||
UPS.SPECTRAVIDEO: {"id": 218, "name": "Spectravideo"},
|
||||
UPS.SUFAMI_TURBO: {"id": 108, "name": "Sufami Turbo"},
|
||||
@@ -849,6 +856,7 @@ SCREENSAVER_PLATFORM_LIST: dict[UPS, SlugToSSId] = {
|
||||
UPS.SUPERGRAFX: {"id": 105, "name": "PC Engine SuperGrafx"},
|
||||
UPS.SUPERVISION: {"id": 207, "name": "Watara Supervision"},
|
||||
UPS.TI_99: {"id": 205, "name": "TI-99/4A"},
|
||||
UPS.TIC_80: {"id": 222, "name": "TIC-80"},
|
||||
UPS.TRS_80_COLOR_COMPUTER: {
|
||||
"id": 144,
|
||||
"name": "TRS-80 Color Computer",
|
||||
|
||||
@@ -1 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" width="320" height="320" viewBox="0 0 320 320"><defs><clipPath id="a" clipPathUnits="userSpaceOnUse"><path d="M0 256h256V0H0Z"/></clipPath><clipPath id="b" clipPathUnits="userSpaceOnUse"><path d="M8 248h240V8H8Z"/></clipPath></defs><g clip-path="url(#a)" transform="matrix(1.33333 0 0 -1.33333 -10.667 330.667)"><g clip-path="url(#b)" style="opacity:.5"><path d="M0 0h-24v48h-16v16h-176V48h-16v-208h16v-16h64v16h32v-16h64v16h16v16h16v64h16v16H8V0z" style="fill:#fff;fill-opacity:1;fill-rule:nonzero;stroke:none" transform="translate(240 184)"/></g></g><path d="M0 0h-20v-176H0v64h16v16H0Z" style="fill:#000;fill-opacity:1;fill-rule:nonzero;stroke:none" transform="matrix(1.33333 0 0 -1.33333 266.667 32)"/><path d="M224 128h16v48h-16zM176 16h-48v20h48zM32 36h48V16H32Z" style="fill:#000;fill-opacity:1;fill-rule:nonzero;stroke:none" transform="matrix(1.33333 0 0 -1.33333 -10.667 330.667)"/><path d="M192 52H16V32h176zm0 168H32v20h160z" style="fill:#354f9f;fill-opacity:1;fill-rule:nonzero;stroke:none" transform="matrix(1.33333 0 0 -1.33333 -10.667 330.667)"/><path d="M192 48H16v176h176z" style="fill:#4b5da7;fill-opacity:1;fill-rule:nonzero;stroke:none" transform="matrix(1.33333 0 0 -1.33333 -10.667 330.667)"/><path d="M176 188H32v20h144z" style="fill:#354f9f;fill-opacity:1;fill-rule:nonzero;stroke:none" transform="matrix(1.33333 0 0 -1.33333 -10.667 330.667)"/><path d="M176 112H32v80h144z" style="fill:#e6e6e6;fill-opacity:1;fill-rule:nonzero;stroke:none" transform="matrix(1.33333 0 0 -1.33333 -10.667 330.667)"/><path d="M144 128h-16v48h16zm-64 0H64v48h16z" style="fill:#000;fill-opacity:1;fill-rule:nonzero;stroke:none" transform="matrix(1.33333 0 0 -1.33333 -10.667 330.667)"/><path d="M144 96h-16V80h16zm-64 0H64V80h16Zm48-32H80v16h48z" style="fill:#e6e6e6;fill-opacity:1;fill-rule:nonzero;stroke:none" transform="matrix(1.33333 0 0 -1.33333 -10.667 330.667)"/></svg>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" width="320" height="320" viewBox="0 0 320 320"><defs><clipPath id="a" clipPathUnits="userSpaceOnUse"><path d="M0 256h256V0H0Z"/></clipPath><clipPath id="b" clipPathUnits="userSpaceOnUse"><path d="M8 248h240V8H8Z"/></clipPath></defs><g clip-path="url(#a)" transform="matrix(1.33333 0 0 -1.33333 -10.667 330.667)"><g clip-path="url(#b)" style="opacity:.5"><path d="M0 0h-24v48h-16v16h-176V48h-16v-208h16v-16h64v16h32v-16h64v16h16v16h16v64h16v16H8V0z" style="fill:#fff;fill-opacity:1;fill-rule:nonzero;stroke:none" transform="translate(240 184)"/></g></g><path d="M0 0h-20v-176H0v64h16v16H0Z" style="fill:#000;fill-opacity:1;fill-rule:nonzero;stroke:none" transform="matrix(1.33333 0 0 -1.33333 266.667 32)"/><path d="M224 128h16v48h-16zM176 16h-48v20h48zM32 36h48V16H32Z" style="fill:#000;fill-opacity:1;fill-rule:nonzero;stroke:none" transform="matrix(1.33333 0 0 -1.33333 -10.667 330.667)"/><path d="M192 52H16V32h176zm0 168H32v20h160z" style="fill:#354f9f;fill-opacity:1;fill-rule:nonzero;stroke:none" transform="matrix(1.33333 0 0 -1.33333 -10.667 330.667)"/><path d="M192 48H16v176h176z" style="fill:#4b5da7;fill-opacity:1;fill-rule:nonzero;stroke:none" transform="matrix(1.33333 0 0 -1.33333 -10.667 330.667)"/><path d="M176 188H32v20h144z" style="fill:#354f9f;fill-opacity:1;fill-rule:nonzero;stroke:none" transform="matrix(1.33333 0 0 -1.33333 -10.667 330.667)"/><path d="M176 112H32v80h144z" style="fill:#e6e6e6;fill-opacity:1;fill-rule:nonzero;stroke:none" transform="matrix(1.33333 0 0 -1.33333 -10.667 330.667)"/><path d="M144 128h-16v48h16zm-64 0H64v48h16z" style="fill:#000;fill-opacity:1;fill-rule:nonzero;stroke:none" transform="matrix(1.33333 0 0 -1.33333 -10.667 330.667)"/><path d="M144 96h-16V80h16zm-64 0H64V80h16Zm48-32H80v16h48z" style="fill:#e6e6e6;fill-opacity:1;fill-rule:nonzero;stroke:none" transform="matrix(1.33333 0 0 -1.33333 -10.667 330.667)"/></svg>
|
||||
|
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 108 KiB After Width: | Height: | Size: 108 KiB |
Reference in New Issue
Block a user