Configuration
Settings are stored in the database and managed with the config command:
oxyromon config --list # every setting
oxyromon config --get REGIONS_ONE # one setting
oxyromon config --set REGIONS_ONE US,EU # set one
oxyromon config --add DISCARD_FLAGS "Virtual Console" # add an entry to a list
oxyromon config --system "Game Boy" --set PREFER_FORMAT 7Z
Settings are global by default.
Pass -n/--system to override one for a single system, which then falls back to the global value when unset.
The web UI edits global and per-system settings too.
The settings are described where they matter:
- The directories, below.
- The sorting settings in Sorting and 1G1R.
- The format settings in Formats.
GROUP_SUBSYSTEMSandGAME_SUBFOLDERSin Directory layout.
Directories
| Setting | Description | Default |
|---|---|---|
ROM_DIRECTORY | Your ROM library | ~/Emulation |
TMP_DIRECTORY | Scratch space for conversions, at least 8 GB for DVDs | The system’s temp directory |
ROM file paths are stored relative to their system’s ROM_DIRECTORY.
Changing it moves no files: oxyROMon looks for them under the new directory, and still finds those left in the global one until sort-roms moves them.
Environment variables
The database lives in the platform’s data directory, under oxyromon.
These environment variables change where things go:
| Variable | Purpose |
|---|---|
OXYROMON_DATA_DIRECTORY | The directory holding the database |
OXYROMON_ROM_DIRECTORY | The initial ROM_DIRECTORY, used only until it is set |
OXYROMON_TMP_DIRECTORY | The initial TMP_DIRECTORY, used only until it is set |
OXYROMON_LOG_LEVEL | Log verbosity, in env_logger syntax |
The data directory also holds the keys import-keys stores.