Updated CLI Specific (markdown)

ALEZ 2025-05-05 10:05:56 +02:00
parent ef657e7423
commit ec649d6057

@ -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 "<custom launch command> %command%"
babylonia-terminal --options "<custom launch command> %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`
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
```