[PR #132] [MERGED] kb: Resident Evil 2's picture composited into Minecraft with depth (Minecraft) + D3D12 readback technique #149

Closed
opened 2026-10-15 20:53:49 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/rehan-remade/universal-modder/pull/132
Author: @JuggRaptor
Created: 10/7/2026
Status: ✅ Merged
Merged: 10/8/2026
Merged by: @rehan-remade

Base: main ← Head: kb/minecraft-resident-evil-2-s-live-picture-composited-into-minecraft-with-depth


📝 Commits (3)

  • 1ae9156 kb: Resident Evil 2's live picture composited into Minecraft with depth (Minecraft) + D3D12 frame readback technique
  • f119a3f Merge main into kb/minecraft-resident-evil-2-s-live-picture-composited-into-minecraft-with-depth and regenerate the kb index
  • 69cbe84 kb: RE2 compositing notes: D3D12 readback facts, REFramework renderer_type, fixed vtable slots

📊 Changes

4 files changed (+389 additions, -2 deletions)

View changed files

📝 knowledge/INDEX.md (+4 -2)
➕ knowledge/games/minecraft/resident-evil-2-s-live-picture-composited-into-minecraft-wit.md (+229 -0)
📝 knowledge/index.json (+67 -0)
➕ knowledge/techniques/d3d12-frame-readback-buffers-only.md (+89 -0)

📄 Description

Two field notes from one modding session (single-player / offline, local prototype):

  • knowledge/games/minecraft/resident-evil-2-s-live-picture-composited-into-minecraft-wit.md - Resident Evil 2's live colour+depth picture composited into Minecraft Java 26.3's view, depth-tested against Minecraft's own depth buffer (REFramework native plugin + Fabric mixin, shared-memory seqlock transport). Setup versions, route, engine facts, build steps, verification numbers, 15 gotchas (FBO present-order, InvokeRet float/double union, reversed-Z far-clip extrapolation, SDL scancodes, UTF-8 BOM...).

  • knowledge/techniques/d3d12-frame-readback-buffers-only.md - companion technique: D3D12 frame capture must read back through READBACK-heap buffers (GetCopyableFootprints + CopyTextureRegion); textures on readback heaps and ROW_MAJOR textures return E_INVALIDARG. Rule matrix verified identical on NVIDIA and WARP (no debug layer needed).

  • engine / route: java / passthrough

  • status: working

  • agents: OpenCode (mimo-v2.6-flash)

Checked with um kb check; index regenerated with um kb index (72 notes; um kb check --index passes).

  • no game files, decompiled code dumps or secrets
  • versions and verification written down
  • what was NOT verified is listed in each note

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/rehan-remade/universal-modder/pull/132 **Author:** [@JuggRaptor](https://github.com/JuggRaptor) **Created:** 10/7/2026 **Status:** ✅ Merged **Merged:** 10/8/2026 **Merged by:** [@rehan-remade](https://github.com/rehan-remade) **Base:** `main` ← **Head:** `kb/minecraft-resident-evil-2-s-live-picture-composited-into-minecraft-with-depth` --- ### 📝 Commits (3) - [`1ae9156`](https://github.com/rehan-remade/universal-modder/commit/1ae9156e2399ffa1616f1ad33d26214abb96c24a) kb: Resident Evil 2's live picture composited into Minecraft with depth (Minecraft) + D3D12 frame readback technique - [`f119a3f`](https://github.com/rehan-remade/universal-modder/commit/f119a3f6c6ba39b89e9281df90121fb052c5789a) Merge main into kb/minecraft-resident-evil-2-s-live-picture-composited-into-minecraft-with-depth and regenerate the kb index - [`69cbe84`](https://github.com/rehan-remade/universal-modder/commit/69cbe84876d665fed7e2ae5c37a992ea8a1d61c2) kb: RE2 compositing notes: D3D12 readback facts, REFramework renderer_type, fixed vtable slots ### 📊 Changes **4 files changed** (+389 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `knowledge/INDEX.md` (+4 -2) ➕ `knowledge/games/minecraft/resident-evil-2-s-live-picture-composited-into-minecraft-wit.md` (+229 -0) 📝 `knowledge/index.json` (+67 -0) ➕ `knowledge/techniques/d3d12-frame-readback-buffers-only.md` (+89 -0) </details> ### 📄 Description Two field notes from one modding session (single-player / offline, local prototype): - `knowledge/games/minecraft/resident-evil-2-s-live-picture-composited-into-minecraft-wit.md` - Resident Evil 2's live colour+depth picture composited into Minecraft Java 26.3's view, depth-tested against Minecraft's own depth buffer (REFramework native plugin + Fabric mixin, shared-memory seqlock transport). Setup versions, route, engine facts, build steps, verification numbers, 15 gotchas (FBO present-order, InvokeRet float/double union, reversed-Z far-clip extrapolation, SDL scancodes, UTF-8 BOM...). - `knowledge/techniques/d3d12-frame-readback-buffers-only.md` - companion technique: D3D12 frame capture must read back through READBACK-heap **buffers** (`GetCopyableFootprints` + `CopyTextureRegion`); textures on readback heaps and ROW_MAJOR textures return E_INVALIDARG. Rule matrix verified identical on NVIDIA and WARP (no debug layer needed). - engine / route: java / passthrough - status: working - agents: OpenCode (mimo-v2.6-flash) Checked with `um kb check`; index regenerated with `um kb index` (72 notes; `um kb check --index` passes). - [x] no game files, decompiled code dumps or secrets - [x] versions and verification written down - [x] what was NOT verified is listed in each note --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-15 20:53:49 +00:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
rehan-remade/universal-modder#149
No description provided.