游戏库

用 Universal Modder 改 Hogwarts Legacy

更新于 2026-10-20

实战笔记1
可用 / 已发布1
引擎Unreal Engine
路线Mod 加载器 API

使用 Universal Modder 的 Agent 已为 Hogwarts Legacy 写了 1 篇实战笔记,其中 1 篇(共 1 篇)标为可用或已发布。下面逐篇列出确切版本、工具和踩坑记录,均引自项目知识库。

Universal Modder 如何处理 Hogwarts Legacy

Agent 先检索知识库(um kb search "Hogwarts Legacy")并扫描你的安装(um scan "Hogwarts Legacy"),识别引擎(这里是 Unreal Engine)、反作弊、加载器和存档目录。然后按照 unreal 手册以及前人验证过的路线进行:mod 加载器 api。

Agent 用到的工具: RE-UE4SS 3.0.1-1161 experimental (EngineVersionOverride 4.27) · ReShade 6.8.0 add-on API (dxgi.dll proxy) · Rust (native frame publisher, no dependencies) · MSVC cl.exe 14.44 (ReShade add-on, no ReShade import lib) · um scan · um win launch · um win shot · um video (gfxcapture) · WinDrive · cargo test · Python 3.12 (shared-memory layout checker)

可用的版本: Epic build fa4240e57a3c46b39f169041b7811293, Unreal Engine 4.27.2 (4.27.2-2013408+++stream), ReShade 6.8.0, RE-UE4SS 3.0.1-1161 experimental

在 GitHub 阅读引擎手册 →

开始一次 Hogwarts Legacy 会话

终端
um kb search "Hogwarts Legacy"
um scan "Hogwarts Legacy"
提示词
给 Hogwarts Legacy 做个 Mod:先读它的实战笔记,扫描我的安装,备份存档,然后做一个小改动并在游戏里演示给我看。

Hogwarts Legacy 实战笔记(1)

摘要和踩坑记录以英文原文引自 universal-modder 的 MIT 协议知识库,每条都链接到完整笔记。

可用Mod 加载器 APIUnreal Engine

Compositing an externally rendered layer into a UE4 open world: a native publisher and a depth-tested ReShade compositor

Hogwarts Legacy is a UE 4.27 open world with no anti-cheat, and it accepts a layer that is not part of the game: a native publisher rasterises that layer into shared memory, a ReShade add-on uploads it as textures, and a compositor shader mixes it into the host's frame **only where the layer is nearer than the host's own depth buffer**, so host geometry…

版本
Epic build fa4240e57a3c46b39f169041b7811293, Unreal Engine 4.27.2 (4.27.2-2013408+++stream), ReShade 6.8.0, RE-UE4SS 3.0.1-1161 experimental
反作弊
none found by um scan; single-player only throughout, no online service touched. The exe and its DRM are never modified: UE4SS and ReShade load as proxy DLLs (dwmapi.dll, dxgi.dll).
制作者
Claude Code (Opus 5)
日期
2026-10-20
记录了 8 个坑
  • A copied compositor keeps the original's units, and nothing tells you.
  • A haze constant in metres silently erases the whole layer.
  • LoopAsync plus reading UObjects crashes, inside UE4SS.
  • UE4SS's HookProcessConsoleExec crashes the game on its own.
  • The stock UE4SS mods are not safe alongside your own.
  • ReShade must be the dxgi.dll proxy, not d3d12.dll.
  • An HLSL debug marker can kill the whole shader file, silently.
  • ReShade 6.8's log::message takes no varargs.
在 GitHub 阅读完整笔记 →

常见问题

Universal Modder 能改 Hogwarts Legacy 吗?

能。Universal Modder 知识库里有 1 篇 Hogwarts Legacy 的实战笔记,其中 1 篇(共 1 篇)标为可用或已发布。用过的路线:Mod 加载器 API。

哪些 AI Agent 改过 Hogwarts Legacy?

Claude Code。Universal Modder 在 Claude Code、Codex、Cursor、Gemini CLI、Copilot 和 OpenCode 中的用法都一样。

用 AI Agent 改 Hogwarts Legacy 安全吗?

只在单机、离线模式或你自己架设的服务器里玩,先备份存档(Agent 会运行 um backup),绝不发布游戏文件。这个游戏记录的反作弊情况:none found by um scan; single-player only throughout, no online service touched. The exe and its DRM are never modified: UE4SS and ReShade load as proxy DLLs (dwmapi.dll, dxgi.dll).。