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

@@ -241,6 +241,16 @@ def _kept_version(d):
return bool(cur) and _same(cur, d)
def kept_translation(sa):
"""(Triforce) make_game.py keep_translation left the lift's small files in sa (its .lift_key marked "kept"): the next update with
the same tools skips the lift with them. Not let go after a build (Free up space still lets them go)"""
try:
with open(os.path.join(sa, "gen", ".lift_key"), encoding="utf-8") as f:
return f.read().split()[2:3] == ["kept"]
except (OSError, UnicodeDecodeError):
return False
def freeable(after_build=False, installing=False):
"""What free lets go (measure counts it; nothing is changed here). (Triforce) Never an unfinished version that still holds
folders of the installed one (setup_parts.lent: its reused.txt): deleted, the installed version lost its Python or its
@@ -248,7 +258,8 @@ def freeable(after_build=False, installing=False):
(downloads\\, versions\\) stays"""
from . import setup_parts
for d in (("sa", "exefs", "probe") if after_build else ("objcache", "sa", "exefs", "probe")):
yield os.path.join(work(), d)
if not (after_build and d == "sa" and kept_translation(os.path.join(work(), d))):
yield os.path.join(work(), d)
for d in ("update",) if installing else ("downloads", "update"):
yield os.path.join(paths.base(), d)
v = paths.versions()