This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
g_hMapFile = OpenFileMapping(FILE_MAP_READ,FALSE,"Local\\GPBProxyObject");
void *pBuf = MapViewOfFile(g_hMapFile,FILE_MAP_READ,0,0,sizeof(SProxyData_t));
external programs can read GP Bikes output data.[hardcore]
directsteer=1
directsteer_maxtorque=30
directsteer_maxtorque2=0.5
angle
{
P = -250
D = -40
}
torque
{
threshold_velocity = 3
}
The "angle" section sets the parameters for direct angle control, used at low speed.gpbikes.exe -dedicated (port number) [-set params (config_file)]
gpbikes.exe -dedicated 54310 -set params dedicated.ini
[connection]
name =
maxclient =
password =
admin_password =
bandwidth = ; 0 -> very low, 1 -> low, 2 -> medium, 3 -> high, 4 -> very high
max_ping =
whitelist = ; the filename of the whitelist
blacklist = ; the filename of the blacklist
polls_disable = ; if set to 1, polls are disabled
location = ; information about server location
MOTD = ; message of the day
[export]
results = ; "html", "xml" or "both". If set it will automatically export results at the end of the race
directory = ; the directory where results will be saved ( must exist )
units = ; 0 -> metric units, 1 -> US units, 2 -> UK units
prefix = ; filename prefix of results
incremental = ; 0 or 1. If set to 1, results are exported at the end of each session
contacts = ; 1 -> contacts between bikes are added to the XML export, 2 -> contacts with walls are exported, too
[replay]
save = ; 0 or 1, If set to 1 it will automatically save the full replay at the end of the race
directory = ; the directory where replays will be saved ( must exist )
prefix = ; filename prefix of replays
[event]
name = ; the name of the event ( optional )
track = ; track ID ( the track folder name, for ex. Victoria ). If no track is found, then it is searched in the full names ( for ex. Assen to match "Assen 2005" )
track_layout = ; track layout ( for ex. Short ). Empty -> Default. If "track" is used to search in the full names, then "track_layout" is used as a second filter ( for ex. 2005 to choose between different versions of Assen )
track_paint = ; track paint file name ( without the PNT extension ). Empty -> Default
category = ; bike category allowed. Empty -> Open. Multiple categories can be set with a slash in between. For example: M2/GP500
allowed_bikes = ; list of ID of allowed bikes, separated by a slash. For example: schwaben_m2_18/varese_v594
[rating]
class = ; A -> 2000+, B -> 1600-1999; C -> 1200-1599; D -> 800-1199
[weather]
realistic = ; 0 or 1, if set to 1, following params are ignored
conditions = ; 0 -> sunny, 1 -> cloudy, 2 -> rainy
temperature = ; air temperature, celsius
wind_direction = ; 0 -> north, 1 -> north-east, 2 -> east, ..., 7 -> north-west
wind_speed = ; meters/second
track_conditions = ; 0 -> dry, 1 -> wet
[hardcore]
force_cockpit = ; 0 or 1
no_aids = ; 0 or 1
limited_tyre_sets = ; 0 or 1
[race]
testing_day = ; 0 or 1, if set to 1, the following race settings are unused
quick_race = ; 0 or 1. If set to 1, practice, warmup, sighting lap and warmup lap are skipped
practice_length = ; minutes
qualify_length = ; minutes
warmup_length = ; minutes
sighting_lap = ; 0 or 1
warmup_lap = ; 0 or 1
race_length = ; % of full length
race_use_laps = ; 0 or 1. If set to 1, race_laps is used instead of race_length
race_laps = ; number of race laps
restart_delay = ; server restart time in seconds. The default is 300, 5 minutes. If set at zero, there is no restart
pause = ; 0 or 1. If set to 1, the event is paused and saved at the end of "pause_session"
pause_session = ; practice, qualify, warmup or race
pause_directory = ; the directory where data is saved. The default is "resume"
resume = ; the file to load to resume an event
save = ; 0 or 1. If set to 1, the event is saved at the end of "save_session". If "pause" is set, this setting is ignored
save_session = ; practice, qualify, warmup or race
save_directory = ; the directory where data is saved. The default is "resume"
[live]
enable = ; 1 or 2 to enable live timing. If set to 1, data is sent through UDP packets ( more info: https://forum.piboso.com/index.php?topic=5419.0 ). If set to 2, data is written to a local file
port = ; the UDP port ( only used with "enable = 1" )
password = ; ( only used with "enable = 1" )
file = ; the name of the file to write ( only used with "enable = 2" )
track_position = ; 0 or 1. If set to 1, the track centerline and the position of all bikes are written, too ( only used with "enable = 2" )
contacts = ; 1 -> contacts between bikes are written, 2 -> contacts with walls are written, too ( only used with "enable = 2" )
[remote_admin]
enable = ; 1 to enable remote admin ( more info: https://forum.piboso.com/index.php?topic=9652.0 )
port = ; the UDP port. If missing or set to 0, port 54230 is used
password =
[dynamicsurface]
disable = ; 0 or 1. If set to 1, the dynamic track surface is disabled
persistent = ; 0 or 1. If set to 1, the dynamic track surface is not reset between events
[polls]
disable_during_races = ; 0 or 1. It set to 1, polls are disabled during races
[log]
file = ; the name of the file to write the dedicated server output to
track2=
track2_layout=
track2_paint=
track3=
track3_layout=
track3_paint=
...
...
track10=
track10_layout=
track10_paint=
The server will move to the next at each restart and wrap to the first after the last.[entry0]
guid = ........
[entry1]
guid = ........
[entry2]
guid = ........
The GUID can be read in the "Profiles" page.[entry0]
guid = ........
race_number = ...
name = ...
name_prefix = ...
bike_id = ...
extra = ........
g_hMapFile = OpenFileMapping(FILE_MAP_READ,FALSE,"Local\\WRSProxyObject");
void *pBuf = MapViewOfFile(g_hMapFile,FILE_MAP_READ,0,0,sizeof(SProxyData_t));
[params]
disable = 0
min_time = 40
delay = 5
sample_rate = 20
unique_filename = 0
data_maxsize = 8000000
[params]
disable = 0
min_time = 40
delay = 5
sample_rate = 20
unique_filename = 0
data_maxsize = 8000000
[windows]
compatibility=0
[display]
monitor=2