RomM (ROM Manager) is a game library manager focused on retro gaming. It enables you to efficiently manage and organize all your games from a web browser.
Inspired by Jellyfin, RomM allows you to handle all your games through a modern interface while enhancing them with IGDB metadata.
- Scan your game library (all at once or by platform) and enrich it with IGDB metadata.
- Access your library via your web browser.
- Easily choose from matching IGDB results if the scan doesn't find the right one.
- Compatible with EmuDeck folder structures.
- Supports games with multiple files.
- Download games directly from your web browser.
- Edit your game files directly from your web browser.
- Upload games directly from your web-browser
- Set a custom cover for each game
- Includes region, revision/version, and extra tags support.
- Works with SQLite or MariaDB.
- Features a responsive design with dark mode support.
Before running the image, ensure that Docker is installed and set up.
- Generate an API key for IGDB and set the
IGDB_CLIENT_ID
andIGDB_CLIENT_SECRET
variables. This step is essential for running a library scan. Instructions for generating the ID and Secret can be found here. Note that IGDB requires a Twitch account with 2FA enabled to generate the ID and Secret. - Verify that your library folder structure matches one of the options listed in the folder structure section.
- Create a docker-compose file. Refer to the example docker-compose.yml file for guidance. Customize it for your setup and include the
IGDB_CLIENT_ID
andIGDB_CLIENT_SECRET
variables in the environment section of the file. - Launch the container:
docker-compose up -d
RomM accepts two different folder structures by priority. RomM will attempt to find structure 1, and if it doesn't exist, it will look for structure 2.
For device naming conventions, review the Platforms Support section. To override default system names in the folder structure (if your directories are named differently), see the Configuration File section.
Example: library/roms/gbc/game.zip
library/
├─ roms/
│ ├─ gbc/
│ │ ├─ rom_1.gbc
│ │ ├─ rom_2.gbc
│ │
│ ├─ gba/
│ │ ├─ rom_1.gba
│ │ ├─ rom_2.gba
│ │
│ ├─ ps/
│ ├─ my_multifile_game/
│ │ ├─ my_game_cd1.iso
│ │ ├─ my_game_cd2.iso
│ │
│ ├─ rom_1.iso
Example: library/gbc/roms/game.zip
library/
├─ gbc/
│ ├─ roms/
│ ├─ rom_1.gbc
│ ├─ rom_2.gbc
│
├─ gba/
│ ├─ roms/
│ ├─ rom_1.gba
│ ├─ rom_2.gba
│
├─ ps/
│ ├─ roms/
│ ├─ my_multifile_game/
│ │ ├─ my_game_cd1.iso
│ │ ├─ my_game_cd2.iso
│ │
│ ├─ rom_1.iso
RomM can be configured through a YAML file. To apply configuration changes, you must restart RomM.
Refer to the config.example.yml file and the docker-compose.example.yml for guidance on how to configure it.
If you want to enable the user management system, a redis container and some environment variables needs to be set. Complete instructions are available in the wiki.
The scheduler allows to scheduled async tasks that run in the Redis container at regular intervals. Jobs can be run at a specific time in the future, after a time delta, or at recurring internals using cron notation.
Jobs can be toggled using these environment variables:
ENABLE_SCHEDULED_RESCAN: Whether to rescan on a schedule
SCHEDULED_RESCAN_CRON: Cron expression for scheduled rescan
ENABLE_SCHEDULED_UPDATE_SWITCH_TITLEDB: Whether to update the switch title database on a schedule
SCHEDULED_UPDATE_SWITCH_TITLEDB_CRON: Cron expression for scheduled switch title database update
ENABLE_SCHEDULED_UPDATE_MAME_XML: Whether to update the MAME XML on a schedule
SCHEDULED_UPDATE_MAME_XML_CRON: Cron expression for scheduled MAME XML update
Users can opt to enable scheduled rescans, and set the interval using cron notation. Not that the scan will not completely rescan every file, only catch those which have been added/updated.
Support was added for Nintendo Switch ROMs with filenames using the titleid/programid format (e.g. 0100000000010000.xci). If a file under the switch
folder matches the regex, the scanner will use the index to attempt to match it to a game. If a match is found, the IGDB handler will use the matched name as the search term.
The associated task updates the /fixtures/switch_titledb.json
file at a regular interval to support new game releases.
Support was also added for MAME arcade games with shortcode names (e.g. actionhw.zip
-> ACTION HOLLYWOOD), and works in the same way as the titleid matcher (without the regex).
The associated task updates the /fixtures/mame.xml
file at a regular interval to support updates to the library.
A watchdog was added which monitors the filesystem for events (files created/moved/deleted) and schedules a rescan of the platform (or entire library is a new platform was added).
Jobs can be toggled using these environment variables:
ENABLE_RESCAN_ON_FILESYSTEM_CHANGE: Whether to rescan when the filesystem changes
RESCAN_ON_FILESYSTEM_CHANGE_DELAY: Delay in minutes before rescanning on filesystem change
The watcher will monitor the /library/roms
folder for changes to the filesystem, such as files being added, moved or deleted. It will ignore certain events (like modifying the file content or metadata), and will skip default OS files (like .DS_Store
on mac).
When a change is detected, a scan will be scheduled for sometime in the future (default 5 minutes). If other events are triggered between now and the time at which the scan starts, more platforms will be added to the scan list (or the scan may switch to a full scan). This is done to reduce the number of tasks scheduled when many big changes happen to the library (mass upload, new mount, etc.)
If you adhere to the RomM folder structure, RomM supports any platform listed in the IGDB platforms list. RomM will retrieve game information, metadata, and covers for platforms in that list. Additionally, some of these platforms have custom icons available (learn more about platform icons in our wiki).
Games can be tagged with region, revision, or other tags by using parentheses in the file name.
*Additionally, you can set the region by adding "reg-" as a prefix: (reg-E) / (reg-Spain) / (reg-USA)
- Revision tags must be prefixed with "rev " or "rev-": (rev v1) / (rev-v1) / (rev-whatever)
- Other tags will also be imported, for example: my_game (E)(rev v1)(fav)(additional_tag).gba
NOTE: You can use these tags with the search bar to filter your library effectively.
Here are a few projects maintained by members of our community. As they are not regularly reviewed by the RomM team, we recommend you closely review them before use.
- CasaOS app via the BigBear App Store
- Helm Chart to deploy on Kubernetes by @psych0d0g
- Pc and Mac icon support - Keyboard and mouse icons created by Flat Icons - Flaticon
- Default user icon - User Default icon by Icons8