Run Minecraft: runtime HLE, D3D12.X device on the host GPU, shader IR

Loader: map title-shipped DLLs, patch static TLS loads to slot 0, crash
reporter, title paths for GetModuleFileName*.

HLE: task queue and async, XUser (one offline user), system ids,
title id, features, invites, game events, persistent local storage,
GameInput with no devices, xmem, console audio hardware queues, life
cycle (close suspends, then terminates), and a file layer with virtual
drives rewritten in path-taking imports.

GPU: D3D12.X device, DXGI chain, heaps, resources, fences, queues and
command lists translated onto a host D3D12 device; clears, barriers,
copies, resolves and PresentX into the title's window.

Shaders: SGD5 reader and `victory translate`; SSA IR with node
splitting for irreducible flow; structurisation removing EXEC.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
MarvisandClaude Opus 5.5 committed 2026-11-23 14:42:21 +01:00
1 parent 12caefe804
commit 754619f30e
61 files changed
+12775 -88

No files matched your search

+30 -4
View File
@@ -5,15 +5,41 @@
//! Run `victory census` over your titles to see what is still missing.
//!
//! Planned areas (driven by census results, not by completeness):
//! `xmem` (console memory types, GPU-visible allocations), `file` (package
//! paths), `thread` (TLS callbacks for title threads), `d3d12x` (bridge to
//! `victory-gpu`), `xaudio2`, `gameinput`, `xuser`/`xstore` stubs.
//! `file` (package paths), `thread` (TLS callbacks for title threads),
//! `xaudio2`, `xstore` stubs.
pub mod audio;
pub mod d3d12x;
#[cfg(windows)]
pub mod files;
pub mod gameinput;
pub mod kernel;
#[cfg(windows)]
pub mod lifecycle;
pub mod storage;
pub mod xasync;
pub mod xgame;
pub mod xgameruntime;
#[cfg(windows)]
pub mod xmem;
pub mod xsystem;
pub mod xuser;
use crate::HleModule;
pub(crate) fn all() -> Vec<HleModule> {
vec![kernel::module(), xgameruntime::module()]
let mut all = vec![
kernel::module(),
xgameruntime::module(),
gameinput::module(),
d3d12x::module(),
audio::module(),
];
#[cfg(windows)]
all.push(files::module());
#[cfg(windows)]
all.push(lifecycle::module());
#[cfg(windows)]
all.push(xmem::module());
all
}