[Feature] Automatically associate ROMs created by the Patcher with the original game
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 48/100
Research direction
Start by tracing how the integrated ROM Patcher handles “Upload to RomM” and how ROM records inherit metadata identity and join existing version groups. The issue does not name files or tests, so first locate the patcher upload flow and the code that creates ROM records; check how hashes and per-ROM saves and play history are kept independent. Done means an enabled-by-default option associates the new record with the original game while preserving the distinct ROM and its independent hash-based metadata.
Written by the indexing model from the issue text.
Description
Is your feature request related to a problem? Please describe.
When using RomM's integrated ROM Patcher with the Upload to RomM option, the resulting patched ROM is added to the library and scanned as a new ROM.
However, the patched ROM does not automatically inherit its association with the original game. Depending on the results of the metadata scan, it may appear as a separate, unmatched entry in the gallery.
For example, when applying a ROM improvement patch to U.N. Squadron for the SNES, the patched ROM appeared as a separate entry without the original game's metadata or cover art. I was able to address this by manually assigning the original ROM's IGDB ID to the patched ROM, allowing RomM to recognize them as alternative versions of the same game.
This requires unnecessary manual intervention, particularly when applying patches to numerous games in a library. Since the patching operation originates from an existing ROM's detail page, RomM already knows which game is being patched.
Describe the solution you'd like
When using the integrated ROM Patcher with Upload to RomM selected, provide an option, enabled by default, to associate the resulting ROM with the original game.
The expected behavior would be:
- Preserve the original ROM and create the patched ROM as a separate ROM record.
- Automatically associate the patched ROM with the original game's metadata identity.
- Display the patched ROM as an alternative version of the original game using RomM's existing version-grouping functionality.
- Preserve the patched ROM's distinct filename and independently calculated hashes.
- Continue to independently determine hash-dependent metadata, such as RetroAchievements compatibility, rather than assuming compatibility with the original ROM.
- Maintain independent save files, save states, and play history for each version.
An option such as Associate with original game in the Patcher interface would allow users to disable this behavior when creating a substantially different ROM hack that should be treated as a standalone game.
Describe alternatives you've considered
Currently, it is possible to manually match the patched ROM to the original game's metadata or manually assign a shared metadata provider ID.
While this works, it requires additional steps after every patching operation and is particularly cumbersome when applying improvement patches across a large library.
Additional context
This feature would be particularly useful for:
- Fan translations and retranslations.
- Bug-fix patches.
- Quality-of-life improvements.
- Restoration and uncensoring patches.
- Performance improvements such as FastROM and SA-1 patches.
- Games with multiple alternative enhancement patches.
The intention is to make it easy to maintain both the original and improved versions of a game without cluttering the gallery with separate entries.
This request is related to #4582, which proposes recording the provenance of ROMs created by the Patcher. Recording that relationship could also facilitate automatic association with the original game, although this request is specifically focused on the metadata and version-grouping behavior within RomM.
AI assistance disclosure
I used ChatGPT to help organize my observations and draft this feature request. The workflow and behavior described above are based on my own RomM installation and testing. I reviewed the request before submitting it.
- Dominant language
- Python
- Stars
- 13.3k
- Forks
- 747
- Avg merge
- 20h 58m
- Merged PRs (30d)
- 207
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from rommapp/romm
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
rommapp/romm#5857 · 3 comments ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
rommapp/romm#4178 · 1 reaction ·
Maintainers usually reply within 1 day
-
[UI/UX] Misaligned number in searchPossibly taken @NevesHenry claimed this today. Openui/ux
Difficulty 2/5 1-3 hours Newbie friendliness 30/100
Maintainers usually reply within 1 day
-
[Bug] Games do not show up in search if more than 2 letters are used.Possibly taken @andest01 claimed this today. Open
Difficulty 3/5 1-2 days Newbie friendliness 58/100
rommapp/romm#5853 · 7 comments ·
Maintainers usually reply within 1 day
Similar issues
-
Difficulty 1/5 1-3 hours Newbie friendliness 78/100
web-push-libs/pywebpush#216 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
AgriciDaniel/claude-seo#572 ·
Maintainers usually reply within 5 days
-
area:print-dispatch
Difficulty 2/5 1-3 hours Newbie friendliness 92/100
Maintainers usually reply within 1 day
-
area: docs domain: technical-writing good first issue type: documentation
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
Deepak3699/Ai_Mentor#919 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day