Triforce v0.8.4

Smoother frames and less memory: a compact pipeline cache on NVIDIA, the renderer and game-code profiles, native float in the hot game code, late GPU work left as before. A PC whose NVIDIA shader cache drops the game's gets a driver cache folder of its own. Fixes from the 0.8.3 reports: RenoDX's encoder and tone mapping matched on NVIDIA again; the out-of-memory notice at the next start; no microphone open without a recording device; Evil HD undergrowth kept to 80/120 m; the FG HUD layer keeps what it learned; a stick past 92% is a full push; the DualSense jack read only when used; Linux Save Select, Quit and Restart, and the Linux launcher's sound; the update check uses the program's own version.
This commit is contained in:
ruckus7382sfgsgdf
2026-11-26 20:04:11 -06:00
parent ecb4d5cc99
commit 2df08c751e
45 changed files with 2828 additions and 567 deletions

View File

@@ -1937,7 +1937,7 @@ Row rows[] = {
// (Triforce, 11-13: vk_temporal.cpp pre_wanted. Shown with DLSS or FSR: row_shown)
{TAB_GRAPHICS, "Upscale before bloom", &opts.upscale_pre, 0, 1, 1, tx_onoff,
"On: the upscaler works on the scene before the game's glow and tone mapping, which are then made at full size. "
"Applies after a restart.", nullptr, true, true},
"Evil HD's ambient occlusion and light shafts are not drawn with this on. Applies after a restart.", nullptr, true, true},
{TAB_GRAPHICS, "Sharpness", &opts.sharpness, 0, 100, 10, tx_percent,
"With DLSS, DLAA or AMD FSR as the Upscaler, the 3D before the HUD (FSR's own sharpening; AMD's RCAS for DLSS); with "
"the game's own upscaler, the picture at the window. 0 is off. Too much shows halos around edges.", hn_sharpness},
@@ -6536,7 +6536,9 @@ void files_pictures_load() {
for (int slot = 0; slot < 12; slot++) { // (the game looks for slot_00 to slot_11)
if (known >= 0 && slot != known) continue;
char path[save_file_rows::kPath + 32];
snprintf(path, sizeof path, "%s%02d\\caption.sav", save_files.pictures[i], slot);
// (the folder's own separator: host/save_files.c writes the start of the path with '/' on Linux, where fopen
// takes no '\')
snprintf(path, sizeof path, "%s%02d%ccaption.sav", save_files.pictures[i], slot, strchr(save_files.pictures[i], '\\') ? '\\' : '/');
FILE* f = fopen(path, "rb");
if (!f) continue;
std::string bytes(size_t(1) << 20, '\0'); // (a save's caption is some tens of kilobytes)