• Welcome to PiBoSo Official Forum. Please login or sign up.
 
December 01, 2021, 09:52:07 PM

News:

GP Bikes beta19b 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

1
Mods / Conversion tools
November 13, 2021, 10:16:42 AM
The conversion tools have been moved to a separate download: https://www.worldracingseries.net/?page=downloads

Changelog
fbx2edf:
- added support for skinned models
- added support for animations
2
Mods / Conversion tools
November 12, 2021, 11:10:09 PM
The conversion tools have been moved to a separate download: https://www.gp-bikes.com/?page=downloads

Changelog
fbx2edf:
- added support for skinned models
- added support for animations
3
Tracks / Track registration
November 06, 2021, 08:57:31 AM
To register a track head to this address: http://www.piboso.com/trackreg/trackreg.php

Select "GP Bikes" on top.

Track ID: the name of the directory of the track.
Track Layout: the name of the directory of the layout. Empty for base track.
Track Name: the name as it will appear in statistics.
Track Code: is generated during collisions ( TRP file ) export.

Race data ( RDF file ) and track layout data ( LYT file ) are automatically registered when completing the first online lap using a registered bike: https://forum.piboso.com/index.php?topic=9669.0.

To update an already registered track, set Track ID and provide the previous code in Prev. Track Code. All records are deleted and race data is cleared.
4
General Discussion / GP Bikes beta20 WIP
April 06, 2021, 11:41:52 AM
So far, there have been three main changes to GP Bikes:
1) the multibody simulation accuracy has been increased. The steer vibration, especially in low-speed corners, has thus been greatly reduced ( almost removed ), without the need to tune the steer damper
2) work on a "stability helper" is in progress. It helps keeping the bike from crashing at the max lean angle and it makes the riding experience less frustrating, for example when there is a sudden camber change in the track surface ( like at the Victoria downhill hairpin ). The helper is of course optional but, even if enabled, it will not turn GP Bikes into an arcade game
3) the user interface is being extended to widescreen, and the replay / spectate page will be re-designed

Other changes so far:
- fixed support for stands, rider and dashes in the "mods" folder
- fixed the dangling leg at the first Adriatic Circuit corner
5
Documentation / Undocumented features
February 09, 2021, 09:46:12 PM
- Pressing the ESC key goes back to the previous page.

- Pressing the ESC key when a dialog is open is equivalent to clicking on the "Close" / "Cancel" / "No" button.

- Pressing the Enter key when a dialog is open is equivalent to clicking on the "Yes" button ( or "Return to Pit" when the on-track dialog is open ).

- When an editbox is active, it is possible to copy text from the clipboad pressing Left Ctrl + V
6
Documentation / Chat commands
February 09, 2021, 05:46:50 PM
It is possible to send a private message typing '@' followed by the client's name ( or #race number), followed by the message.
For example, to send a private "Hello" to Adam with race number 7 you can type:
@A Hello
@Adam Hello
@#7 Hello
7
General Discussion / GP Bikes beta19b
February 08, 2021, 10:20:25 PM
GP Bikes beta19b available:
http://www.gp-bikes.com/?page=news

It is possible to download a patch at this link, to avoid having to re-download the whole installer:
http://www.gp-bikes.com/downloads/gpbikes-beta19b_p.zip
To install it, simply unpack the zip file in the GP Bikes installation folder.

Download:
http://www.gp-bikes.com/?page=downloads
( download mirrors would be extremely helpful and welcome )
8
Documentation / Disable joystick input
January 19, 2021, 09:56:59 PM
It is possible to disable an input of a joystick.
This could be useful, for example, to disable a broken potentiometer that is outputting noise.

The file joysticks.cfg is automatically read at startup.
It is possible to add multiple joysticks: "name" is the name of the joystick as it appears in the "Calibration" page of GP Bikes.
The names of the inputs are the same of the calibration page:
x, y, z, rx, ry, rz
slider1, slider2
pov1 to pov4
button1 to button32

The default joysticks.cfg disables the buttons linked to the triggers of the PS4 pad, so that it is possible to assign them as analog inputs.
9
Documentation / Client Port
January 01, 2021, 09:55:50 PM
It is possible to change the port used when connecting to a server, using the "-clientport" launch parameter:
core.exe -clientport (port)
For example:
core.exe -clientport 54311
The default port is 54310

This option can be useful, for example, when multiple PCs on a local network need to connect to the same server.
10
Documentation / Network Ports
December 30, 2020, 09:17:32 PM
GP Bikes uses UDP ports 54300 and 54310 for the network protocol.
11
Bikes / Bike registration
December 29, 2020, 12:18:16 PM
Starting with GP Bikes beta19, it is possible to register bikes to have best laps and other statistics recorded.

1) Enable physics debug mode: https://forum.piboso.com/index.php?topic=3767.0

2a) The bike folder must be unpacked, not a PKZ file.
2b) While on track in testing mode, press Left Ctrl + B to generate a new "registration.bin" file ( in the bike folder ) and a code.
2c) The bike ID ( the bike folder name ) and code should be saved in the "gpbikes/bike.txt" file in the GP Bikes installation directory.
2d) Please save the code to a safe place, so it can be used for updates.

3) Register the bike at http://stats.gp-bikes.com/bikereg.php
"Prev. Bike Code" is only used to update the data and must be left empty when registering the bike for the first time.

4) Finalize the registration completing at least a lap on a "World" server or dedicated server.

5) Pack the mod for release, making sure to include the "registration.bin" file.

6a) If any of the elements of the bike ( tyres, rider ) is changed, then the registration must be updated, using the old code.
6b) If the name or category need to be changed, it is possible to re-use the same code in "Prev. Bike Code", without the need to generate a new one ( steps 1 and 2 ) and re-release the mod ( step 5 ).
12
Documentation / Remote Admin
December 27, 2020, 04:51:42 PM
It is possible to connect to a dedicated server to send admin commands.
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

Data format is "CMD" followed by an incremental message ID and then the command.
The possible commands are:
"QUIT": closes the server
"MSG": followed by the chat message, that also allows to send commands ( see the dedicated server documentation for more info: https://forum.piboso.com/index.php?topic=26.0 )

The server will send an ACK followed by the message ID for each CMD received.

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: https://www.kartracing-pro.com/downloads/remoteadmin.c
13
General Discussion / GP Bikes beta19
December 25, 2020, 10:04:32 PM
GP Bikes beta19 available:
http://www.gp-bikes.com/?page=news

Download:
http://www.gp-bikes.com/?page=downloads
( download mirrors would be extremely helpful and welcome )
14
Mods / Rider animations
July 24, 2020, 10:00:59 PM
At this link it is possible to download the skeleton of the rider in FBX format: https://www.gp-bikes.com/downloads/gpb_rider_templates.zip

When importing the FBX file in 3dsmax, please make sure to not convert the bones to dummy.

Conversion tools:
http://www.gp-bikes.com/?page=downloads

When exporting the FBX file from Blender, please make sure that the Primary Bone Axis is set to "X Axis" and the Secondary Bone Axis is set to "-Z Axis".

List of animations names ( hardcoded ):
leaning braking
leaning
leaning accelerating
headlean braking
headlean
headlean accelerating
leaning standing *
headlean standing *
dangling leg left *
dangling leg right *
Clutch
Clutch Blend
Raise Arm
Complaint
Frustration
Celebration
Throttle
Front Brake
Front Brake Blend
left foot start
left foot stop
right foot start
right foot stop
both feet start
both feet stop
push forwards
push backwards
LookBack Left
LookBack Left Stop
LookBack Right
look left
look right
Tearoff
Tearoff Speed
Detach Left
Detach Right
Slide
Slide Stop
The animations marked with '*' are optional. If missing, they are disabled.

While a script is not strictly needed to export an animation ( by default all the keys are exported as one animation ), in practice a script is needed, to set the bones' weight and to split a single MAX file into multiple animations.
Script example:
[params]
type=4

[Hierarchy]
split = 1
rotation = 0 180 0

Point01 = rider.anm

[animation]
split=1
config=animations_lean.txt

"animations_lean.txt" file content:
num_animations = 2
animation0
{
    name = leaning
    start = 0
    end = 50
}
animation1
{
    name = headlean
    start = 0
    end = 50
}

leaning
{
    weight0
    {
        obj = Point01
        weight = 1
    }
    weight1
    {
        obj = riderRIG_Neck1
        weight = 0
    }
    weight2
    {
        obj = riderRIG_RightWrist
        weight = 0
    }
}
headlean
{
    weight0
    {
        obj = Point01
        weight = 0
    }
    weight1
    {
        obj = riderRIG_Neck1
        weight = 1
    }
}
Please note that, when setting the weight for a bone, the whole hierarchy below it is set to the same value as well.
This feature is useful to avoid setting the weight for all individual bones.
Also, please note that it is possible to set "start" to a value higher that "end", to invert the animation.
15
Documentation / gpbikes.ini
July 03, 2020, 08:43:05 AM
It is possible to set the audio output device manually editing the file "gpbikes/gpbikes.ini", in the GP Bikes installation folder,
to change "driver" under the "sound" section.

[SOUND]
driver=0

0: default device
1: first device
2: second device
...
16
General Discussion / GP Bikes beta18c
June 17, 2020, 08:46:09 PM
GP Bikes beta18c available:
http://www.gp-bikes.com/?page=news

It is possible to download a patch at this link, to avoid having to re-download the whole installer:
http://www.gp-bikes.com/downloads/gpbikes-beta18c_p.zip
To install it, simply unpack the zip file in the GP Bikes installation folder.

Download:
http://www.gp-bikes.com/?page=downloads
( download mirrors would be extremely helpful and welcome )
17
General Discussion / GP Bikes beta18b
May 30, 2020, 09:33:25 PM
GP Bikes beta18b available:
http://www.gp-bikes.com/?page=news

It is possible to download a patch at this link, to avoid having to re-download the whole installer:
http://www.gp-bikes.com/downloads/gpbikes-beta18b_p.zip
To install it, simply unpack the zip file in the GP Bikes installation folder.

Download:
http://www.gp-bikes.com/?page=downloads
( download mirrors would be extremely helpful and welcome )
18
General Discussion / GP Bikes beta18
May 27, 2020, 05:39:43 PM
GP Bikes beta18 available:
http://www.gp-bikes.com/?page=news

Download:
http://www.gp-bikes.com/?page=downloads
( download mirrors would be extremely helpful and welcome )
19
General Discussion / GP Bikes beta17
February 11, 2020, 03:40:33 PM

GP Bikes beta17 available:
http://www.gp-bikes.com/?page=news

Download:
http://www.gp-bikes.com/?page=downloads
( download mirrors would be extremely helpful and welcome )
20
Physics / Front Suspension Geometry
February 05, 2020, 11:18:51 AM
GP Bikes supports 4 types of front suspension geometry.

1) "Telescopic". Used on almost all racing bikes.

2) "Push Arm". The front wheel is attached to an arm, with the pivot behind.
Example: speedway bike.

3) "Trail Arm". Same as push arm, but the pivot is in front of the wheel.
Example: Vespa.

4) "Rigid". There is no suspension and the front wheel is connected directly to the steer.
Probably only used on minibikes.