Skip to content

Support official PoE2 client (PathOfExile.exe) alongside Steam build#6

Draft
PrEvIeS wants to merge 1 commit intoezbooz:mainfrom
PrEvIeS:upstream-pr/official-client
Draft

Support official PoE2 client (PathOfExile.exe) alongside Steam build#6
PrEvIeS wants to merge 1 commit intoezbooz:mainfrom
PrEvIeS:upstream-pr/official-client

Conversation

@PrEvIeS
Copy link
Copy Markdown

@PrEvIeS PrEvIeS commented May 5, 2026

Summary

find_game_log() previously matched only PathOfExileSteam.exe, leaving players on the standalone (non-Steam) official PoE2 client without Discord Rich Presence. This PR introduces a PROCESS_CANDIDATES list and switches the equality check to membership so both the Steam build and the official client are detected.

Diff

+4 / -1 in main.py, single hunk:

PROCESS_CANDIDATES = ["PathOfExileSteam.exe", "PathOfExile.exe"]


def find_game_log():
    ...
    for process in psutil.process_iter(["name", "exe"]):
        if process.info.get("name") in PROCESS_CANDIDATES:
            ...

No new dependencies, no behavior change for existing Steam users.

Test plan

  • Existing Steam users keep working: launch with PathOfExileSteam.exe running → presence appears (regression evidence in screenshot below — pending live-smoke).
  • Official-client users now work: launch with PathOfExile.exe running → presence appears.
  • No process running → loop continues to wait (unchanged).

Status

Marked draft until a Windows live-smoke screenshot is attached to confirm both regression (Steam still works) and the new code path (official client works). Will mark ready as soon as that's in.

Heads-up

This is the first of a small series of independent PRs against the README "open work" list (owner-pin / AFK status / background tray launcher to follow). Happy to flag intent for the others so you can signal scope appetite before they land — none of them depend on each other.

`find_game_log()` previously matched only `PathOfExileSteam.exe`, leaving
players on the standalone (non-Steam) client without Discord Rich Presence.
Introduce a `PROCESS_CANDIDATES` list and switch the equality check to
membership so both the Steam build and the official client are detected.
PrEvIeS added a commit to PrEvIeS/Path-Of-Exile-2-RPC that referenced this pull request May 5, 2026
…in EN/RU/UA

The 4-PR upstream campaign (panvex-b6p) is feature-complete on this stacked
branch. Updates the user-facing READMEs and CLAUDE.md to reflect the four
shipped capabilities:

- Official PoE2 client support (Steam + PathOfExile.exe)
- Owner auto-pin (party-mate disambiguation)
- AFK / DND status with small-image override + restore
- Background tray service + Windows Startup shortcut

README.md / README.ru.md / README.ua.md
- Add explicit Features bullets for all four capabilities.
- Flip the To-Do checklist (now 5/5 complete).
- RU/UA translations get the new "Run as a background service" section
  to match the English README that was added during PR-4.

CLAUDE.md
- Replace the four open-work items with checked-off equivalents and a
  pointer to the upstream draft PRs (ezbooz#6, ezbooz#7, ezbooz#8, ezbooz#9). Notes that the
  remaining work is the end-of-campaign Windows live-smoke pass.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant