Series X 1440p / DLSS fails with 'code 1' when game_scarlett_master.exe was patched in place (e.g. FPS unlock) #6
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/readmet3xt-lab--foxhound#6
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
@HctrRB on GitHub · 2026-11-27 14:23 UTC · original
What happens
With the Series X profile at 1440p and DLSS on, the launcher shows:
The log ends with:
Streamline is fine:
victory.exe upscaler-checkloads SDK 2.14.16 and reports DLSS and Frame Generation as supported (RTX 4070 SUPER, driver 621.1). The 1080p class (Series S profile) is not affected.Cause
The game is v1.0.2.1, but its
game_scarlett_master.exehad been patched in place by another tool, which left the stock file asgame_scarlett_master.exe.bak:game_scarlett_master.exe.bak: BLAKE3b99f876b…239e93, the retail build thatnative_1440p.rsexpects.game_scarlett_master.exe: BLAKE3f459c8a5…ef13af, same size (120181760 bytes) and same PDB key.0x02214ECD,0x02214F3B,0x02214F63). This looks like an FPS-unlock patch.victory_loader::preparehashes the whole file (original_hashinprepare.rs), andnative_1440p::prepare/prepare_upscalerrefuse anything but the retail hash. So a 6-byte change shows up as an unknown build, and the error doesn't say that the copy was modified or what to do about it.Workaround
Restore the stock exe:
After that the hash matches
b99f876b…and the 1440p / DLSS path is taken. For more than 30 fps, use the launcher's 60 fps target or Frame Generation instead of patching the exe.Suggestion
Make the error say what to do, and point to a retail copy next to the exe when there is one. I have a small patch for
apps/victorythat does this (no check is relaxed: a modified image is still refused):native_1440p.rs: both refusals add that the exe is either another build or a 1.0.2.1 copy modified in place, and that the fix is to restore the stock exe or choose the 1080p class / DLSS off.run.rs: when the build is unknown, look for a file next to the exe that is named after it (.bak,.orig, …), has the same size and hashes toRETAIL_BUILD. If one is found, print which file to copy back.I can open a PR with it if you're interested. It has not been compiled yet.
@readmet3xt-lab on GitHub · 2026-11-27 21:20 UTC · original
Addressed in v0.2.0-pre.3 and pre.4: when the executable is not the unchanged build, the launcher says so instead of "code 1", and names an unchanged copy beside it (for example
.exe.bak) when there is one. The 1440p and frame-rate patches check what they change by hash and leave a different build alone. For a higher frame rate, the launcher's "Frame rate" setting does it at load without changing the file (experimental).Latest: https://github.com/readmet3xt-lab/foxhound/releases/tag/v0.2.0-pre.4
@readmet3xt-lab on GitHub · 2026-11-29 08:11 UTC · original
Closing: since v0.2.0-pre.3 the launcher says when the executable is not the unchanged build and names an unchanged copy beside it, instead of 'code 1'. Current release: https://github.com/readmet3xt-lab/foxhound/releases/tag/v0.8.1.
@readmet3xt-lab on GitHub · 2026-12-01 01:08 UTC · original
Hi, and thanks for the report.
This repository is public, and to keep the project safe nothing posted here may name or identify the game, or point to where copies come from. Could you please edit the following, removing:
<exe>and "the supported build" instead).Once it is edited, we clear the old revisions from the post's edit history on our side.
Technical details (GPU, settings, errors, the log with the game folder replaced) are very welcome. See the issue template for what helps. Thank you!