| TeamTalk Help Version 5.17.0.5148

- Main Page
- Related Pages

Advanced Topics

The TeamTalk client supports a couple of command-line arguments and additional configuration options which are explain in the following sections:

- Command-line arguments
- Load settings file (TeamTalk5.ini)
- Multiple client instances with different settings
- Extra INI-file settings

# Command line arguments

The TeamTalk 5 client supports the following command-line arguments:

- TeamTalk URL
  - Usage:

        TeamTalk5.exe tt://192.168.0.10?tcpport=10333&udpport=10333

- TeamTalk .tt file
  - Usage:

        TeamTalk5.exe C:\Documents\myserver.tt

- Add to Windows Firewall
  - Usage:

        TeamTalk5.exe -fwadd

- Remove from Windows Firewall
  - Usage:

        TeamTalk5.exe -fwremove

- Override auto-connect setting
  - Usage:

        TeamTalk5.exe -noconnect

- Create new or load existing ini-file
  - Usage:

        TeamTalk5.exe -cfg c:\Documents\TeamTalk5.ini

# Load settings file (TeamTalk5.ini)

By default the TeamTalk client first looks in the directory of the executable for its settings file (TeamTalk5.ini). If the settings file isn't located there it will instead load its settings from the user-profile's directory. On Windows 7 the user-profile directory is typically located in:

    C:\Users\username\AppData\Roaming

and on Windows XP it's in

    C:\Documents and Settings\username\Application Data

. On Linux and Mac the settings are located in:

    $HOME/.config/BearWare.dk

To manually create/load TeamTalk5.ini use the

    -cfg

command line argument, e.g.

    TeamTalk5.exe -cfg MyIniFile.ini

# Multiple client instances with different settings

Since the TeamTalk executable first tries to load settings from its own directory it's possible to run multiple TeamTalk clients with different settings. Simply create a new directory, copy TeamTalk5.exe and TeamTalk5.dll to that directory and create a file called TeamTalk5.ini. Launch TeamTalk5.exe and it will use the local settings file instead of the settings file in the user-profile.

# Extra INI-file settings

Most settings in the TeamTalk ini-file are configurable using the Preferences dialog but there's a few hidden entries which are described here.

## Mute left or right audio channel

In the sound system section of the INI-file it's possible to mute either the left or right channel when the client is in a stereo channel. Simply add the following lines to the TeamTalk5.ini file:

    [soundsystem]
    sndoutput-mute-left=true
    sndoutput-mute-right=true

## Make an auto connect INI-file

To make an INI-file which automatically connects to a host once the application is started simply add the following to the TeamTalk5.ini file:

    [latesthosts]
    0_hostaddr=tt5us.bearware.dk
    0_tcpport=10333
    0_udpport=10333
    0_username=guest
    0_password=guest
    0_channel=/
    0_chanpassword=

    [connection]
    autoconnect=true