diff --git a/.github/resources/discord_banner.png b/.github/resources/discord_banner.png new file mode 100644 index 000000000..7e1f339e1 Binary files /dev/null and b/.github/resources/discord_banner.png differ diff --git a/romm.png b/.github/resources/romm.png similarity index 100% rename from romm.png rename to .github/resources/romm.png diff --git a/romm.svg b/.github/resources/romm.svg similarity index 100% rename from romm.svg rename to .github/resources/romm.svg diff --git a/.github/screenshots/details.png b/.github/resources/screenshots/details.png similarity index 100% rename from .github/screenshots/details.png rename to .github/resources/screenshots/details.png diff --git a/.github/screenshots/gallery.png b/.github/resources/screenshots/gallery.png similarity index 100% rename from .github/screenshots/gallery.png rename to .github/resources/screenshots/gallery.png diff --git a/.github/screenshots/home.png b/.github/resources/screenshots/home.png similarity index 100% rename from .github/screenshots/home.png rename to .github/resources/screenshots/home.png diff --git a/.github/screenshots/m_details.png b/.github/resources/screenshots/m_details.png similarity index 100% rename from .github/screenshots/m_details.png rename to .github/resources/screenshots/m_details.png diff --git a/.github/screenshots/m_gallery.png b/.github/resources/screenshots/m_gallery.png similarity index 100% rename from .github/screenshots/m_gallery.png rename to .github/resources/screenshots/m_gallery.png diff --git a/.github/screenshots/m_home.png b/.github/resources/screenshots/m_home.png similarity index 100% rename from .github/screenshots/m_home.png rename to .github/resources/screenshots/m_home.png diff --git a/.github/screenshots/m_search.png b/.github/resources/screenshots/m_search.png similarity index 100% rename from .github/screenshots/m_search.png rename to .github/resources/screenshots/m_search.png diff --git a/.github/screenshots/search.png b/.github/resources/screenshots/search.png similarity index 100% rename from .github/screenshots/search.png rename to .github/resources/screenshots/search.png diff --git a/.github/resources/wiki_banner.png b/.github/resources/wiki_banner.png new file mode 100644 index 000000000..c26bf6169 Binary files /dev/null and b/.github/resources/wiki_banner.png differ diff --git a/README.md b/README.md index 1d2dbe7a8..d5ad4d925 100644 --- a/README.md +++ b/README.md @@ -1,307 +1,180 @@
-

RomM Logo

+

RomM Logo

GitHub GitHub release (latest SemVer) GitHub Workflow Status (with branch) -
- - Docker Pulls - Docker Image Size (latest by date) - - Discord
-
- Buy Me A Coffee + + Docker Pulls + + + Docker Image Size (latest by date) + + + Discord + +
+ +
+ +
+ + Buy Me A Coffee +
# Overview -RomM (stands for Rom Manager) is a game library manager focused in retro gaming. Manage and organize all of your games from a web browser. +RomM (**ROM M**anager) 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](https://jellyfin.org/), allows you to manage all your games from a modern interface while enriching them with IGDB metadata. +Inspired by [Jellyfin](https://jellyfin.org/), RomM allows you to handle all your games through a modern interface while enhancing them with IGDB metadata. ## โšก Features -* Scan your game library (all at once or by platform) and enriches it with IGDB metadata -* Access your library via your web-browser -* Possibility to select one of the matching IGDB results if the scan doesn't get the right one -* Upload games directly from your web-browser -* Set a custom cover for each game -* EmuDeck folder structure compatibility -* Multiple files games support -* Download games directly from your web-browser -* Edit your game files directly from your web-browser -* Region, revision/version and extra tags support -* Works with SQLite or MaridDB (SQLite by default) -* Responsive design -* Light and dark theme +- 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 MaridDB. +- Features a responsive design with dark mode support. # Preview ## ๐Ÿ–ฅ Desktop -
-
- Expand to preview - ![Desktop home](.github/screenshots/home.png "RomM home") - ![Desktop gallery](.github/screenshots/gallery.png "RomM gallery") - ![Desktop details](.github/screenshots/details.png "RomM details") - ![Desktop search](.github/screenshots/search.png "RomM search") +
+ Click to expand + +![Desktop home](.github/resources/screenshots/home.png "RomM home") +![Desktop gallery](.github/resources/screenshots/gallery.png "RomM gallery") +![Desktop details](.github/resources/screenshots/details.png "RomM details") +![Desktop search](.github/resources/screenshots/search.png "RomM search")
-
## ๐Ÿ“ฑ Mobile -
-
- Expand to preview - ![Mobile home](.github/screenshots/m_home.png "RomM home") - ![Mobile gallery](.github/screenshots/m_gallery.png "RomM gallery") - ![Mobile details](.github/screenshots/m_details.png "RomM details") - ![Mobile search](.github/screenshots/m_search.png "RomM search") +
+ Click to expand + +![Mobile home](.github/resources/screenshots/m_home.png "RomM home") +![Mobile gallery](.github/resources/screenshots/m_gallery.png "RomM gallery") +![Mobile details](.github/resources/screenshots/m_details.png "RomM details") +![Mobile search](.github/resources/screenshots/m_search.png "RomM search")
-
-# The RomM community -[Wiki](https://github.com/zurdi15/romm/wiki)
-[Discord](https://discord.gg/P5HtHnhUDH)
+# The RomM Community + +discord-banner +wiki-banner # Installation ## ๐Ÿณ Docker -Docker should be installed and set up before running the [image](https://hub.docker.com/r/zurdi15/romm/tags). +Before running the [image](https://hub.docker.com/r/zurdi15/romm/tags), ensure that Docker is installed and set up. -1. Generate an API key for [IGDB](https://www.igdb.com/), and set the `IGDB_CLIENT_ID` and `IGDB_CLIENT_SECRET` variables. _This is required to run a library scan._ Instructions on generating the ID and Secret are [here](https://api-docs.igdb.com/#about). Note that IGDB requires a Twitch account with 2FA enabled to generate the ID and Secret. +1. Generate an API key for [IGDB](https://www.igdb.com/) and set the `IGDB_CLIENT_ID` and `IGDB_CLIENT_SECRET` variables. This step is essential for running a library scan. Instructions for generating the ID and Secret can be found [here](https://api-docs.igdb.com/#about). Note that IGDB requires a Twitch account with 2FA enabled to generate the ID and Secret. 2. Verify that your library folder structure matches one of the options listed in the [following section](#folder-structure). -3. Create a docker-compose file. See the following example [docker-compose.yml](https://github.com/zurdi15/romm/blob/master/examples/docker-compose.example.yml) file for reference. Customize for your setup and include the `IGDB_CLIENT_ID` and `IGDB_CLIENT_SECRET` variables where indicated in the environment section of the file. +3. Create a docker-compose file. Refer to the example [docker-compose.yml](https://github.com/zurdi15/romm/blob/master/examples/docker-compose.example.yml) file for guidance. Customize it for your setup and include the `IGDB_CLIENT_ID` and `IGDB_CLIENT_SECRET` variables in the environment section of the file. 4. Launch the container: - - ```bash - docker-compose up -d - ``` - - + +```bash +docker-compose up -d +``` + # Configuration -

๐Ÿ“ Folder structure

+## ๐Ÿ“ Folder Structure -RomM accepts two different folder structure by priority. RomM will try to find the structure 1 and if it doesn't exists, RomM will try to find structure 2. +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. -Review the [Platforms support](#platform-support) section for device naming conventions, and the [Configuration file](#configuration-file) section to override default system names in the folder structure, if your directories are named differently. +For device naming conventions, review the [Platforms Support](#platform-support) section. To override default system names in the folder structure (if your directories are named differently), see the [Configuration File](#configuration-file) section. - - Structure 1 (high priority) - roms folder at root of library folder: - ``` - 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 - ``` - - Structure 2 (low priority) - roms folder inside each platform folder - ``` - 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 - ``` +### Structure A (high-priority) -

๐Ÿ”’ Authentication

+Example: `library/roms/gbc/game.zip` -If you want to enable the user management system, a redis container and some environment variables needs to be set. In the [docker-compose.yml](https://github.com/zurdi15/romm/blob/master/examples/docker-compose.example.yml) you will find the needed variables and an example of how to spin up a redis container: +``` +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 +``` - - `ROMM_AUTH_ENABLED` and `ENABLE_EXPERIMENTAL_REDIS` must be set as `true` - - `ROMM_AUTH_SECRET_KEY` must be generated with `openssl rand -hex 32` - - `ROMM_AUTH_USERNAME` and `ROMM_AUTH_PASSWORD` can be set as wanted, being both `admin` by default. - - `REDIS_HOST` and `REDIS_PORT` must point to your redis instance. Aditionally, if your redis is secured you can set `REDIS_PASSWORD` +### Structure B (low-priority) -

โš™๏ธ Configuration file

+Example: `library/gbc/roms/game.zip` -RomM can be configured through a yml file. +``` +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 +``` -For a configuration change to take effect, RomM must be restarted. +## โš™๏ธ Configuration File -Check the [config.yml](https://github.com/zurdi15/romm/blob/master/examples/config.example.yml) example. +RomM can be configured through a YAML file. To apply configuration changes, you must restart RomM. -Check the [docker-compose.yml](https://github.com/zurdi15/romm/blob/master/examples/docker-compose.example.yml) example to see how to bind it. +Refer to the [config.example.yml](https://github.com/zurdi15/romm/blob/master/examples/config.example.yml) file and the [docker-compose.example.yml](https://github.com/zurdi15/romm/blob/master/examples/docker-compose.example.yml) for guidance on how to configure it. -# Naming convention +## ๐Ÿ”’ Authentication -

๐ŸŽฎ Platform support

+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](https://github.com/zurdi15/romm/wiki/Authentication). -If the RomM [folder structure](#๐Ÿ“-folder-structure) is followed, any kind of platform/folder-name is supported for the core features. For having extra metadata as well as cover images and platforms icons, the following table shows how to name your platforms folders. -This will change over the time, adding games metadata for more platforms. +# Naming Convention -
-
- Platform support list - +## ๐ŸŽฎ Platform Support -| slug | name | games metadata | -|-------------------------|-------------------------------------| :----: | -| 3ds | Nintendo 3DS | โœ… | -| amiga | Amiga | โœ… | -| acpc | Amstrad CPC | โœ… | -| arcade | Arcade | โœ… | -| atari | atari | โŒ | -| atari2600 | Atari 2600 | โœ… | -| atari5200 | Atari 5200 | โœ… | -| atari7800 | Atari 7800 | โœ… | -| coleco | coleco | โŒ | -| c64 | Commodore C64/128/MAX | โœ… | -| cpc | cpc | โŒ | -| cps1 | cps1 | โŒ | -| cps2 | cps2 | โŒ | -| cps3 | cps3 | โŒ | -| daphne | daphne | โŒ | -| dc | Dreamcast | โœ… | -| doom | doom | โŒ | -| dos | DOS | โœ… | -| fairchild | fairchild | โŒ | -| fba2012 | fba2012 | โŒ | -| fbneo | fbneo | โŒ | -| fds | Family Computer Disk System | โœ… | -| game-and-watch | Game & Watch | โœ… | -| gb | Game Boy | โœ… | -| gba | Game Boy Advance | โœ… | -| gbc | Game Boy Color | โœ… | -| genesis-slash-megadrive | Sega Mega Drive/Genesis | โœ… | -| gamegear | Sega Game Gear | โœ… | -| gw | gw | โŒ | -| intellivision | Intellivision | โœ… | -| jaguar | Atari Jaguar | โœ… | -| lynx | Atari Lynx | โœ… | -| md | md | โŒ | -| megaduck | megaduck | โŒ | -| ms | ms | โŒ | -| msx | MSX | โœ… | -| n64 | Nintendo 64 | โœ… | -| nds | Nintendo DS | โœ… | -| neocd | neocd | โŒ | -| neogeo | neogeo | โŒ | -| nes | Nintendo Entertainment System | โœ… | -| ngc | Nintendo GameCube | โœ… | -| ngp | ngp | โŒ | -| odyssey | odyssey | โŒ | -| pc-98 | PC-98 | โœ… | -| pce | pce | โŒ | -| pcecd | pcecd | โŒ | -| pico | pico | โŒ | -| pokemon-mini | Pokรฉmon mini | โœ… | -| ps | PlayStation | โœ… | -| ps2 | PlayStation 2 | โœ… | -| ps3 | PlayStation 3 | โœ… | -| ps4 | ps4 | โŒ | -| psp | PlayStation Portable | โœ… | -| psvita | PlayStation Vita | โœ… | -| saturn | Sega Saturn | โœ… | -| sega32 | Sega 32X | โœ… | -| scummvm | scummvm | โŒ | -| segacd | Sega CD | โœ… | -| segasgone | segasgone | โŒ | -| sms | Sega Master System/Mark III | โœ… | -| sgb | sgb | โŒ | -| sgfx | sgfx | โŒ | -| snes | Super Nintendo Entertainment System | โœ… | -| supervision | supervision | โŒ | -| switch | Nintendo Switch | โœ… | -| virtualboy | Virtual Boy | โœ… | -| wii | Wii | โœ… | -| win | PC (Microsoft Windows) | โœ… | -| wiiu | Wii U | โœ… | -| wonderswan | WonderSwan | โœ… | -| wonderswan-color | WonderSwan Color | โœ… | -| xbox | Xbox | โœ… | -| xbox360 | Xbox 360 | โœ… | -| xboxone | Xbox One | โœ… | +If you adhere to the [RomM folder structure](#๐Ÿ“-folder-structure), RomM supports any platform listed in the [IGDB platforms list](https://www.igdb.com/platforms). 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](https://github.com/zurdi15/romm/wiki/Custom-Platform-Icons)). - -
-
+## ๐Ÿ“‘ Tag Support -## ๐Ÿ“‘ Tags support +Games can be tagged with region, revision, or other tags by using parentheses in the file name. -Games can be tagged with region, revision or other tags using parenthesis in the file name. +\*Additionally, you can set the region by adding **"reg-"** as a prefix: (reg-E) / (reg-Spain) / (reg-USA) - - Regions will be detected according to the following dictionary: +- 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** -| shortcode | region | -|-----------|---------------| -| A | Australia | -| AS | Asia | -| B | Brazil | -| C | Canada | -| CH | China | -| E | Europe | -| F | France | -| FN | Finland | -| G | Germany | -| GR | Greece | -| H | Holland | -| HK | Hong Kong | -| I | Italy | -| J | Japan | -| K | Korea | -| NL | Netherlands | -| NO | Norway | -| PD | Public Domain | -| R | Russia | -| S | Spain | -| SW | Sweden | -| T | Taiwan | -| U | USA | -| UK | England | -| UNK | Unknown | -| UNL | Unlicensed | -| W | World | - -*Aditionally, region can be set adding **"reg-"** as prefix: (reg-E) / (reg-Spain) / (reg-USA) - - - Revision tags must be prefixed with **"rev "** or with **"rev-"**: (rev v1) / (rev-v1) / (rev-whatever) - - - Any other tag can have any structure - - - Example: **my_game (E)(rev v1)(fav)(aditional_tag).gba** - -**NOTE:** Tags can be used with the search bar to help to filter your library. - -# โ› Troubleshoot - -* After the first installation, sometimes the RomM container can have problems connecting with the database. Restarting the RomM container may solve the problem. - -# ๐Ÿงพ References - -* Complete [changelog](https://github.com/zurdi15/romm/blob/master/CHANGELOG.md) +**NOTE:** You can use these tags with the search bar to filter your library effectively. # ๐ŸŽ– Credits -* Pc and Mac icon support - Keyboard and mouse icons created by Flat Icons - Flaticon -* Default user icon - User Default icon by Icons8 +- Pc and Mac icon support - Keyboard and mouse icons created by Flat Icons - Flaticon +- Default user icon - User Default icon by Icons8 diff --git a/unraid_template/romm.xml b/unraid_template/romm.xml index bebb175d0..efc4decca 100644 --- a/unraid_template/romm.xml +++ b/unraid_template/romm.xml @@ -15,7 +15,7 @@ 2023-08-06 http://[IP]:[PORT:8091] - https://raw.githubusercontent.com/zurdi15/romm/master/romm.png + https://raw.githubusercontent.com/zurdi15/romm/master/.github/resources/romm.png @@ -23,10 +23,10 @@ Redis (optional) MariaDB (optional) - https://raw.githubusercontent.com/zurdi15/romm/master/.github/screenshots/home.png - https://raw.githubusercontent.com/zurdi15/romm/master/.github/screenshots/gallery.png - https://raw.githubusercontent.com/zurdi15/romm/master/.github/screenshots/details.png - https://raw.githubusercontent.com/zurdi15/romm/master/.github/screenshots/search.png + https://raw.githubusercontent.com/zurdi15/romm/master/.github/resources/screenshots/home.png + https://raw.githubusercontent.com/zurdi15/romm/master/.github/resources/screenshots/gallery.png + https://raw.githubusercontent.com/zurdi15/romm/master/.github/resources/screenshots/details.png + https://raw.githubusercontent.com/zurdi15/romm/master/.github/resources/screenshots/search.png 8091 /mnt/user/appdata/romm/config.yml