Skip to content

About

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. About 14 fps on an RTX 4070 (Series S profile). No game files included.

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Repository files navigation

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
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): fps and frame time, frames, draws, CPU, GPU and copy-back time per frame, VRAM, RAM, and a frame-time graph. F9 shows or hides it. FLAMINGO_OSD=1 shows it from the start; FLAMINGO_OSD=0 turns it off. 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.

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=1
set VICTORY_SHADER_OPT=0
set VICTORY_WIDE_MERGE=1
set FLAMINGO_OSD=1
target\diag\victory.exe run <path to your dump>\<the title's executable> --execute --console series-s

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.

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).
  • 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.

About

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. About 14 fps on an RTX 4070 (Series S profile). No game files included.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages