mirror of
https://github.com/ALEZ-DEV/Babylonia-terminal.git
synced 2025-12-16 09:28:53 +00:00
Updated CLI Specific (markdown)
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
|
||||
```
|
||||
Loading…
Reference in New Issue
Block a user