mirror of
https://github.com/optiscaler/OptiScaler.git
synced 2026-05-03 16:21:46 +00:00
edb298d431
* Add fg dropdown, move configs around and rename config * Fix a case with no config file * Add a warning about using the old config file * Fix the separator * Update config name * Misc rename * Move the warning message
69 lines
3.2 KiB
Markdown
69 lines
3.2 KiB
Markdown
# Spoofing
|
|
Except from first generation of DLSS2 games they all have some kind of NVidia verifying to enable DLSS option.
|
|
To bypass these checks modders have developed some tools.
|
|
|
|
## Windows
|
|
### Nvapi
|
|
For spoofing Nvapi calls FakeNvapi can be used. This is needed for enabling DLSS support for some games (like Shadow of the Tomb Raider etc.)
|
|
|
|
Also as a **big bonus** with latest releases FakeNvapi added support for AMD's AntiLag 2 & LatencyFlex to reduce input latency on games that supports Nvidia's Reflex.
|
|
##### Usage
|
|
Just put `nvapi64.dll` next to OptiScaler and set `OverrideNvapiDll=true` from `OptiScaler.ini`. This only works when OptiScaler is working as non-nvngx (not as `nvngx.dll`).
|
|
|
|
For using without OptiScaler:
|
|
You need to put `nvapi64.dll` file to your `%WINDIR%\System32` but **be careful!**
|
|
* If you are an Nvidia user **backup your original file** and restore after mod usage is over.
|
|
* Do not use this mod with online games, it might cause anti cheat issues or banning.
|
|
##### Link
|
|
[FakeNvapi](https://github.com/FakeMichau/fakenvapi/releases)
|
|
|
|
### DXGI
|
|
OptiScaler have built-in DXGI spoofing option which is enabled by default when working as non-nvngx (not as `nvngx.dll`).
|
|
|
|
#### d3d12-proxy
|
|
Alternatively for spoofing DXGI adapter checks d3d12-proxy can be used. This mod reports your GPU as RTX 4090.
|
|
##### Usage
|
|
Just place dxgi.dll file next to games executable.
|
|
##### Link
|
|
[d3d12-proxy](https://github.com/cdozdil/d3d12-proxy/releases)
|
|
|
|
### Vulkan
|
|
OptiScaler have built-in Vulkan spoofing options when working as non-nvngx (not as `nvngx.dll`).
|
|
Vulkan spoofing by default disabled and should be enabled from `OptiScaler.ini` when needed.
|
|
```ini
|
|
; Enables Nvidia GPU spoofing for Vulkan
|
|
; true or false - Default (auto) is false
|
|
Vulkan=auto
|
|
|
|
; Enables Nvidia extension spoofing for Vulkan
|
|
; true or false - Default (auto) is false
|
|
VulkanExtensionSpoofing=auto
|
|
```
|
|
|
|
#### vulkan-spoofer
|
|
Alternatively for spoofing `GetPhysicalDeviceProperties` checks vulkan-spoofer can be used. This mod reports your GPU as RTX 4090.
|
|
Compatiblity is a bit hit and miss, works for No Man's Sky (not working with latest streamline patch) but not working with Doom Eternal.
|
|
##### Usage
|
|
Just place version.dll file next to games executable.
|
|
##### Link
|
|
[vulkan-spoofer](https://github.com/cdozdil/vulkan-spoofer/releases)
|
|
|
|
## Linux
|
|
On Linux with you can use Wine & DXVK's embedded spoofing mechanisms.
|
|
|
|
### DirectX & Vulkan
|
|
For DXGI & Vulkan spoofing just create a `dxvk.conf` file next to game's executable with this content or just download it from [here](https://raw.githubusercontent.com/cdozdil/CyberXeSS/imgui-intergration/dxvk.conf).
|
|
```ini
|
|
dxgi.customVendorId = 10de
|
|
dxgi.hideAmdGpu = True
|
|
dxgi.hideNvidiaGpu = False
|
|
dxgi.customDeviceId = 2684
|
|
dxgi.customDeviceDesc = "NVIDIA GeForce RTX 4090"
|
|
```
|
|
### NVAPI
|
|
For spoofing NVAPI with Proton set this envvar `PROTON_FORCE_NVAPI=1`
|
|
|
|
## Goghor's DLSS Unlocker's
|
|
Goghor have created DLSS Unlocker mods for a lot of games which can be found on his [Nexus](https://www.nexusmods.com/spidermanmilesmorales/users/12564231?tab=user+files&BH=0) profile.
|
|
For example as far as I know for Doom Eternal still only way to enable DLSS is his mod.
|