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: N3 in progress; native pack live. The title creates its own host
ID3D12Deviceand real queues, fences, allocators, command lists, descriptor heaps and resources, and its submitted work reaches real draws and presents. The generated STATUS scoreboard records 60145 PSO objects, 223 draws, 74 presents; the progress panel below is rendered from it.
1/7 milestones done — 3 partial, 3 not started. PSOs: 60145; draws: 223; presents: 74; tests: not measured. Snapshot: 2026-12-04. 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: 300 · Closed issues: 516
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,F,G active;
N3 is the active milestone. The native pack is live: the loader looks up each translated pipeline by key, decodes and verifies it, and does not translate at runtime (evidence). Queue submit and present are real ([evid
docs(shader): add the missing wave64-folded note and compute-only gate
https://github.com/Nixitov/Riptide-Native/issues/878
Labels: documentation, good first issue, available
[claim] status-check newest Counters block and no-comparable guard (#734)
https://github.com/Nixitov/Riptide-Native/issues/868
Labels: claim
fix(evidence): check a renamed evidence entry in the changed-only gate
https://github.com/Nixitov/Riptide-Native/issues/851
Labels: bug, good first issue, tooling, available
fix(native_pack): reject a malformed manifest row instead of skipping it
https://github.com/Nixitov/Riptide-Native/issues/831
Labels: bug, tooling, blocked
[claim] reject XMem trace records without fn (#814)
https://github.com/Nixitov/Riptide-Native/issues/824
Labels: claim
fix(tools): reject an XMem trace record without fn
https://github.com/Nixitov/Riptide-Native/issues/814
Labels: bug, good first issue, tooling
.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