• Welcome to PiBoSo Official Forum. Please login or sign up.
 
March 28, 2024, 02:26:44 PM

News:

GP Bikes beta21c available! :)


Show posts

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.

Topics - PiBoSo

62
Documentation / Live Timing
November 11, 2017, 04:19:59 PM
It is possible to connect to a dedicated server to receive live race data.
The feature is off by default and must be enabled:
https://forum.piboso.com/index.php?topic=26.0
Only 1 client can connect to the server.

Communication is made with UDP sockets and strings terminated with "\n".

Send "CONNECT" followed by the connection password ( empty string if no password ).
Reply:
OK -> connected
FULL -> another client is already connected
WRONGPASSWORD -> wrong password

Send "START", followed by two parameter strings to start receiving data.
First parameter: "0" or "1". If set to "1", the track centerline and the track position of the bikes are sent, too.
Second Parameter: "0", "1" or "2". If set to "1", contacts between bikes are sent. If set to "2", then contacts with walls are sent, too.

Data format is "MSG" followed by the message ID and then a stream of strings.
Send "ACK" followed by the message ID after each MSG.

Send "KEEPALIVE" every 15 seconds to keep the connection active.
The server sends "ALIVE" to report that the connection is active.

Send "DISCONNECT" to correctly close the connection.

Example source code can be downloaded at this link: http://www.kartracing-pro.com/downloads/livetiming.c

Messages data format

EVENT
Type
- TESTINGDAY
- RACE
Name
Track
Track Length ( meters )
Allowed Categories and Bikes
Empty string

ENTRY
Race Number
Name
Bike Name
Bike Short Name
Categories
GUID
Extra Data
Empty string

ENTRYREMOVE
Race Number
Empty string

Testing Day:
SESSION
Session
- WAITING
- TESTINGDAY
State
Length
Empty string

Race:
SESSION
Session
- WAITING
- PRACTICE
- QUALIFY
- WARMUP
- RACE
State
if session = practice ( PRACTICE, QUALIFY, WARMUP )
- INPROGRESS
- COMPLETE
else if session = race ( RACE )
- SIGHTINGLAP
- WARMUPLAP
- PRESTART
- STARTSEQUENCE
- INPROGRESS
- RACEOVER
- COMPLETE
endif
Length ( minutes if practice, laps if race )
Empty string

WEATHER
Conditions
- CLEAR
- CLOUDY
- RAINY
Air Temperature
Ground Temperature
Empty string

DRIVERSTATUS
Race Number
State
- DNS
- RET
- DSQ
Reason ( empty if state is not DSQ )
- JUMPSTART
- TOOMANYOFFENCES
- DRIVETHROUGHNOTCLEARED
- DIRECTOR
Empty string

BESTLAP
Race Number
Session Time ( milliseconds )
Lap Time ( milliseconds )
Lap Number
Split 1 ( milliseconds )
Split 2 ( milliseconds )
Split 3 ( milliseconds )
Speed Trap ( meters/s )
Empty string

LASTLAP
Race Number
Session Time ( milliseconds )
Lap Time ( milliseconds )
Lap Number
Split 1 ( milliseconds )
Split 2 ( milliseconds )
Split 3 ( milliseconds )
Speed Trap ( meters/s )
Empty string

PENALTY
Race Number
Penalty Number
Type
- TIME
- DRIVETHROUGH
if type = TIME
Penalty Time ( seconds )
endif
Offence
- JUMPSTART
- PITLANESPEEDING
- CUTTING
Empty string

PENALTYCLEAR
Race Number
Penalty Number
Empty string

PENALTYCHANGE
Race Number
Penalty Number
Penalty Time
Empty string

LAP
Race Number
Lap Invalid
Session Time ( milliseconds )
Lap Time ( milliseconds )
Split 1 ( milliseconds )
Split 2 ( milliseconds )
Split 3 ( milliseconds )
Speed Trap ( meters/s )
Empty string

SPLIT
Race Number
Split Number
Split Time ( milliseconds )
Empty string

SPEED
Race Number
Speed Trap ( meters/s )
Empty string

CLASSIFICATION
Session
Status
Session Timer ( milliseconds )
Session Length ( minutes )
Session Lap
Number of Laps
Classification Type ( 0 -> none; 1 -> practice; 2 -> race )
if "Classification Type" is 1 or 2
Start Entry
Number of Entries
for each entry:
Race Number
if "Classification Type" is 1 ( practice, qualify, warmup )
Best Lap ( milliseconds )
Lap Number
Total Laps
Gap ( milliseconds, -- if zero )
Speed Trap ( meters/s )
else
Race Time ( milliseconds ) or Status
- DNS
- DSQ
Lap Number
Gap ( milliseconds or L if lapped )
endelse
Bike Status
- TRK: on track
- PIT: in the pits
endfor
endif
Empty string after the last entry

TRACKDATA
Start / Finish Longitudinal Position
Split 1 Longitudinal Position
Split 2 Longitudinal Position
Split 3 Longitudinal Position
Speed Trap Longitudinal Position
Number of Segments
Empty string

Always sent after TRACKDATA:
TRACKSEGMENT
Segment Number
Type ( 0 = straight, 1 = curve )
Length ( meters )
Radius ( meters )
Angle ( degrees )
Start Position X ( meters )
Start Position z ( meters )
Height ( meters )
Empty string

TRACKPOSITION
for each entry on track:
Race Number
Position X ( meters )
Position Y ( meters )
Position Z ( meters )
endfor
Empty string after the last entry

CONTACT
Time ( milliseconds )
Race Number 1 ( -1 for a wall )
Race Number 2 ( -1 for a wall )
Relative Impact Velocity ( meters/s )
Empty string

END
Empty string
63
General Discussion / Incline
October 18, 2017, 08:36:37 PM
One man band effort: http://store.steampowered.com/app/668170/Incline/

Congratulations to the developer, regardless...
Not the best graphics, but he has published more than Black Delta, that probably has a thousand times the budget  ;D
64
General Discussion / Misano GP
September 06, 2017, 08:20:58 PM

I will be at the Misano circuit on Friday to watch FP1 and FP2.
If you happen to be where, please say hi!
65
General Discussion / GP Bikes beta12b
September 03, 2017, 08:53:27 PM

GP Bikes beta12b released:
http://www.gp-bikes.com/?page=downloads
( download mirrors would be extremely helpful and welcome )

Changelog:
- fix: helmet paint selection
- fix: tyres compound, blur, wear and dirt textures
- fix: engine limiter sound in replays
- fix: multiplayer bug
- new: automatic dab
66
Documentation / VR Support
August 28, 2017, 12:37:07 PM
When installing GP Bikes a desktop shortcut named "GP Bikes - VR" should be created.
It launches GPB with the "-vr" command line switch, that enables VR support.

If both a Rift and a Vive are installed on the same PC, it's possible to force Oculus using the "-vro" switch, and SteamVR using "-vrs".

In GP Bikes -> Settings -> Input3 it's possible to set the control to reset the VR camera tracking. The default key is F8. It resets the position and rotation of the user interface virtual screen, too.

It is possible to change the Oculus pixel density, creating a text file called oculus.ini in the GPB installation folder and adding the following lines:
[render]
pixel_density=1.5

By default, the rendering of both eyes is mirrored to the GPB window.
It is possible to change the mirroring setting creating a text file called oculus.ini or openvr.ini in the GPB installation folder and adding the following lines:
[mirror]
eye = 2
The possible values are:
-1: mirroring disabled
0: left eye
1: right eye
2: both eyes

On Oculus only, it is also possible to add, under the "mirror" section
post = 1
to show the barrel distorted render in the desktop window.

For SteamVR only, it is possible to add to the openvr.ini file
[ipd]
scale = 0.9
to modify the IPD, changing the world scale.

Note: If the Windows Taskbar overlaps the GPB window preventing the cursor from reaching the bottom of the user interface, please try right clicking on the shortcut icon and, in the Properties, selecting Run Maximized.


Known Bugs
- HTC Vive ( SteamVR ): transparent asphalt in the user interface
67
General Discussion / GP Bikes beta12
August 24, 2017, 02:16:43 PM

GP Bikes beta12 released:
http://www.gp-bikes.com/?page=news

Download:
http://www.gp-bikes.com/?page=downloads
( download mirrors would be extremely helpful and welcome )
68
Custom hardware / Cruden Simulator
May 23, 2017, 09:38:21 AM

http://www.youtube.com/v/DHQYniah_GM

What software is that?  ???
Oh, the humanity!
71
General Discussion / World Racing Series beta11b
March 02, 2017, 10:58:38 PM

World Racing Series beta11b released:
http://www.worldracingseries.net/?page=downloads
( download mirrors would be extremely helpful and welcome )

Changelog
- added code to, hopefully, minimize the crashes with large replay buffers
- fixed a replay bug
- helmet selection saved for each car
- removed limits on the number of tracks, cars, helmets, paints
- fixed the rolling start data in the server info dialog
72
General Discussion / GP Bikes beta11b
March 01, 2017, 11:38:32 PM
GP Bikes beta11b released:
http://www.gp-bikes.com/?page=downloads
( download mirrors would be extremely helpful and welcome )

Changelog
- fixed the suit paint selection
- added code to, hopefully, minimize the crashes with large replay buffers
- fixed a replay bug
- rider and riding style selection saved for each bike
- helmet selection saved for each rider
- removed limits on the number of tracks, bikes, helmets, paints
73
Bikes / IK Links Debug Mode
February 18, 2017, 07:22:33 PM
Inverse kinematic is used to animate the chain, to link the rider hands to the handlebars, to link the boots to the pegs and to prevent the knees from sinking into the ground.

To show the link points ( cyan ) and the targets ( magenta ), edit the file global.ini ( by default generated in "My Documents"/PiBoSo/GP Bikes/ ) and add:
[debug]
links = 1
74
Cars / IK Links Debug Mode
February 18, 2017, 05:35:37 PM
Inverse kinematic is used to animate the suspensions and to link the driver hand to the shift lever.

To show the link points ( cyan ) and the targets ( magenta ), edit the file wrs.ini ( located in the wrs folder in the World Racing Series installation folder ) and add:

[debug]
links = 1
75
Documentation / Direct connection
February 17, 2017, 08:43:07 PM
To directly connect to a server, launch gpbikes.exe with the following params:
gpbikes.exe -directconnect (ip address):(port)

for example:
gpbikes.exe -directconnect 127.0.0.1:54311
76
Documentation / Direct connection
February 17, 2017, 08:42:41 PM

To directly connect to a server, launch core.exe with the following params:

core.exe -directconnect (ip address):(port)


for example:

core.exe -directconnect 127.0.0.1:10511


77
General Discussion / World Racing Series beta11
February 17, 2017, 01:01:48 PM

World Racing Series beta11 released:
http://www.worldracingseries.net/?page=news

Download:
http://www.worldracingseries.net/?page=downloads
( download mirrors would be extremely helpful and welcome )
78
General Discussion / GP Bikes beta11
February 16, 2017, 11:17:45 PM

GP Bikes beta11 released:
http://www.gp-bikes.com/?page=news

Download:
http://www.gp-bikes.com/?page=downloads
( download mirrors would be extremely helpful and welcome )
79
Bikes / FontGen
December 13, 2016, 06:47:26 PM
The FontGen is a command-line program.

Configuration file format:

[config]
name = Arial Bold
code_page = 1252
char_start = 32
char_end = 255
bitmap_x = 512
bitmap_y = 512
spacing = 4
filename = arialbd.ttf
scale = 0.8


Code pages: https://en.wikipedia.org/wiki/Code_page#Windows_code_pages
80
General Discussion / World Racing Series beta10b
December 09, 2016, 01:11:25 AM

World Racing Series beta10b released:
http://www.worldracingseries.net/?page=downloads
( download mirrors would be extremely helpful and welcome )


Changelog
fix: replay bug
fix: race manager bug
fix: reflections bug
fix: plugins rendering bug
fix: more smaller bugs
fix: reflections and shadows optimization
fix: VR tracking in the external views, too
fix: pitboard bugs
fix: pitboard optimization
fix: possibility to set the same gearbox input to sequential lever, paddle and H-pattern controls


Release Notes
- Replays are not compatible with Beta10 and previous