foxhound is a compatibility layer that runs Xbox Series (GDK) executables on Windows PCs. It is a fork of an open-source layer (see Credits). It does not emulate the console's processor: an x64 executable runs on the PC's processor, and the layer stands in for the console platform around it:
- Loader: maps the executable and its DLLs, binds their imports to the layer's own implementations, and runs the few instructions of the console's processor (Zen 2) that a PC's processor may lack.
- Graphics: implements the console's Direct3D 12 variant on the PC's Direct3D 12, and translates the console GPU's native shader code (RDNA 2 instructions) into DXIL. Console memory the GPU reads is mirrored into host resources. Optional: NVIDIA DLSS and frame generation through Streamline, AMD FSR through FidelityFX.
- Memory and system: the console's memory APIs (physical pages, mappings, placeholders), files and storage (including DirectStorage requests), threads and timing, users, saves, packages.
- Audio and input: the console's audio decoding and output, and its gamepad API on XInput, HID pads or keyboard and mouse.
Status: the layer has been developed and tested against one program so far, on NVIDIA RTX cards first. Much of the platform is implemented only as far as that program uses it. What the layer needs to know about one program (where its patches go, which of its shaders play which role, the tables its texture format needs) lives in a title profile kept outside this repository (see Title profiles). Without one the layer still runs, with less: the launcher greys the choices that need one, Play names them before it starts, and the log lists what is off. Measurements and known faults: docs/status.md.
This repository contains no game files, code or assets, and none are distributed with its releases. The layer runs only files you already have the right to use. foxhound is not affiliated with or endorsed by Microsoft/Xbox, NVIDIA, AMD or any game's developer or publisher. Official downloads come only from this repository's Releases; bundles elsewhere that include game files are not ours. See What is and is not here and docs/asset-policy.md.
| Windows | Windows 11, or Windows 10 22H2 with Microsoft's newer Direct3D 12 runtime (the launcher offers to fetch it: see Troubleshooting). Linux with Proton or Wine: see Troubleshooting; not tested by us |
| Graphics card | Direct3D 12 with Shader Model 6.6 and mesh shaders. NVIDIA GeForce RTX: what it is developed and tested on (a 12 GB RTX card); DLSS needs an RTX card, DLSS frame generation RTX 40 or later. AMD Radeon: runs; the defaults are chosen for NVIDIA, so expect more faults; FSR takes DLSS's place. Intel Arc: not tested by us |
| Driver | a current one. The layer asks for no particular version; for DLSS, Streamline checks the driver and the log says what it needs (with hardware-accelerated GPU scheduling on for frame generation) |
| RAM | 32 GB recommended, 16 GB minimum (the launcher then picks the lighter Series S profile). RAM and page file together at least 52 GB, or a page file that Windows manages (the default): a run commits about 48 GB |
| CPU | x64 with AVX2. Both the processor and the card set the frame rate: the layer prepares each frame's work on the processor, and the card has to draw it |
| Disk | an SSD, and about 10 GB free for the caches (translated shaders and compiled pipelines; the launcher's "Cache folder" row moves them) |
No tools and no build: about 10 minutes.
- Download
foxhound-windows-x64.zipfrom the latest release and unpack the whole zip into one folder. It holdsFoxhound.exe(the launcher),victory.exe(the layer), a README and the licence. No game files and nothing of NVIDIA's or AMD's are in it. - Start
Foxhound.exe. Windows may warn about an unknown publisher (the programs are not signed): "More info", then "Run anyway". The release notes give each file's SHA-256 (see Troubleshooting for antivirus warnings). - Choose the program's folder. The first start asks once for the folder that holds the program's
.exe(a folder above it is found too), puts a "Foxhound" shortcut on the desktop and offers Recommended settings: it looks at your card, monitor, RAM and processor, shows what it would set, and sets it after a yes. - For DLSS (NVIDIA RTX): NVIDIA's licence does not let us ship Streamline, so download
streamline-sdk-v2.14.16.zipfrom https://github.com/NVIDIA-RTX/Streamline/releases, unpack it anywhere, and in the launcher press the button in the Streamline folder row and choose the unpacked folder (or itsbin\x64). A folder namedstreamlinebesideFoxhound.exeis found without asking. Until then DLSS is greyed out. - For FSR (any card): download AMD's FidelityFX SDK
(2.x), unpack it anywhere, and in the launcher press the button in the FidelityFX folder row and choose the
unpacked SDK folder. A folder named
fidelityfxbesideFoxhound.exeis found without asking. The DLLs used are AMD's signedamd_fidelityfx_upscaler_dx12.dll(FSR upscaling),amd_fidelityfx_loader_dx12.dllandamd_fidelityfx_framegeneration_dx12.dll(FSR frame generation). Without the launcher, put them in a folder namedfidelityfxbesidevictory.exe, or name their folder inVICTORY_FIDELITYFX_DIR. - Load the title profile (see Title profiles). It is two files,
profile.tomlandbcpack-tables.bin: keep them together. Press Load title profile… and chooseprofile.toml, or put both files besideFoxhound.exeor the program's.exe, where they are found as they are. The profile row then says Loaded. Without it the 1440p output, DLSS, FSR and frame generation are off, packed textures are flat colour, and lit places flood with white glare (the light estimate needs the profile). A copy installed with the button wins over files placed beside the programs: after an update, load the new profile with the button. - Choose your settings (see Recommended settings and Upscaling and frame generation) and press Play. The Ray tracing row is Off by default; Software is experimental, costs frame rate, and re-prepares shaders once when changed.
- The "Getting ready" window comes up before the first start and after updates: it translates the program's shaders (a few minutes, once per version of foxhound and set of switches) and compiles the pipelines earlier runs used (seconds; minutes after an update of foxhound or of the graphics driver). With a title profile that lists the program's pipelines (0.8.3.5's does), the first time compiles all of them ahead: many minutes, once (16 minutes for 88,604 pipelines on the PC it was measured on), those drawn first first. Let it finish. It has no close box; "Cancel" asks first and keeps what is done. During pipeline compiling, "Skip: compile while playing" starts at once, with a slow picture in new scenes at first.
- While playing, F1 opens the settings. Each one says whether it takes effect "at once" or "after restart"; "Restart the game" and "Quit the game" are in the same menu. The Frame-rate counter row shows a small counter in the upper left corner; "Statistics on screen" (off by default) shows a box of numbers there instead, which F3 hides and shows.
Without a pipeline list, the very first run is slow, once. A scene shown for the first time on your PC compiles its pipelines while you play: for about a minute the picture runs at a few frames a second and objects are missing. Every pipeline is written down; from the next start on, the "Getting ready" window compiles them ahead. A title profile with a pipeline list (0.8.3.5's) has them compiled before the first start instead.
What the launcher's Recommended settings button picks, by card memory and RAM (version 0.8.3.5). Only one PC was measured: a 12 GB NVIDIA RTX card with 32 GB of RAM, with the title profile loaded. Every other row follows the button's rules and how much memory the program uses, not a test on that hardware; testers' reports are welcome (see Reporting a problem). Every row assumes the title profile: without it, the Series X profile runs the program's own 4K output with no upscaler and no frame generation (see Title profiles).
| Card memory | RAM | Console profile and output | Upscaler: NVIDIA RTX / AMD | Card memory limit | Frame generation | Tested | What to expect |
|---|---|---|---|---|---|---|---|
| 6 GB | 16 GB | Series S (1080p class) | DLSS Performance / FSR Performance | Auto | Off | No | Under 30 fps at any upscaler mode (see Small cards); page file of at least 40 GB on an SSD |
| 6 GB | 32 GB | Series S (1080p class) | DLSS Performance / FSR Performance | Auto | Off | No | Under 30 fps at any upscaler mode |
| 8 GB | 16 GB | Series S (1080p class) | DLSS Performance / FSR Performance | Auto | Off | No | Laptop cards: under 30 fps at any mode. Desktop cards: borderline, the low to mid 20s in busy scenes. Page file of at least 40 GB on an SSD |
| 8 GB | 32 GB | Series S (1080p class) | DLSS Performance / FSR Performance | Auto | Off | No | As above, without the page-file note |
| 12 GB | 16 GB | Series S: under 20 GB of RAM the button picks Series S whatever the card | DLSS Balanced / FSR Balanced | Auto | Off | No | Paging and stutter likely: the program holds 22 to 25 GB even as Series S. Page file of at least 40 GB on an SSD |
| 12 GB | 32 GB | Series X, 2560x1440 | DLSS Balanced / FSR Balanced | Auto | Off unless 30 fps are rendered steadily without it | Yes, with the title profile | Short drives on a 0.8.3 test build with these defaults: about 20 fps median, the slowest tenth of seconds about 17. A steady 30 is not reached in busy outdoor scenes |
| 16 GB | 16 GB | Series S | DLSS Balanced / FSR Balanced | Auto | Off | No | As 12 GB with 16 GB of RAM |
| 16 GB | 32 GB | Series X, 2560x1440; 4K output on a 4K monitor | DLSS Balanced (4K: Performance) / FSR the same | Auto | Off unless 30 fps are rendered steadily without it | No | At least the 12 GB figures; 4K is untested |
| 20 GB and more | 32 GB | as 16 GB | DLSS Quality (4K: Balanced) / FSR the same | Auto | as 16 GB | No | As 16 GB |
- Frame rate: 30 fps, the program's own, for everyone. The 40 fps, 60 fps and No limit settings are experimental: they ask the program to run faster, which the layer reaches only in light scenes.
- Frame generation is left off by the button. Turn it on only if the statistics panel ("Statistics on screen", F3) shows a steady 30 rendered fps in busy scenes: generated frames over fewer than 30 feel worse than they look. On the tested PC, 30 rendered frames show as 60.
- Card memory limit ("VRAM limit"): Auto uses what Windows reports for your card (less a share kept for frame generation when it is on). A lower limit leaves memory to other programs and keeps a small card from spilling into the PC's memory; lower it if you see "out of memory" (see Troubleshooting).
Small cards (6 and 8 GB, laptop cards above all): no 30 fps at any upscaler mode. At the Series S profile with
DLSS Performance, the program's own card work alone is about 22 to 23 ms a frame on the 12 GB test card, which is
roughly 45 to 70 ms on those cards. Ultra Performance renders far fewer pixels but saves under 1 ms of that work,
which does not depend on the render size, and it makes thin detail flicker, so the button does not pick it. An
optional memory saver: the PC memory row's Save PC memory choice (WINDOW_KB=1024, WINDOW_TAILS=1,
STREAM_BOUND=1, LOOSE_READ=1; about 280 MB less card memory on the tested PC, the same frame rate; off by
default, and an experiment).
AMD cards: no DLSS. Choose FSR upscaling (FSR 4 where the driver offers it, else FSR 3.1); FSR 3 frame generation follows the same rule as above and needs FSR upscaling on. Both need AMD's FidelityFX DLLs (see Quick start, step 5). The same profile and memory rules apply. No AMD card has been tested by us.
PCs with 16 GB of RAM:
- The button picks the Series S profile. The PC memory row's Save PC memory choice makes the layer's copies of the program's memory smaller (an experiment, off by default; 0.8.3 turned two of its four settings on for every PC with 16 GB, which was never measured as it shipped).
- The program uses about 48 GB of memory in all (RAM plus page file), so the page file has to cover what RAM does not: a page file of at least 40 GB on an SSD, or one that Windows manages on a drive with that much room. A 16 GB player reported that this cured out-of-memory crashes.
- Close other programs while playing.
- A source build started with
scripts/play-foxhound.ps1gets the saver with-More.
0.8.3.5 goes back to 0.8.2's defaults where 0.8.3 changed them without a comparison on more than one PC. Each 0.8.3 value can still be set in Further switches (one per line):
| 0.8.3.5, as 0.8.2 | 0.8.3's value | What it does |
|---|---|---|
KEEP_SHOWN=1 |
KEEP_SHOWN=2 |
2: a texture slot that gets a new texture shows the old one until the new one is up. 0.8.3.5's 2 does so only when both are read the same way, so wrong colours no longer show while a texture loads |
NEUTRAL_ALPHA=128 |
NEUTRAL_ALPHA=127 |
the alpha of the stand-in shown before a texture is up |
QUEUE_SNAPSHOT=0 |
QUEUE_SNAPSHOT=1 |
the texture pass works through a copy of its queue |
TEXTURE_STAGE_MS=16 |
TEXTURE_STAGE_MS=24 |
the texture pass's time a frame (the 8 ms cap of TEXSPK_PASS_MS bound in most frames anyway) |
TEXTURE_TURN_MAX=8 |
TEXTURE_TURN_MAX=64 |
guarded textures are hashed every this many frames at most |
PRESSURE_RELATIVE off |
PRESSURE_RELATIVE=1 |
memory pressure judged by the PC's own size (the launcher set it above 16 GB of RAM) |
PIPELINE_WAIT_ALL off, PIPELINE_WAIT_MS=500 |
PIPELINE_WAIT_ALL=1, PIPELINE_WAIT_MS=100 |
0.8.3 let every draw wait for its pipeline: a cold cache ran at under 1 fps for minutes |
THIN_THREADS=8 |
THIN_THREADS=6 (or 4) |
list translator threads on processors with fewer than 16 logical processors |
ASK_PRIORITY at the helpers' |
ASK_PRIORITY=2 |
the write-watch asking thread's priority |
AMBIENT_FILTER=1 |
AMBIENT_FILTER=2 |
the light estimate's probe filter (2 also drops neon green) |
0.8.3's notes said the first four took short drives from about 20 to 25 fps median. Those runs had different numbers
of draws: compared at the same number of draws, they showed no clear gain. Two 0.8.3 defaults that were measured
stay on, with their guards fixed: GPU_RO_SKIP and PLACED_WAIT=narrow. More in docs/commands.md.
- Series X and Series S profiles. The layer can present the program as either console. Series X renders more (tested at 2560x1440 output, about 11.6 GB of video memory): for 12 GB cards and up with 32 GB of RAM. Series S renders less (1080p-class output) and needs less video memory; it still holds 22 to 25 GB of RAM.
- On the Series X profile, DLSS, FSR and frame generation need the title profile (its upscaler route). Without it the launcher greys them, and the program runs its own upscaler at its own 4K output.
- DLSS Super Resolution (NVIDIA RTX, Streamline folder set): takes the place of the program's own FidelityFX upscaler, from the program's own motion vectors and depth. Quality (67 %), Balanced (58 %, the default), Performance (50 %) and Ultra Performance (33 %) render fewer pixels and upscale; DLAA renders at full size and upscales nothing. Ultra Performance is in the list for cards with little memory; the Recommended settings button still picks Performance for 6 and 8 GB cards until it has been measured there.
- FSR upscaling (any card,
fidelityfxfolder set): AMD's PC upscaler in the same place, used only when DLSS is off. "FSR" takes FSR 4 where the driver offers it (Radeon RX 9000 with a current driver), else FSR 3.1; "FSR 3.1" always takes 3.1. The FSR quality row sets the scene's size, as DLSS's modes do; Recommended sets it by card memory on cards without DLSS. - DLSS frame generation: RTX 40 or later, with DLSS on. 3x to 6x on RTX 50 cards (untested here). About 0.5 to 1.4 GB more video memory.
- FSR frame generation (2x): any card, but it needs an upscaler of ours: DLSS (not DLAA) or FSR upscaling. Without one the program runs its own upscaler beside frame generation, which stopped on its own check in tests, so the layer keeps FSR frame generation off and the launcher asks to turn FSR upscaling on.
- With FSR or Lossless Scaling frame generation, DLSS Quality and DLAA froze a test PC and Balanced did not; the launcher offers Balanced. With FSR frame generation in fullscreen the picture is stretched to the monitor instead of getting black bars.
- "Frame generation: off under 30 fps" (
VICTORY_FRAMEGEN_MIN_FPS=30) is a choice, not the default: by default frame generation always runs once it is on. - Frame generation shows more frames than the program renders; it does not make the program itself faster. More in docs/dlss.md and docs/multi-frame-generation.md.
foxhound's code implements the console's general system and graphics interfaces only. Everything specific to one
program (where its patches go, which of its shaders play which role, the constant tables its packed textures need)
is in a title profile: a folder with profile.toml and the table files it names. This repository and its
releases hold none (see docs/asset-policy.md); a profile is obtained separately.
- What it is: two files,
profile.tomland the BCPack table filebcpack-tables.bin. Keep them together. A renamed download (profile (1).toml,bcpack-tables (1).bin) is found too. - Loading one: the launcher's Load title profile… button. Choose the
profile.toml; the layer checks it against your program's executable and installs it, with its table file, under%LOCALAPPDATA%\foxhound\profiles. Or put both files besideFoxhound.exe,victory.exeor the program's.exe(or one folder below one of them): they are found there and used as they are. A profile left in Downloads or on the desktop is offered for install. The profile row then says Loaded and the folder it came from. It also says when the table file is missing, when another copy was found and not used, and when the profile was made for another copy of the program's executable (then its shader fixes are used and its patches are not). - The profile handed out with 0.8.3.5 adds the interface canvas: at 1440p the HUD and menus keep the console's size. The 0.8.3 profile still works, with the HUD and menus drawn larger at 1440p; the profile row says so.
- Without one the layer runs, with less, and the launcher greys what needs a profile and names it at Play:
- the Series X profile runs the program's own 4K output: no 1440p or 3440x1440, no DLSS or FSR, no frame generation, no frame rate above 30, and the water choices are not passed;
- without the table file, textures in the console's packed format (BCPack) are flat colour instead of decoded (a line counts them about once a minute);
- the light estimate ("Dark areas") finds its passes by a rule that names no program, which may miss them;
- on cards whose waves are 32 lanes (AMD), some programs the profile would widen are refused; the log counts them. The log's first lines give the profile's state, every folder searched, and each choice that was not passed.
- For developers:
VICTORY_TITLE_PROFILE_DIRnames a profile folder, andVICTORY_BCPACK_TABLESa table file (it is checked first; a file that is not a table file is passed by for the profile's). Both work in Further switches and in Windows' environment.victory title-profile status <exe>prints what is found. The format is in docs/title-profile-format.md.
-
Logs: the launcher's Logs button opens
%LOCALAPPDATA%\foxhound\logs; the newest file is the last start (see Reporting a problem). -
My antivirus flags
Foxhound.exeorvictory.exe. Both are unsigned (a code-signing certificate costs money every year), and machine-learning engines flag such programs. Compare the files' SHA-256 with the release notes, or build them yourself from this source (see Building from source). Neither program goes online, except that on Windows 10 the launcher offers, and only after you say yes, to download Microsoft's Direct3D 12 runtime from nuget.org (see below). They write only under%LOCALAPPDATA%\victoryand%LOCALAPPDATA%\foxhound, plus one desktop shortcut. -
Windows 10 asks to download Direct3D 12. Windows 10's own Direct3D 12 lacks what every translated shader uses. The launcher fetches Microsoft's newer runtime (the D3D12 Agility SDK, about 20 MB, from nuget.org, kept only when Microsoft signed it) into a
D3D12folder besidevictory.exe.scripts\get-d3d12.ps1 -Dir <folder of victory.exe>does the same by hand. -
Linux with Proton or Wine. Not tested by us; testers run it through vkd3d-proton. The launcher recognises Wine and skips the Windows 10 question; if it still asks, set
VICTORY_D3D12_CHECK=0in Further switches. Compiled pipelines are kept between starts. The layer's own small shaders are precompiled, so Proton's shader compiler is not needed (builds before 0.8.3 neededd3dcompiler_47in the prefix). -
The HUD and menus are too large at 1440p. Load the title profile handed out with 0.8.3.5 (see Title profiles). With it the log says
interface on the console's 3840x2160 canvas. -
Under 1 fps for minutes in a new scene. 0.8.3 let every draw wait for its pipeline; 0.8.3.5 waits as 0.8.2 did. While pipelines are being made, the frame-rate counter shows
MAKINGand how many. -
I closed the "Getting ready" window (or pressed Cancel). Nothing is lost: what was done is kept and the rest is done at the next start. "Skip" starts at once and compiles pipelines while you play (slow at first in new scenes).
-
Slow first start, stutter in every new scene. That is shader translation and pipeline compiling, once per version of foxhound, graphics driver and folder (the NVIDIA driver keeps its pipelines per program path). The second start is the one to judge. Start through the launcher: other scripts set other switches and translate again. With a title profile that lists the pipelines, the first "Getting ready" compiles them ahead; if it was skipped, the next one goes on where it stopped.
-
Wrong picture or frame rate after an update, or caches that seem damaged. All settings, Folders, Caches…: "Prepare again" removes this version's translated shaders and compiled pipelines, and the next Play makes them all again; "Start fresh" also removes the list of pipelines and the patched copies, as before a first start; "Clear old builds" removes other versions' translated shaders. Saves and settings are never touched.
-
Out of video memory, or DLSS stops with "out of VRAM". The layer lowers its budget by itself when DLSS reports it (
VICTORY_DLSS_SHED) and keeps room for frame generation (VICTORY_FRAMEGEN_RESERVE_MB). If it goes on: a lower "VRAM limit", DLSS Performance, frame generation off, or the Series S profile. -
Crashes after a long session. Look in the newest log (see Reporting a problem) for
host GPU device removed,a present failed hresult=0x887a0005(device removed;0x887a0006hung,0x887a0007reset),Failed to allocate upload buffer(Windows ran out of commit: let Windows manage the page file, or make it larger) orDLSS is out of the card's memory. A removed device's lines name the address it faulted on, or say there was no page fault (a hang or a reset): include them. Close other programs; with under 3 GB of RAM free the layer slows its texture loading. -
Frame-generation unlockers and other mods. Proxy DLLs placed beside the program's
.exe(winmm.dll,version.dll,dxgi.dll,d3d12.dll) load before the layer and can break it ("Failed to allocate upload buffer"). Put mods in%LOCALAPPDATA%\victory\modsinstead: every.dllthere is loaded in name order just before the program starts, and named in the log. A mod runs with full access: only use ones you trust, and remove them before reporting a problem. See docs/multi-frame-generation.md. -
Very wide monitors. In fullscreen the picture keeps its shape with black bars when the monitor's shape differs (with FSR frame generation it is stretched instead). 3440x1440 has its own setting that fills the screen. If the picture stays black at a very wide resolution, try "borderless window", or
VICTORY_FIT_BARS=0(no bars), and report it with the log. -
10 to 15 fps on a 12 GB card or better. Judge the second start; start through the launcher (it sets the switches that make this fork fast); under 32 GB of RAM or 12 GB of video memory choose the Series S profile.
-
Everything runs in slow motion. A program that advances its world by a fixed step per frame runs slower than real time below its frame rate.
-
"Access is denied (os error 5)". An older build was given a folder where it wanted an
.exe; current builds accept the folder.
- Press Logs in the launcher. It opens
%LOCALAPPDATA%\foxhound\logs; attach the newestfoxhound-<date>-<time>.log(the last 8 runs are kept). For a crash, also attachcrashes.logfrom%LOCALAPPDATA%\victory\data\<id>\if there is one. - Say what you have: graphics card and its memory, driver version, CPU, RAM and page file, Windows version (or Proton/Wine version), and the launcher's settings (profile, upscaler, frame generation, VRAM limit, further switches).
- Say what happened, after how long, and whether it happens again on the next start. Remove mods and unlockers first, and say whether it also happens without them.
- Open an issue. Never attach game files, saved shaders or data extracted from a game.
- docs/status.md: measurements, known faults, recent changes.
- docs/architecture.md: the layer's parts.
- docs/findings.md: measurements behind the choices.
- docs/dlss.md: DLSS and frame generation.
- docs/fork-ray-tracing.md: ray tracing in compute shaders, and the light estimate.
- docs/replay.md: recording a frame and replaying it.
- docs/saves.md: where saves are (
%LOCALAPPDATA%\victory\data) and how to back them up. - docs/asset-policy.md: what may and may not be in this repository.
Every VICTORY_... switch is described in a comment where the code reads it. The launcher's full set is in
scripts/play-foxhound.ps1; these are the ones foxhound added or changed. Those 0.8.3 and 0.8.3.5 added or changed,
the translator's among them, are in docs/commands.md:
| Switch | Launcher | What |
|---|---|---|
VICTORY_DLSS, VICTORY_DLSS_MODE |
balanced |
DLSS Super Resolution in place of the program's own upscaler (off, dlaa, quality, balanced, performance, ultraperformance) |
VICTORY_FRAMEGEN |
off (-FrameGen) |
DLSS Frame Generation, with the picture before the HUD tagged |
VICTORY_NATIVE_1440P |
on | Series X renders and outputs 2560x1440 (a title profile's patch group; with its interface_canvas group the interface keeps the console's 4K canvas, VICTORY_INTERFACE_CANVAS=0 lays it out at 1440p; without a profile, the program's own output) |
VICTORY_NATIVE_ULTRAWIDE |
off (launcher: Resolution 3440) | Series X outputs 3440x1440 (same 1440p-tall output, wider; without an upscaler the scene is drawn at 0.7 of it, 2408x1008, and the program's own temporal pass scales it up; a title profile's patch group; without a profile, the program's own output) |
VICTORY_NATIVE_OUTPUT |
off | 1920x1200: experimental and not working yet (the program keeps its 1440p window, and the start stalls); not offered in the launcher |
VICTORY_SOFT_VIEWS |
copies |
the program's tiled-heap page mappings kept without Windows views: no freezes at scene cuts |
VICTORY_WC_NO_BACK, _MIN_KB |
1, 1024 |
shader writes into big write-combined copies are not copied back |
VICTORY_GPU_RO_SKIP, _GUARD, _CHECK |
skip and guard on (0 turns each off), check off (1 turns it on) |
shader writes leave out memory the program asked for with a read-only GPU protection (PAGE_GRAPHICS_*). The skip acts only on copies in the card's memory that keep a twin to compare with, and only with VICTORY_SOFT_VIEWS. The guard keeps one such range in 64 whole and turns the skip off for the rest of the run if the compare finds read-only memory changed: it bounds a loss, it does not undo one. _CHECK=1 keeps all ranges whole (no skip) and warns for each change |
VICTORY_CARD_WORDS_KEPT |
off (1 turns it on) |
copies whose shader writes stay on the card get only the dwords the program changed, so those writes are not overwritten (0: whole pages; 2: copies of 128 MiB and more too) |
VICTORY_AMBIENT, VICTORY_AMBIENT_SPECULAR |
0.8, 1 |
estimates of indirect light and of reflections (no ray tracing) |
VICTORY_EARLY_DEPTH |
on | pixel programs keep the console's early depth test |
VICTORY_LOOPS_WAVE |
1 (in the code) |
compute programs that depend on the GPU's waves keep each wave together through their loops (2: every compute program, 0: off); without it some tiled work is dropped on NVIDIA |
VICTORY_LDS_FIRST_INIT |
on (in the code) | a thread group's first thread always sets up its shared memory (0: only if its lane runs, as the console); without it some tiles come out dark at their edges |
VICTORY_DSTORAGE_PRIORITY, VICTORY_DSTORAGE_WORKERS |
-1, all processors (in the code) |
the threads that unpack streamed assets run below normal priority, so the frame's threads get the processors first (0: normal, as before) |
VICTORY_PLACED_READS |
off | experimental: a fill of constants that reads what a buffer copy earlier in the same submission wrote is done on the card out of that copy's source, instead of waiting about 30 ms for the card. Faster in tests, but it caused picture faults in some runs; a guard for the cause found is in, not tested enough to be on |
VICTORY_BUFFERS_AHEAD |
4096 (in the code) | buffers of 64 KiB made by a background thread before the program asks for thousands of them in one frame (0: each made when asked for) |
VICTORY_VRAM_BUDGET_MB |
launcher: "VRAM limit" | the most video memory the layer plans with (not given: what Windows reports, less frame generation's share while it is on) |
VICTORY_FRAMEGEN_RESERVE_MB |
a sixteenth of the budget, 256 to 512 (in the code) | video memory left free while frame generation is on and no VRAM limit is given, against DLSS answering "out of VRAM" after some 20 to 30 minutes (#106, #169, #202); 0: none. With what VICTORY_DLSS_SHED takes off, at most a quarter of the budget |
VICTORY_DLSS_SHED |
on (in the code) | when DLSS answers "out of VRAM" for 30 of 120 upscalings, the budget of video memory is taken 512 MB lower (2048 MB at most), so textures leave the card and DLSS works again; 0: the failures are only logged |
VICTORY_MEMORY_MAP |
off | 1: once a minute the log says what the process has committed by kind (the program's own memory, memory shared with the card, the layer's and the driver's allocations), for reports of high memory use; the walk can cost one long frame each time |
VICTORY_PANEL |
launcher: "Statistics on screen" | 1: a box of numbers in the upper left corner (frame rate, longest frame, draws, memory); F3 hides and shows it (#170) |
VICTORY_FPS_OVERLAY, VICTORY_FPS_SCALE |
launcher: "Frame-rate counter" | 1: a small frame-rate counter in the upper left corner (the upper right while the statistics box is shown); its scale is 1 up to 1440p and 2 from 2160p, or VICTORY_FPS_SCALE=1 to 4 |
VICTORY_LDS_BOUNDS |
on (in the code) | compute programs' reads outside their shared memory give 0 and writes are dropped, as on the console (0: as before) |
VICTORY_RAW_VIEW_CLAMP |
on (in the code) | raw buffer views stay inside their buffer (from fxceless/victory-fork) |
VICTORY_LDS_LOOP_ATOMICS |
on (in the code) | shared-memory atomics in loops do not wait for the whole thread group (0: they do, as before); without it a sort can lose entries |
VICTORY_ACTIVATE_RAYS |
on (in the code) | a pass that marks which screen probes trace runs (0: left out, as before: coloured casts) |
VICTORY_SAMPLER_ORDER |
on (in the code) | static samplers are given to the driver in one fixed order in every process (list in the cache folder), so its shader cache finds the program's pipelines again (0: in the order each run makes them, as before) |
VICTORY_ADAPTER |
not set | the graphics card to run on, by a part of its name (not given: the card with the most memory of its own; the launcher shows the same one) |
VICTORY_TEXSPK_PASS_MS |
launcher: 8 |
a frame's runs of the pass over textures picked by index take at most this many ms together; the rest waits a frame (0: each run 16 ms on its own). By Dastano (PR #13) |
VICTORY_PASSES_HOT |
launcher: 1 |
the helper threads are woken at each submission's start (µs they wait awake; 0: off). By Dastano (PR #13) |
VICTORY_PRELUDE_POOL |
on (in the code) | the small lists that run before a list's work come from a shared pool while that work runs (0: each list keeps its own: about 1,100 alive instead of about 190) |
VICTORY_WIDE_THREADS |
three eighths of the logical processors, 2 to 8 | the threads that copy the program's changed buffers for a submission (it was a quarter, 2 to 6) |
VICTORY_HELPER_PRIORITY |
1 |
the layer's threads that a frame waits for run above normal priority (0: normal) |
VICTORY_JOURNAL_SHORT |
off | 1: the checks of copies known to copy nothing take the write watch's journal one copy at a time, not for a batch of 32 (helpers) or 256 (the submitting thread); a batch held it while a writer waited and every other reader waited behind that writer |
VICTORY_SPARE_MOST_MB |
128 | the most spare scratch chunks kept while no list holds them when the PC's memory is limited (16 to 4096); under the default the list threads made new write-back chunks again |
VICTORY_PRIORITY_TIERS |
not set | <submit>,<helpers>,<many> (each -2 to 2): the submitting thread, the threads that work for it or that a frame waits for, and those whose work is ahead of the frame (list translators, some landing threads) run at those priorities; takes the place of VICTORY_HELPER_PRIORITY where given. 2,1,0 on an 8 GB laptop |
VICTORY_PRELUDE_UPLOADS, VICTORY_SHOW_NEW_LATER, VICTORY_TABLED_REREAD |
on | texture upload order and slot changes (flicker, device losses) |
VICTORY_SYNC_IN_PLACE, VICTORY_SPANS_QUICK, VICTORY_HEAP_SYNC_AT_SUBMIT |
on | cheaper descriptor-heap bookkeeping |
VICTORY_PORT_CONSTANTS |
off | the program's constants heap read in place: less CPU, but on a 12 GB card the GPU then waits (slower overall; measured again 2026-11-28: constant fills 4,693 to 68 a frame, the submitting thread 31.5 to 27.5 ms, the frame 34.3 to 37.2 ms) |
VICTORY_BURY_ASIDE |
on (in the code) | objects the layer let go are released by a thread of their own, not by the thread that tells the program the card is done (0: as before) |
VICTORY_PLANE_SAME |
on (in the code) | single-channel one-level textures are uploaded again only when their bytes changed (0: by every list, every frame) |
VICTORY_FAULT_ASK |
off | 1: a write fault on a block another thread is opening asks Windows whether it is writable, as before (slow in heavy scenes) |
VICTORY_PLANE_PIN |
off | 1: uploads of CPU-written planes always take the runtime's mapping lock, as before |
VICTORY_STORE_BESIDE, VICTORY_GUARD_HOT |
launcher: 1, 50 |
the program's single stores into guarded memory are done beside the guard; a block written again and again is left open for that many ms |
VICTORY_TEXTURES_BACK |
on (in the code) | textures made in the PC's memory are made in the card's again once it has room (0: they stay) |
VICTORY_ALLOCATOR |
mimalloc (in the code) | the allocator of the layer's own code (system: the Windows heap, as before); the program's and the driver's memory are not touched |
VICTORY_ROOM_REAL |
on (in the code) | no room for new textures while the card's memory in use is within 256 MB of its budget, whatever lies free inside texture blocks (0: as before) |
VICTORY_DSP_CONVOLVE, VICTORY_DSP_GAIN |
on, 2 |
the audio DSP's mono convolutions (positional sound sources, reverb); 0 turns them off, the gain sets their level |
VICTORY_SPLIT_SUBMIT |
off | N: a submission goes to the card as one call per N runs instead of one call; against device losses near a full card on AMD RDNA2 (PR #30, by Ingenioeren, after Belobug) |
VICTORY_RESIDENCY_LIMITED |
RAM test | 1: the memory budgets of a PC with 32 GB or less, whatever the RAM (0: never); against device losses as the world streams in on AMD RDNA2 (PR #31, by Ingenioeren, after Belobug) |
VICTORY_FSR_RESET |
off | 1: the program's own FidelityFX upscaling runs with its history reset every frame, against trails behind moving people on that path (PR #32, by Ingenioeren) |
VICTORY_HID_PADS |
launcher: "PlayStation pads" | 0: gamepads from XInput only; on, DualShock 4, DualSense and DualSense Edge are also read over raw HID (USB and Bluetooth) in the slots XInput leaves free (PR #59, by hatefulpineapple). Not while an XInput pad is connected: a remapper (Steam Input, DS4Windows) shows the same pad as both, and it was read twice. VICTORY_HID_BESIDE_XINPUT=1 reads both |
VICTORY_KEEP_AWAKE |
on | 0: Windows may sleep while the game runs (a gamepad does not reset its idle timer) |
VICTORY_HDR_INFO, VICTORY_HDR_ENABLED |
off | tests only: fill the program's HDR display information, or answer that HDR is on (the picture is still SDR) |
VICTORY_ASK_HOLD_ALL |
off | 1: a write-watch asking holds all memory, as before |
VICTORY_SCRATCH_WB |
on (in the code) | the lists' scratch memory is write-back memory the card reads (0: write-combined, as before) |
VICTORY_EXACT_POOL_MB |
256-320 | buffers for card compares kept for reuse (0: none) |
VICTORY_LIBRARY_SAVE_BUSY_S |
180 |
how often the pipeline library may be saved while new pipelines keep coming (20: as before) |
VICTORY_SETTINGS_DUMP, VICTORY_SETTINGS_SET |
not set | diagnostics: the program's graphics settings written to a file when they change; single fields of them set (hex offset:value) |
VICTORY_WC_BAR, VICTORY_COPY_BESIDE |
off | measured 2026-11-28 and left off: the first flickers and breaks faces, the second makes textures load late |
VICTORY_INT_NATIVE |
on | integer bit-field extracts and min/max/med3 are translated to native DXIL operations; =0 keeps the compare-and-select forms (a translation change: shaders are translated again) |
VICTORY_COPY_WALK_ONCE |
on | a submission walks its lists' copy steps once and looks through held ranges before the published bits; =0 walks and looks as before |
VICTORY_TEXTURE_ONE_QUERY |
on | a texture's refresh asks the write watch and the guards in one query; =0 asks each with a list of its own, as before |
VICTORY_BY_ADDRESS_ALIVE |
on | the card's limit for copies found by address counts the bytes alive; =0 counts every copy ever placed, as before |
VICTORY_HEAP_VIEW_ADDRESSES |
on | programs that pick a buffer from the view heap by a computed index are given the views' addresses (16 MiB of upload memory per view heap; trace programs among them only while the structure builder is on); =0 no table, those programs refused, as before (a translation change) |
VICTORY_MARK_KEY |
on | F8 while playing saves the shown frame to %LOCALAPPDATA%\foxhound\marks and writes a MARK line in the log, for reporting what looks wrong; =0 turns the key off |
VICTORY_TEXTURE_AGES, VICTORY_QUERY_COUNT |
off | diagnostics only, for measuring: how long view slots show the neutral texture and why; the queries the program begins and resolves. VICTORY_TEXTURE_AGES=1 costs a great deal of frame rate (measured: about half), so a start with it says nothing about speed |
VICTORY_FRAME_INTERVAL_MS |
off | experimental: the program's own 30 fps setting patched to a higher rate |
VICTORY_MAX_STEP_MS |
250 (with a title profile that has the max_step group) |
the longest step the program's timers take, in milliseconds (67 to 1000). The program's own limit is 1/15 s, so below 15 fps it ran slower than real time (at 12 fps, at 80 % of its speed); with 250 it keeps its speed down to 4 fps. Frames longer than the limit, such as loading hitches, still slow it down rather than jump it ahead. off: the program's own limit |
VICTORY_BVH_BUILDER |
off (launcher: "Ray tracing", Software) | experimental: the program's own ray tracing, run as translated shaders on any card; costs frame rate, and moving objects can show wrong shadows or light for a moment (a translation change) |
VICTORY_FACE_SHAPES_FIRST_USE |
on | the pipelines of the title profile's face_shapes programs are made at their first use, waited for up to VICTORY_FACE_SHAPES_WAIT_MS (10 s); =0 within the frame's wait budget, as other pipelines |
VICTORY_LDS_UNBOUNDED |
on | the title profile's lds_unbounded programs translate without the shared-memory bound; =0 bounded as every other (a translation change) |
VICTORY_FSR_UPSCALE |
launcher: "FSR upscaling" | AMD's FidelityFX upscaler in place of the program's own, any card, when DLSS is off |
VICTORY_FSR_FRAMEGEN |
launcher: "Frame Generation" FSR | FSR frame generation; needs DLSS (not DLAA) or FSR upscaling |
VICTORY_FIDELITYFX_DIR |
launcher: "FidelityFX folder" | the folder with AMD's FidelityFX DLLs |
VICTORY_FIT_BARS, VICTORY_FIT_AS |
on, not set | black bars keep the picture's shape on screens of another shape (VICTORY_FIT_BARS=0: no bars; VICTORY_FIT_AS=<width>x<height>: the monitor size to assume, its shape sets the bars) |
VICTORY_THIN_SEEN_FIRST, _LOOKUPS, _VIEWS, _QUIET_WRITES |
on (in the code) | less waiting between the threads that translate command lists (0 turns each off) |
VICTORY_VIEWS_SPLIT |
on (in the code) | the descriptor shapes under their own lock (0: one lock, as before) |
VICTORY_ATOMIC_SUB_LOOP |
on for NVIDIA (in the code) | atomic subtractions on group memory written as loops, which NVIDIA's compiler needs (0/1 overrides; a translation change) |
VICTORY_LOCK_TRIM |
on (in the code) | a streamed write into memory with nothing guarded takes no lock of the write watch (0: the lock every time, as before) |
VICTORY_WINDOWS_TILED, VICTORY_TILED_PROBE |
off | experimental: the layer's copies of the program's memory take memory only for pages used; run the probe once first |
VICTORY_SHAPE_CACHE, VICTORY_MAP_ONCE, VICTORY_CARD_STEPS_ASIDE |
off | experimental speed-ups, off until measured |
VICTORY_DSTORAGE_SAME |
off | experimental fallback for streamed reads the program asks for again |
VICTORY_RESIDENCY_PRIORITY |
off | memory the card uses every frame marked high priority, on PCs of 24 GB and more |
VICTORY_TITLE_PROFILE_DIR, VICTORY_BCPACK_TABLES |
not set | developers: a title profile folder; a BCPack table file (in Further switches or Windows' environment) |
VICTORY_TITLE_PROFILE |
not set | off: no title profile and no table file is looked for, as for a player who has none (to compare a start without one while one is installed; a translation change) |
VICTORY_D3D12_CHECK |
on | 0: no Windows 10 Direct3D 12 question (see Troubleshooting, Linux); works in Further switches |
You need about 30 minutes and 10 GB of free disk space.
-
Install the tools (once), in PowerShell:
winget install Git.Git winget install Rustlang.Rustup winget install Microsoft.VisualStudio.2022.BuildTools --override "--add Microsoft.VisualStudio.Workload.VCTools --includeRecommended --passive"
Close the window and open a new one, so that
gitandcargoare found. The Rust toolchain is pinned inrust-toolchain.toml; rustup fetches it. -
Build the release folder (10 to 15 minutes the first time):
git clone https://github.com/readmet3xt-lab/foxhound cd foxhound .\scripts\build-launcher.ps1 -Package
If PowerShell says running scripts is disabled, allow your own scripts once with
Set-ExecutionPolicy -Scope CurrentUser RemoteSigned.target\foxhound-windows-x64is what the release's zip holds: startFoxhound.exein it.
Without the launcher: cargo build --release --locked -p victory, then
.\scripts\play-foxhound.ps1 -Exe <the program's folder or .exe> (-Dlss off|dlaa|quality|balanced|performance|ultraperformance,
-FrameGen, -SeriesS, -Build diag, -More @{VICTORY_X='1'}, -PrepareOnly, -NoPrepare). The diagnostics
build (frame timelines, captures, GPU timing): cargo build --locked --profile diag -p victory --features diagnostics.
Check DLSS without a program: target\release\victory.exe upscaler-check --device (--present for frame generation).
Issues and pull requests are welcome. Never attach or commit anything from a game: files, saved shaders or
extracted data. Describe faults technically. cargo xtask policy (also the pre-commit hook in .githooks/)
checks the asset policy.
A tree of other people's work with more on top. This repository starts from one commit; the history of the work before it is in the projects named here, whose authors wrote most of this code.
- VIctory by Marvisak and its contributors: the loader, the runtime services, the Direct3D 12 back end and the shader recompiler.
- fxceless/victory-fork and the people whose pull requests it carries.
- avatarmanz/VIctory-7900XTX: the submission line, write guards, relay and much of the speed work this fork starts from.
- codec-d/cool_fox: the base this fork was taken from.
- DexNom/VIctory: native 1440p output, the FidelityFX path on Series X, ray tracing fixes.
- Belobug/VIctory-Belobug-AMD: the light estimate, renderer ports (constants heap in place, heap records), texture upload order, the frame rate switch; ported commits name their source.
- Fixes taken as source patches, each read line by line: the BC7 rotation fix (fxceless), violet probe leftovers dropped from the light estimate (Ahyildiz, after Belobug), raw buffer views kept inside their buffer (lichenlang89, by way of CuteBooty/victory-8gb), dynamic descriptor slots given back only to their own heap (fxceless/victory-fork#1324), statistics kept out of release builds (LucaruluDev).
- trustno1-coder/VIctory-NVIDIA and the authors of the commits ported from it in v0.8, named in each commit: Yve (audio DSP convolution), qlfu, Ethan Anderson, Wiktorxd-1, 0xkn0wh3r3, harrisotiropoulos-jpg, mint17, BE29ZZ (with ToolxMaster, Miquella135, adrianmjim and Robotniq), Capt-Speed, henriazz10 and shawn.
- FQY55kai/ZJOU-VICTORY, myokex/victory-amd (with Spexivus, joroyt and tightfall), Joshua Odom, Geckomacabre and cxy0072019-sketch.
- XCL (GPL-2.0-only) was read as a reference; its instruction decoder and console-instruction emulation were replaced on 2026-12-02 by code of our own.
- Microsoft silicon-rans (MIT): the rANS probability models the BCPack decoder reads from its table file, which is not part of this repository (see THIRD_PARTY_NOTICES.md).
- NVIDIA Streamline, DLSS and Reflex are NVIDIA's; they are loaded at run time from a folder you supply.
- Much of this fork's code was written with Claude Code.
- No part of any game is in this repository or its releases: no files, code, shaders, textures, audio, screenshots or footage, and no links to any of them. The patches the layer can apply, and the roles of a program's shaders, are not in this repository: they come from a title profile you install (see Title profiles), and every patch is checked against the length and BLAKE3 hash of the bytes it replaces before it is applied. The code holds no identifiers of any program's shaders; they come from the title profile.
- foxhound is a compatibility layer: it reads the files you point it at, translates their graphics commands and shaders on your PC while they run, and keeps the translations in a cache folder on your PC. Nothing it makes from them is uploaded or shared; apart from that optional Windows 10 runtime download, neither program goes online.
- It is meant only for software that you own and may run. It contains no game files, keys or decryption, and no tools or instructions to obtain, decrypt or extract a copy. Requests for game files, or posts that link to them, are deleted.
- Official downloads come only from this repository's Releases. Repacks or bundles distributed elsewhere, especially ones that include game files, are not made, checked or endorsed by this project.
- foxhound is not affiliated with or endorsed by Microsoft/Xbox, NVIDIA, AMD or any game's developer or publisher. Names and trademarks belong to their owners.
- It is provided as is, without warranty of any kind (see LICENSE). Nothing here is legal advice.
GPL-3.0-or-later, as VIctory. See LICENSE. The repository holds no file outside that licence (docs/asset-policy.md).