[Feature] Record provenance when a patched ROM is saved back into the library
Is your feature request related to a problem? Please describe. When a patched ROM ends up in the library next to its base ROM, nothing distinguishes the two through the API. Both match the same game and carry the same metadata; the only difference is the file name. A client that wants to offer "play the original" versus "play the translated version" has to guess from the file name.
Describe the solution you'd like When the ROM Patcher's Upload to RomM path stores a result, RomM already knows both inputs. Recording them on the new entry — the base ROM file and the patch file it was produced from — and exposing that on the ROM would make the relationship explicit, and let a client group a base ROM with its patched variants instead of inferring the link from names.
Describe alternatives you've considered Parsing file names for translation/hack tags. That works only for community releases that follow a naming convention, breaks on a custom output name, and says nothing about which patch produced the file.
Additional context This can only cover ROMs produced by RomM's own patcher. A patched file that arrives from outside carries no trace of its origin, and its hashes match nothing in any dump database, so inferring "this is patched" for arbitrary files is deliberately out of scope here.
Source: rommapp/romm