launcher: identify staged provider before comparing revisions #255
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/255"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from brcly/TuxBox. Originally posted by Valdi320 on 2026-11-26T17:26:52Z.
Follow-up to #231, where a before/after comparison unintentionally used the same staged provider DLL across checkouts. Log the staged D3D12 DLL SHA-256 and the local build's SHA-256 when available. Warn on mismatch by default. An explicit --require-current-provider refuses to prepare or launch unless the staged DLL matches the local build, including missing/ambiguous files. Never redeploy or modify a title. This checks file identity, not the source revision of a built file or the actual Wine module loader's choice.
Five new tests (matching files, same-size mismatch, missing build/staged, ambiguous case variants, and strict refusal before shader preparation/guest launch). 385 Python tests executed, 27 skipped, all six no-GPU groups passed. Also compared two actual previously built provider DLLs with different SHA-256 in a temporary directory: matching accepted, mismatching refused, staged bytes unchanged. No game launched or GPU behavior changed. Full GPU and AMD validation outstanding. Draft for review.