Skip to content

Settings

Addy edited this page Apr 13, 2022 · 8 revisions

Overview

The default settings file is named .ttvg_config and is located in the user's home directoy. These locations are typically in the following folders on each OS:

  • MacOS - /Users/<username>
  • Ubuntu - /home/<username>
  • Windows - C:\Users\<username>

If the settings file does not exist when the game starts it will automatically be generated.

Custom Config

The default configuration file can be overriden using the --config or -c option on the command line.

$> ttvg -c /path/to/my/config.file

Settings

All settings are required to be in the configuration file with valid values. An invalid configuration file will cause an error and the program will not run.

audio.volume.music

Default volume of all music played in the game. A setting of 0 will mute all music.

audio.volume.sfx

Default volume of all sound effect in the game. A setting of 0 will mute all sounds.

logs.music.enabled

Toggles whether or not log messages for music will be enabled. Turning this on can create very verbose log files.

logs.sfx.enabled

Toggles whether or not log messages for sound effects will be enabled. Turning this on can create very verbose log files.

Default Config File

This is the default configuration file that will be generated if the file does not already exist.

{
    "audio.volume.music": 100,
    "audio.volume.sfx": 100,
    "logs.music.enabled": false,
    "logs.sfx.enabled": false
}

Clone this wiki locally