Repository navigation
Launcher Support for Plugins - #324
Closed
AliciaBurrito wants to merge 1 commit into
Closed
AliciaBurrito wants to merge 1 commit into
AliciaBurrito wants to merge 1 commit into
Conversation
New plugin field: launcher = <path to an .exe>. While the row is on, the run script puts it in front of the game, so the shim runs <launcher.exe> <game exe> <args> and the launcher decides how the game gets started. It's all on the Windows side, so it works the same on Rosetta and FEX, unlike an injected dylib which FEX's wine never loads. Only for waitforexitandrun, only one launcher wins (first file by name), and a launcher that isn't there is skipped and logged. Needed by NotHoyo, which starts Star Rail through its own launcher this way.
Owner
|
Merged! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a launcher field that lets a plugin put a Windows program in front of the game. When the option is on, the launcher is started with the game's path and arguments, and it decides how the game gets started.
Useful since some games can't be launched directly and need something else to start them first, eg. their own launcher or a patcher, etc.
This happens within the Wine env itself, so it's compatible with both x86_64 and ARM64 prefixes.