Skip to content

Add CPS1-3 and TIC-80#2828

Merged
gantoine merged 2 commits intorommapp:masterfrom
SaraVieira:feature/missing-platforms
Dec 31, 2025
Merged

Add CPS1-3 and TIC-80#2828
gantoine merged 2 commits intorommapp:masterfrom
SaraVieira:feature/missing-platforms

Conversation

@SaraVieira
Copy link
Copy Markdown
Contributor

@SaraVieira SaraVieira commented Dec 31, 2025

Description

This PR adds 4 new systems that exist on screenscrapper

  • CPS1
  • CPS2
  • CPS3
  • Tic-80

Since the CPS systems use mame name format I changed the SS handler to account for that

Also matches a couple of systems to screenscrapper as well:

  • ScummVM
  • Gammate
  • BK
  • Pegasus

If this looks good, let me know and Ill update the docs too

Checklist
Please check all that apply.

  • I've tested the changes locally
  • I've updated relevant comments
  • I've assigned reviewers for this PR
  • I've added unit tests that cover the changes

Screenshots (if applicable)

CleanShot 2025-12-31 at 18 52 34

@gemini-code-assist
Copy link
Copy Markdown
Contributor

Summary of Changes

Hello @SaraVieira, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request expands the system's compatibility by integrating several new gaming platforms, specifically CPS1-3 and TIC-80. It also refines the metadata handling for arcade systems by adapting the ScreenScraper integration to better accommodate MAME-style naming conventions. Additionally, it ensures proper identification for a few other niche platforms, streamlining how the system recognizes and categorizes a broader range of games.

Highlights

  • New System Support: Added support for CPS1, CPS2, CPS3, and TIC-80 systems by introducing new entries in the UniversalPlatformSlug enum.
  • ScreenScraper Handler Enhancement: Modified the ScreenScraper handler to correctly process MAME-formatted filenames for arcade systems, including the newly added CPS platforms.
  • Additional Platform Mappings: Included ScreenScraper ID mappings for several other platforms: ScummVM, Gamate, BK, and Pegasus.
  • Asset Renaming: Renamed the tic.svg asset to tic-80.svg for consistency.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@SaraVieira
Copy link
Copy Markdown
Contributor Author

/gemini review

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request adds support for several new systems, including CPS1-3 and TIC-80, and correctly refactors the ScreenScraper handler to support multiple arcade system IDs. The changes are logical and well-implemented. I have a couple of suggestions to improve maintainability and readability. One is to replace magic numbers for arcade system IDs with named constants. The other is to maintain alphabetical order in the platform list for easier navigation. Overall, great work on expanding the platform support.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request adds support for CPS1-3 and TIC-80 systems, along with several other platform mappings for ScreenScraper. The changes are logical and extend the application's capabilities as intended.

I've identified a couple of areas for improvement regarding code maintainability:

  • The use of indexing to retrieve system IDs is fragile and can be improved by using direct values or, ideally, named constants.
  • One of the new platform entries is not in alphabetical order, which affects the consistency of the list.

These are relatively minor points, and the overall implementation is solid. Once these are addressed and the documentation is updated as you mentioned, this PR will be in great shape.

Copy link
Copy Markdown
Member

@gantoine gantoine left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks great!

@gantoine gantoine merged commit 99a83d2 into rommapp:master Dec 31, 2025
2 of 3 checks passed
@SaraVieira
Copy link
Copy Markdown
Contributor Author

Oh hell yeah!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants