How To Run The Sample Source Codes for Forza Horizon 4

You can learn how to run the source codes and receive UDP telemetry data of Forza Horizon 4.

  • HOME
  • How To Run The Sample Source Codes for Forza Horizon 4

How to run the Sample Source Code for Forza Horizon 4

Introduction

The Sample Source Code for Forza Horizon 4 is made for Forza Horizon 4 (Xbox One).

This source code allows you to receive Forza Horizon 4 telemetry data via UDP communication.

Demo Video

 

How To Use

Step.1 Connect your mac to the same WLAN as Xbox One

To receive Forza Horizon 4 telemetry data on your mac, you need to connect your mac to the same Wireless LAN (WLAN) as Xbox One.

Step.2 Open the downloaded Sample Source Code (FORZAH4_Sample.xcodeproj) in your Xcode App

Step.3 Find out your mac’s IP address in System Preferences

Step.4 Start Forza Horizon 4 & Go to SETTINGS > HUD AND GAMEPLAY

Step.5 Set the values on the Telemetry Settings

DATA OUT ON
DATA OUT IP ADDRESS Enter your IP Address of your mac
DATA OUT IP PORT 20777

Now you can receive the telemetry data from Forza Horizon 4.

Step.6 Click the run button in the Xcode App

Now Xcode waits for telemetry data to be received from your Xbox One.

Step.7 Start Driving

Xcode automatically receives telemetry data and displays it on the console now.

That’s it! Now you can enjoy to see the telemetry data of Forza Horizon 4.

Have fun!