A native PC renderer for an Xbox Series title: the title's own D3D12 command stream through real host objects, placed memory and AOT shaders. No per-frame translation, no memory mirroring. N0 complete: it boots to device, queue and a GPU-local resource.
A native PC renderer for an Xbox Series title (build 1.0.2.1), built by executing the title's GPU command stream through a renderer we control, with shaders and pipeline state compiled ahead of time, instead of translating every D3D12 call per frame.
Status: N0 complete; nothing renders yet. The title boots with our loader and creates its own host
ID3D12Device, real queues, fences, allocators, command lists, descriptor heaps and resources. The generated progress panel below records the current PSO/draw/present counts and the next wall.
1/7 milestones done — 3 partial, 3 not started. PSOs: 53; draws: 0; presents: 0; tests: not measured. Snapshot: 2026-12-03. Details: N0: boot · real device and queues; N1: page model · budget conformance; N2: page-pool registration · overlap contract; N3: 53 PSOs · 3 containers rebuilt · storage read.
This is not a fork of the Riptide translator. It is the successor project the translator's measurements argue for. The translator stays where it is; this repository starts from zero at N0.
Live: issues · pull requests · work board #12 · good first issues
Merged PRs: 170 · Closed issues: 291
Merged PRs
Closed issues
flowchart LR
A[Boot / loader] --> B[Device, queues, fences]
B --> C[Descriptors & resources]
C --> D[Shaders & PSOs]
D --> E[Command lists & submit]
E --> F[First draw]
F --> G[Swapchain & present]
classDef done fill:#1f883d,color:#fff,stroke:#1f883d;
classDef active fill:#9a6700,color:#fff,stroke:#9a6700;
classDef todo fill:#57606a,color:#fff,stroke:#57606a;
class A,B done;
class C,D,E active;
class F,G todo;
flowchart LR
S[Console DXBC / XDAT] --> R[LLVM 3.7 reader]
R --> T[Typed module]
T --> W[DXIL 3.7 writer #91]
W --> P[Host-valid 49th PSO]
classDef done fill:#1f883d,color:#fff,stroke:#1f883d;
classDef active fill:#9a6700,color:#fff,stroke:#9a6700;
classDef blocked fill:#cf222e,color:#fff,stroke:#cf222e;
class S,R done;
class T active;
class W,P blocked;
| wall | issue | state |
|---|---|---|
| LLVM 3.7 bitstream reader | #77 | done — the real 2 |
N3: #88 PSO gap: add the 2682 missing (Cs) containers to the AOT pack and implement console slot 57
https://github.com/Nixitov/Riptide-Native/issues/499
Labels: renderer, shader
[claim] STATUS counter check script (#451)
https://github.com/Nixitov/Riptide-Native/issues/497
Labels: claim
fix(render): reject colliding frame compare output paths
https://github.com/Nixitov/Riptide-Native/issues/489
Labels: bug, good first issue, renderer
[claim] native pack coverage CLI (Nixitov/Riptide-Native#477)
https://github.com/Nixitov/Riptide-Native/issues/487
Labels: claim
[claim] physical limit cutoff tests (Nixitov/Riptide-Native#468)
https://github.com/Nixitov/Riptide-Native/issues/486
Labels: claim
N3: #88 why the per-frame buffer getter 0x4fd2940 returns 0 and the title exits at Game Init
https://github.com/Nixitov/Riptide-Native/issues/483
Labels: 없음
bug(render): compare mask comment contradicts the alpha write
https://github.com/Nixitov/Riptide-Native/issues/467
Labels: bug, good first issue
.bin, .xvd, extracted
texture, shader dump, frame capture or screenshot containing title content is
rejected. Logs with addresses and counts are fine; dumps of title memory are not.docs/evidence/. "Should work" is not evidence.Read docs/agent-process.md before a risky step and after any
context summary. It names the skill to load and the evidence required before a
completion claim.
Prerequisites: Windows 10/11 x64, Rust 1.98.1 (see rust-toolchain.toml), a D3D12
capable GPU and the Windows SDK.
cargo build --locked
cargo test --workspace
The first milestone does not need the game. Later milestones that do need it will say
so in NEXT.md; never launch the title while another session holds the measurement
lock (C:\Users\Nix\Desktop\play-riptide.ps1 and the tools in public-v082\tools
document it).
Install the repository's Rust toolchain, the x86_64-pc-windows-gnu Rust target,
a MinGW-w64 cross linker, and Proton Experimental. The script uses Bash, GNU
coreutils, setsid, pgrep, and Bubblewrap (bwrap). Headless runs also need
Xvfb, xvfb-run, and xauth. If you cannot use Bubblewrap, pass --no-sandbox.
Use a dedicated Wine prefix with G: and T: free and Z: mapped to /. The
script initializes a new prefix if needed. Give each run a new cache directory
outside the checkout.
tools/run-bounded-proton.sh --exe "$TITLE_DIR/game_scarlett_master.exe" \
--prefix "$HOME/.local/share/riptide/proton-prefix" \
--cache "$HOME/.cache/riptide/run-1" --real-device --headless
Run only one title instance at a time. Label these results local Proton. They do not count as the gated run in PROCESS.md.
NEXT.md, PROCESS.md and docs/STATUS.md.powershell -File tools/claims.ps1 (or
gh issue list --state open --json number,title,labels and inspect every issue
labelled claim or titled [claim] ...). A claimed slice or file belongs to its
owner; do not start it. Comment on their claim instead. The tool adds the claim
label when a title has the [claim] prefix but the label is missing.good first issue (bounded, offline,
testable without the game) or the current milestone's next unchecked task in
docs/PLAN.md.[claim] <scope>, label claim,
body with Owner, Status, Scope, Files, Acceptance, Stop condition and Related.
(Protocol and the claim template: issue #12 and PROCESS.md.)docs/decisions/ first. Close the claim when the slice lands, or mark it
abandoned with the issue/PR that killed it.Most of this tree builds, tests and documents without the game. Issues labelled
evidence need the exact user-supplied build, this machine and the measurement lock,
so they are not a remote first task.
Good offline first tasks:
good first issue issues - bounded and testable with cargo test.windows-latest.riptide-mem and riptide-pe that use synthetic buffers.file:line from this tree.Changes to the live renderer (crates/riptide-loader/src/hle/d3d12_xs.rs and
hle/xmem.rs) should wait for the current session to leave those files, or be
coordinated in the issue first: the evidence for a live path only exists after a
bounded run.
Every claim in a document, commit or PR needs one of:
file:line in this repository or a cited reference repository (path:line),If you cannot verify something, write UNVERIFIED next to it. Do not round a
measurement into a claim. When a later measurement contradicts an earlier one, append
a correction to docs/journal.md; never silently rewrite an entry.
rustfmt, clippy clean for new code.unwrap() on runtime data paths; return a typed error with the offending address
or offset.#[ignore] and documented; tests that need only a
synthetic buffer run in CI.Conventional Commits, one logical change per commit. Example:
feat(n1): decode pages.txt into a page directory
Evidence: cargo test -p riptide-mem --test pages
docs/evidence/2026-12-02/2026-12-02-pages-decode.log
Do not open a public issue for a legal takedown notice or a copy-protection concern. Contact the maintainer directly.
Do not use a blocking question dialog. Append a block to docs/REQUESTS.md saying
what you want to do, why, what it costs, what you will do if refused, and the exact
command. End the turn normally; t