RomM is a web interface for your own collection of game backups (ROMs). It detects the files in your library, assigns them to platforms such as Game Boy Advance, SNES, or PlayStation, fetches covers, descriptions, and screenshots from metadata services, and launches many games directly in your browser. It also includes collections, save files, multiple user accounts with permissions, and achievements through RetroAchievements.
This guide shows you two ways to get started: the easy way, as a One-Click App on your VPS, and manual installation with Docker Compose. You’ll also learn how to connect metadata sources such as IGDB and ScreenScraper so your games appear with covers and information.
RomM does not include games or download them. Only add ROMs, BIOS, and firmware files to your library that you legally own, such as backups you made of your own cartridges and discs, or freely released homebrew games. You are responsible for the files on your server. Do not make your library publicly accessible.
- One collection for all your devices: Your backups are stored in one place and accessible in a browser from your PC, tablet, or phone, without copying them to each device.
- Stay organized instead of dealing with file chaos: RomM detects platforms from folder names, checks files using checksums, and displays titles, covers, release years, and genres instead of cryptic filenames.
- Play in your browser: For many older consoles, RomM launches games directly in your browser. You can store save files on the server and continue playing on another device.
- Separate accounts for family or friends: Each person gets their own account with appropriate permissions, save files, and progress.
- Always available: Unlike a NAS at home, a VPS runs around the clock with a fixed address and HTTPS.
A VPS is less suitable if your collection is very large (for example, many disc images from current consoles totaling several hundred gigabytes) or if you mainly want to play on your TV using a local emulator interface. In that case, a server on your own network is often a better choice. Browser performance for resource-intensive systems also depends on the capabilities of your device, not the server.
With your VPS’s One-Click Apps, RomM will be running at its own HTTPS address within a few minutes. The app creates the database and admin account for you. You don’t need to go through RomM’s setup wizard, which is never accessible to outside visitors.
- A Linux VPS (Debian or Ubuntu) with One-Click Apps set up. See VPS: One-Click Apps for instructions.
- At least 1 GB RAM, 1 vCPU core, and 3 GB of storage for the app itself. We recommend 2 GB RAM, 2 vCPU cores, and 10 GB of storage. You’ll also need space for your games: cartridges for older consoles are usually only a few megabytes, while disc images can quickly take up several gigabytes.
- An address for RomM: either a free subdomain on zap.cloud or your own domain, such as
games.example.com.
- Open your VPS in the ZapX dashboard and go to the One-Click Apps tab.
- Search for “RomM” in the App catalog and click Install app next to RomM.
- Under App name, enter a name and leave Use a custom subdomain or zap.cloud enabled. Choose the address where you want RomM to be available.
- You don’t need to enter anything under App configuration. The app generates passwords for the database, sessions, and admin account itself.
- Optional: If you already have API credentials for metadata services, enter them under Custom environment variables by clicking Add variable, for example
IGDB_CLIENT_IDandIGDB_CLIENT_SECRET. You can also do this later; see “Set up metadata sources.” - Click Queue installation.
The app first downloads its images and sets up the database on first launch. This takes a few minutes. Open the sign-in page using the Access link on the app card. If the address initially shows an error (502), even though the card already says Online, RomM isn’t ready yet. Reload the page after a minute or two.
The app creates the admin account before its first launch. Under Login, the app card notes that the username is fixed, but doesn’t specify it. It is always:
- Username:
admin - Password: In the app settings (gear icon), go to App environment > Automatically generated values and find the
SERVICE_PASSWORD_ROMMADMINfield. Click the eye icon to show it or the copy icon to copy it.
Sign in to RomM using these credentials. After logging in, RomM welcomes you to an empty library and offers two ways to add games.
Set your own password and email address by clicking your profile picture in the top-right corner > Profile. The value in the app environment will no longer apply. Add more accounts under Administration > Users, either as a regular user or an admin. Set what regular users can do (for example, play games only or also edit the library) under Administration > Permission Groups. The other fields under Automatically generated values are database passwords and the session login key. Don’t change them.
RomM expects games in folders for each platform, for example roms/gba/ for Game Boy Advance or roms/snes/ for Super Nintendo. Folder names must match the abbreviations in RomM’s platform list. You can use the browser for individual files; SFTP is better for many or large files.
Upload individual games through your browser: On the home page, click Upload games or Upload ROMs on the left, choose the platform, and drag the files onto the page. RomM puts them in the correct folder and scans them afterward. Upload games with multiple discs using SFTP, not the browser.
Upload many games using SFTP: The library is stored on your VPS in a Docker volume whose name ends in _romm-library. Find the exact path over SSH:
docker volume ls | grep romm-library
docker volume inspect --format '{{ .Mountpoint }}' VOLUME_NAME
The path looks like this: /var/lib/docker/volumes/<id>_romm-library/_data. Create a roms folder there with a subfolder for each platform, then copy your files over using SFTP, for example to .../_data/roms/gba/. See VPS: Connect using SFTP for instructions on connecting over SFTP.
Then click Scan on the left in RomM, leave Quick scan selected, and click Scan. RomM will show you live which platforms and games it found.
If a game is marked Not identified, none of the metadata sources recognized the file. By default, only sources that don’t require an API key are enabled, especially the free checksum lookup through Hasheous. RomM can recognize many more games when you add your own API credentials; see “Set up metadata sources.”
- Update the app: In the app settings (gear icon) > App update, click Check for updates to see whether a new app version is available, then install it using Apply update. When it starts, RomM automatically updates the database to the new version. Your games, accounts, and save files will be preserved.
- Change settings: Save any new or changed values under Custom environment variables by clicking Save. The app will restart automatically and apply them.
- Back up: A VPS backup from the Backups tab also includes all of the app’s volumes: the database (accounts, metadata, collections),
romm-assets(save files, uploaded screenshots),romm-config(configuration file), andromm-library(your games). Keep a separate copy of your games as well. - Uninstall: Under App actions > Uninstall app, you can also delete the data volumes. This permanently deletes the games in your library and all save files.
The rest of this guide describes manual installation of RomM with Docker Compose, for example on a server without One-Click Apps. You’ll run RomM and MariaDB in containers, initially make RomM accessible only locally, create the admin account through an SSH tunnel, and then make RomM accessible through nginx with a Let’s Encrypt certificate.
| Minimum | Recommended | |
|---|---|---|
| CPU | 1 vCPU core | 2 vCPU cores |
| RAM | 1 GB | 2 GB |
| Storage | 3 GB | 10 GB, plus space for your games |
You’ll also need:
- Debian or Ubuntu with SSH access; see VPS: First access over SSH.
- Docker with the Compose plugin; see Set up Docker on a Linux server.
- A domain with an A record pointing to your server, such as
games.example.com.
RomM only needs web ports accessible from the internet. Allow SSH, HTTP, and HTTPS in ufw:
sudo apt install -y ufw
sudo ufw allow OpenSSH
sudo ufw allow 80/tcp
sudo ufw allow 443/tcp
sudo ufw enable
Do not open RomM’s port (8080). Docker bypasses ufw rules for published ports, so bind it to 127.0.0.1 in the Compose file. See VPS: Open ports and manage the firewall on Linux for more about firewall rules.
Create a folder with subfolders for the library, save files, and configuration, then create a .env file with random passwords and the session key:
sudo mkdir -p /opt/romm/library/roms /opt/romm/assets /opt/romm/config
cd /opt/romm
echo "DB_PASSWD=$(openssl rand -hex 16)" | sudo tee .env
echo "DB_ROOT_PASSWD=$(openssl rand -hex 16)" | sudo tee -a .env
echo "ROMM_AUTH_SECRET_KEY=$(openssl rand -hex 32)" | sudo tee -a .env
sudo chmod 600 .env
Then create /opt/romm/docker-compose.yml:
services:
romm:
image: rommapp/romm:5.4
restart: unless-stopped
environment:
- DB_HOST=romm-db
- DB_NAME=romm
- DB_USER=romm-user
- DB_PASSWD=${DB_PASSWD}
- ROMM_AUTH_SECRET_KEY=${ROMM_AUTH_SECRET_KEY}
- HASHEOUS_API_ENABLED=true
volumes:
- romm-resources:/romm/resources
- romm-redis-data:/redis-data
- ./library:/romm/library
- ./assets:/romm/assets
- ./config:/romm/config
ports:
- "127.0.0.1:8080:8080"
depends_on:
romm-db:
condition: service_healthy
romm-db:
image: mariadb:11.8
restart: unless-stopped
environment:
- MARIADB_ROOT_PASSWORD=${DB_ROOT_PASSWD}
- MARIADB_DATABASE=romm
- MARIADB_USER=romm-user
- MARIADB_PASSWORD=${DB_PASSWD}
volumes:
- romm-db:/var/lib/mysql
healthcheck:
test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"]
start_period: 30s
interval: 10s
timeout: 5s
retries: 5
volumes:
romm-resources:
romm-redis-data:
romm-db:
The important lines:
rommapp/romm:5.4keeps RomM on version 5.4 and includes fixes for that version. Upgrade to a new major version deliberately; see “Update RomM.”ROMM_AUTH_SECRET_KEYsecures login sessions. RomM won’t start without this value. Don’t change it later, or all users will be signed out.HASHEOUS_API_ENABLED=trueenables free checksum-based identification. Add other sources as described in “Set up metadata sources.”./libraryis your game library, with theromssubfolder../assetscontains save files and uploads, while./configcontains theconfig.ymlfile.127.0.0.1:8080:8080makes RomM accessible only from the server itself. It can only be accessed externally through the reverse proxy.- The database doesn’t have a published port and is only accessible to RomM.
Start the containers:
sudo docker compose up -d
sudo docker compose logs -f romm
On first launch, RomM creates the database. RomM is ready when Starting nginx appears in the log. Press Ctrl+C to exit the log view.
Until an admin account exists, anyone who can access RomM can create an admin account for themselves. Create the account through an SSH tunnel before making RomM available on your domain.
Open an SSH tunnel on your own computer:
ssh -L 8080:127.0.0.1:8080 root@SERVER_IP
Then go to http://localhost:8080 in your browser. RomM opens the Setup Wizard. Choose a username (letters, numbers, -, and _ only), your email address, and a strong password. The first account is always assigned the Admin role. The wizard then closes, and only an admin can create new accounts.
Install nginx and Certbot:
sudo apt install -y nginx certbot python3-certbot-nginx
Create /etc/nginx/sites-available/romm:
server {
listen 80;
server_name games.example.com;
client_max_body_size 0;
location / {
proxy_pass http://127.0.0.1:8080;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_read_timeout 600s;
}
}
client_max_body_size 0 removes the upload size limit. Otherwise, uploading larger games fails with “413 Request Entity Too Large.” RomM needs the two lines with Upgrade and Connection to show live scan progress.
Enable the site and get the certificate:
sudo ln -s /etc/nginx/sites-available/romm /etc/nginx/sites-enabled/
sudo nginx -t && sudo systemctl reload nginx
sudo certbot --nginx -d games.example.com
Then add the line - ROMM_SESSION_SECURE_COOKIE=true under environment in the Compose file so the browser only sends the login cookie over HTTPS, and restart with sudo docker compose up -d. For an introduction to nginx and certificates, see VPS: Set up a reverse proxy with nginx on Linux and VPS: Create an SSL certificate (Let’s Encrypt) for Linux servers.
For a manual installation, copy your games over SFTP to /opt/romm/library/roms/<platform>/, then start a scan in RomM.
The important data is the database, assets (save files), and config. Back up the database while it’s running by creating a dump:
cd /opt/romm
sudo docker compose exec romm-db sh -c 'mariadb-dump -u romm-user -p"$MARIADB_PASSWORD" --single-transaction --databases romm' > romm-db-$(date +%F).sql
sudo tar czf romm-files-$(date +%F).tar.gz assets config .env docker-compose.yml
Back up your games under library separately, for example by using rsync to another system. You don’t need to back up covers and screenshots in the romm-resources volume; RomM downloads them again when you scan. Don’t keep your backups only on the same server.
Create a backup before every update. To get bug fixes within version 5.4, run:
cd /opt/romm
sudo docker compose pull
sudo docker compose up -d
When RomM starts, it automatically updates the database. To move to a new major version, change the image: rommapp/romm:5.4 line to the new version, read the release notes for that version on GitHub, and then run the same two commands.
Without metadata, RomM only displays filenames and placeholders. A metadata source provides titles, covers, descriptions, and screenshots. RomM checks the sources in order when scanning. You can see which ones are enabled under Metadata sources on the left.
| Source | Provides | Access |
|---|---|---|
| Hasheous | Titles, descriptions, and covers based on the file checksum | Free, no account required, variable HASHEOUS_API_ENABLED=true |
| IGDB | Extensive data, screenshots, related games | Free Twitch account with a phone number, IGDB_CLIENT_ID and IGDB_CLIENT_SECRET |
| ScreenScraper | Data, covers, 3D boxes, manuals | Free ScreenScraper account, SCREENSCRAPER_USER and SCREENSCRAPER_PASSWORD |
| SteamGridDB | Alternative high-quality covers | Steam account, STEAMGRIDDB_API_KEY |
| RetroAchievements | Achievements and progress | Free account, RETROACHIEVEMENTS_API_KEY |
For most people, Hasheous and IGDB are a good combination. If you don’t want a Twitch account, use ScreenScraper. MobyGames is also an option, but API access there is paid.
- IGDB: Sign in to the Twitch Developer Console (two-factor authentication with a phone number is required) and register an application. Choose a unique name, such as
romm-followed by a random string, set the OAuth Redirect URL tohttp://localhost, select Application Integration as the category, and select Confidential as the client type. You’ll then see the Client ID and can create a Client Secret using New Secret. - ScreenScraper: Create an account at screenscraper.fr. Your account username and password are your credentials.
- SteamGridDB: Sign in to steamgriddb.com with Steam and copy the key under Preferences > API.
- RetroAchievements: Copy the Web API Key from your account settings on retroachievements.org. Each person then enters their own RetroAchievements username in RomM under Profile.
These credentials are linked to your personal account with each service. Don’t share them, and only enter them in RomM’s environment variables.
- One-Click App: Open the app’s gear icon > App environment, click Add variable under Custom environment variables, enter the name and value (for example,
IGDB_CLIENT_ID), then click Save. The app will restart and apply the values. - Manual installation: Add the variables under
environmentindocker-compose.ymland restart withsudo docker compose up -d.
Once a source is set up, Metadata sources will no longer show “API key missing!” for it. Then go to Scan and start a scan with the Unmatched type. It checks only games that haven’t been identified yet.
RomM identifies clear filenames such as Game Name (Europe).gba much more reliably than game1.gba. If a game remains unidentified, you can manually assign it to a source using the edit icon on its detail page.
Open identified games from the home page or Platforms. On a game’s detail page, click the Play button to launch supported games directly in your browser. Keyboard and gamepad controls work, and RomM saves each account’s progress on the server. For other games, download them from their detail page and play them in an emulator on your device.
- Performance depends on your device: Emulation runs in your browser. A faster server won’t make games for more demanding systems run more smoothly.
- Some systems require BIOS files: Some consoles only launch in the browser if you provide the correct firmware. You must provide it yourself. The same rule applies: use only files you own legally.
- Large collections need storage: Disc images can quickly take up many gigabytes. Check the free storage on your VPS before uploading.
- No email delivery by default: Without an SMTP server configured, RomM won’t send emails, including password reset emails. An admin can reset forgotten passwords under Administration > Users.
RomM keeps your own game backups organized in one place, with covers and information, and lets you play in your browser on any device. The quickest way to get started is with the One-Click App: your admin account, database, and HTTPS are ready within minutes. Then upload your games, add one or two metadata sources, and start your first scan.
