mirror of
https://git.triforceproject.com/triforce/source
synced 2026-11-25 18:48:51 -04:00
Triforce v0.8.0
Evil HD (SMAA Ultra, 16x filtering, full textures, ambient occlusion with bounce light, sunlight shafts, foliage drawn 4x as far, the remastered texture pack's loader and the launcher's download of it), FSR 3.1 frame generation for every GPU, Intel XeSS, FSR 4 model choice, ReShade presets, Auto (this PC), HUD placement, the options menu in 13 languages, a second input for every control, hold to toggle, DualSense speaker and haptics, NFC from the player's own dumps, the above-60 fps game fixes, the Debug tab's flight and Inventory fixes, the launcher's full settings, and over 250 fixes.
This commit is contained in:
@@ -26,6 +26,7 @@
|
||||
every frame against never, standing at the Market: 11.0% and 9.8% of frames of 16.7 ms or more against 3.0% and 1.2%. */
|
||||
#include "hos.h"
|
||||
#include "oot_tex_compact.h"
|
||||
#include "input_movie.h" /* ((Triforce) HosMovieTime: the game clock's time while an input recording is recorded or played) */
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <windows.h>
|
||||
@@ -92,6 +93,10 @@ int hos_oot_tex_compact_due(void) {
|
||||
static int ms = -2;
|
||||
static int64_t last = -1, said;
|
||||
static long let, held;
|
||||
/* ((Triforce) the ask's clock: the wall's, or the game clock's while an input recording is recorded or played, so an
|
||||
ask falls on the same frame of a replay as of its recording: host/input_movie.c; under the lock) */
|
||||
int64_t hos_input_movie_time(HosMovieTime *t, int64_t wall_ns);
|
||||
static HosMovieTime ask_time;
|
||||
AcquireSRWLockExclusive(&lock);
|
||||
if (ms == -2) {
|
||||
const char *e = getenv("HOS_OOT_TEX_ASK_MS");
|
||||
@@ -100,7 +105,7 @@ int hos_oot_tex_compact_due(void) {
|
||||
else hos_log("oot: texture compaction: %s (HOS_OOT_TEX_ASK_MS=%s)", ms ? "no ask let through" : "every ask, as shipped", e);
|
||||
}
|
||||
const int64_t now = hos_now_ns();
|
||||
const int due = hos_oot_tex_ask_due(ms, now, &last);
|
||||
const int due = hos_oot_tex_ask_due(ms, hos_input_movie_time(&ask_time, now), &last);
|
||||
if (due) let++;
|
||||
else held++;
|
||||
if (!said) said = now;
|
||||
|
||||
Reference in New Issue
Block a user