Wiki/wiki-rtd/docs/wiki_system_guides/srm/srm-guide.md

141 lines
5.5 KiB
Markdown
Raw Normal View History

2025-01-19 08:15:40 +00:00
# Steam ROM Manager (SRM) - General Guide
2025-01-06 11:10:45 +00:00
2025-01-06 14:13:23 +00:00
<img src="../../../wiki_images/logos/srm-logo.png" width="150">
2025-01-06 11:10:45 +00:00
2025-01-09 09:07:08 +00:00
Steam ROM Manager is a bulk game importer and artwork manager for Steam. It has been built into RetroDECK since version 0.9.0b.
2025-01-06 11:10:45 +00:00
2025-01-09 09:12:00 +00:00
It adds separate games to Steam, incorporates artwork from [SteamGridDB](https://www.steamgriddb.com/) , and configures the RetroDECK Steam Input layouts.
2025-01-06 11:10:45 +00:00
2025-01-24 08:05:28 +00:00
RetroDECK uses Steam ROM Manager as part of its backend for the `Steam Sync` feature.
2025-01-06 11:10:45 +00:00
2025-01-06 14:27:18 +00:00
### SRM Links:
2025-01-06 11:10:45 +00:00
2025-01-06 14:27:18 +00:00
[Steam Rom Manager - Webpage](https://steamgriddb.github.io/steam-rom-manager/)
2025-01-06 11:10:45 +00:00
2025-01-06 14:27:18 +00:00
[Steam Rom Manager - Github](https://github.com/SteamGridDB/steam-rom-manager)
2025-01-06 11:10:45 +00:00
2025-01-06 14:27:18 +00:00
[SteamGridDB](https://www.steamgriddb.com/)
2025-01-06 11:10:45 +00:00
2025-01-24 08:05:28 +00:00
### Warning - Flatpak Steam not yet supported
We have not yet added support for the Flatpak version of Steam.
### Warning - Exotic ROMS filenames can break the scripts
Some games have exotic symbols in their name that could break so the parser and the game won't launch, `( ) [ ]` are fine.
The symbols that could cause issues are:
/ \ { } < > ' * `
It might be worth to rename those games if it contains them.
2025-01-19 08:39:58 +00:00
## Folder structure
2025-01-19 08:25:35 +00:00
| Type | Folder | Comment |
| :---: | :---: | :---: |
2025-01-19 08:28:05 +00:00
| Launch Scripts Folder | `retrodeck/roms/.sync/` | This hidden folder contains the auto generated launch scripts for Steam as `.sh` files. | |
2025-01-19 08:25:35 +00:00
| Config Folder |`~/.var/app/net.retrodeck.retrodeck/config/config/steam-rom-manager/` | |
2025-01-07 07:12:44 +00:00
## How-to enable Steam Sync?
2025-01-06 11:10:45 +00:00
2025-01-24 08:05:28 +00:00
All the games you have marked as favorites in ES-DE (marked with a ⭐ or another icon depending on theme) will be synced to Steam upon exiting the application, along with their artwork and will show up after Steam is restarted.
2025-01-24 08:26:25 +00:00
### Step 1: Mark games as ⭐ favorites in ES-DE
2025-01-07 07:53:02 +00:00
2025-01-24 08:05:28 +00:00
<img src="../../../wiki_images/systems/srm/es-de-favorite.png" width="800">
Navigate to a game in ES-DE and press the press the `north button` to mark a game as favorite in ES-DE (Xbox `Y` button, Playstation `Triangle`, Nintendo `X`).
2025-01-24 08:26:25 +00:00
### Step 2: Enable in Configurator
2025-01-24 08:05:28 +00:00
<img src="../../../wiki_images/systems/srm/sync-config.png" width="800">
2025-01-06 11:10:45 +00:00
2025-01-07 18:07:39 +00:00
<img src="../../../wiki_images/systems/srm/sync-prompt.png" width="800">
2025-01-07 07:53:02 +00:00
2025-01-24 08:05:28 +00:00
Enable the Steam Sync feature inside the Configurator by pressing `Yes`.
2025-01-24 08:26:25 +00:00
### Step 3: Exit RetroDECK to start the Sync
2025-01-24 08:05:28 +00:00
<img src="../../../wiki_images/systems/srm/sync-loading.png" width="800">
**Note:** If you have a massive roms library this can take a while. But you can leave the sync window in the background and play other things while it runs. The speed also depends on the Device you are using.
Just wait until the Sync is finished and the window closes.
2025-01-24 08:26:25 +00:00
### Step 4: Restart / Reload Steam
2025-01-24 08:05:28 +00:00
Steam needs to be restarted before the games show up in your library.
For the Steam Deck you can either restart the Steam Deck or from `Game Mode` enter `Desktop Mode` and directly go back to `Game Mode` as this will also relaunch Steam.
If you are on a PC just `Exit Steam` and relaunch it as normal.
## How do I disable Steam Sync?
Just go into the Configurator and press Steam Sync if you got it enabled it will now ask if you want to disable it. Just press `Yes` in the prompt.
2025-01-06 11:10:45 +00:00
2025-01-24 08:26:25 +00:00
This will also remove your favorites from Steam.
2025-01-07 07:12:44 +00:00
## Can I tweak images or other settings in SRM?
2025-01-06 11:10:45 +00:00
2025-01-07 07:53:02 +00:00
`Configurator` -> `Open Emulator / Component` -> `Steam Rom Manager`.
2025-01-09 08:59:20 +00:00
Yes, you can open the entire SRM interface from the Configurator, just like all other components, and tweak it to your heart's content.
2025-01-07 07:53:02 +00:00
2025-01-07 18:07:39 +00:00
<img src="../../../wiki_images/systems/srm/srm-window.png" width="800">
2025-01-07 07:53:02 +00:00
2025-01-07 07:55:14 +00:00
### Help - I broke everything after my tweaking
2025-01-07 07:53:02 +00:00
If you break things you could always reset it to default via:
`Configurator` -> `Troubleshooting` -> `Reset` -> `Component` -> `Steam Rom Manager`.
2025-01-19 08:05:54 +00:00
2025-01-24 08:05:28 +00:00
## Adding RetroDECK .doom files to Steam - Grid and Tear Project
<img src="../../../wiki_images/systems/srm/brutaldoom.png" width="800">
[SteamGridDB: Grid and Tear](https://www.steamgriddb.com/projects/grid-and-tear) is a project for adding art for various doom mods.
2025-01-24 08:26:25 +00:00
The Steam Sync feature can be used to add RetroDECK doom files
2025-01-24 08:05:28 +00:00
2025-01-24 08:26:25 +00:00
To add the `.doom` files you just do the same as everything else:
2025-01-24 08:05:28 +00:00
2025-01-24 08:26:25 +00:00
Just mark them as ⭐ favorites in ES-DE for the `Steam Sync` to pick them up.
2025-01-24 08:05:28 +00:00
2025-01-24 08:26:25 +00:00
**Search if the mod has art**
2025-01-24 08:05:28 +00:00
2025-01-24 08:26:25 +00:00
Go to [SteamGridDB: Grid and Tear](https://www.steamgriddb.com/projects/grid-and-tear) and search for what mods are supported currently with art.
**Give the .doom file a matching name**
You need to match the names of the `.doom` files with how they are called on `SteamGridDB` for the art to be correctly scraped.
2025-01-24 08:05:28 +00:00
[Example - SteamGridDB: Brutal DOOM](https://www.steamgriddb.com/game/5249817)
The file in this case is called `Brutal Doom.doom`.
2025-01-24 08:26:25 +00:00
**If you are unsure on how to create doom files**
[Guide: How to create RetroDECK .doom file](../../wiki_engine_guides/gzdoom/retrodeck-doomfile.md)
2025-01-19 08:05:54 +00:00
## How does it work?
When the sync function is activated launch scripts are generated in a hidden folder:
`retrodeck/.sync/` those scripts are then added to Steam with the ability to launch your games.
Inside the script there are two types of launch commands:
`flatpak run net.retrodeck.retrodeck 'retrodeck/roms/<system>/<game>`'
This is the regular launch command
`flatpak-spawn --host flatpak run net.retrodeck.retrodeck 'retrodeck/roms/<system>/<game>'`
This one is for future Steam Flatpak support, as they need the `flatpak-spawn` permission to launch the games and have to be manually enabled by the user.
Currently the games are not added to Flatpak Steam via Steam Sync.