Put DLSS back in the settings menu, and build the kit's runtime at -O2 without strict aliasing.

The Screen tab gets the DLSS switch and its model choice after the picture rows. There is no quality-mode row: this
build cannot change the game's scene size, so every mode would render the same. The description says that DLSS works
on each frame on its own for now and takes effect after a restart; the model row is greyed out while DLSS is off.

tools/make_game.py compiles with tools/build_game.py's aliasing rule: -fno-strict-aliasing everywhere, since the lifted
code reaches guest memory through casts of one address to several types, and the runtime at -O2 (the lifted code
stays at -O1). x86-64-v3 is left out so that the kit runs on CPUs without AVX2.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
chrg6
2026-11-07 09:14:36 -05:00
parent 3c0377abf8
commit a4fde2090a
4 changed files with 18 additions and 2 deletions

View File

@@ -502,6 +502,11 @@ static const char *const text_en[UI_TEXT_COUNT] = {
[UI_MENU_CHEAT_UNSUPPORTED_DESC] = "This cheat cannot be used with this version of the game:",
[UI_BOOT_TITLE] = "Preparing shaders", [UI_BOOT_HINT] = "This happens once after an update or a graphics driver change.",
[UI_BOOT_STARTING] = "Starting", [UI_BOOT_SHADERS] = "Shaders: %lld of %lld", [UI_BOOT_PIPELINES] = "Pipelines: %lld of %lld",
[UI_MENU_DLAA_GAME_DESC] = "NVIDIA DLSS anti-aliasing for the 3D scene at the game's own resolution (NVIDIA RTX GPUs; "
DLSS_FILE " next to the game's .exe). The HUD is not touched. Early version: it works on "
"each frame on its own for now, without the motion history that makes DLSS sharpest. "
"Takes effect after a restart.",
[UI_MENU_DLSS_PRESET_NEEDS_DLAA] = "only with DLSS on",
[UI_MENU_CHEATS_REBUILD] = "Rebuild the game now",
[UI_MENU_CHEATS_REBUILD_DESC] = "Some cheats change the game's code and are not built into it: they are new or "
"edited, or their last rebuild failed or was cancelled. Closes the game; the setup "