From ec649d605785ef51cae91325397737ba7ee2b919 Mon Sep 17 00:00:00 2001 From: ALEZ <38623465+ALEZ-DEV@users.noreply.github.com> Date: Mon, 5 May 2025 10:05:56 +0200 Subject: [PATCH] Updated CLI Specific (markdown) --- CLI-Specific.md | 30 ++++++++++++++++++++++++++---- 1 file changed, 26 insertions(+), 4 deletions(-) diff --git a/CLI-Specific.md b/CLI-Specific.md index 5d78866..30be6df 100644 --- a/CLI-Specific.md +++ b/CLI-Specific.md @@ -5,19 +5,41 @@ The launcher has a parameter you can use to pass special launch options, you can ```bash # %command% will be replaced by the actual command that Babylonia-terminal will generate -babylonia-terminal-cli --options " %command%" +babylonia-terminal --options " %command%" ``` So for example, if I want to wrap the game with mangohud : ```bash -babylonia-terminal-cli --options "mangohud %command%" +babylonia-terminal --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%" +babylonia-terminal --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 +and the next time you want to start the launcher, you will just need to start it with `babylonia-terminal` + +## Add environments variables + +You can add some environment variable to tinker to behavior of the game, for that you can pass any variable like this with the argument `--add-env-var` : +```bash +babylonia-terminal --add-env-var "PROTON_LOG=1" --add-env-var "WINEDLLOVERRIDES='KRSDKExternal.exe=d'" +``` + +## Show game logs + +The logs of the game are automatically added to the file `~/.babylonia-terminal/game.log`, but if you want you can directly show the output of the game by adding the `--logs` argument like this : + +```bash +babylonia-terminal --logs +``` + +## Show debug log + +You can enable debugs messages by adding the `--debug` argument like this : +```bash +babylonia-terminal --debug +``` \ No newline at end of file