NaN-guard mission reuses the preparation stamp across two shader cache identities #384

Open
opened 2026-11-30 20:49:50 +00:00 by HandshakeHackin · 0 comments
HandshakeHackin commented 2026-11-30 20:49:50 +00:00 (Migrated from github.com)
Contributor

Imported from PastiiJay/klbf-lab. Originally posted by HandshakeHackin on 2026-11-30T20:49:50Z.


I ran the revision 21 m-all-nanstores mission options through the packaged launchers and executables from v26.11.23 and v26.11.24 on Windows. Both releases gave the same result.

Mission run Launcher preparation ID Executable shader fingerprint
A, default 737ade6b88ac8104 737ade6b88ac8104
B, VICTORY_NAN_GUARD_STORES=1 737ade6b88ac8104 93cf36b8321e6a18

If A has already prepared its shaders, the launcher can mark B ready even though B uses a different shader cache. A first B run may therefore compile shaders during play. This check measured cache identity only. Visual results still need the same in-game scene on both runs.

The reproducer verifies the published ZIP checksums, reads the mission’s A/B values, calls each shipped launcher’s preparation-stamp expression and runs its victory.exe shader-fingerprint in a fresh process per side. It needs no game files.

<!-- greyfinch-sync:PastiiJay/klbf-lab:issue:6705952265 --> Imported from [PastiiJay/klbf-lab](https://github.com/PastiiJay/klbf-lab/issues/384). Originally posted by [HandshakeHackin](https://github.com/HandshakeHackin) on 2026-11-30T20:49:50Z. --- I ran the revision 21 `m-all-nanstores` mission options through the packaged launchers and executables from v26.11.23 and v26.11.24 on Windows. Both releases gave the same result. | Mission run | Launcher preparation ID | Executable shader fingerprint | | --- | --- | --- | | A, default | `737ade6b88ac8104` | `737ade6b88ac8104` | | B, `VICTORY_NAN_GUARD_STORES=1` | `737ade6b88ac8104` | `93cf36b8321e6a18` | If A has already prepared its shaders, the launcher can mark B ready even though B uses a different shader cache. A first B run may therefore compile shaders during play. This check measured cache identity only. Visual results still need the same in-game scene on both runs. The [reproducer](https://github.com/HandshakeHackin/klbf-lab/actions/runs/46509777220) verifies the published ZIP checksums, reads the mission’s A/B values, calls each shipped launcher’s preparation-stamp expression and runs its `victory.exe shader-fingerprint` in a fresh process per side. It needs no game files.
Sign in to join this conversation.
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
PastiiJay/klbf-lab#384
No description provided.