Matoking / protontricks

A wrapper that does winetricks things for Proton enabled games, requires Winetricks.
GNU General Public License v3.0
1.66k stars 36 forks source link

[Feature Request] add search functionality for non-steam shortcuts. #122

Closed NoXPhasma closed 3 years ago

NoXPhasma commented 3 years ago

Protontricks is unable to find non-steam shortcuts. The issue here is that the names are stored in a binary file, as pointed out in this issue on another project. The author links to this project, which can read the shortcut names out of it.

I wonder if it's possible and worth to implement this?

Matoking commented 3 years ago

Protontricks should already do that. When running protontricks -s <name>, any non-Steam shortcuts are prefixed with Non-Steam shortcut:, like so:

$ protontricks -s non-steam
Found the following games:
Non-Steam shortcut: AM2R.exe (3392872573)
Non-Steam shortcut: Devotion.exe (2594078296)
Non-Steam shortcut: Doukutsu.exe (4237170648)
Non-Steam shortcut: FALLOUTW.exe (2364942220)
Non-Steam shortcut: Fallout Fixt (2268011488)

The shortcuts are user-specific, so I'm guessing the search can fail if Protontricks fails to detect the currently logged-in Steam user correctly.

NoXPhasma commented 3 years ago

I wasn't aware, thanks for clarifying!