• Welcome to MX Bikes Official Forum. Please login or sign up.
 
October 20, 2020, 01:50:01 AM

News:

MX Bikes beta14e available! :)


global.ini

Started by PiBoSo, October 02, 2014, 02:43:20 PM

Previous topic - Next topic

PiBoSo

October 02, 2014, 02:43:20 PM Last Edit: December 08, 2019, 10:43:36 AM by PiBoSo
There are a few settings that are only available manually editing the global.ini file that is generated in "My Documents"/PiBoSo/MX Bikes/ ( or, if "compatibility" is set to zero, in the MX Bikes installation folder ).

Under [core] section ( must be created if it doesn't exist ):
mouse_sensitivity = 50
mouse_deadzone = 0.01
mouse_linearity = 1          ; 0 = fully linear. Increase the value to have more precision in the central part
mouse_smooth = 2            ; 0 = no smooth
to set mouse-look parameters.

PiBoSo

October 02, 2014, 02:44:34 PM #1 Last Edit: June 14, 2018, 10:32:29 PM by PiBoSo
Under [core] section ( must be created if it doesn't exist ):

replay  = 20

to set the size, in megabytes, of the replay buffer. 20 MB is the default value.
Warning: the bigger the buffer, the more RAM will be used.

PiBoSo

October 02, 2014, 02:45:17 PM #2 Last Edit: October 02, 2014, 02:58:33 PM by PiBoSo
Under [core] section ( must be created if it doesn't exist ):

bike_shadow = 512
bike_reflections = 128

to set the power of 2 ( 256, 512, 1024, ... ) resolution of the shadow and reflections textures.
Higher values use more video ram and may have a performance hit.

PiBoSo

October 02, 2014, 02:45:35 PM #3 Last Edit: October 18, 2019, 10:46:55 PM by PiBoSo
Under [core] section ( must be created if it doesn't exist ):
texture_quality = 4
to set the quality of loaded textures.

The possible values are:
0 -> uncompressed, OpenGL default
1 -> uncompressed, 32 bits
2 -> uncompressed, 16 bits
3 -> compressed, OpenGL driver
4 -> compressed ( the default value )

1 gives the better quality and much faster loading times, at the expense of video ram usage and a performance hit.
Please note that values from 0 to 2 are NOT recommended for multiplayer.

PiBoSo

To change the joystick free look parameters:

freelook_joystick_name = EDTracker EDTracker2
freelook_joystick_center = 0
freelook_joystick_range = 32767


These values ( that are the default ones ) set the range from -32767 to 32767.
For a different range, for example from 0 to 255, use:

freelook_joystick_center = 127
freelook_joystick_range = 127

PiBoSo

July 11, 2019, 11:35:23 AM #5 Last Edit: October 19, 2019, 07:06:03 PM by PiBoSo
By default, a "mods" folder is automatically created in "My Documents"\PiBoSo\MX Bikes\
It is strongly recommended to install mods into this directory, instead of the MX Bikes installation folder.

It is possible to change the mods location adding the following lines:
[mods]
folder= d:\mxb\mods

If "folder" is empty then the directory "My Documents"\PiBoSo\MX Bikes\mods\ is used.

Zoulax

This doesnt work for me... OR i'm a bit confused. Please help... I cant install mods cause C: drive is taken up but if I move the folder to D: drive it doesnt work.. I added the lines but it still doesnt work. sorry to be a pain but please help.. I appreciate it. Thanks.

iNsane | WW



   🌐 MX Bikes custom content
MXB-Mods.com

   📚 MX Bikes User Wiki
MXB-Wiki.com

   💸 Feel free to donate
PayPal

Zoulax

I put that in the global.ini folder.... I dont know what to do from there.. Thanks heaps for the reply btw I know I sound hella stupid im just pretty basic with computers. I dont get where that steam part comes from either haha oh no.. I need to move the mods folder basically to the D: drive instead of C:... obviously this post is what that's about I guess.. Im just clueless. I apologise

iNsane | WW

Yeah, simply do that... Modify the "folder=..." To "folder=C:\PathToYourFolder"
My screenshot is just an example how it could look like, I have my games in G:\ and obviously I store my mods in a mods folder inside the MX Bikes installation directory.
It could also be C:\MXB Mods\mods


   🌐 MX Bikes custom content
MXB-Mods.com

   📚 MX Bikes User Wiki
MXB-Wiki.com

   💸 Feel free to donate
PayPal