Crash fixes: upload room reserved at the start, D3D12 folder of any version, VICTORY_HOME

- upload.rs: 32 pieces of 64 MiB at the top of [4 GiB, 2^37) are reserved first
  thing in main, before the process's allocations can fill that window. On
  players' PCs it was full by the first ray-traced frame, the first upload
  failed and the title threw "D3D12 XDXR Error: Failed to allocate upload
  buffer". Past the pool: the window as before, a failed search not repeated
  for a second (with PR #88's per-frame limit in memory.rs), then the heap
  instead of null.
- main.rs: D3D12SDKVersion follows the version of D3D12\D3D12Core.dll beside
  the exe (a repack's 1.618 or 1.620 gave 0x887E0003 against our 614).
- VICTORY_HOME: one folder for settings, saves, caches, logs and downloads
  (a full C: drive, issue 135).
- README: both.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
trustno1-coderandClaude Opus 5.5 committed 2026-11-27 12:07:42 -08:00
1 parent c5f7528bbf
commit e69e39c55b
7 files changed
+242 -62

No files matched your search

+9 -1
View File
@@ -61,7 +61,15 @@
SDK, `D3D12Core.dll`, about 22 MB from nuget.org). It goes into a `D3D12`
folder beside `victory.exe`. `victory.exe get-d3d12` does the same by hand.
The file is checked against Microsoft's signature and the tested SHA-256.
Windows 11 keeps using its own runtime.
Windows 11 keeps using its own runtime. A `D3D12` folder that is already
there, for example from a repack or another guide (1.618, 1.620), is used
at the version of its `D3D12Core.dll`. Before v2026.11.27.4 that version
had to be 1.614, or Windows refused Direct3D 12 with `0x887E0003`.
- C: drive full? Set `VICTORY_HOME` to another folder, once, in a command
prompt: `setx VICTORY_HOME D:\victory`. Then start victory.exe from a new
window. Settings, saves, caches, logs and the downloads all go there
instead of `%LOCALAPPDATA%\victory`. To keep what you have, move that
folder's contents there first.
- You need Windows 10 or 11, 32 GB of RAM or more, an SSD and an NVIDIA
GeForce RTX card with a recent driver. This repository and its releases
contain no game files.