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

@@ -129,6 +129,15 @@ struct Reader {
if (latin && !font.empty() && !has_latin(font)) font.clear();
return font;
}
/// ((Triforce) the menu's languages) A font of another script by name, for the letters the menu's fonts lack (vk_imgui.cpp
/// script_fonts): the .bfotf or the .bfttf, whatever letters it has; empty when the files do not have it
std::vector<unsigned char> read_script(const char* name) const {
std::vector<unsigned char> packed, raw;
if (!dict) return {};
for (const char* ext : {".Nin_Ounce_NVN2.bfotf.zs", ".Nin_Ounce_NVN2.bfttf.zs"})
if (read_file(romfs + "Font2/Scalable/" + name + ext, packed) && unzstd(packed, dict, raw)) return bfotf_font(raw);
return {};
}
/// A file of the romfs packed with the dictionary (path from the romfs folder), whole; false when it is not there
bool read_packed(const char* path, std::vector<unsigned char>& out) const {
std::vector<unsigned char> packed;