Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Request] Launch options prefix / suffix / syntax #451

Closed
n1trux opened this issue Aug 9, 2021 · 2 comments
Closed

[Request] Launch options prefix / suffix / syntax #451

n1trux opened this issue Aug 9, 2021 · 2 comments
Assignees

Comments

@n1trux
Copy link

n1trux commented Aug 9, 2021

In Steam, you can use %command% to specify a prefix/suffix for launching applications.

So if you like to run hl2.exe -dx9 you can either input -dx9 or %command% -dx9. This allows you to prepend launch options, too, so you can launch the game with a wrapper. There's no official documentation on this (Volvo pls fix) but a bit of discussion on Steam's Linux github.

If you'd like to use libstrangle to limit a game's FPS in Steam, you could use it by entering strangle 60 %command% -dx9.

I would like this to be possible (and visible in the UI) for Bottles, too. To avoid confusion with familiarity, I propose that we'd use the same method Steam uses and replace %command% with the game's executable (or rather: with bottles' wrapper and the executable).

Alternatively you could use the command line to use a program to then run bottles which then runs an application, but that's not convenient and may confuse users who are less technical.

@mirkobrombin
Copy link
Member

mirkobrombin commented Aug 9, 2021

This may be easy to implement. I'm currently trying to implement libwine in Bottles and there is an task that should help to achieve what you need: bottlesdevs/libwine#3 (extracted from bottlesdevs/libwine#2)

@mirkobrombin
Copy link
Member

This is now available with the latest unstable build, just using the %command% placeholder in the arguments dialog.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants