mirror of
https://git.triforceproject.com/triforce/source
synced 2026-11-27 19:48:49 -04:00
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:
@@ -126,6 +126,18 @@ void hos_update_check(void) {
|
||||
char have[128], builder[MAX_PATH * 3], skipped[128] = "", tag[128];
|
||||
_snwprintf(file, MAX_PATH + 64, L"%ls\\triforce_version.txt", dir);
|
||||
if (!read_value(file, "version", have, sizeof have) || !safe_tag(have)) return;
|
||||
{ /* ((Triforce, 11-26, a player's report: "the launcher is updated to 0.8.3 but in the folder it remains 0.8.1") the
|
||||
program's own version over the file's: a folder whose triforce_version.txt says the new release while its program
|
||||
is still the old one was never offered the update again */
|
||||
const char *hos_version(void);
|
||||
char mine[128];
|
||||
snprintf(mine, sizeof mine, "%s", hos_version());
|
||||
mine[strcspn(mine, " +")] = 0;
|
||||
if (safe_tag(mine) && strcmp(mine, have)) {
|
||||
fprintf(stderr, "update: triforce_version.txt says %s but this program is %s: taken as %s\n", have, mine, mine);
|
||||
snprintf(have, sizeof have, "%s", mine);
|
||||
}
|
||||
}
|
||||
_snwprintf(file, MAX_PATH + 64, L"%ls\\user\\triforce_update_skip.txt", dir);
|
||||
read_value(file, "skip", skipped, sizeof skipped);
|
||||
if (!latest_tag(tag, sizeof tag)) {
|
||||
|
||||
Reference in New Issue
Block a user