> For the complete documentation index, see [llms.txt](https://marangonico.gitbook.io/differential-and-progressive-brakes-for-x-plane/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://marangonico.gitbook.io/differential-and-progressive-brakes-for-x-plane/usage/configuration-file.md).

# Configuration file

The configuration file is named "*nm\_differential\_brakes.ini*" and it is located in the same folder of the script.

This is the content of a tipical configuration file:

```
[ZIBO]
OVERRIDE=false

[DEFAULT]
SECONDS_FOR_MAX_BRAKE_ACTION=10
SECONDS_FOR_ZERO_BRAKE_ACTION=2

[DISPLAY]
SHOW_BRAKES_INFO=true

[B738]
SECONDS_FOR_MAX_BRAKE_ACTION=20
SECONDS_FOR_ZERO_BRAKE_ACTION=2
```

Let's see the meaning of each parameter...

```
[ZIBO]
OVERRIDE=false
```

If **OVERRIDE=true**, D\&P brakes are enabled for the Zibo B738, otherwise the builtin braking mechanism by Zibo is used.

```
[DISPLAY]
SHOW_BRAKES_INFO=true
```

If **SHOW\_BRAKES\_INFO=true**, the [info box](/differential-and-progressive-brakes-for-x-plane/usage/the-info-box.md) is displayed.

```
[DEFAULT]
SECONDS_FOR_MAX_BRAKE_ACTION=10
SECONDS_FOR_ZERO_BRAKE_ACTION=2
```

**SECONDS\_FOR\_MAX\_BRAKE\_ACTION** defines how much seconds it will take to apply 100% brakes, if the button is pressed.

**SECONDS\_FOR\_ZERO\_BRAKE\_ACTION** defines how much seconds it will take to go back (from the current braking state) to no brakes, if the button is released.

These values can be customized per aircraft.

To customize the parameters of an aircraft, create a section with the **aircraft filename** or **aircraft tailnumber** or the **aircraft ICAO identifier** and specify the new values under this new section.

D\&P brakes will search for these sections in the following order:

* **aircraft filename** (in uppercase)\
  example: **\[BARON\_58.ACF]**<br>
* **aircraft tailnumber**\
  example: **\[N7842]**<br>
* **aircraft ICAO identifier**\
  example: **\[C172]**

If none of these sections is found, it will fallback to the **\[DEFAULT]** section.

See the example below:

```
[B738]
SECONDS_FOR_MAX_BRAKE_ACTION=20
SECONDS_FOR_ZERO_BRAKE_ACTION=2

[C172]
SECONDS_FOR_MAX_BRAKE_ACTION=10
SECONDS_FOR_ZERO_BRAKE_ACTION=1.5

[N7842]
SECONDS_FOR_MAX_BRAKE_ACTION=7
SECONDS_FOR_ZERO_BRAKE_ACTION=1

[BARON_58.ACF]
SECONDS_FOR_MAX_BRAKE_ACTION=5
SECONDS_FOR_ZERO_BRAKE_ACTION=0.5

```
