MX Bikes Official Forum

General Category => Documentation => Topic started by: PiBoSo on March 09, 2016, 12:23:38 PM

Title: core.ini
Post by: PiBoSo on March 09, 2016, 12:23:38 PM

To increase compatibility with Windows, all data is saved under "My Documents"\PiBoSo\MX Bikes\
If you prefer to have everything saved in installation folder, edit core.ini file ( located where MXB is installed ) and set compatibility to 0:

[windows]
compatibility=0
Title: Re: core.ini
Post by: PiBoSo on March 09, 2016, 12:24:09 PM

If you have a multi-monitor setup and want to output to a monitor that is not the primary one, add the following lines to core.ini:

[display]
monitor=2
Title: Re: core.ini
Post by: PiBoSo on March 09, 2016, 12:24:48 PM

To change the format of the saved screenshots:

[screenshot]
format = JPEG


Allowed formats are JPEG, JPG, TARGA and TGA. JPEG is the default.
Title: Re: core.ini
Post by: PiBoSo on March 09, 2016, 12:25:26 PM

Framerate is capped at 200.
To change the maximum frames per second:

[framerate]
cap = 200


Any value over 1000 or under 10 disables the cap.

Please note that the minimum frame length in milliseconds is rounded to the previous integer.
This means:
120 -> 8.333 ms -> 8 ms -> 125 fps
85 ->  11.765 ms -> 11 ms -> ~91 fps
Title: Re: core.ini
Post by: PiBoSo on March 09, 2016, 12:26:29 PM

It is possible to grab an offscreen screenshot pressing the F10 key.
To change the resolution and multisample setting:

[hrs]
width=3840
height=2160
multisample=4


The image is saved as TGA into "hrsshots" directory. The user interface is not rendered.