From b342b80267829e10aa415dd17a5b9a72928da45d Mon Sep 17 00:00:00 2001 From: XxJSONDeruloxX Date: Sun, 19 Apr 2026 12:15:34 -0400 Subject: fix: drop nvngx.dll remote binary and all shipping/staging references The nvngx.dll bundled from the OptiScaler v0.7.8-pre0 nightly was the real NVIDIA DLSS 3.10.3 production runtime (47 MB). Inspection of its PE export table showed it is missing 18 NVSDK_NGX_* symbols introduced in DLSS SDK 3.1+ that every modern DLSS-enabled title calls at init: NVSDK_NGX_D3D12_AllocateParameters / DestroyParameters NVSDK_NGX_D3D12_GetCapabilityParameters / GetParameters NVSDK_NGX_D3D12_Init_with_ProjectID / Init_ProjectID NVSDK_NGX_UpdateFeature (plus D3D11 and Vulkan equivalents) OptiScaler 0.9.0-final's own NGX proxy layer exports all of these and handles all NGX interception internally. Shipping the bare NVIDIA DLL alongside it caused export-not-found failures on Proton when any code path bypassed OptiScaler's hooks and resolved directly against the file. The OptiScaler 0.9.0-final release notes also explicitly advise Linux users to delete nvngx.dll when upgrading. Changes: - package.json: remove nvngx.dll from remote_binary download list - main.py SUPPORT_FILES: remove nvngx.dll (no longer staged to fgmod/) - main.py extract_static_optiscaler: remove nvngx.dll from additional_files; add explanatory comment for future reference - main.py check_fgmod_path: remove nvngx.dll from required-file check - fgmod.sh: remove the cp line that deployed nvngx.dll into game dirs nvngx.dll is intentionally kept in INJECTOR_FILENAMES (main.py) and in the fgmod.sh pre-patch rm and fgmod-uninstaller.sh cleanup so that any copy placed by a previous plugin version is swept from game directories on the next patch or uninstall. --- defaults/assets/fgmod.sh | 1 - 1 file changed, 1 deletion(-) (limited to 'defaults/assets') diff --git a/defaults/assets/fgmod.sh b/defaults/assets/fgmod.sh index decb981..8d0b77b 100755 --- a/defaults/assets/fgmod.sh +++ b/defaults/assets/fgmod.sh @@ -183,7 +183,6 @@ cp -f "$fgmod_path/amd_fidelityfx_dx12.dll" "$exe_folder_path/" || true cp -f "$fgmod_path/amd_fidelityfx_framegeneration_dx12.dll" "$exe_folder_path/" || true cp -f "$fgmod_path/amd_fidelityfx_upscaler_dx12.dll" "$exe_folder_path/" || true cp -f "$fgmod_path/amd_fidelityfx_vk.dll" "$exe_folder_path/" || true -cp -f "$fgmod_path/nvngx.dll" "$exe_folder_path/" || true # === Nukem FG Mod Files (now in fgmod directory) === cp -f "$fgmod_path/dlssg_to_fsr3_amd_is_better.dll" "$exe_folder_path/" || true -- cgit v1.2.3