From 972c589601d461e7ab305d92d021a43e42d1976d Mon Sep 17 00:00:00 2001 From: ivall Date: Sat, 21 Nov 2026 19:44:38 +0100 Subject: [PATCH] Note: the console pipe configuration differs between Series S and X The console's texture layout library takes the hardware version and lays textures out differently for Series S and X, so the still-unknown pipe / packer configuration of the XOR swizzle modes has to follow the device type XCL reports. --- HANDOFF.md | 4 ++++ crates/xcl/src/gpu/texture.rs | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/HANDOFF.md b/HANDOFF.md index 0d558e4..b68e3a1 100644 --- a/HANDOFF.md +++ b/HANDOFF.md @@ -603,6 +603,10 @@ Console GPU addresses in unified memory are the title's own: memory operations g chain, and answering it made that crash now and then. - `XMemVirtualAlloc(address, size, type, XALLOC_ATTRIBUTES, protect)` (kernelx; also found by name for `xmem.dll` imports): a graphics memory type allocates in unified memory, as MEM_GRAPHICS. It was a stub returning null. +- Public Series S research (SystemOS side, CS-Unit "XboxSeries-Archive"): the texture layout library takes the hardware + version (Series S vs X) and lays textures out differently for each – so `texture::CONSOLE_PIPES` (still unknown, only + the _X modes need it) must be found per console and follow what `XSystemGetDeviceType` reports (Anaconda by default, + Lockhart with the Series S setting). The rest of that write-up is the system partition, not the title's. - Looked at (independent projects, only facts taken): GDKScarlett (Xbox One `d3d12_x` titles, GCN shaders; its PIX / AcpHal / mfplat stubs answer what XCL's automatic stubs already answer) and SlimEra (XDK-era kernelx: Era* / Etx* functions – no GDK title seen importing them). diff --git a/crates/xcl/src/gpu/texture.rs b/crates/xcl/src/gpu/texture.rs index 6a8ea68..0f1fa4f 100644 --- a/crates/xcl/src/gpu/texture.rs +++ b/crates/xcl/src/gpu/texture.rs @@ -16,7 +16,8 @@ use windows::Win32::Graphics::Direct3D12::*; /// Pipes / packers of the console's GB_ADDR_CONFIG – only the XOR (_X) modes depend on it. /// Not known yet (to be found on an _X texture from the game); the non-XOR modes the -/// archives use do not need it. +/// archives use do not need it. Series S and X differ (the console's layout library takes +/// the hardware version): the value has to follow the device type XCL reports. pub const CONSOLE_PIPES: PipeConfig = PipeConfig { pipes_log2: 0, pkrs_log2: 0 }; /// Linear data of one subresource: `depth` slices (3D, else 1) of `rows` rows of `row_bytes`