ValerieOSD / WarThunderRPC

External application to add War Thunder to DiscordRPC.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WarThunder Discord Rich Presence (RPC)

About

image

image

This is a external application which adds War Thunder as a Discord Rich Presence application. [1].

[1] This application pulls in-game information from War Thunder through Port 8111. War Thunder outputs some in-game data to 127.0.0.1:8111 and it's subfolders automatically on all machines. There really isn't much to go off and it's pretty awfully structured, but it makes do for now. This application modifies in no way whatsoever any data from the game, it is completely safe and will not get you banned.

Requirements (The runtime comes pre-embedded into the .EXE, you do not need to download this. It's only for debugging.)

Features

  • Shows if you are in the hangar, in a match, or in a test drive.
  • Shows what map you are in.
  • Detects what vehicle you are using.
  • Displays simple match statistics (Air or Ground, Domination or Conquest, etc).

Unfortunately some modes or vehicles aren't supported due to how the data is structured from the game itself, Naval vehicles show no data and will not work, it will show up as "Unknown vehicle".

Your status might show up as "test drive" or that you are flying a "DUMMY_PLANE" during the first few seconds of a match, this is as far as I know unavoidable for now, but it should fix itself once you load in. :)

How to Install

  1. Go to "Releases" tab and download the latest version's .ZIP file
  2. Unzip the file
  3. Run the application whilst War Thunder is open

Development

I'm working on this myself, as an amateur in Python, please feel free to contribute and reach out to me if you have any suggestions, feedback or ideas!

Issues

  • Air vehicles selected in the hangar does not update RPC, updates when a ground vehicle is selected.
  • RPC is shown as 'Test Drive' at the start of matches, this is due to the game logic's objective flag not being set until the start of the match.
  • Current vehicle is shown as "DUMMY_PLANE" at the start of matches, this is the default camera view name.
  • Air "Operation" Mode is broken, and will show up as a 'Test Drive', this is due to the game's logic not outputting correct information. FIXED - Might still take some time to detect, but it should eventually.

About

External application to add War Thunder to DiscordRPC.


Languages

Language:Python 100.0%