How zm0kiemedia/neptune_vi works
Neptune VI is a Windows runtime that runs an Xbox Series game build on PC. The principal workflow is to start the runtime with the user’s game executable, prepare and load the title, emulate its console services, translate its shaders, and execute/present its graphics work through D3D12. The README also documents shader warming, performance overlay and screenshots, ocean-memory fixes, and diagnostics. Several runtime subsystems are represented by their exact enclosing source directories because their implementation files were not sampled; those links are omitted where evidence is unavailable.
Main entry points: host.rs D3D12 host GPU · victory/src Title runner · storage.rs Title storage · victory-hle/src Console API emulation
Components 22
Runtime and loading
- Victory CLI
apps/victory/src/main.rs - Title runner
apps/victory/src - PE image
crates/victory-pe/src/image.rs - Console loader
crates/victory-loader/src
Console services
- Console API emulation
crates/victory-hle/src - Async services
crates/victory-hle/src/modules/xasync.rs - Game runtime APIs
crates/victory-hle/src/modules/xgameruntime.rs - Title storage
crates/victory-hle/src/modules/storage.rs - File services
crates/victory-hle/src/modules/files.rs
GPU execution
- D3D12 host GPU
crates/victory-gpu/src/host.rs - Frame pacing
crates/victory-gpu/src/frame.rs - GPU resources
crates/victory-gpu/src/resource.rs - Title-memory copies
crates/victory-gpu/src/shadow.rs - Host descriptors
crates/victory-gpu/src/descriptor/host.rs - Draw and indirect work
crates/victory-gpu/src/draw.rs - Pipeline creation
crates/victory-gpu/src/pipeline.rs
Shader translation
- Shader translation
crates/victory-shader/src/emit/lower.rs - Shader IR and structure
crates/victory-shader/src/ir.rs
Formats and observability
- Game formats
crates/victory-formats/src/texture.rs - Overlay and capture
crates/victory-gpu/src/overlay.rs - Pipeline cache
crates/victory-pipeline/src/cache.rs
Other components
- Game owner
Connections 22
- Game owner → Victory CLI: starts
- Victory CLI → Title runner: dispatches
apps/victory/src/main.rs - Title runner → PE image: loads title
- Title runner → Console loader: prepares title
- Console loader → Console API emulation: provides emulation
- Console API emulation → Async services: uses
crates/victory-hle/src/modules/storage.rs - Console API emulation → Game runtime APIs: exposes APIs
crates/victory-hle/src/modules/storage.rs - Title storage → Async services: completes calls
crates/victory-hle/src/modules/storage.rs - Title storage → Game runtime APIs: uses interfaces
crates/victory-hle/src/modules/storage.rs - Title storage → File services: routes file access
crates/victory-hle/src/modules/storage.rs - Title runner → D3D12 host GPU: runs graphics
- D3D12 host GPU → Frame pacing: paces frames
crates/victory-gpu/src/host.rs - D3D12 host GPU → GPU resources: manages resources
crates/victory-gpu/src/host.rs - D3D12 host GPU → Title-memory copies: syncs title memory
crates/victory-gpu/src/host.rs - D3D12 host GPU → Draw and indirect work: submits work
crates/victory-gpu/src/host.rs - D3D12 host GPU → Host descriptors: uses heaps
crates/victory-gpu/src/host.rs - Draw and indirect work → Pipeline creation: uses pipeline
crates/victory-gpu/src/pipeline.rs - Pipeline creation → Shader translation: translates shaders
crates/victory-gpu/src/pipeline.rs - Shader translation → Shader IR and structure: lowers IR
crates/victory-shader/src/ir.rs - Game owner → Game formats: supplies game data
- D3D12 host GPU → Overlay and capture: presents overlay
crates/victory-gpu/src/host.rs - Pipeline creation → Pipeline cache: uses cache