Read-only copy of github.com/OBERON-gg/miranda · VIctory (Xbox Series compatibility layer) tuned for NVIDIA RTX cards: Series X at 2560x1440 with DLSS, about 26-30 fps on an RTX 5070, DLSS frame generation 2x-6x, an F1 settings menu and F3 stats panel, open water without dark blocks. Built on many repos combined into one. No game files or NVIDIA files included.
  • Rust 99.4%
  • PowerShell 0.5%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-12-05 19:54:55 -06:00
.cargo Initial commit 2026-11-23 01:15:26 +01:00
.githooks Initial commit 2026-11-23 01:15:26 +01:00
.github Remove title-specific names from scripts, comments and tests 2026-12-01 21:00:59 +00:00
apps/victory fix(input): key caps in the button prompts while mouse and keyboard is on 2026-12-05 19:53:28 -06:00
crates fix(input): key caps in the button prompts while mouse and keyboard is on 2026-12-05 19:53:28 -06:00
docs docs: the project's logo at the top of the README, for dark and light mode 2026-12-05 18:44:56 -06:00
scripts docs: take the earlier base project's name out of the credits, docs and comments 2026-12-05 16:32:56 -06:00
tests/fixtures/hle-probe Run Grand Theft Auto VI from first boot into the world 2026-11-23 23:10:01 +01:00
xtask docs: the project's logo at the top of the README, for dark and light mode 2026-12-05 18:44:56 -06:00
.gitattributes docs: the project's logo at the top of the README, for dark and light mode 2026-12-05 18:44:56 -06:00
.gitignore Windows 10 runtime, F1 preload fix, AMD FSR download, warm-up restart, MFG Unlocker notice 2026-11-27 10:43:30 -08:00
.victory-root Initial commit 2026-11-23 01:15:26 +01:00
bindings.ini docs(input): the up arrow opens the phone, checked in the game 2026-12-05 19:54:55 -06:00
Cargo.lock fix(input): key caps in the button prompts while mouse and keyboard is on 2026-12-05 19:53:28 -06:00
Cargo.toml build: a dist profile with link-time optimisation, and -Build dist 2026-11-28 17:24:25 -06:00
Get-AMD-FSR.cmd Windows 10 runtime, F1 preload fix, AMD FSR download, warm-up restart, MFG Unlocker notice 2026-11-27 10:43:30 -08:00
Get-NVIDIA-DLSS.cmd F1 settings menu, frame generation 2x-6x live, no frame rate cap, FPS line 2026-11-26 19:41:59 -08:00
LICENSE Initial commit 2026-11-23 01:15:26 +01:00
Play-Miranda.cmd Remove title-specific names from scripts, comments and tests 2026-12-01 21:00:59 +00:00
PLAY_FACES_FIX.cmd Remove title-specific names from scripts, comments and tests 2026-12-01 21:00:59 +00:00
PLAY_FRAMEGEN.cmd Remove title-specific names from scripts, comments and tests 2026-12-01 21:00:59 +00:00
README.md docs(input): the up arrow opens the phone, checked in the game 2026-12-05 19:54:55 -06:00
rust-toolchain.toml Initial commit 2026-11-23 01:15:26 +01:00
rustfmt.toml Initial commit 2026-11-23 01:15:26 +01:00
victory.example.toml The game is no longer named in the tree 2026-11-24 15:45:05 -05:00

Miranda

Miranda is a compatibility layer that runs an Xbox Series title natively on Windows from files that you supply. It is tuned for NVIDIA RTX cards.

Discord: discord.gg/PAx54BuRSd. Ask questions and report problems there.

Current status

Status as of 2026-12-05. Seven frame-cost changes are on by default: unchanged CPU-written planes aren't uploaded again; retired objects are dropped on their own thread; a new table's descriptors are copied together; shorter float forms in shaders on NVIDIA cards; the frame-generation compositor is made on its own thread; the last frame stays shown while a first start makes its pipelines; and the helper thread count is worked out once. In two runs each against main on an i9-13900K and an RTX 5090: median frame 40.1 → 37.7 ms, frames over 50 ms 14.3% → 7.7%, p99 61.4 → 53.4 ms. Each change can be turned off with its VICTORY_ switch (see docs or the log at start). The first run after updating translates shaders again and stutters.

Status as of 2026-11-29:

  • Frame recording works in the diagnostics build. A recorded frame replays up to the step before DLSS. The work of DLSS is not in the recording.
  • Optional memory and shader switches are in test. They are off by default. Their effect on the frame rate is not known.
  • VICTORY_WINDOWS_BAR_MB=12288 keeps one copy of each memory window on the card. In one scene, the peak committed memory fell from 37.0 to 40.5 GB to 29.4 to 31.8 GB. It is off by default. It does not solve the low memory during loading.
  • One test in the GPU layer fails in some runs. The cause is not known.

Open faults (causes not known):

  • Painted walls in an indoor scene show as green, black, or with wrong blocks in some runs. In one recorded frame, 5 of the wall textures on the card had wrong contents.
  • Square tiles on objects seen through window glass, and white blocks on clothing, were seen in earlier runs. The current launcher defaults (VICTORY_ALIAS_TARGETS=0, VICTORY_PARTIAL_WRITTEN=1) did not show them in one run each.
  • Colored dots on skin were seen once. They went away without a change.

The full history of these notes is in the git log of this file.

This PC

This copy is built and played on:

CPU Intel Core i9-13900K (24 cores, 32 threads)
GPU NVIDIA GeForce RTX 5090 32 GB, driver 621.24
RAM 32 GB DDR5 (2 x 16 GB) at 6600 MT/s
OS Windows 11 Pro, build 26300

On 2026-11-28, with the Series X profile at 2560x1440 and DLSS Quality, it rendered about 25-27 frames a second in play without frame generation. DLSS frame generation at 2x loaded and ran on top of that. The latest numbers and findings on this PC are under Current status, at the top.

Frame generation: what your card supports

Your card Frame generation Limits
GeForce RTX 40 and RTX 50 DLSS frame generation 2x on RTX 40; more than 2x (up to 6x) needs an RTX 50
GeForce RTX 20 and RTX 30 AMD FSR 3 frame generation, or DLSS multi frame generation (MFG) through the MFG Unlocker mod (F1, MFG UNLOCKER; see below) FSR 3: 2x at most. MFG Unlocker: a third-party mod, not made or supported by NVIDIA or by Miranda; NVIDIA itself offers DLSS frame generation only on RTX 40 and later. DLSS upscaling works on these cards either way, so the Series X profile is fine
Other cards (no DLSS) AMD FSR 3 frame generation 2x at most, Series S profile only (F1 menu, CONSOLE): without DLSS the game's own upscaler, which FSR 3 needs, only takes the Series S sizes. Not tested here
  • At every start the game tells you which one your card runs, and why not if it can't, at the top of the picture for the first 30 seconds (and in the console window).
  • F1 menu, FRAME GEN TYPE: AUTO (DLSS where the card has it, else FSR 3), DLSS, or FSR 3 (also on an RTX 40/50, if you prefer it). FRAME GENERATION switches it off or on.
  • FSR 3 needs AMD's FidelityFX DLLs (amd_fidelityfx_loader_dx12.dll and amd_fidelityfx_framegeneration_dx12.dll, about 30 MB). They are AMD's and not part of this program. On a card without DLSS frame generation (or with FSR 3 chosen in F1) the first start of miranda.exe asks once whether to download them from AMD's own GitHub (the FidelityFX SDK); miranda.exe get-fsr does it later, and Get-AMD-FSR.cmd does it for the script launcher. Each file is checked against the copy Miranda is tested with, and only loaded with AMD's valid signature. A fidelityfx folder next to miranda.exe, or VICTORY_FIDELITYFX_DIR, works too.

Quick start: how to run it

The easy way: one file, nothing to build

  1. Download miranda.exe from the latest release.
  2. Put it into the folder of your own dump of the title's Xbox Series build, next to the title's main executable.
  3. Double-click it. Windows may say the publisher is unknown (the file is not signed). Before you choose "More info", then "Run anyway", check that the file's SHA-256 is the one on the release page: (Get-FileHash .\miranda.exe -Algorithm SHA256).Hash.ToLower(). If it is different, don't run the file. A match shows that it is the published file, not that it is safe. Don't run it as administrator, and don't turn off your antivirus for it.

The download is named miranda.exe. A build from source is still named victory.exe (in target\release or target\dist), and some messages in the program and other docs still say victory.exe. With the download, use miranda.exe there, also in commands. Its folder is still %LOCALAPPDATA%\victory.

  • The first start asks once whether to download NVIDIA's DLSS and frame generation files (about 70 MB) from NVIDIA's own GitHub. They are NVIDIA's and are not part of this program; say no and the game still runs, with its own upscaling and no frame generation.
  • Settings, saves, caches, logs and NVIDIA's and AMD's files are kept under %LOCALAPPDATA%\victory. The one exception is on Windows 10. Its own Direct3D 12 stops at shader model 6.5, and the game's translated shaders need 6.6. Without 6.6 the game shows a black screen and closes within seconds. So the first start there offers to fetch Microsoft's newer Direct3D 12 runtime (the D3D12 Agility SDK, D3D12Core.dll, about 22 MB from nuget.org). It goes into a D3D12 folder beside miranda.exe. miranda.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. 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.6 that version had to be 1.614, or Windows refused Direct3D 12 with 0x887E0003 (the fix in .4 and .5 did not take effect).
  • C: drive full? Set VICTORY_HOME to another folder, once, in a command prompt: setx VICTORY_HOME D:\victory. Then start miranda.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.
  • The first start of each new version restarts by itself once. A new miranda.exe runs at about 14 fps on its first start, and normally from then on. So the first start plays about 20 seconds, says so at the top of the picture, and starts the game again. It doesn't happen again for that version (a mark is kept in %LOCALAPPDATA%\victory\warmed).
  • RTX 20 and 30 cards: DLSS multi frame generation (MFG) works through the MFG Unlocker mod. Miranda supports loading it, but the mod is someone else's: it is not made or supported by NVIDIA (whose DLSS frame generation is for RTX 40 and later) or by Miranda, and we have not tested it on an RTX 20 or 30 ourselves. It is an option, off by default: F1, MFG UNLOCKER, ON, then restart. On, the next start downloads it by itself from the mod's own GitHub release (v1.7.2, about 5 MB, checked against the SHA-256 its author published) into %LOCALAPPDATA%\victory\mfg-unlocker, and every start loads it. Nothing is renamed or copied. On an RTX 20 or 30 the first start also asks once (No unless you type y). miranda.exe get-mfg downloads it by hand. The mod writes its own RTXMFG-... logs and settings beside miranda.exe, and Backspace opens its menu. The start's notice says "UNLOCKED BY A MOD" and the log says it was loaded. If the game crashes or frame generation fails, turn it off in F1 (or add VICTORY_MFG_UNLOCKER= to %LOCALAPPDATA%\victory\victory-settings.txt). FSR 3 frame generation (2x) is the fully supported way on those cards. A winmm.dll copy of the mod beside miranda.exe still works too.

In the game

  • F1 brings up the settings menu (arrow keys pick and change, Enter does it): DLSS, frame generation, frame rate cap and more.
  • F3 shows the stats panel (frame rate, frame generation, draws, GPU and memory numbers).

Building it yourself instead

Install Rust and the Visual Studio Build Tools with "Desktop development with C++", then in PowerShell:

git clone https://github.com/OBERON-gg/miranda
cd miranda
.\Get-NVIDIA-DLSS.cmd
powershell -ExecutionPolicy Bypass -File scripts\play-nvidia.ps1 -Exe 'D:\Games\MyDump\<main executable>.exe'

Put the path to your main executable in the last line. The first start builds the layer, which takes a few minutes.

Options, requirements in full and the details are under How to run it.

This repository contains no game files, code or assets. You need your own legally obtained copy of the title. It is not affiliated with or endorsed by the title's developer or publisher, nor by NVIDIA. See docs/asset-policy.md.

What Miranda changes

Miranda changes the script launcher, scripts\play-nvidia.ps1:

  • The same three switches as miranda.exe. A frame's texture passes go through within 8 ms together (VICTORY_TEXSPK_PASS_MS=8), helper threads wake at the start of each submission (VICTORY_PASSES_HOT=1), and the layer's threads that a frame waits for run above normal priority (VICTORY_HELPER_PRIORITY=1). With these, the worst second in cutscenes went from 74.8 to 63.8 ms.
  • Fills kept in order on the card. A fill behind a title copy goes into its place in an ordered list on the card, and is not refused and waited for (VICTORY_PLACED_ORDER=1).
  • Larger worker pools on CPUs with 16 or more logical processors. The defaults are sized for 8 threads. From 16 the launcher sets VICTORY_THIN_THREADS=12, VICTORY_UNDER_THREADS=8 and VICTORY_LAND_THREADS=6, and from 24 VICTORY_LAND_THREADS=8.

miranda.exe does not set the last 2. The PC Miranda is built and played on is under This PC.

Miranda also changes the layer itself: the fix for speckled skin on hands and forearms (VICTORY_KEEP_CARD_WRITES), and VICTORY_PIX=1 for PIX GPU captures. See Current status.

With MOUSE AND KEYBOARD on (F1), the game's button prompts show the keys bindings.ini binds, as key caps (LMB, RMB and MMB for the mouse buttons), in place of the gamepad pictures. They are drawn at the start, so a key bound while playing shows after a restart, and animated hold prompts keep their gamepad pictures. VICTORY_PROMPTS=gamepad keeps the gamepad pictures. The mouse is let go while the game is paused or before a player exists (read from the game's own pause flags), so the window's X and other windows can be reached; it is taken back when play goes on, however the pause ended. Checked in the game on 2026-12-05: prompts, pause by Esc, unpause by Esc and by Backspace, the phone, the map (M), closing by X. While the game runs, Windows' Sticky Keys, Toggle Keys and Filter Keys shortcuts are off (Shift five times opens nothing); they come back as the game ends.

The default keys (%LOCALAPPDATA% ictoryindings.ini, written at the first start with MOUSE AND KEYBOARD on; delete it to get these defaults again; rebind in F1 > KEY BINDINGS). "Checked" means tried in the game:

Key Does
W A S D move checked
Mouse camera checked
Space jump (Enter selects in menus) checked
Shift run with one tap, sprint by tapping on checked
Left / right mouse button fire / aim not checked
Tab (held) weapon wheel; Q turns its pages checked
Middle mouse button focus (both stick clicks) checked
M (or V) map checked
Esc (or P) pause; Backspace also unpauses checked
Up arrow phone checked
R reload or melee (Backspace: back in menus) not checked
F enter or leave a vehicle not checked
C look behind not checked
G a short arm move, not known yet
Down / Z, Left, Right / E the other D-pad directions not checked

Known problems

  • No ray tracing. The title's own is off (VICTORY_BVH_BUILDER=1, or the menu's RAY TRACING, turns it on: slow and with a broken picture on this base). An estimate stands in for indirect light and reflections.
  • Frame generation needs room in the card's memory. The layer fills the card with textures up to its budget; with frame generation on from the start the launcher holds a fifth of the budget back (a little less while it is only ready), so a few more textures can come late. Switched on from the menu on a full 12 GB card it can still say that memory is past the budget; it then runs, perhaps unevenly.
  • Frames are only generated while the game's window has the focus, and about a second passes after a change before they come.
  • The first run of every new build stutters while the driver compiles pipelines.
  • "SAVE AND RESTART NOW" can leave the old game's process behind without a window; it goes when the PC restarts.
  • The heat-haze pass is left out, and cutscenes have hitches.

How to run it

You need Windows 10 or 11 (x64), a CPU with AVX2, 32 GB of RAM or more, an SSD, an NVIDIA GeForce RTX card with a recent driver (RTX 40 or later for frame generation, with hardware-accelerated GPU scheduling on; more than 2x needs an RTX 50), Rust (the toolchain is pinned), the Visual Studio Build Tools with "Desktop development with C++", and your own dump of the title's Xbox Series build (the folder with the title's main executable).

git clone https://github.com/OBERON-gg/miranda
cd miranda
copy victory.example.toml victory.toml      # then set game_dir to your dump's folder, outside this one
.\Get-NVIDIA-DLSS.cmd                        # once: NVIDIA's DLSS and frame generation files, about 70 MB
scripts\play-nvidia.ps1 -Exe 'D:\Games\MyDump\<main executable>.exe'

The first start builds the layer (a few minutes). Get-NVIDIA-DLSS.cmd gets NVIDIA's files from NVIDIA-RTX/Streamline into nvidia-sdk\ (git-ignored). They are NVIDIA's, under NVIDIA's licences, which are saved beside them; this repository does not carry them and may not. Nothing is downloaded unless you run that file; VICTORY_STREAMLINE_DIR names another folder if you have the Streamline SDK already.

scripts\play-nvidia.ps1's options:

Option What
(none) Series X profile, 2560x1440, DLSS Quality, no frame rate cap, frame generation ready but off
-FrameGen, -FrameGenX 4 frame generation on from the start, 2 to 6 frames shown for each one rendered
-Dlss off / dlaa / balanced / performance the title's own upscaling, or another DLSS mode
-Fps 60 a frame rate cap (30 is the title's own)
-SeriesS the Series S profile: 1280x720 inside, faster, softer
-Res 1080to1440 / 4k scene at 1080p upscaled by the title / the stock 3840x2160 output
-FrameGenReady frame generation made ready but off, so the F1 menu can switch it while playing (costs frame rate: ready, frames go through Streamline's swap chain; without it, a change in F1 takes effect at the next start)
-FgType auto / dlss / fsr which frame generation (see the top of this page); FSR 3's DLLs from VICTORY_FIDELITYFX_DIR, else amd-sdk\FidelityFX\bin here
-Build diag the diagnostics build (slower; captures, timelines, recording time in the F3 panel)
-More @{VICTORY_X='1'} add or override any switch

What the F1 menu saved (victory-settings.txt) goes over these at every start; delete that file to go back to them. Full screen: start the game, then run .\scripts\fullscreen.ps1 in another window. Logs go to %LOCALAPPDATA%\victory\logs, saves to %LOCALAPPDATA%\victory\data.

If the menu works but loading a scene closes the game, see the Windows memory troubleshooting guide. It shows how to check memory on systems with 32 GB of RAM or GPUs with 8 GB of VRAM.

How it works, and the findings

Credits

Miranda is built on the work of other open-source contributors. The git history of this repository keeps their commits.

  • NVIDIA Streamline, DLSS and Reflex are NVIDIA's; they are loaded at run time from a folder you supply.

License

GPL-3.0-or-later. See LICENSE; the one file that is not covered is named in docs/asset-policy.md.