Open ikcikoR opened 1 month ago
As @ jntesteves told me in the discord, there is also an option of just atomatically editing the launch arguments for a game because steam stores them in some script in plain text and Bottles could most likely just write into that, tho that creates a potential problem if the user created custom launch arguments in the past that they don't want overwritten, so I guess a confirmation prompt is still a good idea, or figuring out a way to automatically handle potential preexisting launch args
Tell us the problem or your need
Currently, a LOT of Bottles settings for Steam Proton prefixes have no effect, because they're commands ran ahead of the game executable or env variables set ahead of time (not sure about the specifics in Bottles' case but I run a lot of games through Steam only with stuff like
MANGOHUD=1 gamemoderun %command%
and so on)Describe the solution you'd like
Potential solution - Create an extra button next to "Launch with Steam" button inside of the Steam Proton bottle:
MANGOHUD=1 gamemoderun %command%
for enabling Feral GameMode and MangoHud for the given program.steam://gameproperties/440
opens the Properties menu for Team Fortress 2, I believe Bottles already extracts the Steam ID of the game in question, so this should be trivial to implement). Very conveniently, the Properties menu has the Launch Arguments text field instantly visible in the 1st tab.Other solutions?
On top of that, there could be a prompt for the user hooked to closing/saving Bottle settings for Steam Proton bottles, asking them to replace the Launch Arguments for the given game with the up-to-date ones.
Additional context and references
god the ADHD meds are kicking in hardEdit: This might be handy, tho I'm assuming you guys already know about those things: https://developer.valvesoftware.com/wiki/Steam_browser_protocol https://developer.valvesoftware.com/wiki/Command_line_options#Steam