Skip to content

Add ProtonDB Status - #158

Open
nyakuoff wants to merge 5 commits into
SteamClientHomebrew:mainfrom
nyakuoff:main
Open

nyakuoff wants to merge 5 commits into
SteamClientHomebrew:mainfrom
nyakuoff:main

Conversation

@nyakuoff

@nyakuoff nyakuoff commented Apr 7, 2026

Copy link
Copy Markdown

ProtonDB Status shows ProtonDB compatibility ratings directly in Steam’s game details stats row.

image

@github-actions

Copy link
Copy Markdown
Contributor

Automated Message: This message has been sent to all open pull requests. Your pull request will be further reviewed once Millennium 3.0.0 is released. We are very busy with Millennium!

@github-actions github-actions Bot changed the title Add protondb-status plugin Add ProtonDB Status Jul 29, 2026
@ejalxndr
ejalxndr requested a review from Copilot July 30, 2026 00:57

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@ejalxndr

ejalxndr commented Sep 13, 2026

Copy link
Copy Markdown
Member

Hello, apologies for the incredibly delayed response time! Everything looks good, aside from this.

You can use findClassModule from @steambrew/client to find these classes dynamically.

For instance, _1aKegVl9_lSdNAyWYZQlr9 resolves to Playtime: "_1aKegVl9_lSdNAyWYZQlr9". Keep in mind there may be multiple class objects with Playtime in it, so you'll have to sort them.

nyakuoff added a commit to nyakuoff/protondb-badge that referenced this pull request Sep 21, 2026
The dynamic findClassModule lookup for GameStatWithIcon never engaged
because Steam exposes that classname under the property "Playtime",
not "GameStatWithIcon" (a label we invented for the KNOWN fallback
table). Route the lookup through the real key so it stops silently
falling back to the hardcoded April 2026 snapshot value.

Per SteamClientHomebrew/PluginDatabase#158 review feedback.
nyakuoff and others added 2 commits September 21, 2026 00:58
Addresses review feedback on SteamClientHomebrew#158: GameStatWithIcon now resolves via
Steam's real "Playtime" module property instead of a name we made up
that never matched, so it stops silently falling back to the hardcoded
snapshot classname.
@nyakuoff

Copy link
Copy Markdown
Author

Hello!

Sorry for the delay, i was busy moving.

Follow-up to the earlier bump: the class-lookup fix now does a real
findClassModule search for Steam's "Playtime" property instead of
assuming it lived on the already-matched PlayBar module.
Follow-up per SteamClientHomebrew#158 review: classnames are now resolved purely via
findClassModule, no April 2026 DOM snapshot fallback.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants