bottlesdevs / Bottles

Run Windows software and games on Linux
https://usebottles.com
GNU General Public License v3.0
6.43k stars 269 forks source link

[Request]: Enhance the control over Steam Proton prefixes through Bottles (Launch Arguments) #3512

Open ikcikoR opened 1 month ago

ikcikoR commented 1 month ago

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:

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 hard

Edit: 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

ikcikoR commented 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