Skip to content

About

Lightweight Discord Rich Presence for Forza Horizon 2 on Azimuth. Standalone app

Topics

Resources

Contributing

Stars

4 stars

Watchers

0 watching

Forks

Repository files navigation

AzimuthRPC

AzimuthRPC

Discord Rich Presence for Forza Horizon 2 on Azimuth.
Show your current car, speed, approximate location and in-game activity directly on Discord.

Download latest release Report an issue Source-available license

Features

  • Live Discord Rich Presence for Forza Horizon 2 through Azimuth.
  • Current car detection with friendly vehicle names.
  • Live speed display.
  • Approximate mainland location from player position.
  • Detection for Pause Menu, Photo Mode, World Map, Horizon Hub, Garage and Loading states.
  • Two ways to run it: a standalone Windows tray app or a native FH2ML mod.
  • Automatic Discord reconnect and presence refresh.
  • Native diagnostic logging for compatibility and car-detection reports.
  • Source available for inspection, local builds and development under the project license.

Download & install

Requires Discord desktop, Windows x64, Azimuth and your own copy of Forza Horizon 2.

Download the newest build from GitHub Releases.

Standalone

  1. Download the Windows standalone package from the latest release.
  2. Start Discord desktop.
  3. Launch Azimuth and Forza Horizon 2.
  4. Run AzimuthRPC.exe.
  5. AzimuthRPC stays in the system tray and connects automatically when the supported FH2 build is detected.

FH2ML mod

Download FH2ML-AzimuthRPC-<version>.zip from the latest release and extract it as one FH2ML mod:

Azimuth/
  mods/
    azimuth-rpc/
      AzimuthRPC.dll
      mod.json
      README.md

The native mod runs inside Azimuth/FH2ML and talks directly to Discord IPC. Do not run the standalone EXE and FH2ML DLL at the same time, or both may try to update the same Rich Presence.

Compatibility

AzimuthRPC currently targets Forza Horizon 2 Xbox One 1.0.0.64 on Windows x64 through Azimuth. Unknown game builds are rejected instead of using offsets against an unsupported executable.

Compatibility can vary with Azimuth and FH2ML versions or other mods. If something breaks, include your exact setup in the issue report.

Linux / Wine support is not available yet. A Linux Discord IPC path/bridge is being explored.

Diagnostics & privacy

Both the standalone EXE and the FH2ML DLL write %LOCALAPPDATA%\\AzimuthRPC\\logs\\AzimuthRPC.log (paste that path into Windows Explorer). The native DLL now logs as soon as FH2ML_Initialize is called, including rejected host API versions or unsupported game-image checks. If no log is created, first verify the executable actually started or the loader called the DLL initializer; an absent log alone does not prove that car offsets changed. Logs can contain runtime telemetry, memory probe values, loaded module names and Discord IPC status, so review the log before uploading it publicly.

The standalone EXE automatically removes AzimuthRPC.log and its rotated .1 log after a normal exit (tray Exit). If it crashes or is force-terminated, logs are kept for troubleshooting. To preserve logs while testing, launch the standalone with --keep-logs; copy the log before exiting if you need to share it. Cleanup is best-effort if another process keeps the file open.

The FH2ML native DLL still retains logs: it has no safe, guaranteed shutdown callback, and attempting deletion inside DllMain during process teardown could cause instability. Don't run the standalone and native DLL at the same time.

Share diagnostics on Discord (standalone)

Right-click the tray icon and choose Send logs to Discord.... A preview shows the exact content and nothing is uploaded until the user clicks Send. The EXE includes only recent diagnostic lines, with common Windows user profile names, credentials, and webhook URLs redacted. Please inspect the preview yourself before sharing.

The app contacts an HTTPS, rate-limited Supabase Edge Function owned by the FH2Mods project. It forwards a text attachment to the Discord support webhook, which is stored in Supabase Vault, not embedded in the EXE or in GitHub. This action is optional and does not run at startup or shutdown. The native FH2ML DLL has no tray menu; its logs can still be shared manually.

AzimuthRPC does not ask for your Discord password or token. No game files, saves or raw memory captures are included in this repository.

Build from source

The managed projects require the .NET 8 SDK on Windows x64. Building the native FH2ML DLL additionally requires Visual Studio Build Tools and CMake.

Standalone build:

./publish.ps1

Native FH2ML build:

./native/FH2ML.AzimuthRPC/build.ps1

Full validation and smoke test:

./build.ps1 -SmokeTest

More technical information is available in docs/, including architecture, offsets and reverse-engineering research. Contribution requirements are documented in CONTRIBUTING.md.

Reporting issues

When reporting a problem, include:

  • Azimuth version;
  • FH2ML version if used;
  • AzimuthRPC version and whether you use the EXE or DLL;
  • other FH2 mods such as Extra Options;
  • the exact car or game state where the problem occurs;
  • a reviewed AzimuthRPC.log when relevant.

Do not upload game files or raw memory dumps.

License

AzimuthRPC is source-available, not OSI open source. The AzimuthRPC Use-Only License 1.0 allows inspection, local compilation and personal use. Reuse of the code in another project or redistribution requires separate permission.

Disclaimer

AzimuthRPC is an independent fan project by Refilewski. It is not affiliated with Microsoft, Xbox, Playground Games, Turn 10, Discord or Azimuth. No game, DLC, game files or license keys are included.

About

Lightweight Discord Rich Presence for Forza Horizon 2 on Azimuth. Standalone app

Topics

Resources

Contributing

Stars

4 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages