This is my first Simhub plugin. I originally created it so I can directly access the leaderboard during game competitions, and it's styled after the Rally.TV leaderboard.
First, let's take a look at the final result:
SimHub UI:time trial leaderboard
SimHub UI:club leaderboard
In-Game Dash Overlay:
Installation:
Source Code:
- This plugin is only tested on EA WRC 23, so it may not work on other games.
- This plugin is my first simhub plugin, so there might be bugs here and there. I highly recommend turning on the logging page of SimHub. It makes it easy to check if there are any errors.
First, let's take a look at the final result:
SimHub UI:time trial leaderboard
SimHub UI:club leaderboard
In-Game Dash Overlay:
Installation:
- Make sure you have installed latest version SimHub on your PC.
- Download the latest release.
- Extract the .dll file to the SimHub root folder.
- Double click .simhubdash file to import the Dash Overlay
- Launch SimHub, go to Add/remove features -> Plugins, enable Racenet Receiver plugin.
- Go to Tab Racenet Receiver in SimHub, Click INPUT TOKEN button to open the input dialog.
- Get your refresh token from Racenet.com
- open racenet.com in browser
- login with your EA account
- open developer tools in browser (clrt+shift+i in chrome, firefox, etc.)
- copy the refresh_token
- Paste the refresh_token to the input dialog, click `OK` to connect to racenet.com.
- Now you will be able to see the time trial leaderboard and club leaderboard in the plugin tab.
- You can set Hotkey to control the Dash Overlay.
Under Dash Studio > Controls, bind hotkey to "Show next dash screen" for switch leaderboards, and "Trigger dash action A" to switch between compact layout or expand layout. - To make the Club page in Dash Overlay work, you needs to select a club in the drop down menu.
- Following properties are added to the `Available properties` tab, you can use these raw data from racenet in the dashboard editor.
- RacenetDataReceiver.Racenet.rawData.clubChampionshipInfo
- RacenetDataReceiver.Racenet.rawData.clubLeaderboardCurrentStage
- RacenetDataReceiver.Racenet.rawData.clubListData
- RacenetDataReceiver.Racenet.rawData.currentClubName
- RacenetDataReceiver.Racenet.rawData.currentClubWeatherAndSurface
- RacenetDataReceiver.Racenet.rawData.leaderboard.dry
- RacenetDataReceiver.Racenet.rawData.leaderboard.wet
- RacenetDataReceiver.Racenet.rawData.nationalityID
- RacenetDataReceiver.Racenet.rawData.personalInfo
- RacenetDataReceiver.Racenet.rawData.timeTrialPreInfo
Source Code:
GitHub - aaronfang/Simhub-Plugin-RacenetReceiver: Simhub plugin to get data from Racenet.com
Simhub plugin to get data from Racenet.com. Contribute to aaronfang/Simhub-Plugin-RacenetReceiver development by creating an account on GitHub.
github.com