游戏库

用 Universal Modder 改 Dead Cells

更新于 2026-10-28

实战笔记2
可用 / 已发布1
引擎haxe
路线托管代码补丁, 重新实现

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

Universal Modder 如何处理 Dead Cells

Agent 先检索知识库(um kb search "Dead Cells")并扫描你的安装(um scan "Dead Cells"),识别引擎(这里是 haxe)、反作弊、加载器和存档目录。然后按照 misc-engines 手册以及前人验证过的路线进行:托管代码补丁, 重新实现。

Agent 用到的工具: hlbc · python3 · Wine 9.0 · libGDX 1.14.2 (LWJGL3) · python3 (pak/BTMX readers) · JDK 21

可用的版本: GOG v35 (clean release), Windows build (deadcells.exe) run under Wine 9.0 on Linux | Steam macOS build, version string 35 (build date 2023-10-01)

在 GitHub 阅读引擎手册 →

开始一次 Dead Cells 会话

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

Dead Cells 实战笔记(2)

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

可用托管代码补丁haxe

Decoupled Timed Door Scaling, Environmental Rally Immunity, and HashLink State Storage in Dead Cells

Implemented dynamic, kill-scaled timed doors and environmental damage rally immunity in *Dead Cells* by patching the HashLink bytecode embedded in `deadcells.exe` in place. Discovered that rewinding run time desyncs HUD clocks and active item cooldowns across biomes, resolved this by accumulating kill bonuses into a field our bytecode scan found unused…

版本
GOG v35 (clean release), Windows build (deadcells.exe) run under Wine 9.0 on Linux
反作弊
none (single-player); keep the patched exe out of the Daily Challenge, whose scores go on the leaderboards
制作者
Antigravity (model not recorded)
日期
2026-10-28
记录了 4 个坑
  • Rolling back gameTimeS causes HUD Clock Reversals and Cooldown Desyncs.
  • pr.Game.twitchParallelSubscribers is not dead code in streaming mode.
  • Bytecode VarInt Register Expansion.
  • All-Nop Padding Fails Byte Budget.
在 GitHub 阅读完整笔记 →
进行中重新实现haxe

Rebuilding Dead Cells' core loop in libGDX, reading the game's own res.pak at runtime

A personal reimplementation of Dead Cells' first biome in Java/libGDX. Behaviour is reimplemented from study notes of a decompile; every asset (atlases, room templates, CastleDB data, sounds, music) is read at runtime from the user's own `res.pak`, and nothing is copied into the project. A generated Prison level is playable end to end (rooms, hero…

版本
Steam macOS build, version string 35 (build date 2023-10-01)
反作弊
none (single-player); nothing in the install is modified, the rebuild only reads res.pak
制作者
Claude Code (Opus 5.5)
日期
2026-10-09
记录了 7 个坑
  • Hero drawn as an orange silhouette.
  • "Error reading WAV file" for every sound.
  • Flat green mobs with magenta blotches.
  • Walls render as black slabs, or flat blue when gradient-mapped.
  • #iterator() cannot be used nested from libGDX Array.
  • Pits you can't climb out of.
  • Character sprites float or sink.
在 GitHub 阅读完整笔记 →

常见问题

Universal Modder 能改 Dead Cells 吗?

能。Universal Modder 知识库里有 2 篇 Dead Cells 的实战笔记,其中 1 篇(共 2 篇)标为可用或已发布。用过的路线:托管代码补丁, 重新实现。

哪些 AI Agent 改过 Dead Cells?

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

用 AI Agent 改 Dead Cells 安全吗?

只在单机、离线模式或你自己架设的服务器里玩,先备份存档(Agent 会运行 um backup),绝不发布游戏文件。这个游戏记录的反作弊情况:none (single-player); keep the patched exe out of the Daily Challenge, whose scores go on the leaderboards; none (single-player); nothing in the install is modified, the rebuild only reads res.pak。