SteamGridDB / steam-rom-manager

The bulk game importer and artwork manager for Steam!
https://steamgriddb.github.io/steam-rom-manager/
GNU General Public License v3.0
1.89k stars 121 forks source link

"${exePath}" generates nonfunctional - but correct - "Target" on Steam Deck #270

Closed Neofalcontoo closed 2 years ago

Neofalcontoo commented 2 years ago

I just got my Steam Deck a few days ago, and after a lot of tinkering trying to get Steam Rom Manager working with the flatpack version of Dolphin, I've identified a bug that prevents Steam Rom Manager from functioning correctly.

In order to have Steam Rom Manager work correctly with the Flatpack version of Dolphin on the Steam deck, the parser must have a "run org.DolphinEmu.dolphin-emu" appended to the "target" line in Steam, and "-b -e "${filePath}" in the "Launch Options" line in Steam.

Setting the parser up to do this (by going into advanced options and un-checking "Append arguments to executable") generates a shortcut in Steam which, when you examine it, will be 100% correct. However, attempting to use it will cause Dolphin to not launch.

Deleting the target line, however, and retyping (manually) the exact same line in will cause it to work as it should.

I've never used linux before, and I'm way over my head here, technically, but I found a solution to the problem that leads me to believe the culprit is "${exePath}"

By replacing "${exePath}" with the actual path myself, the shortcut it generates will be exactly the same.... but actually works how it should.

So.... there's something with "${exePath}" causing invalid shortcuts on Steam Deck.

kencinder commented 2 years ago

All "${exePath}" does in SRM is fill out the path the the executable you have set, which with Flatpak would be /usr/bin/flatpak, which can be seen when testing a parser.

Multiple examples on Reddit and the SRM configs provided by Emudeck seem to work fine for everyone else, without touching Append Arguments to Executable