Skip to content

fix(games): report installers of anticheat games as not playable - #772

Merged
strycore merged 1 commit into
masterfrom
fix/769-anticheat-installers-not-playable
Oct 9, 2026
Merged

strycore merged 1 commit into
masterfrom
fix/769-anticheat-installers-not-playable

Conversation

@strycore

@strycore strycore commented Oct 9, 2026

Copy link
Copy Markdown
Member

Refs #769, and is the server side of lutris/lutris#6935.

Games flagged kernel_ac (kernel-level anticheat, e.g. League of Legends) are known not to work, and the website already shows a big warning on their page. The installers API still returned their installers with is_playable: null, the same as any unrated installer. The client therefore had no way to tell users.

Installer.is_playable() now returns False when the game has the kernel_ac flag; otherwise it still returns the verified rating, as before. The installers stay in the API on purpose: the client will show them as Not playable (lutris/lutris PR to follow), rather than hiding them, so users who want to try anyway can still do so.

On the game page template, this only changes the rating line of such installers to "NOT PLAYABLE". Those pages already hide the installer list behind the anticheat warning.

Tests: TestInstallerIsPlayable covers an unrated installer (still None), the kernel_ac game's installer (False), and /api/installers/<slug> returning is_playable: false. The last two fail without the fix. The full suite passes (169 tests), as do ruff check and ruff format --check.

🤖 Generated with Claude Code

Games flagged with kernel level anticheat are known not to work, but
their installers were still returned by the API with is_playable set to
null, so the client couldn't tell them apart. Report them as not
playable.

Refs #769

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@strycore
strycore merged commit 9c5a7a7 into master Oct 9, 2026
4 checks passed
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