Launcher diff, Wine and Vulkan notes, script generator
CGBJ AMD vs NVIDIA Setup: Play-VIctory-AMD.cmd vs Play-VIctory.cmd
The two main CGBJ launchers differ in exactly four variables: ports 1 and 5, plus the asynchronous THIN and JOIN_PARTS paths. Below is the full diff, the reason each was turned off on NVIDIA, and a generator that writes a clean .ps1 for your GPU and folders.

PowerShell Environment Script Generator
Choose a profile and enter your folders. The script reproduces the launcher's variables, checks that the title executable exists, and starts victory.exe exactly the way the .cmd file does. It contains no binaries and downloads nothing from third parties.
Paths look valid.
The script only sets environment variables and starts a victory.exe you built yourself. It downloads nothing except, on Windows 10, Microsoft's Agility SDK via the repo's own scripts\get-agility-sdk.ps1.
Launcher variable diff
| Variable | Play-VIctory.cmd | Play-VIctory-AMD.cmd | Play-VIctory-4GB.cmd | Why it differs |
|---|---|---|---|---|
VICTORY_PORT_CONSTANTS | 0 | 1 | 0 | With PORT_CBV it raised C++ exception #15 on 8 GB NVIDIA |
VICTORY_PORT_CBV | 0 | 1 | 0 | Dropped road surfaces on 8 GB NVIDIA |
VICTORY_THIN | 0 | 1 | 0 | On NVIDIA, head skin of characters was not drawn |
VICTORY_JOIN_PARTS | 0 | 8 | 0 | On NVIDIA it repeated frames of the opening video |
VICTORY_PORT_GUARD / JOURNAL | 1 / 1 | 1 / 1 | 1 / 1 | Safe on every tested GPU |
VICTORY_CARD_BUFFERS_MIN_KB | 64 | 64 | 4096 | Fewer, larger card buffers on 4 GB |
VICTORY_CARD_BUFFERS_MB | unset | unset | 256 | Caps card buffer memory on 4 GB |
VICTORY_D3D12_BACKGROUND | unset | unset | 0 | Stops driver background recompile threads |
--console | series-x | series-x | series-s | series-s dropped faces on 8 GB, accepted on 4 GB |
Shared by all three: VICTORY_LEVELS_ON_DEMAND=1, VICTORY_UPLOAD_AHEAD=1, VICTORY_PIPELINE_WAIT_MS=0, VICTORY_LIBRARY_STORE_LATER=1, VICTORY_CARD_STEPS=2, VICTORY_RELAY=2, VICTORY_TEXTURE_GUARD=0 and VICTORY_CACHE_DIR=%LOCALAPPDATA%\VIctory\cache-pareto. The 4 GB launcher sets ambient lighting to 0.8; the other two use constant:0.8, chosen because the frame-estimate mode washed the image out when walking into bright doorways.
NVIDIA checklist
- Use
Play-VIctory.cmd, even on 12 GB and 16 GB GeForce cards, until you have a stable baseline. - Test opt-in ports one at a time:
set VICTORY_PORT_CBV=1in the same window, run, look at roads; undo if surfaces disappear. - Leave
VICTORY_THINandVICTORY_JOIN_PARTSat 0 unless you are testing a newer commit that says otherwise. - Decoded video frame copies use a synchronous flush, kept by default for NVIDIA compatibility together with THIN=0 and JOIN_PARTS=0.
AMD checklist
- RX 7000 or 9000 with 16 GB or more:
Play-VIctory-AMD.cmdenables every port the top AMD forks run with. - RX 6000 (RDNA 2) or 8 to 12 GB cards: start from the default launcher; the AMD profile was not written for them.
- The ports were tested on AMD first, so AMD is the reference platform for performance numbers in the README.
- Ray tracing:
scripts\play.ps1 -RayTracingsetsVICTORY_BVH_BUILDER=1. AddVICTORY_PORT_RT=1to remove 15 to 61 ms stalls.
Wine, Proton and Vulkan notes
cool_fox is a Direct3D 12 program; on Linux it reaches Vulkan through vkd3d-proton inside Wine or Proton. The repository has three Wine-specific changes: root signatures generated in code for vkd3d-shader, single-latch normalisation of DXIL loops, and a 256 MiB pipeline worker stack. Commit d78b9eb on November 27 switched to a 16-byte SSE2 memcmp under Wine while keeping the AVX2 version on Windows. Build on Windows or with an MSVC cross toolchain (the pinned target is x86_64-pc-windows-msvc) and do not use the agility-sdk feature, which the README marks "Not for Wine or Proton". Startup probes the bindless heap root-signature flags and omits them on runtimes that reject them, which fixes "Unsupported bit-flag set" errors on older D3D12 implementations. Need the background on what each port does? Read renderer ports and Pareto VRAM.
AMD vs NVIDIA CGBJ Setup FAQ
Checked against the DoubleGhosty/cool_fox README, launcher scripts, commit history and the GitHub REST API on 2026-11-27.
What is the difference between Play-VIctory.cmd and Play-VIctory-AMD.cmd?
Both use the series-x console profile and the same residency settings. The AMD launcher additionally turns on renderer ports 1 and 5 (PORT_CONSTANTS and PORT_CBV) and the asynchronous paths VICTORY_THIN=1 and VICTORY_JOIN_PARTS=8. The default launcher keeps all four off because they caused missing road surfaces, a C++ exception, missing head skin or repeated video frames on NVIDIA 8 GB cards.
Can I use the AMD launcher on a 12 GB Radeon card?
The AMD launcher's own header targets RX 7000 or newer with 16 GB or more. On 8 to 12 GB Radeon cards start with Play-VIctory.cmd and enable one opt-in port at a time, keeping it only if the scene renders correctly.
Does CGBJ run on Linux?
Experimentally. The runtime targets Windows, but the repository carries Wine and Proton fixes: code-generated root signatures for vkd3d-shader, single-latch DXIL loop normalisation, and since commit d78b9eb a 16-byte SSE2 memcmp under Wine. The Agility SDK build is explicitly not for Wine or Proton, so use the default build.
Why does the generated script refuse a game folder inside the repository?
victory.example.toml states that every data path must be outside the repository and that the tools refuse otherwise. This keeps dumps out of git and is part of the project's asset policy.