Skip to content

Reject shader translators as playable game builds - #347

Closed
thehobbit85 wants to merge 1 commit into
elripalda:mainfrom
thehobbit85:codex/fix-shader-translator-selection
Closed

thehobbit85 wants to merge 1 commit into
elripalda:mainfrom
thehobbit85:codex/fix-shader-translator-selection

Conversation

@thehobbit85

Copy link
Copy Markdown
Contributor

EmblemWeave's Linux shader-translator archive was accepted as a playable build, including when the catalog explicitly selected it, and its spirv_harness executable could then be launched as the game. This matches the usage output in #312. The v0.1.38 release ships that tool separately from its Windows game build.

Reject the compound shader-translator asset role across supported separators, and exclude the exact spirv_harness executable name from game detection. Advance executable rules to 22 so older automatic selections are reconsidered. Normal game archives and executables remain eligible.

This prevents installing/running the tool as a game; it does not add a Linux game build or change the catalog service.

Validation on macOS:

  • The real release-name/catalog-pattern tests failed before the fix; pick, choices and all_for now reject the helper archive while preserving the Windows build.
  • Synthetic ELF selection reproduced the old helper launch. It now rejects a helper-only folder and selects a real game when present.
  • Full Rust suite: 871 passed, 1 existing ignored. Full UI suite: 543 passed, 11 platform skips.
  • Independent code review and whitespace check passed. No game files used.

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