[Feature] Per-OS / per-variant files inside a single multi-file game

Open
#5,543 0 comments 1 reaction 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
15/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
python
Domain
api, backend

Research direction

This is a design proposal, not a scoped task: it changes how files inside a multi-file game are modelled, how the scanner tags them, and how both the web UI and the API filter them — plus a client-facing contract for Playnite and desktop launchers. Start by reading how the scan currently groups files under one game entry and what the file-list endpoints return, then write up the tagging scheme (filename, extension, manual) and the shared-vs-variant rule that the setup_some_game.exe / some_game.sh / extras/soundtrack.zip example implies. Done means an agreed data model and filtering behaviour before any patch, not a working implementation. Only pick this up if a maintainer has already voiced support on the thread.

Written by the indexing model from the issue text.

Description

Is your feature request related to a problem?

Many DRM-free PC games (e.g. from GOG) ship separate installers for Windows and Linux, along with shared extras such as soundtracks, artbooks and manuals. Today, to have the game under both win and linux I have to create two separate ROM entries. That means either duplicating the shared extras (lots of extra GBs) or relying on hardlink workarounds outside RomM. It also gives the two versions separate IDs and saves, even when they're the same game.

Describe the solution you'd like

Allow files inside a multi-file game folder to be tagged with a target OS or variant, for example:

roms/pc/Some Game/
├─ setup_some_game.exe   (Windows)
├─ some_game.sh          (Linux)
└─ extras/soundtrack.zip (shared)
  • Tags could come from the filename ((Windows), (Linux)), from the file extension, or be set manually in the UI.
  • The web UI and the API would filter the file list by the selected OS/variant, and shared files would always be shown.
  • Clients (Playnite, desktop launchers) could then request only the files for their OS.
Describe alternatives you've considered
  • Two separate entries (win/ + linux/): duplicated storage, split saves and metadata.
  • Hardlinking files into both platform folders: it works, but it happens outside RomM and is fragile with backups.
Additional context

The same mechanism could also cover other variants inside one game, such as languages or 32/64-bit builds.

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from rommapp/romm

All issues in rommapp/romm

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.