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

[FEATURE] Add support for flags and CLI arguments #48

Closed
Brisolo32 opened this issue May 22, 2023 · 4 comments
Closed

[FEATURE] Add support for flags and CLI arguments #48

Brisolo32 opened this issue May 22, 2023 · 4 comments
Labels
enhancement New feature or request

Comments

@Brisolo32
Copy link
Contributor

Is your feature request related to a problem?

My feature is related to a problem, it is described on the next item.

What feature would you like to be added?

  • Adding another input box for CLI arguments/flags

Additional Information:

At present, Linux users face limitations when it comes to running specific games, particularly those designed for Windows, due to the lack of compatibility with the Wine tool. To address this issue, I suggest introducing an additional feature that allows users to input both the game's path and relevant flags.

By implementing this solution, running games through Wine would become feasible. The first input box would be designated for specifying the path to Wine, typically located at /usr/bin/wine. The second input box would enable users to provide the path to the game itself, facilitating seamless execution.

@Brisolo32 Brisolo32 added the enhancement New feature or request label May 22, 2023
@infinity-plus
Copy link
Contributor

This can be achieved by saving game path + flags in a bash script and then adding it to PBP. Still, interesting, let's discuss.

@MargaritaBarker
Copy link
Contributor

This can be achieved by saving game path + flags in a bash script and then adding it to PBP. Still, interesting, let's discuss.

While I had this same thought and it is definitely possible, it's definitely less than optimal and could potentially lead to some other pains down the road as the app grows and plugins become more complex. So, I definitely agree this should be discussed further and implemented if possible.

@infinity-plus
Copy link
Contributor

This can be achieved by saving game path + flags in a bash script and then adding it to PBP. Still, interesting, let's discuss.

While I had this same thought and it is definitely possible, it's definitely less than optimal and could potentially lead to some other pains down the road as the app grows and plugins become more complex. So, I definitely agree this should be discussed further and implemented if possible.

I don't see how it's related to plugins in any way. Can you please elaborate on "pains down the road"?

@Brisolo32
Copy link
Contributor Author

This can be achieved by saving game path + flags in a bash script and then adding it to PBP. Still, interesting, let's discuss.

I have already tried saving it to a bash script and it doesn't work, both on linux and windows require a command before (Linux: bash interpreter like bash and on windows the start command)

Something that detects when the file terminates with .sh or .bat might work, but in general it's best to have 2 input boxes, like steam

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

No branches or pull requests

3 participants