• Welcome to PiBoSo Official Forum. Please login or sign up.
 
August 05, 2020, 07:32:26 AM

global.ini

Started by PiBoSo, February 17, 2013, 04:55:19 PM

Previous topic - Next topic

PiBoSo

February 17, 2013, 04:55:19 PM Last Edit: September 07, 2019, 10:21:41 PM by PiBoSo

There are a few settings that are only available manually editing the global.ini file that is generated in "My Documents"/PiBoSo/GP Bikes/ ( if "compatibility" is set to zero, in the "gpbikes" directory in the GP Bikes installation folder ).

Under [core] section ( must be created ):

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.

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

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.
"Obviously your ambition outweighs your talent".

PiBoSo

December 20, 2013, 11:32:14 AM #1 Last Edit: October 19, 2019, 03:29:40 PM by PiBoSo
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.
"Obviously your ambition outweighs your talent".

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
"Obviously your ambition outweighs your talent".

PiBoSo

February 06, 2019, 05:16:35 PM #3 Last Edit: October 19, 2019, 05:06:40 PM by PiBoSo
By default, a "mods" folder is automatically created in "My Documents"\PiBoSo\GP Bikes\
It is strongly recommended to install mods into this directory, instead of the GP Bikes installation folder.

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

If "folder" is empty then the directory "My Documents"\PiBoSo\GP Bikes\mods\ is used.
"Obviously your ambition outweighs your talent".