Add Decky Launch Options to Plugin Store#971
Add Decky Launch Options to Plugin Store#971Wurielle wants to merge 11 commits intoSteamDeckHomebrew:mainfrom
Conversation
Issues Found
Next Steps
Thank you for your contribution! If you need any help, please reach out on our Discord server. ❤️ |
Plugin Testing ReportInstalled Plugins
Specifications
IssuesLGTM, did not found any issues for me. SummaryBy using the lsfg plugin, I can quickly add the games I need to the launch options and then try running them. I didn’t encounter any issues. It’s a very convenient plugin! |
|
What's the reasoning behind needing |
|
It seems this plugin is reimplementing some features of CheatDeck. However, user launch options are often quite complex, such as native flatpak or appImage applications, environment variables, and parameters. The way Decky Launch Option works appears to be adding a wrapper directly on the outside? I wonder how compatible this approach is. |
Maybe I misunderstood reading the doc and thought
Decky Launch Option ignores apps outside of Steam apps/games currently as they're not registered inside the user config. That means it won't attempt to change the launch options for those. I believe it would work if I implemented it but I'm planning to look into it at a later date when I understand more how those type of launch options work. As to the similarity with CheatDeck, I'm not familiar with it so I can't comment on it yet so to clarify: my implementation aims to concatenate multiple launch options without hassle and enable launch options per game or for all games. I also plan to allow support for other plugins to add their launch options to Decky Launch Options directly with a simple "Add to Decky Launch Options" button on their end. This aims to greatly improve the user experience for dealing with launch options, nothing more. Edit: After reading the CheatDeck README I understand more your inquiry about launch options. Decky Launch Options works flawlessly with "Prefix Commands" for apps but I have not tested other kinds of launch options. I agree, support for all types of launch options needs to be implemented so I'll look into it as a future evolution and plan to support Non-Steam apps as well. 🙂 |
|
I have improved the plugin to support a wider range of launch option types and added an explanation on how they work on my README for potential users. I plan to add support for Non-Steam Games at a later date. @beebls I have removed @SheffeyG After doing some testing with CheatDeck here's a more thorough comparison between the 2 plugins. Since only the launch options part is similar, this will be the focus of the explanation and not the cheat part offered by CheatDeck.
Although the functionality seem similar, the user experience is fairly different. My plugins aims to fix a specific UX problem with Steam's Launch Options feature by improving the user experience through an alternative interface. As a user, this is fastest and easiest implementation of Launch Options I can think off. |
|
From my understanding of the code, you replace all game launch scripts to point to your own custom run script. My only concern with this is that, if decky or your plugin fails to load, this script could get bricked and as such no games would launch. Do you have any mechanisms in place to fix this, more specifically
|
Correct, the original launch options are kept and still applied after the launch options in the settings get replaced. If something goes wrong and the frontend is unable to request the launch options, nothing happens:
1. The run script only require static files and works without the plugin being loaded.Here's the normal flow in a normal case:
From there on, when a game is launched, In order to be 100% fool proof, I can:
2 The plugin does handle cleanup properlyAlthough I'm not sure if you mean plugin lifecycle or the flow of when the launch options are applied (in which case refer to the flow above).
I'll try to apply the updates mentioned above, after that the plugin will be as foolproof as it can be. Even if all else fail, the user will be able to remove the plugin and change their launch options back. All the combinations of launch options I could think of were tested in |
|
I updated the plugin following my previous message so here's a summary of what I have changed:
At this point apps have a better chance to launch with Decky Launch Options than without haha 😅 In a realistic scenario, none of these should happen but if they do they are handled accordingly. The only possible failure is if the user deletes the |
Add Decky Launch Options to Plugin Store
Decky Launch Options is a streamlined way to manage launch options for games allowing the user to register launch options once and enable them either per game or for all games.
The user can:
More screenshot:
Task Checklist
Developer
Plugin
Backend
Community
Testing