/dxvk-nvapi

Very (very, very) basic implementation of the NVAPI extensions for DXVK for ACC.

Primary LanguageC++MIT LicenseMIT

Experimental non-complete NVAPI D3D11 implementation for DXVK

This repository provide a very (very very) basic proof-of-concept implementation of the NVAPI extensions for DXVK. It is mostly a direct copy DXVK-AGS, but adjusted for NVAPI.

This implementation currently advertises Depth bounds test only.

This implemenation has been tested with a single game only: Assetto Corsa Competizione, based on Unreal Engine 4. Due to the complexity of the API this implementation wont most likely work with anything else. Unreal Engine 4 is so kind to query every method is uses before actually using a method. Any engine or program that uses the NVAPI methods directly will fail.

How to build

Like DXVK, this library is being built as a Windows DLL using MinGW, and has essentially the same build requirements.

Run:

./package-release.sh master /your/path

How to use

  • Copy nvapi64.dll into the system32 folder of your x64 Wine prefix.
  • Make sure that your prefix uses the native version of nvapi64.
  • Disable the nvapiHack in DXVK.

References and inspirations

Many thanks to the coresponding authors!