Author Topic: core.ini  (Read 2432 times)

PiBoSo

  • Administrator
  • Sr. Member
  • *****
  • Posts: 971
    • View Profile
core.ini
« on: March 09, 2016, 11:23:38 AM »

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:
Code: [Select]
[windows]
compatibility=0

PiBoSo

  • Administrator
  • Sr. Member
  • *****
  • Posts: 971
    • View Profile
Re: core.ini
« Reply #1 on: March 09, 2016, 11:24:09 AM »

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:
Code: [Select]
[display]
monitor=2

PiBoSo

  • Administrator
  • Sr. Member
  • *****
  • Posts: 971
    • View Profile
Re: core.ini
« Reply #2 on: March 09, 2016, 11:24:48 AM »

To change the format of the saved screenshots:
Code: [Select]
[screenshot]
format = JPEG

Allowed formats are JPEG, JPG, TARGA and TGA. JPEG is the default.

PiBoSo

  • Administrator
  • Sr. Member
  • *****
  • Posts: 971
    • View Profile
Re: core.ini
« Reply #3 on: March 09, 2016, 11:25:26 AM »

Framerate is capped at 200.
To change the maximum frames per second:
Code: [Select]
[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

PiBoSo

  • Administrator
  • Sr. Member
  • *****
  • Posts: 971
    • View Profile
Re: core.ini
« Reply #4 on: March 09, 2016, 11:26:29 AM »

It is possible to grab an offscreen screenshot pressing the F10 key.
To change the resolution and multisample setting:
Code: [Select]
[hrs]
width=3840
height=2160
multisample=4

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

PiBoSo

  • Administrator
  • Sr. Member
  • *****
  • Posts: 971
    • View Profile
Re: core.ini
« Reply #5 on: November 04, 2017, 09:38:33 PM »

It is possible to change the additional directory where mods can be installed:
Code: [Select]
[mods]
folder= d:\mxb\mods\

Please note the backslash '\' at the end.
If the mods folder is set, mods must be installed in the "mxbikes" subdirectory.
Removing the two lines forces MX Bikes to search mods only inside the installation folder.