Read-only copy of github.com/realblastex/flamingo · VIctory / victory-fork based compatibility layer that runs a freshly released Xbox Series title on Windows from your own copy, with an RDNA2 shader recompiler to D3D12.
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Flamingo 4ad9bc3ecc Diagnostics: dumps of title ranges from their host copies and from title memory, and small constant buffers in full
- FLAMINGO_DUMP_RANGE=<hex address>+<hex bytes>[,...] (or size:<hex bytes>
  for the title buffer of that size, wherever it lies) writes the ranges as
  their host copies hold them at a listed frame's first character mesh
  draw (frame-N-range-<address>.bin), and as title memory holds them at that
  frame's present (frame-N-title-<address>.bin). With VICTORY_CAPTURE and
  VICTORY_CAPTURE_FRAMES; diagnostics builds.
- The capture's op lines give a constant buffer of up to 128 bytes in full.

Used to check the character skinning and culling data end to end: the
skinned vertices, the culls' per-mesh records and the instance transforms
all match what the frame wrote.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-26 09:14:01 +01:00
.cargo Flamingo: a VIctory / victory-fork based compatibility layer for an Xbox Series title 2026-11-25 10:47:10 +01:00
.githooks Flamingo: a VIctory / victory-fork based compatibility layer for an Xbox Series title 2026-11-25 10:47:10 +01:00
.github A logging build for problem reports: flamingo-log.cmd builds Flamingo, runs it with the log on and saves the log with the PC's details (and a .zip); README section and an issue template 2026-11-25 20:47:42 +01:00
apps/victory Faces move: 16-bit typed accesses pass bits through integer views (in tables too); pipeline syncs order shader writes 2026-11-26 08:02:33 +01:00
crates Diagnostics: dumps of title ranges from their host copies and from title memory, and small constant buffers in full 2026-11-26 09:14:01 +01:00
docs Flamingo: a VIctory / victory-fork based compatibility layer for an Xbox Series title 2026-11-25 10:47:10 +01:00
tests/fixtures/hle-probe Flamingo: a VIctory / victory-fork based compatibility layer for an Xbox Series title 2026-11-25 10:47:10 +01:00
xtask Flamingo: a VIctory / victory-fork based compatibility layer for an Xbox Series title 2026-11-25 10:47:10 +01:00
.gitattributes Flamingo: a VIctory / victory-fork based compatibility layer for an Xbox Series title 2026-11-25 10:47:10 +01:00
.gitignore A logging build for problem reports: flamingo-log.cmd builds Flamingo, runs it with the log on and saves the log with the PC's details (and a .zip); README section and an issue template 2026-11-25 20:47:42 +01:00
.victory-root Flamingo: a VIctory / victory-fork based compatibility layer for an Xbox Series title 2026-11-25 10:47:10 +01:00
Cargo.lock From pull request #4 (by rayane-creato1r): the discrete GPU on laptops, big textures hashed on several threads, Series S by default under 24 GB; the ray-tracing memory directory's size as a switch (VICTORY_MEMORY_COPIES, 1023 by default) 2026-11-25 20:38:17 +01:00
Cargo.toml From pull request #4 (by rayane-creato1r): the discrete GPU on laptops, big textures hashed on several threads, Series S by default under 24 GB; the ray-tracing memory directory's size as a switch (VICTORY_MEMORY_COPIES, 1023 by default) 2026-11-25 20:38:17 +01:00
flamingo-log.cmd Indirect windows off in the README's settings and flamingo-log.cmd: clamping a run of records ahead read them before the pass that writes them had run, and characters lost parts 2026-11-26 03:09:31 +01:00
FLAMINGO.md Wave64 programs in a paired form on 32-lane GPUs (victory-fork #854): no pipeline refused, no program untranslated; progress log through run 108 2026-11-25 16:54:55 +01:00
LICENSE Flamingo: a VIctory / victory-fork based compatibility layer for an Xbox Series title 2026-11-25 10:47:10 +01:00
README.md Indirect windows off in the README's settings and flamingo-log.cmd: clamping a run of records ahead read them before the pass that writes them had run, and characters lost parts 2026-11-26 03:09:31 +01:00
rust-toolchain.toml Flamingo: a VIctory / victory-fork based compatibility layer for an Xbox Series title 2026-11-25 10:47:10 +01:00
rustfmt.toml Flamingo: a VIctory / victory-fork based compatibility layer for an Xbox Series title 2026-11-25 10:47:10 +01:00
victory.example.toml Flamingo: a VIctory / victory-fork based compatibility layer for an Xbox Series title 2026-11-25 10:47:10 +01:00

Flamingo

Flamingo

Flamingo is a work-in-progress fork of victory-fork, which is itself a fork of VIctory. VIctory is a compatibility layer that runs an Xbox Series title natively on Windows from files you supply. Flamingo is tuned for one freshly released open-world Xbox Series title, run from a dump of your own legally obtained copy, on an NVIDIA RTX 4070.

This repository contains no game files, code or assets. You need your own copy. Flamingo is not affiliated with or endorsed by any game's developer or publisher, or by Microsoft.

Status (2026-11-25)

Tested on one machine: Windows 11, NVIDIA RTX 4070 12 GB, Series S profile (--console series-s).

Stage State
Boot, menus, start screen work (30 fps)
Opening cutscene plays through; faces and hair show a dither pattern, eyes come out white, and much of it is too dark
First gameplay scene renders with the player in control: about 14 fps facing the window; 9-12 fps turned fully around toward the room, where the card is 80-85% busy; 4 fps for a few seconds while turning, as the room's textures stream in
Shadowed areas dark: the title's ray-traced bounce light and shadows do not run yet
Geometry, characters some geometry is missing in the first area and some character assets load wrong; under investigation
Latest tree victory-fork main is merged in (run 84): the cell window's wire grate now draws, but the frame rate is lower for now (9-10 fps, first measurement with a cold shader cache) and is being worked on
Stability 15-minute runs end without a device loss

The first gameplay scene

Screenshots and the logo are attachments of the progress release, not files in the tree: the asset policy (docs/asset-policy.md) keeps everything derived from the game out of the repository. Every change and every measured run is logged in FLAMINGO.md.

What Flamingo adds over victory-fork

Flamingo's own work:

  • Stats overlay (RivaTuner-style). F9 goes round a compact display (fps and frame time, GPU load and temperature, VRAM, CPU load, RAM, a frame-time graph, as MSI Afterburner shows them), the full diagnostics (also frames, draws, preparing submissions with its copies and textures, waiting for the GPU, copy-back in ms and MB, shaders, pipelines, dropped draws), and nothing. FLAMINGO_OSD=1 starts with the compact display, FLAMINGO_OSD=2 with the full one, FLAMINGO_OSD=0 turns it off. GPU load and temperature need an NVIDIA card. Stats overlay
  • Discord Rich Presence: the game's name, menu or world, frame rate and time played.
  • DualSense support: a PlayStation 5 controller (and the DualSense Edge), over USB or Bluetooth, is the title's first pad while no Xbox controller is connected. It is read over HID, so Steam Input and DS4Windows are not needed. Buttons map by position (cross is A, circle is B, and so on); Options is Menu, and Create or the touch pad click is View. FLAMINGO_DUALSENSE=0 turns it off. Rumble and the light bar are not driven yet.
  • Faster submissions:
    • title-memory copies that recover from a fault instead of a kernel call per copy;
    • table constant views read the buffer's own GPU copy, with no CPU fill and no wait;
    • host objects are released on a thread of their own;
    • fewer clock reads per frame.
  • A lean build: the launcher build has no diagnostics counters, which is about 9% faster. The keys feature keeps the scripted keys for timing runs.
  • Intro and menu flicker fix: recently changed guarded textures are hashed at every check.

Pull requests merged from victory-fork and VIctory that have not landed upstream yet:

  • victory-fork #665: copy-back fetches go on a copy queue of their own.

  • victory-fork #670: no write-watch asking for known view memory.

  • victory-fork #799: 64 KiB constant-view clamp and translator fixes. The loose-LDS fallback is opt-in here (VICTORY_WAVE_LDS_LOOSE=1) because it made the world grainy.

  • victory-fork #812: unmapped view blocks are parked instead of asked about every frame (+1 fps).

  • victory-fork #798: the Series S profile keeps the game's own upscaler instead of FSR 4 (+2 fps).

  • victory-fork #823: four refused compute programs run on 32-lane GPUs, and the ray-tracing structure builder has all its pipelines.

  • victory-fork #768 (opt-in, VICTORY_WIDE_TEXTURES=1): a submission's texture checks run several at a time.

Experiments, all off by default, kept for testing (each has its result in FLAMINGO.md):

  • VICTORY_AMBIENT_STUB=1, VICTORY_SHADOWMASK_STUB=1: stand-ins for the ray-traced lighting passes, ported from ScarlettPort (GPL-3.0). Here they did not brighten the dark areas.
  • FLAMINGO_BVH_MISS=1: every ray-tracing node test misses. The cutscene gets brighter, but one run hung.
  • FLAMINGO_CARD_FILLS=1: reads of memory that shaders wrote lately are made on the card. Slower.
  • VICTORY_AMBIENT=<level>: after the indirect-light resolve, its output is replaced by a constant (from Belobug's fork, GPL-3.0). At 0.6 the opening cutscene washed out grey.
  • FLAMINGO_QUAD_HELPERS=1: in pixel shaders, reads of the quad's other lanes reach helper lanes (also from Belobug's fork). Sharper fine detail, about 18% slower.

The full list, with the runs behind each one, is in FLAMINGO.md.

Build and run

You need Rust (stable) and Windows 11.

cargo build --profile diag -p victory

Run it with the settings this build is tuned for:

set VICTORY_NO_WATCHDOG=1
set VICTORY_PIPELINE_WAIT_MS=24
set VICTORY_RELAY=1
set VICTORY_LATE_WAIT=3
set VICTORY_CARD_BUFFERS_MIN_MB=1
set VICTORY_CARD_BUFFERS_MB=1024
set VICTORY_INDIRECT_WINDOW=0
set VICTORY_SHADER_OPT=0
set VICTORY_WIDE_MERGE=1
target\diag\victory.exe run <path to your dump>\<the title's executable> --execute --console series-x

The Series X profile is the one to use: on some PCs the Series S profile (--console series-s, faster) shows a black screen once the game has loaded.

The first launch after a build translates and compiles shaders for a few minutes. Later launches use the cache.

For Discord Rich Presence, put your own Discord application id in %LOCALAPPDATA%\flamingo\discord_app_id.txt (FLAMINGO.md has the steps). FLAMINGO_DISCORD=0 turns it off.

Reporting a problem (logging build)

When something goes wrong (a black screen, a crash, missing pictures), a log tells us what happened on your PC. flamingo-log.cmd makes one:

  1. Install Rust and Git if you have not.

  2. Get the newest code: git clone https://github.com/realblastex/flamingo (or, in a clone you already have, git pull).

  3. Drag the title's executable from your own dump onto flamingo-log.cmd in the repository's folder, or run it from a command prompt:

    flamingo-log.cmd "D:\path\to\your\dump\the-title.exe"
    

    It builds Flamingo (several minutes the first time), runs it with the settings above and its log on, and remembers the path for next time (flamingo-game.txt).

  4. Play until the problem shows (for a black screen, wait a minute in it), then close the game window.

  5. The log is saved in the logs folder as flamingo-<date>-<time>.log, with a .zip of it next to it (Explorer opens there). Attach the .zip to your issue, and say what you saw and when.

The log starts with your Windows version, processor, memory and graphics cards with their driver versions. It also holds file paths of your PC, which can include your Windows user name: look it over before you share it. set FLAMINGO_SERIES_S=1 before running uses the Series S profile instead of Series X.

Credits

  • VIctory by Marvisak and its contributors is the base of everything here: the loader, the runtime services, the Direct3D 12 back end and the shader recompiler. It is licensed GPL-3.0-or-later, and so is this fork.
  • victory-fork by fxceless and its contributors did the world rendering and speed work this tree starts from, plus the merged pull requests above. The fork's own README is in docs/victory-fork-README.md.
  • victory-amd by myokex has an analysis of the dark shadowed areas that pointed at the missing ray-traced light.
  • ScarlettPort by ZigZagBoi1: the opt-in stand-ins for the ray-traced lighting passes are ported from its VIctory-based runtime (GPL-3.0-or-later).
  • Belobug's VIctory fork: the opt-in ambient pass and quad helper reads are ported from it (GPL-3.0).
  • The mesh primitive edge-flag fix came as pull request #1 to this repository, a port of upstream VIctory #1718.
  • vx-layer by Geckomacabre (GPL-3.0): the copy-back of textures that shaders write and the title reads on the CPU (VICTORY_TEXTURE_BACK), which keeps boats afloat.
  • Pull request #2 by rafaconvaitis: plain copies recover from guard-page faults.
  • The audio fixes of victory-fork #959 (upstream VIctory's XMA and audio ring fixes).
  • XCL by ivall and its contributors (GPL-2.0-only) was used as a reference only. No XCL code is copied here.
  • Flamingo's changes were developed with Claude Code.

License

GPL-3.0-or-later, as VIctory. See LICENSE.