From 8f6bcd367e8cfb6e9bba2a8b4a300c72560876df Mon Sep 17 00:00:00 2001 From: chrg6 Date: Sat, 7 Nov 2026 13:31:06 -0500 Subject: [PATCH] Build kit: ship AMD's amd_fidelityfx_vk.dll for FSR 3.1 (make_kit.py --ffx) and let its DLLs past the size check. Co-Authored-By: Claude Opus 5.5 --- tools/make_kit.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/make_kit.py b/tools/make_kit.py index f36d8d1b..032f7472 100644 --- a/tools/make_kit.py +++ b/tools/make_kit.py @@ -33,7 +33,7 @@ def copy_tree(src, dst): def main(): ap = argparse.ArgumentParser(description=__doc__.splitlines()[0]) ap.add_argument('--xlate', type=Path, required=True, help='folder with nx2navi_xlate.exe and nx2navi_xlate.id') - ap.add_argument('--ffx', type=Path, help='AMD's signed amd_fidelityfx_vk.dll (FidelityFX SDK 1.1.4, MIT) for FSR 3.1') + ap.add_argument('--ffx', type=Path, help="AMD's signed amd_fidelityfx_vk.dll (FidelityFX SDK 1.1.4, MIT) for FSR 3.1") ap.add_argument('--out', type=Path, default=ROOT / 'build' / 'kit') ap.add_argument('--zip', action='store_true') a = ap.parse_args() @@ -58,7 +58,7 @@ def main(): sys.path.insert(0, str(ROOT / 'tools')) import check_content bad = [f'{p.relative_to(kit)}: {m}' for p in sorted(kit.rglob('*')) if p.is_file() - for m in check_content.problems_for(p, allow_large=p.suffix == '.exe')] + for m in check_content.problems_for(p, allow_large=p.suffix in ('.exe', '.dll'))] # the translator, AMD's DLL if bad: sys.exit('check_content refuses these kit files, not zipped:\n ' + '\n '.join(bad[:20])) size = sum(p.stat().st_size for p in kit.rglob('*') if p.is_file())