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

add global launch options #27

Open
ericoporto opened this issue Apr 9, 2023 · 0 comments
Open

add global launch options #27

ericoporto opened this issue Apr 9, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@ericoporto
Copy link
Owner

ericoporto commented Apr 9, 2023

Supposing a situation where you have AGS Editor in a wine prefix and you have agstoolbox installed on Linux.

It would probably be nice to launch it passing wine MYPREFIX=/home/bla/.prefix path/to/agseditor.exe.

I don't think we want to have individual per game/project settings (where would these be?).

But we could have a setting for what to run.
In Steam, this is done like this:

/usr/local/bin/somescript %command% /usr/local/bin/otherscript

And %command% will expand to whatever it is. This approach allows the command before to happen in the same line or the next. Now the problem here, is for agstoolbox there is no guarantee on which shell this runs.

But this is probably fine, as this is quite an advanced feature that I don't expect people to use. Before doing this, we probably want some tabs in the settings so this goes in an advanced tab or something.

For the wine usecase, the workaround is probably to just run atbx.exe/agstoolbox.exe on wine itself.

About AGS Editor on macOS Wine, we are not quite there yet as AGS Editor is 32-bit and macOS Wine is 64-bit only, while wine has some sysWow64, it doesn't work perfectly yet.

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

1 participant