Many contributors' work, rooted together.
Mangrove is a performance-focused fork of VIctory (upstream, by Marvisak and contributors). It tracks the NVIDIA line, trustno1-coder/VIctory-NVIDIA, and carries ports from many other forks (see CREDITS.md).
It is a research and preservation emulator project: a compatibility layer that runs a console title natively on Windows. It ships no game files. You need your own legally obtained copy. Mangrove is an independent project; its name and artwork use no third-party trademarks or logos.
- Launchers tuned for an RTX 5080 (Series S mode by default), plus a 16 GB-RAM launcher.
- A measured A/B method (docs/HOW-WE-MEASURE.md): teleport to a fixed spot, fixed time of day, walk the player a step and teleport back before every sample (turning the camera does not end the idle cinematic camera; only moving the player does), sample many frames, compare median ms/frame at matching draw counts (not single fps readings). Live switches are flipped ON/OFF in cycles in one session; launch-only switches get relaunch pairs. Picture-affecting changes need a human look.
- F8 mod menu: key rebinding, overlay, presets, teleport spots, live switches (also reachable from a local control port for scripts).
- Native 1:1 mouse aiming and seat-based vehicle controls (port of trustno1 #1356).
- Memory and CPU work: lazy landing with a
keep_aheadstale-read fix, journal batching, a staging limit, a sweep for 8 GB cards, andWATCH_LARGE_XMEMoff by default (it caused ground flicker).
The newest line is on branch
dev/0.2.0-dev.15
(main is still 0.1.0 until its picture is checked). What it adds:
- Leaf flicker workaround,
VICTORY_RENDERER_TEMPORAL=1(idea from trustno1 #1299, mrp1no): in Series S mode the title upscales with its FidelityFX path; this switch makes it use its own temporal anti-aliasing instead. Pale, see-through, sky-coloured leaves stopped flickering in the tested scene, and frames got faster (below). Off by default for now. - Command-list fixes: a graphics pipeline bind clears the quad sample-mask override; the command-allocator upload takes 32-bit size and alignment.
- DirectStorage: the queue's explicit-submit option and the set-event
entry are wired (
VICTORY_DSTORAGE_EXPLICIT=1,VICTORY_DSTORAGE_EVENTS=1, off by default). The title asks for explicit submit. - Compute budget keeps its spent time on the newest frame (idea from #1831, Ondra97).
- Own-frame capture (
capture_frameson the control port) and flicker counters for diagnostics builds; the oldscreenshotcopies the desktop.
Next: the submit-thread waits (#1802 settle without the submission lock, #1728 send free lists first, #1714 texture readback of changed bytes only), each as a live switch for a one-session A/B; DLSS against the title's TAA.
RTX 5080 16 GB, Ryzen 9 9950X3D, Series S mode, fixed spot, diagnostics build, medians of 16 samples per launch. Single machine; treat as direction, not a promise.
Where a frame goes (0.2.0-dev.11/12 logs, 48-55 ms frames): the submitting thread is busy the whole frame and sets the pace; the card is only about half busy.
| Part of the frame | ms |
|---|---|
| preparing (of which list steps ~17.5, refreshes ~11.8) | ~31 |
| waiting for the card (of which ~8.7 at the 32-lists-in-flight cap) | ~11 |
| copying back to title memory | 12-14 |
About 87 % of refresh flushes find nothing new to copy, so the biggest levers are copy-back, the in-flight cap wait and the empty refresh work.
Frames (each row = one launch; draws = draws per frame at the spot, which move frame time by about 1-1.5 ms per 1,000 draws, so compare rows at similar draw counts)
| Build | Upscaler | ms/frame | fps | Draws |
|---|---|---|---|---|
| 0.2.0-dev.12 | FidelityFX | 47.1 | 21.3 | 6,000 |
| 0.2.0-dev.12 | FidelityFX | 48.4 | 20.7 | 7,260 |
| 0.2.0-dev.15 | FidelityFX | 45.5 | 22.0 | 6,890 |
| 0.2.0-dev.15 | FidelityFX | 46.3 | 21.6 | 6,280 |
| 0.2.0-dev.15 | title TAA | 41.4 | 24.2 | 5,370 |
| 0.2.0-dev.15 | title TAA | 33.8 | 29.6 | 3,320 (different view) |
A/B results
| Change | Result |
|---|---|
| 0.2.0-dev.15 vs 0.2.0-dev.12 | ~1-2.5 ms faster at matched draws (45.5 @ 6.9k, 46.3 @ 6.3k vs 47.1 @ 6.0k, 48.4 @ 7.3k) |
TAA (RENDERER_TEMPORAL=1) vs FidelityFX, dev.15 |
~4 ms faster at matched draws (41.4 @ 5.4k); copy-back 9.5-9.8 ms vs 13.6-13.9 ms. No leaf flicker |
VICTORY_CACHE_CORES 0 vs 1 |
0 looked ~1.5 ms faster, draw counts unmatched: not proven |
tabled_frames 60, upload_pool 0 (live) |
no change in leaf flicker |
- Leaf flicker in Series S mode on the FidelityFX path (see above;
VICTORY_RENDERER_TEMPORAL=1avoids it in the tested scene). Power-line flicker is not explained yet. - Ground flicker with
VICTORY_WATCH_LARGE_XMEM=1(hence off by default). - Rectangles in the sky (stuck cloud tiles).
- Far trees fade with a wrong tint.
- PCs with 16 GB of RAM can run out of shared GPU memory; a fix is in progress.
- Behaviour is judged on one machine; expect rough edges elsewhere.
Windows 10/11 x64, an AVX2 CPU, a Direct3D 12 GPU with shader model 6.6 and
mesh shaders, the pinned Rust toolchain (rust-toolchain.toml) and the MSVC
build tools with a Windows SDK.
Tested on: RTX 5080 16 GB, Ryzen 9 9950X3D, Series S mode. Other hardware is untested.
cargo build --release -p victory --features diagnosticsPoint the launcher at your own dump (VICTORY_GAME_DIR, or CF_GAME_DIR for
the scripts in scripts/coolfox-play). The ready-made launchers are in
play-coolfox/: put the built victory.exe next to them and
the title in game\ beside that folder, or set VICTORY_GAME_DIR. Start with
Play-mangrove.cmd s; -16gb, -sweep (8 GB cards), -fg (frame
generation; run Get-DLSS.cmd once) and -rt (ray tracing) are variants.
Warm-mangrove.cmd all builds the shader cache once. scripts/coolfox-play
holds the base launcher and test rig (README). Nothing from the game is
ever committed (docs/asset-policy.md).
Run play-coolfox\Report-Log.cmd after a session.
It writes a short victory-report.txt from the newest run's log (hardware
names, frame times, memory lines; no personal data) to attach to an issue.
See CREDITS.md.
GPL-3.0. See LICENSE. The source of every release is this repository at the tagged commit.