This script lists games from Lutris/Heroic/Bottles, adds them to Sunshine, and optionally downloads game covers from SteamGridDB.
- Supports:
- Lutris (Native and Flatpak)
- Heroic (Native and Flatpak)
- Bottles (Flatpak)
- Adds selected games to Sunshine
- Option to add all listed games at once
- Downloads game covers from SteamGridDB (optional)
- Avoids duplicate entries in Sunshine
This tool is designed to work with Sunshine installed on the host along with Lutris, Heroic or Bottles. I'm sharing it in case others find it useful. It was created with the help of AI, as I'm not a developer. Please note, this is a personal tool and not intended as a formal project.
- Clone the repository
git clone https://github.com/yourusername/LutrisToSunshine.git
cd LutrisToSunshine
- Install required Python libraries:
pip install -r requirements.txt
-
Ensure that Lutris is closed before running the script.
-
Run the script:
python3 lutristosunshine.py
- Follow the prompts to list games, select games to add, and optionally download images from SteamGridDB.
Alternatively, you can download the binary available in the "Releases" section of the GitHub repository. Download the binary from the latest release, make it executable, and run it:
chmod +x lutristosunshine
./lutristosunshine