user's files (outside repo) VIctory
─────────────────────────── ─────────────────────────────────────────
game assets ──────────────────────────► victory-pipeline + victory-game
(victory-formats, victory-shader)
│
▼
cache_dir: converted data
│
game executable ─► victory-loader ────► title code (native x86-64)
prepare, map, bind │ imports
▼
victory-hle ── host Windows (shared APIs)
│ D3D12.X
▼
victory-gpu ─► host D3D12
│ shaders at pipeline creation
▼
victory-shader ◄─► cache_dir
Shaders are translated when the title creates a pipeline, from the bytes it passes, wherever it loaded them from (executable, archive, memory). Converting them ahead of time from files is only a warm-up.
| Crate | Role |
|---|---|
victory-core |
config, asset-policy guard, logging |
victory-pe |
read-only PE32+ and import-library analysis |
victory-loader |
prepare, map, bind and start the title image |
victory-hle |
console API implementations, host pass-through policy |
victory-gpu |
D3D12.X packet streams and GPU memory → host D3D12 (skeleton) |
victory-shader |
Xbox shader containers → host shaders |
victory-formats |
texture layouts, BCPack, audio codecs (skeleton) |
victory-pipeline |
converter trait, content-addressed cache |
victory-game |
Grand Theft Auto VI-specific formats, build identities, hooks |
apps/victory |
command-line front end |
xtask |
asset-policy check, git hooks |
tests/fixtures/hle-probe |
a stand-in "title" (our own code) for loader tests |
Everything except victory-game is platform-level and can be tested with
any Xbox Series title.
For every dll!function the title imports, in order:
victory-hle::modules (always wins);HostPolicy allows that DLL;--unimplemented
trap breaks into the debugger and aborts; zero logs once and returns 0).victory census shows this classification without running anything.