From e9ba0b9603f18d23c86ff6f536aa78eb1febf6a7 Mon Sep 17 00:00:00 2001 From: SPiRiT Date: Wed, 24 Jun 2026 15:28:37 +0200 Subject: [PATCH] dxvk-nvapi: add missing nvofapi64.dll it has been introduced in dxvk-nvapi 0.8 in 2014 https://github.com/jp7677/dxvk-nvapi/releases/tag/v0.8.0 " Add implementation for nvofapi64.dll / NVIDIA Optical Flow API. This serves as a pass-through implementation for D3D12 and Vulkan backends to VK_NV_optical_flow for DLSS3 / Frame Generation. " --- package/batocera/wine/batocera-wine/batocera-wine | 4 ++-- package/batocera/wine/dxvk-nvapi/dxvk-nvapi.mk | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/package/batocera/wine/batocera-wine/batocera-wine b/package/batocera/wine/batocera-wine/batocera-wine index 90e1165c492..9288c7b9b21 100755 --- a/package/batocera/wine/batocera-wine/batocera-wine +++ b/package/batocera/wine/batocera-wine/batocera-wine @@ -465,11 +465,11 @@ dxvk_install() { mkdir -p "${WINEPREFIX}/drive_c/windows/system32" "${WINEPREFIX}/drive_c/windows/syswow64" || return 1 if [[ -e "/userdata/system/wine/dxvk" ]]; then echo "Creating links using /userdata, Linux File System required !!!" - ln -sf "/userdata/system/wine/dxvk/x64/"{d3d12.dll,d3d12core.dll,d3d11.dll,d3d10core.dll,d3d9.dll,dxgi.dll,nvapi64.dll} "${WINEPREFIX}/drive_c/windows/system32" || return 1 + ln -sf "/userdata/system/wine/dxvk/x64/"{d3d12.dll,d3d12core.dll,d3d11.dll,d3d10core.dll,d3d9.dll,dxgi.dll,nvapi64.dll,nvofapi64.dll} "${WINEPREFIX}/drive_c/windows/system32" || return 1 ln -sf "/userdata/system/wine/dxvk/x32/"{d3d8.dll,d3d12.dll,d3d12core.dll,d3d11.dll,d3d10core.dll,d3d9.dll,dxgi.dll,nvapi.dll} "${WINEPREFIX}/drive_c/windows/syswow64" || return 1 else echo "Creating links using /usr/wine/dxvk/, Linux File System required !!!" - ln -sf "/usr/wine/dxvk/x64/"{d3d12.dll,d3d12core.dll,d3d11.dll,d3d10core.dll,d3d9.dll,dxgi.dll,nvapi64.dll} "${WINEPREFIX}/drive_c/windows/system32" || return 1 + ln -sf "/usr/wine/dxvk/x64/"{d3d12.dll,d3d12core.dll,d3d11.dll,d3d10core.dll,d3d9.dll,dxgi.dll,nvapi64.dll,nvofapi64.dll} "${WINEPREFIX}/drive_c/windows/system32" || return 1 ln -sf "/usr/wine/dxvk/x32/"{d3d8.dll,d3d12.dll,d3d12core.dll,d3d11.dll,d3d10core.dll,d3d9.dll,dxgi.dll,nvapi.dll} "${WINEPREFIX}/drive_c/windows/syswow64" || return 1 fi else diff --git a/package/batocera/wine/dxvk-nvapi/dxvk-nvapi.mk b/package/batocera/wine/dxvk-nvapi/dxvk-nvapi.mk index 8987bb719b7..6946f08a71c 100644 --- a/package/batocera/wine/dxvk-nvapi/dxvk-nvapi.mk +++ b/package/batocera/wine/dxvk-nvapi/dxvk-nvapi.mk @@ -18,6 +18,7 @@ define DXVK_NVAPI_INSTALL_TARGET_CMDS mkdir -p $(TARGET_DIR)/usr/wine/dxvk/x64 cp -a $(@D)/target/x32/nvapi.dll $(TARGET_DIR)/usr/wine/dxvk/x32 cp -a $(@D)/target/x64/nvapi64.dll $(TARGET_DIR)/usr/wine/dxvk/x64 + cp -a $(@D)/target/x64/nvofapi64.dll $(TARGET_DIR)/usr/wine/dxvk/x64 endef $(eval $(generic-package))