5.8 KiB
This quick start guide will help you get a RomM instance up and running. It is split into 3 parts:
- Prepare
- Build
- Configure
Prepare
This guide will assume that you already have the following done, if not - stop here and come back when you do.
- Docker installed and running on your system
- Your ROMs organized in the correct folder structure
- The recommended metadata providers set up
!!! warning RomM works without a metadata API for basic use, but may cause issues with plugins like Playnite. Setting up IGDB API keys is recommended to prevent setup problems.
Build
Now that we have everything gathered, we can begin getting your instance set up!
-
Download a copy of the latest docker-compose.example.yml file from GitHub
-
Edit the file and modify the following values to configure the database
MARIADB_ROOT_PASSWORD: Sets the root password of the database. Use a unique and secure password (use a password generator for simplicity)MARIADB_DATABASE: Sets the database name for RomM. This can be modified - but it's not necessaryMARIADB_USER: User to connect to the database with. This can be modified - but it's not necessaryMARIADB_PASSWORD: Password for the user to connect to the database with. Use a unique and secure password (use a password generator for simplicity)
-
Modify the following values in the environment to configure the application. -- Other values can be changed, but should not be done unless you know what you are doing, and are outside the scope of this guide
DB_NAME: Name of the database set in the database sectionDB_USER: Name of the user to connect to the databaseDB_PASSWD: Password of the user to connect to the database
-
Run the following command in a terminal and save the output to the
ROMM_AUTH_SECRET_KEYenvironment variable:openssl rand -hex 32It should look something like this:
03a054b6ca27e0107c5eed552ea66becd9f3a2a8a91e7595cd462a593f9ecd09 -
Add your metadata sources API keys:
- IGDB:
IGDB_CLIENT_IDandIGDB_CLIENT_SECRET - ScreenScraper.fr:
SCREENSCRAPER_USERandSCREENSCRAPER_PASSWORD - RetroAchievements:
RETROACHIEVEMENTS_USERNAMEandRETROACHIEVEMENTS_API_KEY - MobyGames:
MOBYGAMES_API_KEY - SteamGridDB:
STEAMGRIDDB_API_KEY - PlayMatch:
PLAYMATCH_API_ENABLED=true - Hasheous:
HASHEOUS_API_ENABLED=true - LaunchBox:
LAUNCHBOX_API_ENABLED=true
- IGDB:
-
Modify the following values in the volumes to configure the application
/path/to/library: Path to the directory where your rom files will be stored (usually the parent folder of theromsfolder)/path/to/assets: Path to the directory where you will store your saves, etc/path/to/config: Path to the directory where you will store the config.yml
-
Save the file as docker-compose.yml instead of docker-compose.example.yml. It should look something like this:
???+ example "Example Docker Compose"
yaml --8<-- "quick-start.docker-compose.yml" -
Open the terminal and navigate to the directory containing the docker-compose file
-
Run
docker compose up -dto kick off the docker pull. You will see it pull the container and set up the volumes and network:
{
"file": "../latest/resources/asciinema/quick-start-docker-compose.cast",
"title": "RomM docker compose install",
"preload": true,
"loop": true,
"auto_play": true,
"cols": 140,
"rows": 30,
"fit": "width",
"terminal_font_size": "small",
"terminal_line_height": "1.2",
"terminal_font_family": "Roboto Mono, Monaco, Consolas, monospace"
}
- Run
docker ps -f name=rommto verify that the containers are running - Open a web browser and navigate to
http://localhost:80, where you should be greeted with the RomM setup page - Go through the setup wizard, setting your admin username and password
- Log in with the credentials you set in the last step
Configure
Importing your ROMs via scanner
This method is generally the fastest and recommended for first time setup. You need your library properly mounted as a container volume:
- Log into RomM with your user credentials
- Click the
Scanbutton in the sidebar - Select the metadata providers you want to fetch metadata from
- The system will now begin scanning the rom files and applying metadata to them. You can click on any of the items that it has tagged to see the metadata it pulled without having to stop the scan
- After the scan completes, click the RomM logo to go back to the main screen. You should see the platforms and recent games it has scanned. You are now ready to rock and RomM!
Uploading your ROMs via Web Interface
This method is certainly viable, but not recommended if you have a lot of ROMs and/or multiple platforms. It is good for adding after the fact as your collection grows, but wouldn't be recommended for the first set up, nor for multi-file ROMs:
- Log into RomM with your user credentials
- Click the
Uploadbutton in the sidebar - Select the platform, then click
+ ADDand select the ROMs you want to upload in the file selector that appears - Click
Uploadto begin uploading the ROMs - Repeat for all the
roms/platformsyou have