[PR #166] [MERGED] kb: The Dark Legions Reloaded, dgVoodoo2 internals, D3D8 -> D3D9Ex wrapper in one DLL #175

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

📋 Pull Request Information

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

Base: main ← Head: dark-legions-dgvoodoo-notes


📝 Commits (4)

  • a261e72 kb: The Dark Legions Reloaded (GR33N), dgVoodoo2 internals, D3D8 -> D3D9Ex wrapper in one DLL
  • 9a3a208 kb: The Dark Legions Reloaded, dgVoodoo2 internals, D3D8 -> D3D9Ex wrapper: review fixes
  • 7a5f374 Merge remote-tracking branch 'origin/main' into land/pr-166
  • 619cb70 kb: regenerate the index

📊 Changes

5 files changed (+377 additions, -2 deletions)

View changed files

📝 knowledge/INDEX.md (+5 -2)
➕ knowledge/games/the-dark-legions/reloaded-single-dll-fix.md (+105 -0)
📝 knowledge/index.json (+98 -0)
➕ knowledge/techniques/d3d8-to-d3d9ex-wrapper-in-one-dll.md (+76 -0)
➕ knowledge/techniques/dgvoodoo2-internals-and-spying-on-a-packed-d3d-wrapper.md (+93 -0)

📄 Description

Three field notes from The Dark Legions Reloaded, a mod by GR33N for The Dark Legions (Mascot Entertainment, 2004, Direct3D 8), built with Claude Code (Opus 5.5).

  • knowledge/games/the-dark-legions/reloaded-single-dll-fix.md: one d3d8.dll that fixes the game's heap-corruption crashes, replaces D3D8 with its own D3D9Ex renderer, adds widescreen, rebuilt menus, sharper fonts, faster loading and a fix for the cfg file that never re-read its settings.
  • knowledge/techniques/dgvoodoo2-internals-and-spying-on-a-packed-d3d-wrapper.md: what dgVoodoo2 2.87.5 actually sends to Direct3D 11 (captured with a spy d3d11.dll, since it is packed and RenderDoc cannot see it), and how to copy its look. Includes the ID3D10Multithread vtable-swap gotcha.
  • knowledge/techniques/d3d8-to-d3d9ex-wrapper-in-one-dll.md: building your own D3D8 -> D3D9Ex wrapper, with the traps (infinite-far fog, clipping, managed buffers, XYZRHW on a scaled target, gamma).

Checks: um kb check passes for all three, um kb index regenerated. No game files, no decompiled code, no secrets or personal paths. Single-player only. What was not verified is listed in each note.

🤖 Generated with Claude Code


🔄 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/166 **Author:** [@sigmacarsbg](https://github.com/sigmacarsbg) **Created:** 10/8/2026 **Status:** ✅ Merged **Merged:** 10/10/2026 **Merged by:** [@rehan-remade](https://github.com/rehan-remade) **Base:** `main` ← **Head:** `dark-legions-dgvoodoo-notes` --- ### 📝 Commits (4) - [`a261e72`](https://github.com/rehan-remade/universal-modder/commit/a261e72f407c47b8d260ed0120b52122feb9ef0e) kb: The Dark Legions Reloaded (GR33N), dgVoodoo2 internals, D3D8 -> D3D9Ex wrapper in one DLL - [`9a3a208`](https://github.com/rehan-remade/universal-modder/commit/9a3a208c3b794373654c25feacfc8f9e7b197e1b) kb: The Dark Legions Reloaded, dgVoodoo2 internals, D3D8 -> D3D9Ex wrapper: review fixes - [`7a5f374`](https://github.com/rehan-remade/universal-modder/commit/7a5f374639b37cff9d3354bc808a84203823cd5e) Merge remote-tracking branch 'origin/main' into land/pr-166 - [`619cb70`](https://github.com/rehan-remade/universal-modder/commit/619cb703d8854e39efab8edd2209849fc57fafef) kb: regenerate the index ### 📊 Changes **5 files changed** (+377 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `knowledge/INDEX.md` (+5 -2) ➕ `knowledge/games/the-dark-legions/reloaded-single-dll-fix.md` (+105 -0) 📝 `knowledge/index.json` (+98 -0) ➕ `knowledge/techniques/d3d8-to-d3d9ex-wrapper-in-one-dll.md` (+76 -0) ➕ `knowledge/techniques/dgvoodoo2-internals-and-spying-on-a-packed-d3d-wrapper.md` (+93 -0) </details> ### 📄 Description Three field notes from **The Dark Legions Reloaded**, a mod by GR33N for The Dark Legions (Mascot Entertainment, 2004, Direct3D 8), built with Claude Code (Opus 5.5). - `knowledge/games/the-dark-legions/reloaded-single-dll-fix.md`: one `d3d8.dll` that fixes the game's heap-corruption crashes, replaces D3D8 with its own D3D9Ex renderer, adds widescreen, rebuilt menus, sharper fonts, faster loading and a fix for the cfg file that never re-read its settings. - `knowledge/techniques/dgvoodoo2-internals-and-spying-on-a-packed-d3d-wrapper.md`: what dgVoodoo2 2.87.5 actually sends to Direct3D 11 (captured with a spy `d3d11.dll`, since it is packed and RenderDoc cannot see it), and how to copy its look. Includes the ID3D10Multithread vtable-swap gotcha. - `knowledge/techniques/d3d8-to-d3d9ex-wrapper-in-one-dll.md`: building your own D3D8 -> D3D9Ex wrapper, with the traps (infinite-far fog, clipping, managed buffers, XYZRHW on a scaled target, gamma). Checks: `um kb check` passes for all three, `um kb index` regenerated. No game files, no decompiled code, no secrets or personal paths. Single-player only. What was not verified is listed in each note. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-15 20:54:02 +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#175
No description provided.