diff --git a/CLI-Specific.md b/CLI-Specific.md new file mode 100644 index 0000000..5d78866 --- /dev/null +++ b/CLI-Specific.md @@ -0,0 +1,23 @@ +## Launch options + +If you want to wrap mangohud, gamescope, gamemoderun or any other process over the game, you can't just wrap the launcher for the wrapper to work, example : `mangohud babylonia-terminal-cli`. +The launcher has a parameter you can use to pass special launch options, you can pass options like this : + +```bash +# %command% will be replaced by the actual command that Babylonia-terminal will generate +babylonia-terminal-cli --options " %command%" +``` + +So for example, if I want to wrap the game with mangohud : + +```bash +babylonia-terminal-cli --options "mangohud %command%" +``` + +But start the game with the `--options` parameter every time is a bit annoying, so you can just run the command with `--set-options` instead the first time you want to setup the launch options : + +```bash +babylonia-terminal-cli --set-options "mangohud %command%" +``` + +and the next time you want to start the launcher, you will just need to start it with `babylonia-terminal-cli` \ No newline at end of file