Launcher: no built-in leave-out list without a title profile

The program hashes the launcher passed when no title profile was loaded
are gone: which programs to leave out is the title profile's leave_out
role, and a LEAVE_OUT line in Further switches still does it by hand.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
readmet3xt-lab
2026-12-03 19:31:46 +05:30
parent 0b1834faec
commit 0145c0d867
2 changed files with 4 additions and 11 deletions

View File

@ -43,10 +43,9 @@ What is known to be wrong:
- **Video textures** shown in bright surroundings are far too dark; which input differs from the console is not
found yet.
- **Left out:** two of the tested program's passes are left out when its title profile names them (role
`leave_out`): one smeared blocks of pixels, the other cost 5.6 ms of GPU a frame. Without a title profile the
launcher leaves the same two out by hash (`VICTORY_LEAVE_OUT=<16-hex hash>,...` does it by hand); a start
without the launcher runs them. Without a profile the light estimate and the bake uploads find their passes by
rules that name no program, which may miss; the picture without the interface for frame generation is not
`leave_out`): one smeared blocks of pixels, the other cost 5.6 ms of GPU a frame. Without a title profile both
run (`VICTORY_LEAVE_OUT=<16-hex hash>,...` leaves programs out by hand). Without a profile the light estimate
and the bake uploads find their passes by rules that name no program, which may miss; the picture without the interface for frame generation is not
taken; the water fixes are not applied. The log names each.
- **HUD at 1440p:** with a title profile older than 0.8.3.5's, the HUD and menus are drawn larger than on the
console, and menus can run past the screen. The 0.8.3.5 profile's interface canvas keeps their size.

View File

@ -790,7 +790,7 @@ namespace Foxhound
public static bool VramOffered(Card card, double gb) { return card.Gb <= 0 || gb < card.Gb - 0.25; }
// The switch set tested on a 12 GB RTX card (see scripts\play-foxhound.ps1 for what each is). v0.8.2's, less its
// leave-out (passed below when no title profile names those programs) and its texture pass time (the engine's
// leave-out (a title profile's leave_out role names those programs) and its texture pass time (the engine's
// default since 0.8.3.5). The launcher sets no engine defaults of its own beyond these: 0.8.3's KEEP_SHOWN=2,
// QUEUE_SNAPSHOT=1, TEXTURE_STAGE_MS=24, PRESSURE_RELATIVE and the 16 GB window layout were never measured as
// shipped and are gone (the last is the "PC memory" row now).
@ -820,11 +820,6 @@ namespace Foxhound
"VICTORY_PIPELINE_BOOK=1",
};
// Without a title profile: the two programs that leave black tiles in the water's light on NVIDIA cards, left out
// by hash as v0.8.2 did for everyone (a loaded profile's leave_out role names them). A LEAVE_OUT line in Further
// switches replaces it.
public const string NoProfileLeaveOut = "02384a60fda6f2d0,731a39171b568298";
// Switches the launcher's own process may carry (set in Windows) that it hands on: Info() strips every other
// VICTORY_ variable of its own, so these reach the status check and the run alike. Further switches still win.
static readonly string[] Inherited = { "VICTORY_TITLE_PROFILE_DIR", "VICTORY_BCPACK_TABLES", "VICTORY_PROFILE_ANY_EXE", "VICTORY_TITLE_PROFILE" };
@ -1229,7 +1224,6 @@ namespace Foxhound
}
env["VICTORY_LOG"] = s.Get("log", "full") == "warn" ? "warn" : "info";
if (Diag(s)) env["VICTORY_RECORD"] = CaptureDir;
if (!profile.Loaded) env["VICTORY_LEAVE_OUT"] = NoProfileLeaveOut;
foreach (KeyValuePair<string, string> p in ExtraLines(s)) env[p.Key] = p.Value;
return env;
}