From 3a0f1ae4f37fb505d0eef0c3bca7d28f631990e2 Mon Sep 17 00:00:00 2001 From: cdozdil <35529761+cdozdil@users.noreply.github.com> Date: Fri, 26 Jul 2024 16:51:55 +0300 Subject: [PATCH 1/3] Update README.md --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 5050570e..c5d04752 100644 --- a/README.md +++ b/README.md @@ -82,6 +82,11 @@ To solve this problem you need to install `d3dcompiler_47` with `WineTricks` or **Please don't rename the ini file, it should stay as `nvngx.ini`**. +### Update OptiScaler version when using DLSS Enabler +1. Delete/rename `dlss-enabler-upscaler.dll` in game folder +2. Copy `nvngx.dll` file from OptiScaler 7zip file to game folder +3. Rename `nvngx.dll` to `dlss-enabler-upscaler.dll` + ## Uninstallation * Run `DisableSignatureOverride.reg` file * Delete `EnableSignatureOverride.reg`, `DisableSignatureOverride.reg`, `nvngx.dll`, `nvngx.ini` files From fdbc8ac0dc5cbb1f6fd16e204ace6104176d7057 Mon Sep 17 00:00:00 2001 From: cdozdil <35529761+cdozdil@users.noreply.github.com> Date: Fri, 26 Jul 2024 16:53:27 +0300 Subject: [PATCH 2/3] Update README.md --- README.md | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index c5d04752..68fef9af 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,14 @@ OptiScaler implements all necessary API methods of DLSS2 & NVAPI to act as a man *If your game is not on Steam, it all boils down to opening regedit inside your game's prefix and importing the file.* ### Installation for DLSS 3.7 and above as `non-nvngx` -With DLSS 3.7 Nvidia disabled signature check override, this means `nvngx.dll` or `_nvngx.dll` must be signed by Nvidia. For this override I am using a method developed by **Artur** (developer of [DLSS Enabler](https://www.nexusmods.com/site/mods/757?tab=description)). Also this method increases compatibility of `OverlayMenu`. OptiScaler supports being loaded by these filenames: +With DLSS 3.7 Nvidia disabled signature check override, this means `nvngx.dll` or `_nvngx.dll` must be signed by Nvidia. For this override I am using a method developed by **Artur** (developer of [DLSS Enabler](https://www.nexusmods.com/site/mods/757?tab=description)). Also this method increases compatibility of `OverlayMenu`. + +Step-by-step installation (**Nvidia users please skip step 1 & 2**): +1. We need an Nvidia signed dll file to bypass signature checks. All games that support DLSS come with `nvngx_dlss.dll`. Most of the time it's in the games exe folder. Some games and engines keep these third party dll's in different folders (like `plugins`). So we need to find the `nvngx_dlss.dll` file and copy it to the games exe folder. If it's already in the games exe folder, make a copy of it. +2. Rename the copy of `nvngx_dlss.dll` in games exe folder to `nvngx.dll`. +3. Rename OptiScaler's `nvngx.dll` to one of the supported filenames (I prefer `dxgi.dll`, it also eliminates the need for d3d12 proxy) and copy it to the games exe folder. + +OptiScaler supports being loaded by these filenames: * dxgi.dll (with Nvidia GPU spoofing for non-Nvidia cards) * winmm.dll * version.dll @@ -58,11 +65,6 @@ With DLSS 3.7 Nvidia disabled signature check override, this means `nvngx.dll` o * winhttp.dll * OptiScaler.asi (with an ASI loader) -Step-by-step installation (**Nvidia users please skip step 1 & 2**): -1. We need an Nvidia signed dll file to bypass signature checks. All games that support DLSS come with `nvngx_dlss.dll`. Most of the time it's in the games exe folder. Some games and engines keep these third party dll's in different folders (like `plugins`). So we need to find the `nvngx_dlss.dll` file and copy it to the games exe folder. If it's already in the games exe folder, make a copy of it. -2. Rename the copy of `nvngx_dlss.dll` in games exe folder to `nvngx.dll`. -3. Rename OptiScaler's `nvngx.dll` to one of the supported filenames (I prefer `dxgi.dll`, it also eliminates the need for d3d12 proxy) and copy it to the games exe folder. - Linux users should add renamed dll to overrides: ``` WINEDLLOVERRIDES=dxgi=n,b %COMMAND% @@ -82,7 +84,7 @@ To solve this problem you need to install `d3dcompiler_47` with `WineTricks` or **Please don't rename the ini file, it should stay as `nvngx.ini`**. -### Update OptiScaler version when using DLSS Enabler +## Update OptiScaler version when using DLSS Enabler 1. Delete/rename `dlss-enabler-upscaler.dll` in game folder 2. Copy `nvngx.dll` file from OptiScaler 7zip file to game folder 3. Rename `nvngx.dll` to `dlss-enabler-upscaler.dll` From fc410c54852a4f0ef2e90e8f8f0a84dd00fb52dd Mon Sep 17 00:00:00 2001 From: cdozdil <35529761+cdozdil@users.noreply.github.com> Date: Fri, 26 Jul 2024 16:57:40 +0300 Subject: [PATCH 3/3] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 68fef9af..05eebd09 100644 --- a/README.md +++ b/README.md @@ -76,7 +76,7 @@ Alternatively you can create a new folder called `plugins` and put other mods fi ![image](https://github.com/cdozdil/OptiScaler/assets/35529761/c4bf2a85-107b-49ac-b002-59d00fd06982) #### Shader Compilation error on Linux -If you are using OptiScaler with Linux and you have problems with `RCAS` or `Output Scaling`, you will probably see this message in your logs. +If you are using OptiScaler with Linux and you have problems with `RCAS`, `Reactive Mask Bias` or `Output Scaling`, you will probably notice this message in your logs. ``` CompileShader error compiling shader : :83:26: E5005: Function "rcp" is not defined. ```