Merge pull request #372 from zurdi15/readme-update-sept-16

Updated readme with up-to-date info
This commit is contained in:
Zurdi
2023-10-31 01:20:38 +01:00
committed by GitHub
14 changed files with 124 additions and 251 deletions

BIN
.github/resources/discord_banner.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 83 KiB

View File

Before

Width:  |  Height:  |  Size: 47 KiB

After

Width:  |  Height:  |  Size: 47 KiB

View File

Before

Width:  |  Height:  |  Size: 51 KiB

After

Width:  |  Height:  |  Size: 51 KiB

View File

Before

Width:  |  Height:  |  Size: 394 KiB

After

Width:  |  Height:  |  Size: 394 KiB

View File

Before

Width:  |  Height:  |  Size: 1.3 MiB

After

Width:  |  Height:  |  Size: 1.3 MiB

View File

Before

Width:  |  Height:  |  Size: 99 KiB

After

Width:  |  Height:  |  Size: 99 KiB

View File

Before

Width:  |  Height:  |  Size: 199 KiB

After

Width:  |  Height:  |  Size: 199 KiB

View File

Before

Width:  |  Height:  |  Size: 594 KiB

After

Width:  |  Height:  |  Size: 594 KiB

View File

Before

Width:  |  Height:  |  Size: 39 KiB

After

Width:  |  Height:  |  Size: 39 KiB

View File

Before

Width:  |  Height:  |  Size: 225 KiB

After

Width:  |  Height:  |  Size: 225 KiB

View File

Before

Width:  |  Height:  |  Size: 560 KiB

After

Width:  |  Height:  |  Size: 560 KiB

BIN
.github/resources/wiki_banner.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

365
README.md
View File

@@ -1,307 +1,180 @@
<div align="center">
<h1 style="padding:20px;"><img src="romm.svg" height="220px" width="auto" alt="RomM Logo"></h1>
<h1><img src=".github/resources/romm.svg" height="220px" width="auto" alt="RomM Logo"></h1>
<img alt="GitHub" src="https://img.shields.io/github/license/zurdi15/romm?style=flat-square">
<img alt="GitHub release (latest SemVer)" src="https://img.shields.io/github/v/release/zurdi15/romm?style=flat-square">
<img alt="GitHub Workflow Status (with branch)" src="https://img.shields.io/github/actions/workflow/status/zurdi15/romm/build.yml?style=flat-square&branch=master">
<br>
<a href="https://hub.docker.com/r/zurdi15/romm">
<img alt="Docker Pulls" src="https://img.shields.io/docker/pulls/zurdi15/romm?style=flat-square">
<img alt="Docker Image Size (latest by date)" src="https://img.shields.io/docker/image-size/zurdi15/romm?style=flat-square">
<a href="https://discord.gg/P5HtHnhUDH">
<img alt="Discord" src="https://img.shields.io/discord/1138838206532554853?logo=discord&style=flat-square&label=discord">
</div>
<br>
<div align="center">
<a href="https://www.buymeacoff.ee/zurdi15" target="_blank"><img src="https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png" alt="Buy Me A Coffee" target="_blank"></a>
<a href="https://hub.docker.com/r/zurdi15/romm">
<img alt="Docker Pulls" src="https://img.shields.io/docker/pulls/zurdi15/romm?style=flat-square">
</a>
<a href="https://hub.docker.com/r/zurdi15/romm">
<img alt="Docker Image Size (latest by date)" src="https://img.shields.io/docker/image-size/zurdi15/romm?style=flat-square">
</a>
<a href="https://discord.gg/P5HtHnhUDH">
<img alt="Discord" src="https://img.shields.io/discord/1138838206532554853?logo=discord&style=flat-square&label=Discord">
</a>
</div>
<br>
<div align="center">
<a href="https://www.buymeacoff.ee/zurdi15" target="_blank">
<img src="https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png" alt="Buy Me A Coffee" target="_blank">
</a>
</div>
# 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
<br>
<details>
<summary>Expand to preview</summary>
![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")
<details>
<summary>Click to expand</summary>
![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")
</details>
<br>
## 📱 Mobile
<br>
<details>
<summary>Expand to preview</summary>
![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")
<details>
<summary>Click to expand</summary>
![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")
</details>
<br>
# The RomM community
[Wiki](https://github.com/zurdi15/romm/wiki) <br/>
[Discord](https://discord.gg/P5HtHnhUDH)<br/>
# The RomM Community
<a href="https://discord.gg/P5HtHnhUDH"><img src=".github/resources/discord_banner.png" style="height: 90px; margin-top: 5px;" alt="discord-banner" /></a>
<a href="https://github.com/zurdi15/romm/wiki"><img src=".github/resources/wiki_banner.png" style="height: 90px" alt="wiki-banner" /></a>
# 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
<h2 id="folder-structure">📁 Folder structure</h2>
## 📁 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)
<h2 id="Authentication">🔒 Authentication</h2>
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)
<h2 id="configuration-file">⚙️ Configuration file</h2>
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
<h2 id="platform-support">🎮 Platform support</h2>
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
<br>
<details>
<summary>Platform support list</summary>
<span>
## 🎮 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)).
</span>
</details>
<br>
## 📑 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 - <a href="https://www.flaticon.com/free-icons/keyboard-and-mouse" title="Keyboard and mouse icons">Keyboard and mouse icons created by Flat Icons - Flaticon</a>
* Default user icon - <a target="_blank" href="https://icons8.com/icon/tZuAOUGm9AuS/user-default">User Default</a> icon by <a target="_blank" href="https://icons8.com">Icons8</a>
- Pc and Mac icon support - <a href="https://www.flaticon.com/free-icons/keyboard-and-mouse" title="Keyboard and mouse icons">Keyboard and mouse icons created by Flat Icons - Flaticon</a>
- Default user icon - <a target="_blank" href="https://icons8.com/icon/tZuAOUGm9AuS/user-default">User Default</a> icon by <a target="_blank" href="https://icons8.com">Icons8</a>

View File

@@ -15,7 +15,7 @@
<Date>2023-08-06</Date>
<WebUI>http://[IP]:[PORT:8091]</WebUI>
<TemplateURL/>
<Icon>https://raw.githubusercontent.com/zurdi15/romm/master/romm.png</Icon>
<Icon>https://raw.githubusercontent.com/zurdi15/romm/master/.github/resources/romm.png</Icon>
<ExtraParams/>
<PostArgs/>
<CPUset/>
@@ -23,10 +23,10 @@
Redis (optional)
MariaDB (optional)
</Requires>
<Screenshot>https://raw.githubusercontent.com/zurdi15/romm/master/.github/screenshots/home.png</Screenshot>
<Screenshot>https://raw.githubusercontent.com/zurdi15/romm/master/.github/screenshots/gallery.png</Screenshot>
<Screenshot>https://raw.githubusercontent.com/zurdi15/romm/master/.github/screenshots/details.png</Screenshot>
<Screenshot>https://raw.githubusercontent.com/zurdi15/romm/master/.github/screenshots/search.png</Screenshot>
<Screenshot>https://raw.githubusercontent.com/zurdi15/romm/master/.github/resources/screenshots/home.png</Screenshot>
<Screenshot>https://raw.githubusercontent.com/zurdi15/romm/master/.github/resources/screenshots/gallery.png</Screenshot>
<Screenshot>https://raw.githubusercontent.com/zurdi15/romm/master/.github/resources/screenshots/details.png</Screenshot>
<Screenshot>https://raw.githubusercontent.com/zurdi15/romm/master/.github/resources/screenshots/search.png</Screenshot>
<Config Name="Port" Target="80" Default="80" Mode="tcp" Description="" Type="Port" Display="always" Required="false" Mask="false">8091</Config>
<Config Name="Library" Target="/romm/library/" Default="/romm/library" Mode="rw" Description="Game files" Type="Path" Display="always" Required="true" Mask="false"/>
<Config Name="Config file" Target="/romm/config.yml" Default="" Mode="rw" Description="Config YAML file" Type="Path" Display="always" Required="false" Mask="false">/mnt/user/appdata/romm/config.yml</Config>