MMagTech 0b1e449b0f feat(saves): convert DS, Sega cartridge and Game Boy Advance saves through sigil (#5643)
* feat(saves): convert Nintendo DS saves through sigil

Sigil now converts a DS save between melonDS's raw file and DeSmuME's
.dsv, so a download with core= gets the file that emulator reads instead
of the stored one as is. DS moves from the native list to the platforms
sigil restores; like Saturn and Sega CD it carries no title id.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(saves): accept a single-file neutral unit as sigil names it, for DS and Game Boy

Sigil names a cart's single-file unit after the content, `{stem}.srm`, and
sets the unit format; the neutral check only took `save.raw` for DS and
`save.sram` for Game Boy, so a client pushing sigil's own unit got a 422.
A SINGLE unit's one file may now carry sigil's name on those platforms;
multi-file units and every other platform keep their names.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(saves): name DS among the cartridges that take no companions

Sigil refuses companions on every cartridge platform, DS included now
that it converts DS saves, so the refusal says so.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* feat(saves): convert Mega Drive, 32X, Master System and Game Gear saves through sigil

genesis_plus_gx and picodrive keep these carts' save RAM at the same
offsets but fill and size it differently. With sigil converting between
them, the four platforms move from NATIVE_SAVE_PLATFORM_SLUGS to
SIGIL_RESTORE_PLATFORM_SLUGS (sigil slugs genesis, 32x, sms, gamegear),
so a download with core= gets the file that core keeps. The companion
refusal message names the new cartridges.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(saves): accept the Sega cartridges' single-file neutral unit as sigil names it

Sigil names a Mega Drive, 32X, Master System or Game Gear unit after the
content, `{stem}.srm`. A SINGLE unit's one file may now carry that name,
as DS and Game Boy's may; RomM's `save.sram` still passes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* feat(saves): convert Game Boy Advance saves between emulators with sigil

GBA moves from the native-save platforms to the ones sigil reads at scan
time and restores for a core. The stored file doesn't load everywhere:
VBA Next keeps an EEPROM save at 128 KiB into a 136 KiB file, gpSP pads
every save to 128 KiB, and standalone mGBA appends the cart clock. The
scan stores the cart's save chip and clock in sigil_features, which sigil
uses to size a padded save. The tests that used GBA as their native
example now use SNES.

Needs a sigil pin with GBA collect and restore.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(saves): accept a single-file GBA neutral unit as sigil names it

Sigil names a GBA cart's unit as it does a Game Boy's: the save alone as
`{stem}.srm`, or a clock cart's zip of `save.sram` and `clock.rtc`.
GBA now takes Game Boy's form, so the single file may carry sigil's name.
The clock-only form had no other platform left and goes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(saves): pin sigil at the DS merge, and take only a plain file name as its single unit

Both SIGIL_VERSION pins move to baa96b8 (rommapp/argosy-sigil#22), the
first sigil commit with DS. _SIGIL_SINGLE is [^/]+\.srm, so a single unit
named with a folder in it is refused; test_neutral.py checks it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* chore(deps): pin sigil at the GBA merge

rommapp/argosy-sigil#24 is merged as 4980f69. Both SIGIL_VERSION pins
(Dockerfile, docker/Dockerfile) move from baa96b8 to that commit on
sigil's main.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* chore(deps): pin sigil at the Mega Drive merge

rommapp/argosy-sigil#23 is merged as be0809d. Both SIGIL_VERSION pins
(Dockerfile, docker/Dockerfile) move from baa96b8 to that commit on
sigil's main.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* chore(deps): pin sigil at 650b265

Both SIGIL_VERSION pins (Dockerfile, docker/Dockerfile) move from
be0809d to 650b265, sigil's main. It holds rommapp/argosy-sigil#23
(be0809d) and is the commit rommapp/romm#5758 pins, so the two
pull requests set the same value.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* chore(deps): pin sigil at 650b265

Both SIGIL_VERSION pins (Dockerfile, docker/Dockerfile) move from
baa96b8 to 650b265, sigil's main. It holds rommapp/argosy-sigil#22
(baa96b8) and is the commit rommapp/romm#5758 pins, so the two
pull requests set the same value.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* chore(deps): pin sigil at 650b265

Both SIGIL_VERSION pins (Dockerfile, docker/Dockerfile) move from
4980f69 to 650b265, sigil's main. It holds rommapp/argosy-sigil#24
(4980f69) and is the commit rommapp/romm#5758 pins, so the two
pull requests set the same value.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(saves): name no systems in the companion refusal

The message listed the cartridges that take no companions, so each
platform added to sigil's restores edited it, and the open save PRs
(#5643 to #5647) each edited it differently. It now says what holds for
every platform: companions go only on memory cards and volumes. All five
carry the same line, so they merge in any order.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(saves): name no systems in the companion refusal

The message listed the cartridges that take no companions, so each
platform added to sigil's restores edited it, and the open save PRs
(#5643 to #5647) each edited it differently. It now says what holds for
every platform: companions go only on memory cards and volumes. All five
carry the same line, so they merge in any order.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(saves): name no systems in the companion refusal

The message listed the cartridges that take no companions, so each
platform added to sigil's restores edited it, and the open save PRs
(#5643 to #5647) each edited it differently. It now says what holds for
every platform: companions go only on memory cards and volumes. All five
carry the same line, so they merge in any order.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* test(saves): restore Sega cart saves through RomM's platform map and binding

From review: the Mega Drive, 32X, Master System and Game Gear tests mock
the binding, so a slug sigil doesn't take would still pass. A ROM on each
RomM platform now goes through stored_game and the real binding, and the
restored file is checked in the form sigil's genesis.md gives the core:
genesis_plus_gx without trailing 0xFF, picodrive's 32 KiB for Master
System and Game Gear. rom_game is the same helper in #5643 to #5647.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* test(saves): restore a DS save through RomM's platform map and the binding

From review: the DS tests mock the binding, so a slug sigil doesn't take
for DS would still pass. A ROM on RomM's nds platform now goes through
stored_game and the real binding, and the restored file is checked in
the form sigil's nds.md gives each core: DeSmuME's .dsv ends in its
122-byte footer, melonDS's .sav is the save. rom_game is the same helper
in #5643 to #5647.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* test(saves): restore a GBA save through RomM's platform map and the binding

From review: the GBA tests mock the binding, so a slug sigil doesn't take
for GBA would still pass. A ROM on RomM's gba platform now goes through
stored_game and the real binding, and the restored file is checked at the
size sigil's gba.md gives each core: gpSP 128 KiB padded with 0xFF, VBA
Next 136 KiB, mGBA the chip. rom_game is the same helper in #5643 to
#5647.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* chore(deps): pin sigil at ef9b51e

Both SIGIL_VERSION pins move from 650b265 to ef9b51e, sigil's main
since rommapp/argosy-sigil#30 merged, the commit rommapp/romm#5758
pins now.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* chore(deps): pin sigil at ef9b51e

Both SIGIL_VERSION pins move from 650b265 to ef9b51e, sigil's main
since rommapp/argosy-sigil#30 merged, the commit rommapp/romm#5758
pins now.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* chore(deps): pin sigil at ef9b51e

Both SIGIL_VERSION pins move from 650b265 to ef9b51e, sigil's main
since rommapp/argosy-sigil#30 merged, the commit rommapp/romm#5758
pins now.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: MMagTech <mmagtech@Mac.home>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Georges-Antoine Assi <contact@me.gantoine.com>
2026-11-28 10:39:13 -05:00
2024-02-11 16:41:36 +01:00
2024-07-09 13:43:14 +02:00

romm logo

A beautiful, powerful, self-hosted ROM manager and player.

Trendshift hackernews badge
selfh.st badge Discord

Overview

Scan, enrich, browse and play your ROM collection from one beautiful & free self-hosted app. Metadata from 10+ providers, save sync across your devices, and support for over 400 platforms. RomM is a must-have for anyone who plays on emulators.

Browsing a library and playing a game in RomM

Features

Installation

The easiest way to start is with the Quick Start Guide in the docs. If you're having trouble with setup, please review the page for troubleshooting steps.

Prefer a hosted deploy over wiring up the stack yourself?

Deploy on Hostinger
Starting at $6.49/mo · Setup guide
Deploy on CoreHost
Starting at $2.30/mo · Setup guide

Deployment and infrastructure support for these installs is handled by Hostinger and CoreHost. Prices are indicative and may not reflect current offerings. Both send a share of the revenue back to us, which helps fund the project.

Official apps

Playnite libraryPlaynite logo Playnite plugin

Effortlessly integrate your retro game collection into Playnite, the open-source game library manager that provides a unified interface for all of your games on PC.

Windows Desktop QR pairing

Install  by @gantoine


Argosy libraryArgosy logo Argosy

Sync your library, download games on demand and track your achievements, from a gamepad-first interface designed for Anbernic, Retroid Pocket, Odin, and similar devices.

Android Handhelds QR pairing Save sync

Download  by @tmgast


Grout multi-selectGrout logo Grout

A lightweight client for your favorite handheld custom firmwares*. Download games, box art and BIOS files wirelessly, and sync your saves automatically as you play.

Linux Handhelds Save sync

Quick start  by @BrandonKowalski

*Supports Allium, Batocera, Knulli, MinUI, muOS, NextUI, Onion, ROCKNIX, Spruce and TrimUI.

Community

Here are some cool projects maintained by members of our community. Please note that our team does not regularly review their source code.

Mobile and TV

Desktop

Handhelds and Steam Deck

Consoles

  • RommPS: Client for jailbroken PS5s with game downloads and save sync by @s0liton

Sync

Integrations

Support the project

Consider supporting this project on Open Collective. Funds cover hosting, development, and maintenance, and we pass some along to community projects to nurture a healthy ecosystem of apps.

Open Collective

Corporate Sponsors

These companies support us by providing their tools for free:

Greptile Socket

Our Friends

Here are a few projects that we think you might like:

  • Lutris: Open gaming platform for Linux
  • Cocoon: Controller-first Android frontend for retro handhelds
  • muOS: Custom firmware for Anbernic and other handhelds
  • RetroDECK: Retro gaming on SteamOS and Linux
  • Steam ROM Manager: An app for managing ROMs in Steam
  • Hasheous: Hash lookup service that maps ROMs to game metadata
  • Gaseous: Another ROM manager with web-based emulator
  • Playmatch: Microservice for matching ROM hashes to games
  • EmulatorJS: An embeddable, browser-based emulator
  • PortMaster: Native game ports for Linux handhelds
  • MelonLoader: Universal mod loader for Unity games
  • NextUI: MinUI-based custom firmware for TrimUI handhelds
  • RetroAchievements: Achievements for retro games

Disclaimer

Note

RomM is a library manager and player. It does not include, distribute, or link to ROMs, BIOS, firmware, or decryption keys.

  • Only use files you have the right to use, such as your own dumps, homebrew, or freeware, and follow the laws where you live.
  • The project does not condone piracy. Requests for or links to copyrighted material are not allowed in any project space.
  • All trademarks belong to their respective owners and are used only to describe compatibility.
Description
No description provided
Readme AGPL-3.0 493 MiB
Languages
Python 50.1%
Vue 40.3%
TypeScript 7.2%
CSS 0.9%
Shell 0.6%
Other 0.8%