Resource icon

WRC Telemetry Patch 1.2

Login or Register an account to download this content
# WRC Telemetry

This is a patch for WRC 7/8/9/10 that enables telemetry through shared memory.

Included you will find:
  • `WrcInjectionPayload.dll` -- a replacement DLL for `PhysXCooking64_s.dll`
  • `DirtRally2.exe` -- pretends WRC is DiRT Rally 2.0 for use with dashboards and motion systems

## Installation

Unzip `wrc-telemetry.zip` in WRC's installation folder then run `Install.bat`.

## Manual installation
  1. Unzip `wrc-telemetry.zip` in WRC's installation folder.
  2. Rename `PhysXCooking64_s.dll` to `PhysXCooking64_s_org.dll`.
  3. Rename `WrcInjectionPayload.dll` to `PhysXCooking64_s.dll`.

NOTE: The file `PhysXCooking64_s_org.dll` must exist. It must be the original `PhysXCooking64_s.dll` from the latest version of the game.

## Usage

  1. Install using the instructions above.
  2. (optional) Start `DirtRally2.exe` to pretend that WRC is DiRT Rally 2.0. This is necesarry unless your dashboard/buttkicker/motion system includes support for this patch.
  3. Start your dashboard/buttkicker/motion system.
  4. Start WRC.
  5. Enjoy :)
### Usage with SimTools

SimTools does not include native support for this telemetry protocol (as of Jan 2021.) Instead use
the included DiRT Rally 2.0 emulator:

DirtRally2.exe /port 4123 /protocol simtools

SimTools doesn't start unless the game is "Patched". Follow the prompts issued by SimTools and select the folder Documents\My Games\DiRT Rally 2.0 when prompted (even if you don't have DiRT Rally 2.0 installed.)

### For use with SimHub

SimHub does not include native support for this telemetry protocol (as of Jan 2021.) Instead use
the included DiRT Rally 2.0 emulator:

DirtRally2.exe /protocol extradata3

SimHub will complain that "DiRT Rally 2.0 telemetry is not configured". Ignore these warnings.


## Will it break in the future?

Yes.

When Epic Games decides to update the game it will overwrite `PhysXCooking64_s.dll` with an unpatched copy. Run `Install.bat` to fix the issue.

The patch is resilient to smaller changes in WRC. However, if major changes are made to WRC this patch will stop working permanently.

## Where is the source code?

I've shown this is possible. Now do it yourself.

## Is this legal?

Yes. This package includes no copyrighted code or other assets. IANAL.

## Telemetry protocol

C++:
#include <inttypes.h>

constexpr const wchar_t *SHARED_MEMORY_NAME =
    L"Local\\WRC-8wSotWzFKAhBlbW10ZJBKaWMdWszbBXg";

#pragma pack(push, 1)

struct WrcTelemetry
{
    uint32_t sequence_number; // Odd while game is updating shared memory
    uint32_t version; // Version of this struct

    // Version 1:
    int32_t gear; // Neutral = 1, First = 2, ...
    float velocity[3]; // Left, up, forward [m/s]
    float acceleration[3]; // Left, up, forward [m/s^2]
    int32_t engine_idle_rpm; // [rpm/10]
    int32_t engine_max_rpm; // [rpm/10]
    int32_t engine_rpm; // [rpm/10]
    float suspension_travel[4]; // It can move this much (LF,LR,RR,RF) [m]
    float suspension_position[4]; // From zero to `suspension_travel` [m]
    float unknown[4]; // (LF,LR,RR,RF) [?]
};

#pragma pack(pop)

## Known issues
  • Lap time not available (compatibility value is guesstimated)
  • Sector time/diff not available
  • In game RPM meter does not match reported RPM value (game UI bug?)
  • WRC 10: No telemetry during introduction session
## License

I consider this public domain. Integrate and distribute at your hearts content.

Please respect this third party license: https://github.com/microsoft/Detours/blob/master/LICENSE.md

## Changelog

Version 1.1:
  • Semantic versioning
  • Adds UDP packet rate limiting; use `/rate` flag to adjust
  • Gear was off by one for DiRT Rally 2.0 compatibility
  • RPM was off by factor 10 for DiRT Rally 2.0 compatibility
Version 1.2:
  • Adds support for WRC 10

Latest updates

  1. Version 1.2

    Changes in v1.2 Add support for WRC 10 Known issues WRC 10: No telemetry during introduction...
  2. Version 1.1

    Changes in v1.1 Semantic versioning Adds UDP packet rate limiting; use `/rate` flag to adjust...

Latest reviews

after the last WRC update I get the wrong shift warning if I use Simdashboard. The limiter turns on at about 6000
I do not get it to work for wrc 10. I have tried several times and the only thing that has happened is that I had to reinstall the game. Hope this gets an update that makes it work to make it easier to download.
Awesome and much better than expected. For Sim Commander you need to use Space Monkey:
https://github.com/PHARTGAMES/SpaceMonkey
If 1.0.5 doesn't work (like here) use the 1.0.4 version
Crack!
Thank you!
It works with Fanaleds using this:
DirtRally2.exe /port 30500 /protocol extradata3
Giving this 2 stars because it seems to largely work with WRC7/8/9 from everything I've read so far, however this completely broke my WRC10 and I am now unable to connect to the global leaderboards. Attempted to remove the files from the zip and validate my files via steam but still was unable to connect to the leaderboards after validations completed. Currently completely reinstalling the game in hopes that it fixes this issue, may be updating in the future.
Thank you @sim4all. Hopefully I'll be reading good news from @Wotever soon.
I am using simdashboard on android. It works fine with WRC7, but not at all with 10. I am using the latest 1.2 version of this telemetry program.

I'm not sure if it's simdashboard that needs to be updated (it's fully updated as it is) or there is a bug on my end. I've tried it several times and it's a no-go.
Absolutely genius - I cannot play without bass shakers and external gear display. This patch finally makes the WRC games playable for me! Thanks!
Works perfectly! Hopefully it will work with wrc 10 also. Does anyone know if its maybe also workin with 10? :)
Also using with Sim Dashboard on Android and it's worked flawless. Huge thank you for making this!!! Hopefully this will work with WRC 10 when it is released too!
Thank you, works great with Sim Dashboard for android.
I wish I had more data, but it's already great. Thank you very much.
Works really well. It was great to install based on the video. Every installation should be done with an installation video, thanks for the video I was able to install the update after watching it. Big thanks again.
Finally - shakers and dash for WRC! Thank you so much.
Works great for WRC 8! here's the video tutorial I made on how to get it working!
https://youtu.be/IV7srAtU9Zs
The game doesnt open if i install this (WRC9) not working right now at least for me
Thanks a lot for this, i'm testing right now to integrate it inside simhub, it gives a super basic dash, but a good shaker feedback !

Concerning the "unknown" field, it's clearly related to wheel rotation, but hard to say the unit, it tried, radians, m/s, nothing seems totally correct, but at least it's proportionnal that's enough for me !
the dream can true for the must have app !!!
Thank You Sr
Fantastic patch, now I can get some feedback from bass shakers and rev leds work in Simhub. Thank you!!!!

RaceDepartment Store

  • Featured
Real-Time Data Displayed in Panoramic HD Buy now from MOZA Racing ($299,00) Large Full Color HD Digital Dash At 5-inches with 16.7 million colors, and a screen resolution of 800x480. Drivers have a stunning digital dash that can display car status, lap times, and more. Aluminum Alloy Frame...
  • Featured
GT racing style wheel. Standard 300 mm GT wheel diameter. Grab ahold of the GS wheel and have a real racing experience. Buy now from MOZA Racing ($499,00) Alcantara® Made In Italy The GS is wrapped in Italian made Alcantara which feels exquisite. Forged Carbon Fibre Framework & Shifter Paddle...
  • Featured
Made from high-strength steel to ensure superior quality and exceptional endurance, the MOZA SRP Pedals come with adjustable pedal spacing and can be directly connected to a PC through the USB port. Buy now from Moza Racing ($39.90 – $218.90) With a high-precision pressure sensor of up to...
  • Featured
RaceDepartment
Views
1k
Reaction score
1
Questions
1
The MOZA CM Digital Dash is a 5-inch colored HD dash, with 16.7 million colors and a 800 x 480 resolution that ensure stunning picture quality. The futuristic thin, floating dash sports a 60Hz refresh rate, and is compatible with most mainstream sim racing titles. Buy now from Moza Racing...
  • Featured
Comfortableness is just as important as performance. The Alcantara made in Italy offers you luxury supercar hand feel. For racers who prefer geniune leather, the fine graine leather will never let you down. Buy now from MOZA Racing ($499,00) Forged Carbon Fiber Magnetic Shifter The steering...
  • Featured
With 16Nm of torque on tap the R16 can lay down an ultra-wide torque range that accurately reproduces the dynamic steering characteristics of top racing cars from F1 to IndyCar. Feel the road through the steering wheel. Buy now from MOZA Racing ($999,00) Beauty is Power Inspired by supercars...
Author
motion4all
Downloads
3,124
File size
38.5 KB
Views
42,496
First release
Last update
User rating
4.52 star(s) 23 ratings
Top