This commit is contained in:
laz 2025-03-13 19:42:57 +01:00
parent 1a263f80cc
commit d51166379f
5 changed files with 64 additions and 8 deletions

View file

@ -1,4 +1,4 @@
# Launching Lutris & Steam Games from RetroDECK
# Launching Desktop Games with RetroDECK
This is a experiment made by the user **murkl**
@ -79,7 +79,7 @@ Change the values of:
- **Icon=** lutris_IDENTIFIERHERE
- **Exec=** rungameid/INTERNALIDHERE
**Example: Ultima 1**
**Example: Ultima I.desktop**
```
[Desktop Entry]
@ -110,7 +110,7 @@ Change the values of:
- **Icon=** lutris_IDENTIFIERHERE
- **Exec=** rungameid/INTERNALIDHERE
**Example: Ultima 1**
**Example: Ultima I.desktop**
```
[Desktop Entry]
@ -169,7 +169,7 @@ Change the values of:
- **Icon=** steam_APPIDHERE
- **Exec=** rungameid/APPIDHERE
**Example: ASTLIBRA Revision**
**Example: ASTLIBRA Revision.desktop**
```
[Desktop Entry]
@ -201,7 +201,7 @@ Change the values of:
- **Icon=** steam_APPIDHERE
- **Exec=** rungameid/APPIDHERE
**Example: ASTLIBRA Revision**
**Example: ASTLIBRA Revision.desktop**
```
[Desktop Entry]
@ -212,6 +212,60 @@ Exec=flatpak-spawn --host flatpak run com.valvesoftware.Steam -silent steam://ru
Categories=Game
```
## How-to: Launch Flatpak Games / Applications
### Step 1: Create an empty desktop file
First, create the `.desktop` file as mentioned above with the game name and put it in the `retrodeck/roms/windows/` folder.
### Step 2: Go to flathub and get the Run command
1. Go to [Flathub](https://flathub.org/).
2. On flathub go to a the application you want to add, press the `Down Arrow` next to `Download Button` to get the `Run command` and `Full Flatpak Name`.
**Example: OpenRA.desktop**
[OpenRA - Flathub]](https://flathub.org/apps/net.openra.OpenRA)
<img src="../openra.png" width="800">
- **Run command:** flatpak run net.openra.OpenRA
- **Full Flatpak Name:** net.openra.OpenRA
### Step 3: Populate the .desktop file
Open the `.desktop` file and populate it.
Copy this:
```
[Desktop Entry]
Type=Application
Name=NAMEHERE
Icon=FULLFLATPAKNAMEHERE
Exec=flatpak-spawn --host flatpak run RUNCOMMMANDHERE
Categories=Game
```
Change the values of:
- **Name=** NAMEHERE
- **Icon=** FULLFLATPAKNAMEHERE
- **Exec=** RUNCOMMMANDHERE
**Example: OpenRA.desktop**
```
[Desktop Entry]
Type=Application
Name=OpenRA
Icon=net.openra.OpenRA
Exec=flatpak-spawn --host flatpak run net.openra.OpenRA
Categories=Game
```
## The Last Step: Launch the Games via RetroDECK & Scrape
After the `.desktop` files have been created and everything is working as expected, RetroDECK will recognize the `.desktop` file the next time you start it. The games will appear under the Windows tab in ES-DE. If you have named the games correctly, there is a good chance that the scraper will identify them.

View file

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 245 KiB

View file

Before

Width:  |  Height:  |  Size: 38 KiB

After

Width:  |  Height:  |  Size: 38 KiB

View file

@ -191,6 +191,9 @@ nav:
- ES-DE 📺:
- ES-DE - General Guide: wiki_system_guides/es-de/esde-guide.md
- Desktop Games:
- Experiment - Launch Full Desktop Games: wiki_system_guides/desktop-launch/desktop-launch.md
- PortMaster 🚢:
- PortMaster - General Guide: wiki_system_guides/portmaster/portmaster-guide.md
@ -203,6 +206,8 @@ nav:
- Ponzu 🍶:
- Ponzu - General Guide: wiki_system_guides/ponzu/ponzu-guide.md
- The Controller Vault 🎮:
- Accessibility ♿:
@ -329,9 +334,6 @@ nav:
- Cooker Testing - Guide: wiki_development/testing/cooker-testing.md
- Expermental Features: wiki_development/testing/experimental-features.md
- Experiments ⚗️:
- RetroDECK - Launch Steam & Lutris Games: wiki_experiments/steam-lutris-launch/steam-lutris-launch.md
- Archive 📂:
- Citra 🍋 (Archive):