Get-D3D12.cmd: Microsoft's newer Direct3D 12 runtime for a build of your own, in one double-click (#861) #928
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/928"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by kibagami-nc on 2026-11-28T09:14:57Z.
Why
On Windows 10, the layer needs Microsoft's newer Direct3D 12 runtime:
D3D12\D3D12Core.dllbesidevictory.exe. Windows 10's own runtime stops at shader model 6.5.victory.exe playoffers it at the start, but the script launchers startvictory.exe run, which does not (#210 adds that check to them). For a build of your own,scripts\get-d3d12.ps1puts the file besidetarget\release\victory.exe. Started as.\get-d3d12.ps1, Windows refuses it where running scripts is off, which is the default:That is #861. Its reporter got past it with
powershell -ExecutionPolicy Bypass -File .\get-d3d12.ps1.The change
Get-D3D12.cmdat the top of the repository runsscripts\get-d3d12.ps1with-NoProfile -ExecutionPolicy Bypassand passes its arguments on. It is the same asGet-NVIDIA-DLSS.cmdandGet-AMD-FSR.cmddo for theirs: double-click it once.Get-NVIDIA-DLSS.cmd("once, Windows 10 only"), and a mention where the README explains the Windows 10 runtime.The script itself is unchanged: it still checks the package and the DLL against the tested SHA-256 and Microsoft's signature.
Tests
Get-D3D12.cmd -Version 0.0.0 -To <a scratch folder>, a version that does not exist, so nothing is downloaded:could not get https://api.nuget.org/.../microsoft.direct3d.d3d12.0.0.0.nupkg);The real download is the same script that
victory.exe get-d3d12runs.No game files, dumps or extracted data are included.