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:
ruckus7382sfgsgdf
2026-11-25 10:21:32 -06:00
parent 861702476a
commit 4fa4f9188b
881 changed files with 179428 additions and 15581 deletions

View File

@@ -0,0 +1,19 @@
// AMD FSR 4's network layers in miniature, for tests/test_fsr4_tune.py: constant weight tables read at loop-dependent
// places (one copied in once, one copied in at every iteration as FSR 4's own layers do), a writable and a read-only
// byte-address buffer, counted loops three deep, each with its counter alone (the sum kept in memory, as FSR 4's layers
// keep theirs in arrays). Built in this folder with:
// dxc -spirv -T cs_6_0 -E fsr4_model_test_pass7 -fspv-target-env=vulkan1.3 -Fo layer.spv layer.hlsl
RWByteAddressBuffer ScratchBuffer : register(u0);
ByteAddressBuffer InitializerBuffer : register(t1);
static const uint W[8] = { 0x0A0B0C0Du, 3u, 0xFFFFFFF0u, 77u, 5u, 0x12345678u, 9u, 1u };
[numthreads(64, 1, 1)]
void fsr4_model_test_pass7(uint3 id : SV_DispatchThreadID) {
const uint o = id.x * 4;
[unroll] for (uint i = 0; i < 4; i++)
[unroll] for (uint j = 0; j < 2; j++)
for (uint k = 0; k < 3; k++) {
const uint V[4] = { 11u, 22u, 33u, 44u };
ScratchBuffer.Store(o, ScratchBuffer.Load(o) + W[i * 2 + j] * ScratchBuffer.Load((id.x + k + 64) * 4) +
InitializerBuffer.Load(k * 4) + V[(k + i) & 3]);
}
}

BIN
tests/fsr4_tune/layer.spv Normal file

Binary file not shown.

View File

@@ -0,0 +1,11 @@
// A table the shader writes into itself (tests/test_fsr4_tune.py): it must stay where it is. Built in this folder with:
// dxc -spirv -T cs_6_0 -E fsr4_model_test_pass3 -fspv-target-env=vulkan1.3 -Fo written.spv written.hlsl
RWByteAddressBuffer ScratchBuffer : register(u0);
[numthreads(64, 1, 1)]
void fsr4_model_test_pass3(uint3 id : SV_DispatchThreadID) {
uint t[4] = { 1u, 2u, 3u, 4u };
t[ScratchBuffer.Load(0) & 3] = ScratchBuffer.Load(4);
uint acc = 0;
for (uint i = 0; i < 4; i++) acc += t[(i + id.x) & 3];
ScratchBuffer.Store(id.x * 4, acc);
}

BIN
tests/fsr4_tune/written.spv Normal file

Binary file not shown.