# Vice-Tay > [!NOTE] > **Back at it.** Work on Vice-Tay picked up again on Monday, November 30. **Play your own copy of an Xbox Series game on a Windows PC.** Vice-Tay builds on [VIctory](https://github.com/Marvisak/VIctory). The game's code runs straight on your CPU, and its graphics go to your graphics card through Direct3D 12. This is the NVIDIA build: it's made and tested on an RTX 4090. **Jump to:** [What you need](#what-you-need) · [Install](#install-one-time) · [Play](#play) · [Settings](#settings-in-the-game) · [If something goes wrong](#if-something-goes-wrong) · [About the project](#about-the-project) > [!IMPORTANT] > Vice-Tay doesn't include any game. You need your own copy, and you shouldn't share the game files or put them in this repository. See the [asset policy](docs/asset-policy.md). ## What you need | | | | --- | --- | | **Windows** | Windows 11 or 10, 64-bit | | **Graphics card** | An NVIDIA RTX card is best: this build is only tested on NVIDIA. It needs Direct3D 12 shader model 6.6 and mesh shaders. DLSS needs any RTX card; DLSS frame generation needs RTX 40 or newer. | | **Processor** | One with AVX2 (almost every desktop CPU from the last ten years) | | **Memory** | 32 GB or more. The game used up to 27 GB in testing. Ray tracing, which starts on, also needs more graphics memory. On 16 GB or less, see [the small-memory profile](docs/small-memory.md) — it will still page heavily. | | **The game** | Your own copy, with `game_scarlett_master.exe` and its files in one folder | ## Install (one time) You'll type a few commands in **PowerShell**. To open it, press the Windows key, type `PowerShell` and press Enter. **1. Install the tools Vice-Tay is built with.** Run these three lines one at a time and wait for each to finish: ```powershell winget install --id Git.Git -e winget install --id Rustlang.Rustup -e winget install --id Microsoft.VisualStudio.BuildTools -e --override "--quiet --wait --add Microsoft.VisualStudio.Workload.VCTools --includeRecommended" ``` That's Git (to download the code), Rust (to build it) and Microsoft's C++ build tools (Rust needs them on Windows). Then **close PowerShell and open it again**, so it picks them up. **2. Download Vice-Tay and build it.** The first build takes a while. ```powershell git clone https://github.com/TaynanGT/Vice-Tay.git Set-Location Vice-Tay cargo build --locked --release -p vice-tay ``` When it's done, the program is at `Vice-Tay\target\release\vice-tay.exe`. **3. Put `vice-tay.exe` in the game's folder**, the one with `game_scarlett_master.exe`. Change the path to wherever your game is: ```powershell Copy-Item .\target\release\vice-tay.exe 'C:\Games\Title\' ``` That's it. Vice-Tay doesn't change anything else in the game's folder. ## Play **Double-click `vice-tay.exe`** in the game's folder. A black window with text opens first, then the game. The first time, it asks a question or two in that black window. **Press Enter to say yes:** - `Download them now? [Y/n]`: NVIDIA's DLSS and frame generation files, about 70 MB from NVIDIA's GitHub. They make the picture sharper and the game smoother. - On Windows 10 it may also ask to download Microsoft's newer Direct3D 12 files (about 22 MB). The game needs them there. > [!TIP] > **The first few minutes stutter. That's normal.** The game's shaders (the small programs your graphics card draws with) get prepared the first time each one shows up. They're saved, so the next start is smoother. Turning ray tracing on or off makes a separate set, so the first start after switching it stutters again. To do it all up front instead, see "It stutters a lot" under [If something goes wrong](#if-something-goes-wrong). **Keys:** | Key | What it does | | --- | --- | | **F1** | Settings menu (Esc or F1 closes it) | | **F3** | Stats panel: FPS, frame time, memory | | **Alt+Enter** | Switch between full screen and a window | | **F9** | Let go of the mouse, or grab it again | Mouse and keyboard work from the start, and so does an Xbox or PlayStation controller. The F1 menu works with both. With mouse and keyboard on, the game shows keyboard buttons on screen; if you only play with a controller, set **CONTROLS** to **GAMEPAD** in F1 to get the controller buttons back. You can change the keys under **KEY BINDINGS**. ## Settings in the game **Everything starts on.** You turn off what you don't want. | Setting in F1 | Starts as | What it gives you | | --- | --- | --- | | CONSOLE | SERIES X | The full console picture | | SERIES X PICTURE | 3840X2160 | 4K output | | DLSS | QUALITY | Sharper picture, more speed | | FRAME GENERATION | 2X | Smoother motion: one extra frame for each one drawn | | RAY TRACING | ON | The game's own light, shadows and reflections. Slower, and uses more graphics memory. | | MOUSE AND KEYBOARD | ON | Play with mouse and keyboard as well as a controller | | MOUSE CAPTURE | ON | Keeps the mouse inside the game (F9 lets it go) | To change something, open **F1**, move with the arrow keys (or the D-pad) and change it with Left and Right. Most changes apply after a restart: pick **SAVE AND RESTART** when you're done. Your choices are remembered. **RESET ALL TO PLAY DEFAULTS** puts everything back. **If it runs too slowly**, try these one at a time: **RAY TRACING** off, DLSS on **PERFORMANCE**, **SERIES X PICTURE** on **2560X1440**, or the [Series S build](series-s/README.md) (`--series-s`: softer picture, faster). Frame generation above 2× only works on RTX 50 cards. On a card without DLSS frame generation, the game offers AMD's FSR 3 instead. ## If something goes wrong **It stutters a lot.** Shaders are still being prepared. To prepare them all at once, open **F1** and pick **PRELOAD SHADERS**. The game restarts and does it first. It can take a long time, but you can close it and it picks up where it stopped. It's worth doing again after a new graphics driver. **The game stops while the world loads.** Your game files may be incomplete or damaged. Compare them against a trusted list of file hashes for the exact version you own, and copy over any file that doesn't match. A damaged file can still have the right size. **It crashes, or Windows says it's out of memory.** Close other programs. If it keeps happening, make the Windows page file bigger. The game needs a lot of memory. Run `.\vice-tay.exe config` to see what this PC has and what Vice-Tay does with it: it prints your RAM, Windows' commit limit, and how far short of the game's ~48 GB you are. On 16 GB or less the [small-memory profile](docs/small-memory.md) sizes our caches for the machine, and the [Series S build](series-s/README.md) is the lighter option. **No DLSS.** If you said no to the download, open **F1**, pick a **DLSS** mode and **SAVE AND RESTART**: it downloads the files on the next start. You can also run `.\vice-tay.exe get-dlss` in the game's folder. **The picture looks broken after an update.** As a last step, open **F1** and pick **CLEAR SHADER CACHE**. It deletes the prepared shaders and restarts; your saves and settings stay. Expect the first-start stutter again. **The game says it isn't licensed.** Vice-Tay shows licences it can't check as inactive, so a game that insists on a checked licence may stop at startup. **Still stuck?** [Open an issue](https://github.com/TaynanGT/Vice-Tay/issues/new) and attach the newest log from `%LOCALAPPDATA%\vice-tay\logs`. (Paste that path into the File Explorer address bar to get there.)
For advanced users: command line You can start the game from PowerShell instead of double-clicking. With no options it starts with everything on, the same setup the project tests with (Series X, 4K, DLSS Quality, 2× frame generation, ray tracing): ```powershell .\target\release\vice-tay.exe play 'C:\Games\Title\game_scarlett_master.exe' ``` Options change that start; what you saved in F1 still wins over them. | `play` option | What it does | | --- | --- | | `--res 4k` / `1440` / `1080to1440` | Output size: 3840 × 2160 (default), 2560 × 1440, or a 1920 × 1080 scene the game upscales to 2560 × 1440. | | `--series-s` | Runs the [Series S build](series-s/README.md) instead (1080p output: faster, softer). | | `--dlss quality` | DLSS instead of the game's own upscaling: `off`, `dlaa`, `quality` (default), `balanced`, `performance` or `ultraperformance`. | | `--framegen 2` | Frames shown per rendered one, 2 (default) to 6; `0` turns frame generation off. More than 2× needs an RTX 50 card. | | `--framegen-ready` | Without `--framegen`: load frame generation but start with it off, so you can switch it on from F1. | | `--fg-type auto` | Which frame generation: `auto` (DLSS on RTX 40 and later, else AMD FSR 3), `dlss`, `fsr` (needs DLSS on) or the experimental `fsr4` (2× at most). | | `--fps 1000` | Frame cap. 30 is the game's own rate; 1000, the default, means no cap. | | `--preload` | Prepare every shader and the pipelines earlier runs used before the game starts. | | `--set NAME=VALUE` | Set any runtime switch, e.g. `--set VICE_TAY_BVH_BUILDER=0` for ray tracing off, `--set VICE_TAY_MNK=0` for controller only, or `--set VICE_TAY_SMALL_MEMORY=off` to turn off the [small-memory profile](docs/small-memory.md). | `config` prints where your files are, this PC's memory and what the small-memory profile would do with it, without starting anything. Other commands: `get-dlss` and `get-fsr` download NVIDIA's or AMD's frame generation files, `get-d3d12` downloads Microsoft's Direct3D 12 files for Windows 10, `preload ` prepares shaders and pipelines (`shaders` and `warm` do each half), and `clear-shaders` deletes them. Settings, logs and the shader cache live in `%LOCALAPPDATA%\vice-tay`. Set `VICE_TAY_HOME` to keep them somewhere else.
## About the project ### What we're after Two things, in this order: 1. **Steady frames.** How long each frame really takes, and the worst spikes, matter more than the average FPS. Generated frames don't count as rendered ones. 2. **The picture as the console draws it.** Series X, 3840 × 2160, ray tracing on RTX. No speed gain is worth a worse picture. A change only stays on `main` if a measured run on the same route and settings shows that it raises real rendered FPS, keeps or improves frame times, doesn't make the picture worse, doesn't add artifacts, doesn't add new errors and doesn't rebuild caches it didn't need to. If any of that fails or isn't shown, it stays on a branch.
How a test run is judged Test runs start at the first in-game cutscene, not at logos or menus, and carry on to the boat section: the boat under control, the "Grab the package" objective on screen, throttle held while the camera and steering swing both ways. Cutscenes and the boat route are reported separately. On the boat route, every frame is timed on its own, with a diagnostics build, `VICE_TAY_LOG` set to `info,vice_tay_gpu::frame=debug` and `scripts/measure-present-hitches.ps1`. The goals go in steps: first no frame over 50 ms, then none over 30 ms, then none over 15 ms. Reports give rendered and presented FPS separately, median, p95, p99, max, the 1% low from individual frames, and the counts over 50, 30 and 15 ms. A run with a gap in the recording or the timing counts as incomplete, not passed. More in [tests](docs/tests.md) and [measurements](docs/measurements.md#timing-a-run).
### Where things stand There's no published Series X 4K result for this build yet. Everything measured so far ran on the **earlier line** of Vice-Tay, before this one became `main` on November 30, with the older **Series S** profile. None of those builds is in the current `main`, so these numbers are history, not a baseline: | Session | Result | | --- | --- | | **4K boat test** · `e9a30f4f` → `424fb3f6` | 16.12 → **26.72** rendered FPS, DLSS Quality and AMD 2× frame generation, about 39 s each. The Series S 4K option ([#329](https://github.com/TaynanGT/Vice-Tay/pull/329)) was closed without merging. | | **1080p GPU read-through** | 22.60 → **26.38** rendered FPS with the boat standing still. | | **6-minute frame generation test** · `88e80129` | Median 22.4 rendered FPS at 1080p, 2× frame generation. | | **30-minute playtest** · `bc090416` | Median 21.1 rendered FPS, 17.0 FPS 1% low, from the prologue through the boat and on foot. Checkpoints, HUD, minimap and pause menu all worked. | [Settings, frame counts and percentiles](docs/measurements.md)
Test PC | Component | Configuration | | --- | --- | | CPU and motherboard | AMD Ryzen 9 9950X3D (16 cores, 32 threads), MSI MAG X870 TOMAHAWK WIFI (MS-7E51), BIOS 1.A93 | | Graphics | NVIDIA GeForce RTX 4090 (24 GB GDDR6X, driver 621.40), integrated AMD Radeon Graphics | | Memory | 2 × 24 GiB DDR5 at 8,000 MT/s, 43.4 GiB visible to Windows, 128 GiB page file | | Storage | Samsung 990 PRO 4 TB and 2 TB, Samsung 970 PRO 1 TB | | Display | Samsung Odyssey OLED G8 (G81SF), 3840 × 2160 at 240 Hz | | OS | Windows 11 Pro 26H2 x64, build 26300.10075 |
### Known problems - **Frame time.** On the earlier line's 30-minute Series S run, the median frame took 47.3 ms: 33.7 ms preparing work on the CPU and 12.6 ms reading back from the GPU. This is the main thing being worked on. [Frame breakdown](docs/measurements.md#series-s-baseline) - **Memory.** A five-minute session on the earlier line peaked at 27.1 GB of game memory. With little free RAM, Windows pages to disk and the game stalls. [Memory findings](docs/findings-rtx4090.md) - **Picture.** Colour banding, flat-coloured surfaces, blocky clouds and reflections, and missing or wrong shading still show up in some scenes. - **GPU timing.** Series S logs report GPU time near zero. The F3 panel reads GPU load from Windows when it can. - **AMD cards.** Not tested on this build. RDNA2 cards can reset at world load on some driver versions; see [#138](https://github.com/TaynanGT/Vice-Tay/issues/138). - **Intel Arc.** Not tested on this build. On the earlier line, with ray tracing on, the game crashed while loading on an Arc B580, within two minutes, every time ([#457](https://github.com/TaynanGT/Vice-Tay/issues/457)). On an Arc card, start with **RAY TRACING** off in F1, or `--set VICE_TAY_BVH_BUILDER=0`. ### For developers - **Loader and runtime.** `vice-tay-loader` maps the game's executable and `vice-tay-hle` provides the console services it expects. [Architecture](docs/architecture.md) - **Graphics.** `vice-tay-gpu` maps console command lists and resource views onto D3D12. `vice-tay-shader` recompiles shaders, including Xbox wave64 programs on NVIDIA hardware. The aim is to put the console's work straight onto native D3D12 queues, fences, descriptors and DirectStorage, without extra copies, waits or wrapper layers. [NVIDIA changes](docs/vice-tay-nvidia.md) - **Checks.** CI runs Clippy with and without the diagnostics feature, plus the workspace tests, which include the asset-policy check (`cargo xtask policy`). GPU tests skip what needs a real card on machines without one. A green build alone doesn't get a change onto `main`: it still needs the measured run above. [Tests and run logs](docs/tests.md) · [CI workflow](.github/workflows/ci.yml) See the [upstream usage notes](docs/README-fxceless.md) for more commands and [frame replay](docs/replay.md) for capturing and replaying a frame. ## Credits Vice-Tay grew out of codec-d's `cool_fox`, which brought NVIDIA work to avatarmanz's VIctory tree. Imported work keeps its original authorship and commit references. The [full credits](docs/credits.md) list everyone in the project's history. - [Marvisak/VIctory](https://github.com/Marvisak/VIctory) and its contributors built the loader, console runtime, Direct3D 12 backend and shader recompiler. - [fxceless/victory-fork](https://github.com/fxceless/victory-fork) and its contributors provided the fork history Vice-Tay builds on. - [avatarmanz/VIctory-7900XTX](https://github.com/avatarmanz/VIctory-7900XTX) contributed parallel command recording and translation, faster submissions, texture uploads on a copy queue and frame replay. - **codec-d/cool_fox** contributed two-plane composition, fallback heaps, descriptor table plans, residency and fence handling, NVIDIA wave32 lowering, movie uploads and XMA audio fixes. - [DexNom/VIctory](https://github.com/DexNom/VIctory) contributed ray tracing fixes, cube gradients and sparse textures. - [Belobug/VIctory-Belobug-AMD](https://github.com/Belobug/VIctory-Belobug-AMD) contributed the overlay, ambient lighting work and pipeline workers, with work by romainhedouin. - [FQY55kai/ZJOU-VICTORY](https://github.com/FQY55kai/ZJOU-VICTORY) and [myokex/victory-amd](https://github.com/myokex/victory-amd) are part of the project's lineage. The latter includes page-view and title-memory work by Spexivus, joroyt, tightfall and Joshua Odom. - **Geckomacabre** and **cxy0072019-sketch** contributed texture read-back. **meshahid973**, **nullexxx**, **cxy0072019-sketch** and **welisonzika14-jpg** contributed fixes and reviewed changes through Vice-Tay pull requests. - [ivall/XCL](https://github.com/ivall/xcl) (GPL-2.0-only) served as a reference for title behaviour. ## License [GPL-3.0-or-later](LICENSE), inherited from VIctory. Vice-Tay isn't affiliated with the game's developer or publisher.