bottlesdevs / Bottles

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

[Request]: Make Steam Proton (v)bottles persistent #1681

Open Jookia opened 2 years ago

Jookia commented 2 years ago

Tell us the problem or your need

While I can run a single EXE in a Steam Proton prefix, it would be nice to be able to add them to a list so I can run them again without browsing each time.

This is especially important as right now the only way to run any EXE in a Steam Proton prefix is to manually find it. This kind of sucks for things like mod launchers. To be fair, Steam can't do this either.

Describe the solution you'd like

I'm not entirely sure. The initial Steam commit seemed to delete the 'programs' page to add a program. I'm guessing this was done because there's no persistent storage for storing these launchers. Another option would be to scan for links in the prefix- but you can't create these from Linux using Wine stuff.

Other solutions?

No response

Additional context and references

I haven't dug much in to this but I would imagine this would break if the game requires Steam to run as DRM as to my knowledge Bottles can't access the running wine system initiated by Steam. Perhaps crafting a steam launch command could do this? I'm not sure.

But for my purposes of launching DRM-free games with Steam as the installer/updater it might work.

mirkobrombin commented 2 years ago

At the moment the type of bottle generated for the Steam Proton prefixes are temporary and are not preserved at reboot, in fact we use the steam launch options to store and re-interpret the information. Making the bottles permanent is something we will do in the future but it will take some time.

Jookia commented 2 years ago

One possible workaround I've found for now is to run the game in its own prefix using the Steam install. This seems a little bit sus though.

mirkobrombin commented 2 years ago

Wdym?

Jookia commented 2 years ago

Create a new Bottles prefix then running the executable in ~/.local/share/Steam's commonapps directory. I imagine this is a fragile solution given the Bottles prefix will need tweaking and working to get some games running, but for DRM-free stuff it seems to work okay and let me put launchers.

mirkobrombin commented 2 years ago

Ah ok, ya it's a little bit dangerous as it will use a different runner than Proton