From af5cfe9998ae77dbf0f3af07a76e50e9129a92be Mon Sep 17 00:00:00 2001 From: cdozdil Date: Sat, 15 Mar 2025 14:32:58 +0300 Subject: [PATCH] Added WinGDK check for Unreal Engine games --- OptiScaler Setup.bat | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/OptiScaler Setup.bat b/OptiScaler Setup.bat index 6378521e..40e13b9f 100644 --- a/OptiScaler Setup.bat +++ b/OptiScaler Setup.bat @@ -260,6 +260,18 @@ if exist Win64 ( set dlssFile=%%F goto fileFound ) +) else ( + if exist WinGDK ( + echo. + echo Going to root folder of Unreal Engine game and searching again + cd .. + cd .. + + for /f "delims=" %%F in ('dir /s /b %fileToSearch% 2^>nul') do ( + set dlssFile=%%F + goto fileFound + ) +) ) :fileNotFound