[Feature] Allow downloading individual files from multi-file rom-converto outputs (e.g. ?format=god) without zipping
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 32/100
Research direction
The request centres on the on-the-fly conversion path that bundles multi-file outputs (e.g. ?format=god) into a mod_zip stream, and on the cache directory under $ROMM_TMP_PATH/cache/converts. Start by finding where the download endpoint builds that zip response, then see how the X-Accel-Redirect header is set. Done would mean a manifest endpoint listing relative paths and sizes, and a file_path parameter that rejects paths escaping the cached directory.
Written by the indexing model from the issue text.
Description
Is your feature request related to a problem? Please describe.
When using on-the-fly conversion for multi-file output formats like Xbox 360 Games on Demand (?format=god), RomM bundles the converted directory into a single .zip stream via nginx mod_zip.
For third-party console clients (such as an Xbox 360 Aurora homebrew downloader), downloading a multi-gigabyte .zip stream fails due to the console's 4 GB FATX single-file limit, and the console's 512 MB RAM cannot decompress a 6–7 GB archive locally—even though the individual GoD chunks inside (Data0000, Data0001, etc.) are ~170 MB each and natively supported by the hardware.
Describe the solution you'd like
Provide an API way for third-party clients to enumerate and fetch individual files from a cached rom-converto output directory without wrapping them in mod_zip:
- An endpoint or query option (e.g., ?format=god&manifest=true) that triggers/checks the conversion cache and returns a JSON list of relative file paths and sizes.
- A query parameter on the download endpoint (e.g., ?format=god&file_path=...) that validates the path stays within the cached conversion directory and serves that single file directly via X-Accel-Redirect.
Describe alternatives you've considered
• Pre-converting the entire library to GoD folders and fetching via ?file_ids=, which loses the storage and workflow benefits of rom-converto.
• Running a custom sidecar proxy on the host to read $ROMM_TMP_PATH/cache/converts and serve individual files to the console.
- 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