Show the low-end GPU mode's settings under its switch in the Game tab, and read them only while the mode is on.

The settings had a tab of their own; they are rows of the Game tab now, listed under the switch once the mode is on after a restart, and the tab is gone. With the mode off every one of them reads as unset, whatever nx2navi.ini or the environment says, so nothing of the mode acts unless a player turned it on; the build reads guest_opt the same way. The notes describe that, and take the white edges in towns and the dropped textures from the known issues to the fixes.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
chrg6
2026-11-12 13:59:43 -05:00
parent 857d22fe4f
commit 26f3dc47ec
10 changed files with 174 additions and 140 deletions

View File

@@ -89,91 +89,91 @@ static const char *const text_en[UI_TEXT_COUNT] = {
[UI_MENU_TEX_DETAIL_DESC] = "Sharpness of large surface textures. Reduced and Low leave out their largest versions, so that an area fits the video memory of 6 and 8 GB cards; only surfaces seen up close look softer. Automatic picks by the card's video memory.",
[UI_MENU_TEX_DETAIL_AUTO] = "Automatic: %s",
[UI_MENU_TEX_DETAIL_FULL] = "Full", [UI_MENU_TEX_DETAIL_REDUCED] = "Reduced", [UI_MENU_TEX_DETAIL_LOW] = "Low",
[UI_MENU_TAB_LAMA] = "Lama patches",
[UI_MENU_LAMA_INTRO] = "Settings for older graphics cards and ones short of video memory. Most take effect after a restart.",
[UI_MENU_LAMA_MEMORY] = "Video memory and textures",
[UI_MENU_LAMA_RENDER] = "Rendering",
[UI_MENU_LAMA_BUILD] = "Build",
[UI_MENU_LAMA_DIAG] = "Diagnostics",
[UI_MENU_LAMA_RELEASED] = "Released textures kept",
[UI_MENU_LAMA_RELEASED_DESC] = "How many textures the game has released are kept as they are; past it only those that "
[UI_MENU_LOWEND_INTRO] = "The settings of the low-end GPU mode. Each can be changed here; most take effect after a restart.",
[UI_MENU_LOWEND_RESTART] = "The mode turns on after a restart. Its settings are listed here then.",
[UI_MENU_LOWEND_MEMORY] = "Video memory and textures",
[UI_MENU_LOWEND_RENDER] = "Rendering",
[UI_MENU_LOWEND_BUILD] = "Build",
[UI_MENU_LOWEND_DIAG] = "Diagnostics",
[UI_MENU_LOWEND_RELEASED] = "Released textures kept",
[UI_MENU_LOWEND_RELEASED_DESC] = "How many textures the game has released are kept as they are; past it only those that "
"lose nothing when dropped go. Fewer leaves more video memory for the rest; more "
"saves making them again; too few lets some blink black for a moment. Auto: one per 2 MB "
"of the video memory budget, 2048 to 8192.",
[UI_MENU_LAMA_CLOBBER] = "Fix overwritten textures",
[UI_MENU_LAMA_CLOBBER_DESC] = "A texture the game reads after another image was drawn over its memory gets memory of "
[UI_MENU_LOWEND_CLOBBER] = "Fix overwritten textures",
[UI_MENU_LOWEND_CLOBBER_DESC] = "A texture the game reads after another image was drawn over its memory gets memory of "
"its own. Fixes the teal splotches in Kokiri Forest's fog.",
[UI_MENU_LAMA_MIRROR_HOT] = "Pools copied every frame stay in system memory",
[UI_MENU_LAMA_MIRROR_HOT_DESC] = "A game memory pool whose copies to and from video memory each frame reach this "
[UI_MENU_LOWEND_MIRROR_HOT] = "Pools copied every frame stay in system memory",
[UI_MENU_LOWEND_MIRROR_HOT_DESC] = "A game memory pool whose copies to and from video memory each frame reach this "
"percentage of its size is read by the GPU from system memory instead, if the "
"CPU does not write it (a pool it refills each frame stays in video memory: read "
"in place, the GPU saw the next frame's data). For GPUs and buses short of "
"bandwidth; 25 suits an RX 580. 0: off.",
[UI_MENU_LAMA_RESERVE] = "Video memory kept free",
[UI_MENU_LAMA_RESERVE_DESC] = "Room kept free in each video memory heap for what FidelityFX (FSR 3.1, frame generation) and the "
[UI_MENU_LOWEND_RESERVE] = "Video memory kept free",
[UI_MENU_LOWEND_RESERVE_DESC] = "Room kept free in each video memory heap for what FidelityFX (FSR 3.1, frame generation) and the "
"driver allocate on their own: a heap with less than this left takes no new allocation while "
"another heap can. Off: video memory can fill up with frame generation on, and the game ends.",
[UI_MENU_LAMA_HEAP_LIMIT] = "Video memory heap limit",
[UI_MENU_LAMA_HEAP_LIMIT_DESC] = "Auto: on GPUs with a second video memory heap (an RX 580 shows 6 GB and 2 GB), "
[UI_MENU_LOWEND_HEAP_LIMIT] = "Video memory heap limit",
[UI_MENU_LOWEND_HEAP_LIMIT_DESC] = "Auto: on GPUs with a second video memory heap (an RX 580 shows 6 GB and 2 GB), "
"each heap is filled only to its budget before the next one is used, so the "
"driver does not run out. Off: no limit.",
[UI_MENU_LAMA_UPLOAD_BATCH] = "Upload batch limit",
[UI_MENU_LAMA_UPLOAD_BATCH_DESC] = "Texture uploads waiting in staging memory are sent to the GPU early once they "
[UI_MENU_LOWEND_UPLOAD_BATCH] = "Upload batch limit",
[UI_MENU_LOWEND_UPLOAD_BATCH_DESC] = "Texture uploads waiting in staging memory are sent to the GPU early once they "
"hold this much, so an area load cannot run video memory out.",
[UI_MENU_LAMA_NO_LIMIT] = "No limit",
[UI_MENU_LAMA_ASTC_KEEP] = "Keep the ASTC decode buffer",
[UI_MENU_LAMA_ASTC_KEEP_DESC] = "The buffer that GPU-decodes compressed textures is kept between upload batches "
[UI_MENU_LOWEND_NO_LIMIT] = "No limit",
[UI_MENU_LOWEND_ASTC_KEEP] = "Keep the ASTC decode buffer",
[UI_MENU_LOWEND_ASTC_KEEP_DESC] = "The buffer that GPU-decodes compressed textures is kept between upload batches "
"instead of being allocated again for each one.",
[UI_MENU_LAMA_MESH_EMU] = "Mesh shader emulation",
[UI_MENU_LAMA_MESH_EMU_DESC] = "Draws grass, moss and other foliage on GPUs without mesh shaders (AMD RX 400/500 "
[UI_MENU_LOWEND_MESH_EMU] = "Mesh shader emulation",
[UI_MENU_LOWEND_MESH_EMU_DESC] = "Draws grass, moss and other foliage on GPUs without mesh shaders (AMD RX 400/500 "
"and Vega, GTX 10-series and older), with compute shaders. GPUs with mesh shaders "
"ignore it.",
[UI_MENU_LAMA_MESH_NATIVE] = "this GPU has mesh shaders",
[UI_MENU_LAMA_MESH_MB] = "Mesh emulation memory",
[UI_MENU_LAMA_MESH_MB_DESC] = "Video memory for the emulated meshes' vertices and indices, in MB.",
[UI_MENU_LAMA_MESH_BATCH] = "Mesh emulation before the pass",
[UI_MENU_LAMA_MESH_BATCH_DESC] = "The emulated mesh stages of a render pass run before the pass in a command buffer "
[UI_MENU_LOWEND_MESH_NATIVE] = "this GPU has mesh shaders",
[UI_MENU_LOWEND_MESH_MB] = "Mesh emulation memory",
[UI_MENU_LOWEND_MESH_MB_DESC] = "Video memory for the emulated meshes' vertices and indices, in MB.",
[UI_MENU_LOWEND_MESH_BATCH] = "Mesh emulation before the pass",
[UI_MENU_LOWEND_MESH_BATCH_DESC] = "The emulated mesh stages of a render pass run before the pass in a command buffer "
"of their own, instead of splitting the pass at every emulated draw. Off: the "
"split, as before.",
[UI_MENU_LAMA_MESH_TASKS] = "Mesh emulation task records",
[UI_MENU_LAMA_MESH_TASKS_DESC] = "Task records per submission for the emulated meshes. Raise it when the log reports "
[UI_MENU_LOWEND_MESH_TASKS] = "Mesh emulation task records",
[UI_MENU_LOWEND_MESH_TASKS_DESC] = "Task records per submission for the emulated meshes. Raise it when the log reports "
"that a submission asked for more.",
[UI_MENU_LAMA_VEC_INDEX] = "Vector index fix",
[UI_MENU_LAMA_VEC_INDEX_DESC] = "Shaders read uniform vector components at computed indices whole and select the "
[UI_MENU_LOWEND_VEC_INDEX] = "Vector index fix",
[UI_MENU_LOWEND_VEC_INDEX_DESC] = "Shaders read uniform vector components at computed indices whole and select the "
"component, for drivers that get such reads wrong. Auto: on AMD's own drivers.",
[UI_MENU_LAMA_VEC_AUTO] = "Auto (AMD)",
[UI_MENU_LAMA_GUEST_OPT] = "Optimised game code (-O2)",
[UI_MENU_LAMA_GUEST_OPT_DESC] = "The next Rebuild the Game in the launcher compiles the game's code at -O2 instead "
[UI_MENU_LOWEND_VEC_AUTO] = "Auto (AMD)",
[UI_MENU_LOWEND_GUEST_OPT] = "Optimised game code (-O2)",
[UI_MENU_LOWEND_GUEST_OPT_DESC] = "The next Rebuild the Game in the launcher compiles the game's code at -O2 instead "
"of -O1: the game's own threads run faster on a slower CPU. The build takes "
"several times longer.",
[UI_MENU_LAMA_GUEST_OPT_NOTE] = "at the next rebuild",
[UI_MENU_LAMA_FREEZE] = "Freeze idle memory after",
[UI_MENU_LAMA_FREEZE_DESC] = "Submissions a memory region stays unwritten before it is made read-only, so the write "
[UI_MENU_LOWEND_GUEST_OPT_NOTE] = "at the next rebuild",
[UI_MENU_LOWEND_FREEZE] = "Freeze idle memory after",
[UI_MENU_LOWEND_FREEZE_DESC] = "Submissions a memory region stays unwritten before it is made read-only, so the write "
"tracking can skip it. 1800 (about 15 s): few thaws and small tracking queries. 60: "
"the game thaws regions all the time and every thaw stalls a frame. Off: no stalls, but "
"the tracking scans all memory every frame.",
[UI_MENU_LAMA_FOLIAGE] = "Foliage",
[UI_MENU_LAMA_FOLIAGE_DESC] = "Full: all of it. Reduced: no small grass or moss on the ground; ferns, leaves and "
[UI_MENU_LOWEND_FOLIAGE] = "Foliage",
[UI_MENU_LOWEND_FOLIAGE_DESC] = "Full: all of it. Reduced: no small grass or moss on the ground; ferns, leaves and "
"other plants stay. Off: no foliage. Terrain, rocks and buildings always stay.",
[UI_MENU_LAMA_FOLIAGE_FULL] = "Full",
[UI_MENU_LAMA_FOLIAGE_REDUCED] = "Reduced",
[UI_MENU_LAMA_RESULTS] = "Wait for GPU results",
[UI_MENU_LAMA_RESULTS_DESC] = "After a frame's first submission the game waits until the GPU wrote the results it "
[UI_MENU_LOWEND_FOLIAGE_FULL] = "Full",
[UI_MENU_LOWEND_FOLIAGE_REDUCED] = "Reduced",
[UI_MENU_LOWEND_RESULTS] = "Wait for GPU results",
[UI_MENU_LOWEND_RESULTS_DESC] = "After a frame's first submission the game waits until the GPU wrote the results it "
"reads back. All: events, counter and occlusion reports, write-backs. Without events: "
"a shorter wait; on an RX 580 nothing flickered.",
[UI_MENU_LAMA_RESULTS_ALL] = "All",
[UI_MENU_LAMA_RESULTS_NO_EVENTS] = "Without events",
[UI_MENU_LAMA_ZSTD] = "Native data decompression",
[UI_MENU_LAMA_ZSTD_DESC] = "Decompresses the game's zstd data with the PC's libzstd instead of the game's own "
[UI_MENU_LOWEND_RESULTS_ALL] = "All",
[UI_MENU_LOWEND_RESULTS_NO_EVENTS] = "Without events",
[UI_MENU_LOWEND_ZSTD] = "Native data decompression",
[UI_MENU_LOWEND_ZSTD_DESC] = "Decompresses the game's zstd data with the PC's libzstd instead of the game's own "
"decoder translated from the console. Lighter streaming while you move.",
[UI_MENU_LAMA_ASYNC] = "Asynchronous replay",
[UI_MENU_LAMA_ASYNC_DESC] = "Translates the game's GPU commands on a thread of their own instead of the game's, so "
[UI_MENU_LOWEND_ASYNC] = "Asynchronous replay",
[UI_MENU_LOWEND_ASYNC_DESC] = "Translates the game's GPU commands on a thread of their own instead of the game's, so "
"the game prepares the next frame meanwhile.",
[UI_MENU_LAMA_PASS_TIMES] = "Pass times in the log",
[UI_MENU_LAMA_PASS_TIMES_DESC] = "GPU time of every render pass and dispatch goes to the log, with the largest "
[UI_MENU_LOWEND_PASS_TIMES] = "Pass times in the log",
[UI_MENU_LOWEND_PASS_TIMES_DESC] = "GPU time of every render pass and dispatch goes to the log, with the largest "
"viewport each kind of pass draws with. Costs a little frame time.",
[UI_MENU_LAMA_DUMP_KEY] = "Frame dump key",
[UI_MENU_LAMA_DUMP_KEY_DESC] = "Each press of this key in the game window dumps the next frame (images and the "
[UI_MENU_LOWEND_DUMP_KEY] = "Frame dump key",
[UI_MENU_LOWEND_DUMP_KEY_DESC] = "Each press of this key in the game window dumps the next frame (images and the "
"frame's passes) to the dump folder, for a glitch caught while it is on screen. "
"Windows only.",
[UI_MENU_SHARPNESS] = "FSR sharpness",