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 applications using launch options. #94

Closed
GamerUntouch opened this issue Dec 12, 2017 · 4 comments
Closed

[Request] Launch applications using launch options. #94

GamerUntouch opened this issue Dec 12, 2017 · 4 comments

Comments

@GamerUntouch
Copy link

For compatibility reasons, the way secrets work shouldnt be totally replaced, but I feel that handling join/spectate/match secrets through launch options would be a lot easier than the setup we have now.

This is how the steamworks matchmaking system works, and it's a lot easier to deal with, since I can get the lobby ID right away, unlike discord where I need to wait for the callback.

Unless there's a reason for this not working like this, of course.

@andres-asm
Copy link

For practical reasons a user may want to append command line options too (custom config file in RetroArch is the use case here)

@msciotti
Copy link
Collaborator

msciotti commented Jul 2, 2018

If there is a custom config file that is consistent across every launch of the application, launch options could be set at protocol registration. You could pass Discord_Register() a command to run your game with the proper launch option.

We do not currently support dynamic launch options, as this issue asks for.

@andres-asm
Copy link

andres-asm commented Oct 17, 2018

@msciotti yeah I managed to get it going passing argv as a command.
One more question/request

In some cases it may be desirable to set a working folder/start-up dir, several emulator applications like using relative paths.
Think that's possible at all?

@msciotti
Copy link
Collaborator

msciotti commented May 8, 2019

Though not exactly the same as this feature request, I'm going to close this in reference to this documentation: https://discordapp.com/developers/docs/dispatch/branches-and-builds#launch-options

It's true that we do not support easily-customizable launch options (outside of argv stuff that fr500 mentioned) or working directory setting for RPC-only applications. We have that functionality for games that are launched via Discord and are registered in a user's game library. For right now, that's the extent to which we'll be supporting it.

Feel free to open a request in the support center linked in #290 if you'd still like to see this!

@msciotti msciotti closed this as completed May 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants