Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 1.23 KB

README.md

File metadata and controls

37 lines (25 loc) · 1.23 KB

libforza

A simple C library for receiving Forza telemetry Compatible with Forza Motorsport 7, Forza Horizon 4 and 5

OS Support

Only compatible with Linux, WSL can be used on Windows, set Forza Data Out IP Address to WSL IP Address found with ip a

Tested on Ubuntu 20.04 with GCC 9 and NixOS with GCC 10

Installation

  1. Clone the repository
  2. Build with make
  3. Install with sudo make install
  4. Enable "Data Out" in Forza Settings
    • This is usually near the bottom of HUD AND GAMEPLAY
    • If using Forza Motorsport 7, set Data Out to CAR DASH
    • Set IP address to 127.0.0.1 if running on same machine as game, or machine's IP address
    • Set port to
      Game Port
      Forza Motorsport 7 9917
      Forza Horizon 4 9924
      Forza Horizon 5 9925

Usage

View demo.c for an example implementation of the library

View forza.h to see available functions as well as the ForzaTelemetry data structure

Network Isolation

Bypassing UWP network isolation is unnecessary because either the game will be launched with Steam (on Linux), or not connect with localhost (e.g. WSL, remote machine).