Get-D3D12.cmd: Microsoft's newer Direct3D 12 runtime for a build of your own, in one double-click (#861) #928
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!928
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-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?
@kibagami-nc on GitHub · 2026-11-28 09:14 UTC · original
kibagami-nc:launch/get-d3d12-cmd→main· +12 −1 · 2 files · 1 commits · merged 2026-11-29 08:16 UTCWhy
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.
On Windows 10, a build of your own started from the script launchers needs D3D12\D3D12Core.dll beside target\release\victory.exe, and only victory.exe play offers it. scripts\get-d3d12.ps1 fetches it, but started as .\get-d3d12.ps1 it is refused where Windows runs no scripts, its default ("running scripts is disabled on this system", #861). Get-D3D12.cmd runs it with -ExecutionPolicy Bypass, as Get-NVIDIA-DLSS.cmd and Get-AMD-FSR.cmd run theirs; the README names it beside them.