This program will allow you to display Discord Rich Presence information about your current car, performance index, and speed in Discord.
Forza Horizon 5 has the ability to send car telemetry data out to a server. This is commonly used for racing simulation devices such as dashboards and hydraulic-powered racing seats. This program uses the same telemetry data to show car information in Discord.
Note: Due to limitations with Universal Windows Platform (UWP) apps, you must run the following command in an elevated command prompt window (CMD as admin) if you want to run this program on the same machine that you're playing Forza Horizon 5 on!
Make sure Forza Horizon 5 is closed before running this command!
CheckNetIsolation.exe LoopbackExempt -a -n=Microsoft.SunriseBaseGame_8wekyb3d8bbwe
Steps to configure Rich Presence:
- Download the latest release and extract it somewhere on your desktop.
- Run the command above (only need to run it once per installation of Forza Horizon 4).
- In Forza Horizon 5, load into the game world, then go to
Settings > HUD and Gameplay
and scroll down to the bottom.- Set
Data Out
toOn
- Set
Data Out IP Address
to127.0.0.1
(or whatever local IP address is running the application) - Set
Data Out IP Port
to9909
- Set
- Start the application!
You should see some console output in the window that appears. Once you see the message stating that Discord is ready, you're good to go!
The info that shows the vehicle manufacturer and model is pulled from a separate web API that I created. Recording this data is a very time consuming task, as the only vehicle metadata that Forza returns is a unique ordinal ID for each vehicle. As such, every vehicle needs to be manually entered into the API database to be retrieved from the application.
If you would like to help out (it would mean a lot!), then please feel free to download the debug version of the application and run it to get the ID of the vehicle you're currently using. New vehicles can be submitted at the ForzaDB website.
If you would like to contribute to this project, feel free to send PRs with updates!
This project could not have been possible without the Turn 10 community and Lachee's Discord RPC package.