Repository navigation
Troubleshooting and FAQ
Run EU5 RPC in single-shot probe mode while Europa Universalis V is open to see exactly what EU5 RPC detects without modifying Discord or launching the game:
eu5-rpc --onceExpected output while in-game:
Details: Playing as Kingdom of France (1454)
State: Age of Renaissance · Singleplayer · v1.4.9
EU5 RPC writes timestamped ISO-8601 UTC logs on every run:
-
Windows:
%LOCALAPPDATA%\EU5-RPC\logs\eu5-rpc.log(or next toeu5-rpc.exefor portable runs) -
Linux:
~/.config/eu5-rpc/logs/eu5-rpc.log(or$XDG_CONFIG_HOME/eu5-rpc/logs/eu5-rpc.log)
Look for key diagnostic lines:
-
[config] Loaded from ...— confirms whichconfig.tomlwas loaded -
[eu5] Detected Paradox user data folder: ...— confirms where EU5 logs and saves are read from -
[process] Europa Universalis V detected (eu5.exe)— confirms process detection succeeded -
[discord] Connected!— confirms local Discord IPC handshake succeeded -
[rpc] phase=... details="..." state="..."— confirms each activity pushed to Discord
Tip
On Linux, logs also print directly to stdout when running eu5-rpc from a terminal.
- Check Discord Activity Privacy: In Discord go to User Settings -> Activity Privacy and make sure Share your detected activities with others is enabled.
- Use the Desktop Discord Client: Browser-only Discord tabs do not expose local IPC pipes/sockets. On Linux, native Discord, Canary, PTB, Flatpak Discord/Vesktop/ArmCord/Equibop/Legcord, and Snap Discord are all supported.
-
Flatpak / Snap Socket Sandbox on Linux:
- EU5 RPC automatically probes
$XDG_RUNTIME_DIR/app/<flatpak-id>/discord-ipc-0..9and$XDG_RUNTIME_DIR/snap.discord*/discord-ipc-0..9. - If you run a custom Flatpak Discord client not in the default list, ensure its IPC socket is bridged into
$XDG_RUNTIME_DIR/discord-ipc-0(e.g., viaxdg-runtimesocket permissions).
- EU5 RPC automatically probes
-
Custom
discord_app_id: If you editeddiscord_app_idinconfig.toml, try resetting it to""so EU5 RPC uses Discord's official EU5 catalog ID (1435327845051400292). - Discord Started After EU5 RPC: EU5 RPC retries Discord IPC every 10 seconds automatically — wait 10 seconds after Discord finishes starting.
-
Steam Client Running & Online: Passive Steam Rich Presence reads live strings directly from your local Steam client (
steamclient64.dll/steamclient.so). If Steam is running in Offline Mode or EU5 was launched outside Steam, EU5 RPC falls back tologs/multiplayer.log,logs/game.log, and session.eu5save headers. -
User Data Folder Not Auto-Detected:
- Check
logs/eu5-rpc.logforDetected Paradox user data folder. - If you use a non-standard Wine prefix, custom Drive/OneDrive location, or alternate Paradox data path, set
user_data_folderexplicitly inconfig.toml:[general] # Windows example (use single quotes to avoid backslash escaping): user_data_folder = 'D:\Documents\Paradox Interactive\Europa Universalis V'
[general] # Linux Proton example: user_data_folder = "/mnt/games/SteamLibrary/steamapps/compatdata/3450310/pfx/drive_c/users/steamuser/Documents/Paradox Interactive/Europa Universalis V"
- Check
-
Old Saves Ignored Intentionally: By design,
LogWatcher.refreshSaveMetadata()ignores.eu5saves whose modification time predates the current EU5 RPC session (session_started_at - 5s) so loading the main menu never displays yesterday's campaign. Once you enter a campaign or save/autosave, live telemetry updates immediately.
-
GNOME: GNOME does not display
StatusNotifierItem(AppIndicator) tray icons by default. Install and enable the AppIndicator and KStatusNotifierItem Support GNOME Shell extension. -
Minimal Window Managers (Sway, Hyprland, i3, etc.): Ensure a StatusNotifierHost bar such as Waybar (
traymodule), Hyprpanel, or Swaybar is running. -
libdbus-1.so.3Missing: EU5 RPC loadslibdbus-1.so.3dynamically at runtime. If it is absent (e.g., on a headless system), the tray gracefully no-ops while Rich Presence continues working normally. -
Disable Tray Explicitly: Pass
--no-trayif you prefer running strictly in the background or terminal.
Release .exe files are unsigned open-source binaries compiled directly from this repository in pure Zig. You can:
- Click More info -> Run anyway, or
- Inspect the source code and compile the installer locally with
zig build package(see Build and Packaging).
- Run
eu5-rpc --check-updateto see if GitHub Releases is reachable from your network. - On Linux, self-updating requires write permission to the directory containing the running
eu5-rpcbinary (true for default~/.local/share/eu5-rpc/eu5-rpcinstalls; if installed to a root-owned path like/usr/local/bin, download the new.tar.gzand reinstall manually or run with--no-update). - On Windows, if an older
eu5-rpc.exe.oldexists, EU5 RPC removes it automatically on the next launch (cleanupOldBinary()). - You can disable startup update checks permanently by setting
auto_update = falseinconfig.tomlor passing--no-update.
Yes. EU5 RPC is 100% external and read-only during gameplay:
- Never calls
ReadProcessMemoryor opens/proc/<pid>/mem - Never calls
ptrace, injects DLLs, or hooks game code - Never modifies save files, game files, or campaign checksums
- Never calls
SteamAPI_Init
No. As documented in SECURITY.md, EU5 RPC only communicates locally with your Steam client, local EU5 log/save files, and local Discord desktop IPC. The only outbound network request is the optional GitHub Releases update check (https://api.github.com/repos/buntatoes/eu5-rpc/releases/latest), which can be disabled via auto_update = false or --no-update.
By default (exit_when_game_closes = false), EU5 RPC clears your Discord presence when EU5 closes and stays in your system tray so you can launch EU5 again anytime. Set exit_when_game_closes = true in config.toml if you want it to exit automatically when the game closes, or click Quit (Close EU5 & RPC) in the tray menu to close both at once.
- Bugs & Feature Requests: Use the GitHub Issue Templates (please omit local paths, personal usernames, Steam IDs, or Discord tokens from logs).
- Security Vulnerabilities: Report privately via GitHub Security Advisories.
Copyright (c) 2026 Buntato (buntatoes.dev). EU5 RPC is free software licensed under the GNU General Public License v3.0 (GPL-3.0-only). Not affiliated with or endorsed by Paradox Interactive AB; Europa Universalis V is a trademark of Paradox Interactive AB.
Getting Started
Architecture & Telemetry
Development & Support
Links