Skip to content
cajhin edited this page Jan 4, 2021 · 4 revisions

Rules of the capsicain.ini file

capsicain.ini is read on startup, and on Reload (ESC+R).

Whole file is converted to lowercase.

Everything following the comment char '#' is deleted.

The sections names [config_1] to [config_9] have a special meaning. Those are the root sections for configs 1-9.
[config_0] must not be defined in the ini. It is the hardcoded "capsicain disabled" config.

All other sections can have any name (no spaces).

All GLOBALs, regardless of their position, are evaluated on startup and reload. It does not matter if GLOBALs appear under configs, they are always active for all configs.

Section [config_{theActiveConfig}] is assembled on every config change. All INCLUDEs are replaced with the referenced section.

All sections that are neither [config_{theActiveConfig}], nor included by it, are ignored. You can create dummy sections with arbitrary names which will always be ignored, as long as they are not included anywhere.

All valid keywords (OPTION, REWIRE, COMBO, ALPHA_*) inside the assembled config are evaluated.