3 CLI Specific
ALEZ edited this page 2025-05-05 10:08:02 +02:00

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 :

# %command% will be replaced by the actual command that Babylonia-terminal will generate
babylonia-terminal --options "<custom launch command> %command%"

So for example, if I want to wrap the game with mangohud :

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 :

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

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 :

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 :

babylonia-terminal --logs

Show debug logs

You can enable debugs messages by adding the --debug argument like this :

babylonia-terminal --debug