Skip to content

About

BepInEx 6 (IL2CPP) telemetry bridge for CarX Drift Racing Online 2 to SimHub

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

CarX DRO2 - SimHub Telemetry Bridge

A lightweight BepInEx 6 (IL2CPP) plugin for CarX Drift Racing Online 2 that extracts real-time vehicle telemetry directly from game memory and streams it via UDP to SimHub (ShakeIt Bass Shakers, Dashboards, Motion, etc.).

✨ Features

  • Engine & Drivetrain: Live RPM, Max RPM (Rev Limiter), Optimal Shift RPM, Speed (km/h), Current Gear (R, N, 1..N), Turbo Pressure, and Engine Torque.
  • Pedals & Assists: Throttle, Brake, Clutch, Handbrake, Brake Bias, ABS trigger detection, and Traction Control status.
  • 4-Wheel Physics: Individual wheel slip (drift/spin), wheel lock (foot brake & handbrake), suspension velocity (road bumps & curbs), tire temperatures (inner/middle/outer), tire wear, dynamic pressure, and road surface detection.
  • G-Forces & Chassis: Longitudinal, lateral, and vertical accelerations, local velocities, and pitch/roll/yaw rates.
  • Smart State Detection: Automatically mutes telemetry in menus, garages, replays, and pause screens (both singleplayer and multiplayer).

📋 Prerequisites

  1. CarX Drift Racing Online 2 (PC).
  2. BepInEx 6 (Unity.IL2CPP x64): Download the latest build from BepInEx Builds or the BepInEx GitHub.
  3. SimHub: Download from simhubdash.com.

🚀 Installation

  1. Download the latest release .zip from the Releases page and extract it.
  2. Copy the .dll plugin file and carx.simdef into your game's BepInEx plugins folder:
    <Game_Folder>\BepInEx\plugins\
    
  3. Import the Included SimHub ShakeIt Profile (Optional):
    • Open SimHub > ShakeIt Bass Shakers > Profiles manager > Import profile and select the included .siprofile file.
    • ⚠️ Important Note for Handbrake / Wheels Lock: In your ShakeIt Bass Shakers settings for the Wheels Lock effect, make sure the minimum brake pedal threshold is set to 1% (the lowest possible value in SimHub). The mod automatically sends a minimum 2% brake signal when you pull the handbrake so that rear wheel locking triggers properly—if this threshold is set higher than 1%, handbrake wheel lock will not vibrate.
  4. Activate the Game in SimHub:
    • Launch CarX Drift Racing Online 2 once so the mod automatically registers carx.simdef into SimHub.
    • Restart SimHub and select CarX Drift Racing Online 2 from the Games tab.
  5. Hit the track! SimHub will automatically connect when you start driving and pause when you open the pause menu.

🛠️ Building from Source

  1. Clone this repository.
  2. Open the .csproj file in Visual Studio 2022+.
  3. Add references to your local BepInEx and interop DLLs (BepInEx.Core.dll, BepInEx.Unity.IL2CPP.dll, Il2CppInterop.Runtime.dll, UnityEngine.CoreModule.dll, CarX.Plugins.Core.dll, etc.).
  4. Build the solution in Release mode (Ctrl + Shift + B).

🙏 Credits & Final Words

  • A huge thank you to the BepInEx Team (@BepInEx) (especially Denikson and contributors) for their incredible work on the IL2CPP modding framework, without which this telemetry bridge wouldn't be possible.
  • Enjoy the mod to the fullest and have fun drifting! If you ever feel like thanking me for this work, please don't send donations—instead, go out and help someone around you, because that's how we make the world a better place. ❤️

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

About

BepInEx 6 (IL2CPP) telemetry bridge for CarX Drift Racing Online 2 to SimHub

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages