# Repo families and the Living ViceDeck MegaFork

ViceDeck tracks about 29 community repositories for running the Xbox Series build of
Miami Simulator from your own, legally owned game files. They look alike, but they come from
a handful of separate codebases. Git can only merge forks that share history, so the deck
groups every repo into a **code family**. A MegaFork only ever combines repos from one family.

This page sums up what each repo does, based on files fetched on **2026-11-28** from
`raw.githubusercontent.com` (README, `Cargo.toml`, `LICENSE`, plus a few named source files such as
`apps/victory/src/main.rs`). The machine-readable version, with a source URL for every field,
is [`app/repo_intel.json`](../app/repo_intel.json) (also served to the Pages preview as
`ui/repo_intel.json`). README text was treated as untrusted data: summarised, never run.

## Families at a glance

| Family | What it is | Mergeable? |
|---|---|---|
| **victory** | [Marvisak/VIctory](https://github.com/Marvisak/VIctory) and its git forks. They share the `victory-*` crate workspace and the `victory` binary. | Yes, with each other |
| **leonida** | [ProjectLeonida/mandy](https://github.com/ProjectLeonida/mandy) (Leonida Continued). The original Leonida was deleted and its forks DMCA'd in Nov 2026. Static recompilation + Vulkan, plus a VIctory-derived D3D12 runtime in `d3d12/` with renamed `leonida-*` crates. | Only within leonida |
| **independent** | Separate codebases with their own history: Kelvaroq, ScarlettPort, Xbox2Windows, the TomBox continuation, AnyXboxX, TuxBox, XCL. | No: run them as separate runtimes |
| **isolated** | Reserved for code that must never be combined (for example GPL-2.0-only). No tracked repo needs it at the moment. | No |
| **tool** | Modding tools that are not runtimes (Ultimate ASI Loader). | No |

## Repo gists

### victory family

| Repo | Gist | Vendor | History |
|---|---|---|---|
| Marvisak/VIctory | Upstream mainline: the title's x86-64 code runs in-process, GPU work is translated to D3D12/DXIL. `victory run <exe> --execute --console series-x\|series-s`. | cross | root |
| trustno1-coder/VIctory-NVIDIA | NVIDIA tuning: water lighting, BVH builder path, Streamline/FidelityFX hooks. Base for fxceless, MiniVI and rorodev6's megafork. | nvidia | kept |
| fxceless/victory-fork | Cross-vendor DXIL / write-combine work, rebased on VIctory-NVIDIA on 2026-11-27. Base for cool_fox, VItoriaBr, ScarlettPort, Kelvaroq. | cross | kept |
| DoubleGhosty/cool_fox | Pareto memory residency (16–32 GB RAM), pipeline/descriptor stability. Built on fxceless. | cross | kept |
| TaynanGT/Vice-Tay | High-end RTX: DLSS / FSR 4 / frame generation, Agility SDK. Grew out of cool_fox. | nvidia | kept |
| Androtim/MiniVI | 8 GB VRAM guard: VRAM-scaled headroom, readback pooling. Rebased on VIctory-NVIDIA. Publishes no releases, so it is build-only. | nvidia | rebased |
| Yaekai/victory-scarlett-3070 | RTX 3070 / 8 GB build with measured launcher defaults. | nvidia | kept |
| uiliannn/VItoriaBr | Descriptor sync, relay/VRAM and DXIL optimiser work (PT/EN). | nvidia | not stated |
| PastiiJay/klbf-lab | KLBF Lab: AMD Radeon fixes (RX 6000 device loss, RDNA 4 compiler workaround, water physics), FSR 4 / frame generation, own launcher. Built from fxceless/victory-fork; ready-made `KLBF-Lab-win64.zip` on Releases. | amd | kept |
| DexNom/VIctory | "RayTime": AMD Radeon-first, FSR presets, `victory-play` / `victory-warm` helpers. | amd | snapshot? |
| CuteBooty/victory-8gb | Series S mode on 8 GB NVIDIA cards. **No commit history**, so it can't be merged. | nvidia | none |
| LakshanSivakumar/Native-Victory-macOS | Native macOS/Metal port. Boots to the setup screens. | cross (macOS) | kept |
| ToLIManl/VIctory-Hydra | Existing MegaFork: cherry-picks and benchmarks fixes from many forks. Built on cool_fox. | cross | aggregate |
| rorodev6/victory-nvidia-megafork | Existing MegaFork: NVIDIA tuning plus pipeline recovery and Win10/Agility SDK. | nvidia | kept |
| Fayberr/Victory-United | Existing MegaFork: "best work of the forks". | cross | aggregate |
| NitricAcidDev/VIctory-Omega-Fork | Existing MegaFork for RTX 50 series (default branch `Main`). | nvidia | kept |
| Bebrik229/VIctory-NVIDIA-Hybrid | Existing MegaFork: RTX 12 GB, descriptor-heap slot remapping past the 1M cap. Calls itself a standalone project. | nvidia | unclear |

All victory-family repos state **GPL-3.0-or-later** in `Cargo.toml` and ship the GPLv3 text.
Common settings use the `VICTORY_` prefix (for example `VICTORY_LOG`, `VICTORY_FIDELITYFX_DIR`,
`VICTORY_SKIP_PIPELINES`). Build: `cargo build --locked --release -p victory`, or for diagnostics
`--profile diag --features diagnostics` → `target/diag/victory.exe`.

### leonida family

| Repo | Gist |
|---|---|
| ProjectLeonida/mandy | Leonida Continued: static recompilation (x86-64 code runs natively, RDNA2 shaders → SPIR-V/Vulkan), built on your PC from your own copy with `make_game.py` → `gta6rt.exe`. Also a D3D12 runtime in `d3d12/` (`leonida.exe`, `LEONIDA_*` settings; older `VICTORY_*` names still read) that grew from VIctory. GPLv3 or later. Its README says it keeps the original project's full commit history. |

### independent, tool

| Repo | Gist | License |
|---|---|---|
| stellarr-studio/kelvaroq | Rust runtime + launcher. Its native engine is VIctory/victory-fork with Kelvaroq's patches applied. `kelvaroq play --console series-x <image>`. | GPL-3.0-or-later (`research/` GPL-2.0-or-later; name/logo excluded) |
| ZigZagBoi1/ScarlettPort | Own runtime + launcher. `engine/` is a hand-ported VIctory/fxceless fork renamed to `scarlett-*` / `SCARLETT_*` / `scarlett.exe`, shipped beside a GPL-2.0-only XCL copy. | GPL-3.0-or-later AND GPL-2.0-only (per path) |
| R0Y00/Xbox2Windows | Static-recompilation research (x64 → C++, gfx1013 → DXIL). CMake/Ninja + Python tools. | MIT |
| omonkeyz/xbox-emulator | Continuation of TomBox: reimplements the console platform layer. `tombox-*` crates. | GPL-3.0-or-later |
| LooperSalty/AnyXboxX | Prototype front-end. `anyxboxx run` builds and launches a vendored VIctory copy (`third_party/victory`). | GPL-3.0-or-later |
| brcly/TuxBox | Linux-first layer on top of Proton (plus a Windows D3D12 backend). | Apache-2.0 |
| xcl-dev/xcl | Wine/Proton-style layer, no CPU emulation, works only on unpacked files you own. `xcl run <exe>`. | GPL-3.0-or-later |
| ThirteenAG/Ultimate-ASI-Loader | Proxy DLL (`dinput8.dll`, `version.dll`, …) that loads `.asi` plugins. A tool, not a runtime. | MIT |

## Retired repos

A live check on 2026-11-28 removed these from the curated list. Their runtimes are marked `retired` and hidden.

| Repo | Why |
|---|---|
| ItsNotRexed/Leonida | Deleted on 2026-11-23; Take-Two's DMCA disabled its fork network on 2026-11-24. |
| Belobug/VIctory-Belobug-AMD | Removed by GitHub on 2026-11-27 (Terms of Service). For AMD use KLBF Lab. |
| avatarmanz/VIctory-7900XTX | Removed by GitHub on 2026-11-27 (Terms of Service). |
| Zettrox/ztrx | Account and repo gone since 2026-11-25. |

Re-uploads of these, and repos built on them, are on the discovery `rejected` list and are not tracked. Exception: crossducking/RAZDA4A-XEN (its README says it is built on leaked files) is watched by the maintainer's choice (28 Nov 2026); ViceDeck never copies its code.

## Corrections made to `config.example.json`

Each change below is backed by a fetched file (see `app/repo_intel.json` for URLs):

- **DoubleGhosty/cool_fox**: family `independent` → **victory** (victory-* workspace; README names fxceless/victory-fork as base fork with history preserved). Tag now "Pareto Residency & Stability Fork".
- **R0Y00/Xbox2Windows**: license `GPL-3.0-or-later` → **MIT** (LICENSE + README), in tracked repos and in the `xbox2windows_main` runtime. Runtime `env_prefix` `VD_` → **XBOX2WINDOWS_** (README: `XBOX2WINDOWS_ADAPTER`).
- **brcly/TuxBox**: license → **Apache-2.0** (LICENSE + README).
- **ZigZagBoi1/ScarlettPort**: license → **GPL-3.0-or-later AND GPL-2.0-only**, `combinable: false` (LICENSE.md: `runtime/xcl/` is GPL-2.0-only). The firewall now blocks whole-repo merges, which is correct.
- **xcl-dev/xcl**: license `GPL-2.0-only` → **GPL-3.0-or-later** (`Cargo.toml` `license`, LICENSE text, README badge), family `isolated` → **independent**. It stays standalone (`standalone_only: true`, `combinable: false`) because it is a separate codebase. Runtime `isolated_gpl2` (id kept for compatibility) renamed "XCL Standalone"; launch template → `{runtime_exe} run {game_exe}` (from `crates/xcl/src/main.rs`).
- **ProjectLeonida/mandy**: license `GPL-3.0` → **GPL-3.0-or-later** (README: "GPLv3 (or any later version)"). Runtime `project_mandy`: `exe_candidates` → `d3d12/target/{release,diag}/leonida.exe`, `leonida.exe`, `gta6rt.exe` (the made-up `mandy.exe` names are gone); `env_prefix` `MANDY_` → **LEONIDA_**.
- **Kelvaroq runtime** (`cross_release`): launch template `run --console … --execute` → **`play --console {console_profile} {game_exe}`** (from `src/main.rs`; Kelvaroq has no `run` subcommand).
- **`display_flags: false`** on `victory_core`, `nvidia_combined_diag`, `hydra_megafork`, `nvidia_megafork_release`, `cross_release` and `isolated_gpl2`. The `run` command in all 7 fetched VIctory-family `main.rs` files (Marvisak, MiniVI, Hydra, rorodev6, trustno1, fxceless, cool_fox), and the XCL and Kelvaroq CLIs, have no `--windowed` / `--fullscreen` / `--borderless`. Passing one made clap exit before the game started. Those runtimes toggle borderless/fullscreen in-game (F11 / Alt+Enter). Runtimes without the flag keep the old behaviour.

Retired on 2026-11-28: the `leonida_main` and `amd_rdna_diag` runtimes (upstreams removed; see Retired repos). Not changed, because the evidence wasn't clear: Xbox2Windows' `exe_path` (CMake project with no
single launcher binary named), and Mandy's launch template.

## The Living ViceDeck MegaFork

[`megafork/vicedeck-living.json`](../megafork/vicedeck-living.json) is a versioned recipe with
one stack per family that has mergeable forks. In the deck, open **Repositories → MegaFork
Studio → Living ViceDeck MegaFork** to see each stack, dry-run it, or build it.

### victory stack

- **Base: Marvisak/VIctory.** Every victory-family README names it as upstream, and it defines the
  shared crates. A clean base keeps the merge order meaningful.
- **Donors, foundations first:**
  1. trustno1-coder/VIctory-NVIDIA (nvidia): the tree fxceless, MiniVI and rorodev6 build on.
  2. fxceless/victory-fork (cross): rebased on (1), and the base for cool_fox and others.
  3. DoubleGhosty/cool_fox (cross): Pareto residency, built on (2).
  4. Androtim/MiniVI (nvidia, 8 GB guard), Yaekai/victory-scarlett-3070 (nvidia, 8 GB),
     TaynanGT/Vice-Tay (nvidia, high-end RTX), uiliannn/VItoriaBr (descriptor sync).
  5. Optional AMD donors: DexNom/VIctory (may report *unrelated*: snapshot) and PastiiJay/klbf-lab
     (replaces the removed Belobug and avatarmanz trees).
- **Excluded:** the existing megaforks (Hydra, United, Omega, NVIDIA-Hybrid, rorodev6). They already
  cherry-pick the same commits, so merging them again mostly adds conflicts. Use them as
  ready-made runtimes instead. Also excluded: CuteBooty/victory-8gb (no history), and the macOS port.
- Build: `cargo build --locked --release -p victory` → `target/release/victory.exe`, launched with
  `run --console {console_profile} --execute {game_exe}`, `VICTORY_` settings.

### leonida stack

- **Base: ProjectLeonida/mandy.** The only leonida repo still up. No donors: the original Leonida was
  deleted and its forks DMCA'd, so Mandy carries some takedown risk too.
- Build: the cargo workspace in `d3d12/` → `leonida.exe`. Mandy's Vulkan port is built by its own
  `make_game.py` from your own game copy, and ViceDeck does not run that step.

### How a run reports each donor

| Status | Meaning |
|---|---|
| `ready` | Dry run: passes the family check and the License Firewall. |
| `merged` | Merged cleanly onto the MegaFork branch. |
| `conflict` | Merge conflicted and was rolled back. The rest of the stack continues. |
| `unrelated` | No common history with the base (different code family or snapshot). Skipped. |
| `blocked` | The License Firewall refused it (for example GPL-2.0-only or no license). |
| `family_mismatch` | The recipe or config says it belongs to another family. Never sent to git. |
| `excluded` / `skipped_vendor` | Listed in `exclude`, or left out by the vendor profile you picked. |
| `fetch_error` | Couldn't be fetched (private, renamed or deleted repo). |

### Refresh policy

Each stack has `refresh.mode = "dry_run_notify"`. When **Rebuild when upstream moves** is on, and the
update sensor sees a new commit on the base or a donor, ViceDeck runs a **dry run** and posts the
result to Repositories → Updates. Building stays a manual click.

### API

- `GET /api/megafork/recipe`: the recipe, its validation against your config, the last result per family, and settings.
- `POST /api/megafork/living` with `{"family": "victory", "dry_run": true, "vendor": "nvidia"|"amd"|"cross"}`: runs the stack through `build_megafork` and returns the per-donor report.
- `POST /api/megafork/living/settings` with `{"auto_refresh": true}`.
- For testing, `VICEDECK_MEGAFORK_RECIPE=<path>` points the server at another recipe file.

### Updating the recipe

Edit `megafork/vicedeck-living.json`, bump `version`, and copy it byte-for-byte to
`ui/megafork/vicedeck-living.json` (the Pages preview reads that copy). Then run
`python -m pytest tests/test_megafork_recipe.py`. The test checks that the two copies match, that
every donor belongs to its stack's family, and that every license passes the firewall.
