Skip to content

Swapchain fixes — v0.6.2

Latest

Choose a tag to compare

@wilsjo2 wilsjo2 released this 07 Sep 00:05

Swapchain fixes — v0.6.2

Rebuilt complete package from runtime commit 7492b0c4, including both parts of
janblade's PR #2.

  • Fixes window-sized (0x0) swapchains being mistaken for tiny overlay/helper windows. Includes the
    matching legacy DLSSG sizing path and better diagnostic logging.
  • Adds the reviewed DirectComposition hook, with corrected pass-through calls, preserved composition
    settings and a current-process-only fallback for selecting the menu/input window.
  • Retains v0.6.1's padded pre-SR fix and earlier per-pass, skin/environment and FG compatibility work.

Updating

  1. Close the game and back up your current mod files and OptiScaler.ini.
  2. Download OptiScaler-DLSSNR-v0.6.2-swapchain-fixes.zip, not GitHub's source-code ZIP.
  3. Extract the complete package into the same game folder and rerun setup_windows.bat with the same
    proxy choice as before. This updates the installed proxy DLL, not just OptiScaler.dll.
  4. Restore your backed-up INI if you want to retain your settings. Keep your separately obtained NVIDIA
    runtime files. Follow INSTALL-DLSSNR.md for a new installation.

No NVIDIA NR/FG runtime DLLs or RTX 40 unlocker binaries are bundled. The pinned official FG downloader
and instructions are included. Historical releases remain unchanged.

Checks and limits

x64 Release build and hidden-window/D3D11 WARP sizing and native DirectComposition create/attach/resize
tests passed. Existing compiler/linker warnings remain. The composition test exercises the native API
contract, not injection of this DLL. NBA 2K26, wrapped composition attachment and FG integration have
not been independently game-tested. Composition HWND selection remains best-effort for multi-window
applications; the hook does not add composition-specific FG replacement.

The package remains experimental. See the review
for scope and limitations. SHA256SUMS.txt checks package contents; the accompanying
ASSET-SHA256SUMS.txt checks the ZIP download. Keep antivirus enabled.