Pass commandline arguments to the game process

Closes #4
This commit is contained in:
mkrsym1
2023-06-11 18:04:24 +03:00
parent 4c0c35ba43
commit 0b0216e41e
4 changed files with 50 additions and 15 deletions

View File

@ -29,6 +29,8 @@ Manual usage instructions:
This tool is capable of starting the games from a different process. This may be useful for spoofing the parent process (SR is known to report it). Use `wine jadeite.exe 'Z:\wine\path\to\game.exe' 'Z:\wine\path\to\launcher.exe'`. `explorer.exe` is used as the default.
To pass commandline arguments to the game, append them after the launcher path: `wine jadeite.exe 'Z:\wine\path\to\game.exe' 'Z:\wine\path\to\launcher.exe' -arg1 -arg2 -arg3`. To use the default launcher process, use `--`: `wine jadeite.exe 'Z:\wine\path\to\game.exe' -- -arg1 -arg2 -arg3`.
### Configuration
These environment variables can be used to configure the behaviour of the tool.