This project aims to allow for Discord's Rich Presence feature to work with Titanfall 2. This is accomplished in a very hacky way. Specifically, known memory addresses are directly read from by this program. Yes, you read that right. I had to mess around in Cheat Engine to find the right memory addresses to read various values from. It's incredibly hacky but at least the code is relatively elegant if I say so myself.
READ THE DISCLAIMER BELOW BEFORE USING THIS SOFTWARE!!!
Here's what this application is capable of
- Rich presence features
- Application-specific features
- Error logging
- Customization/settings (planned)
- Ability to start minimized (planned)
- Ability to minimize to system tray (planned)
- Automatic updates
Coming soon...
At the moment, there is no install process. Go to the releases page or directly to the latest release and then download the .exe
file from the release assets. If that's too much for you, you probably shouldn't try this out.
You're still here? Fine. If you really couldn't follow the instructions above, just click here. Just promise me one thing. Never ever file a bug report.
Upon attempting to run titanfall2-rp.exe
, you may be prevented from doing so by a Microsoft Defender SmartScreen window. It should resemble the following:
Click "More info" and then click "Run anyway". You will only be prompted like this once. It may happen again after updating.
Currently this is officially supported only on Windows. However, there is unofficial Linux support via the use of an IPC bridge, the steps are outlined here.
- Open Discord
- Run this program
- Open Titanfall 2
- Have fun!
While this project is stable, it isn't quite complete yet. Multiplayer game data isn't easy to track down in memory. For this reason, this project has a limited amount of data it can retrieve about a given game mode. This is really more of a side note and doesn't affect everyday use. For the list of supported game modes, see #45.
- The time that's displayed in Discord is the time you've had the game open. I haven't been able to figure out how to get the match start or end time. If you discover the offsets for either of these, please make a PR or just let me know with by mentioning it in a new issue.
See the bugs area for all the known issues at this time.
Titanfall 2 appears to have no client-side anti-cheat, nor any game integrity scanning. I personally use this tool and have had no issues with it so far.
I am not responsible for any action taken against you, automatically or manually, by Respawn Entertainment, Electronic Arts, or any anti-cheat that this tool might set off. While I am reasonably sure that Titanfall 2 has no, if not minimal VAC protection, I have not made certain of this. YOU TAKE FULL RESPONSIBILITY OF ANY REPERCUSSIONS THAT YOU MAY INCUR BY USING THIS TOOL.
This section is just for developers. If you only want to use this program, see the installation section.
To build this project, run dotnet publish
.
To only run this project, run the exe file from [PROJECT_ROOT_DIR]\Windows\bin\Debug\net5.0-windows\win10-x64\publish
(where PROJECT_ROOT_DIR is the directory where you cloned this project) which was created when you ran dotnet publish
.
If you change anything in the ZipExtractor project, the changes will only be reflected after running dotnet publish ZipExtractor
because of where the main titanfall2-rp
project expects it to be (for use as an embedded resource).
Building on Linux allows you to build only the Wine project. This is because you can't build WPF and WinForms projects on .NET 5.0 on Linux (as far as I'm aware).
To create a fully-fledged executable for running in Wine, run dotnet publish ZipExtractor && dotnet publish Wine
. Your exe will be located at [PROJECT_ROOT_DIR]\Wine\bin\Debug\net5.0\win10-x64\publish\titanfall2-rp-Wine.exe
.
If you are only trying to run the Wine project (i.e. inside of your IDE), you need to run dotnet publish ZipExtractor; dotnet build Wine
.