Skip to content
MartB edited this page Aug 9, 2018 · 4 revisions

The config file "config.ini"

Location:

The config.ini file resides next to the executable.

If its empty the default values from within the application code will be used.

Sample configuration file

[log]
format = [%d.%m %H:%M:%S.%e][%l] %v
level = 0
flush = 0

[sdk]
EM_KEYBOARD = BLACKWIDOW_CHROMA
EM_MOUSE = MAMBA_CHROMA
EM_HEADSET = KRAKEN71_CHROMA
EM_MOUSEPAD = FIREFLY_CHROMA
EM_KEYPAD = ORBWEAVER_CHROMA

[sdk.CorsairCueSDK]
enabled = true
gamma_adjustment = 1.0 1.0 1.0

[sdk.RazerPassthrough]
enabled = true
overwritedevices = true

Structure

As you can see from the example above, the ini file is divided into Sections wrapped in [...] and key value pairs.

SDK Sections

These sections are automatically being combined from the prefix sdk. and the SDK_NAME that is specified withing RETC.

Example:

A dll name of "MyFancyDLL" translates to [sdk.MyFancyDLL] in the ini file.

Key value pairs

These pairs follow the ini syntax but how they are used is up to the developer that implemented the config parameter.

Usage

The ini file is loaded into memory on startup.

Do not edit the config file while the service is running as your changes will be overwritten as soon as the process exits.

Always stop the service first and then do your changes.

Clone this wiki locally