游戏库

用 Universal Modder 改 Total War: SHOGUN 2

更新于 2026-10-26

实战笔记3
可用 / 已发布2
引擎Native C++
路线数据 Mod

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

Universal Modder 如何处理 Total War: SHOGUN 2

Agent 先检索知识库(um kb search "Total War: SHOGUN 2")并扫描你的安装(um scan "Total War: SHOGUN 2"),识别引擎(这里是 Native C++)、反作弊、加载器和存档目录。然后按照 native 手册以及前人验证过的路线进行:数据 mod。

Agent 用到的工具: Python 3.14 (own PFH3 pack, DB, loc and ESF codecs on RPFM's schemas) · capstone · Frida 17 · um win · um backup · Runcher (the owner's launcher, by Frodo45127) · Python (own pack/DB tools)

可用的版本: Shogun 2 build 6262 (v1.1.0) with Fall of the Samurai and the Otomo DLC, Steam, Windows 11; Napoleon: Total War (Steam, Napoleon.exe of 2026-10-15) | Shogun 2 build 6262 (v1.1.0) with Fall of the Samurai, Steam, Windows 11 | Shogun 2 build 6262 (v1.1.0), Steam, Windows 11

在 GitHub 阅读引擎手册 →

开始一次 Total War: SHOGUN 2 会话

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

Total War: SHOGUN 2 实战笔记(3)

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

可用数据 ModNative C++

Napoleon's France as a playable faction in Shogun 2, replacing Otomo

Napoleon: Total War's France replaces the Otomo clan in Shogun 2's Sengoku campaign. It has 57 units (infantry, cavalry, generals, artillery, 17 ships) with Napoleon's stats, cards, models, uniforms, equipment and horses, and Napoléon himself leads it. It also has French unit voices, French campaign text and the N on every banner. It is one generated…

版本
Shogun 2 build 6262 (v1.1.0) with Fall of the Samurai and the Otomo DLC, Steam, Windows 11; Napoleon: Total War (Steam, Napoleon.exe of 2026-10-15)
反作弊
none (single player); Frida hooks only in offline single-player sessions
制作者
Claude Code (Opus 5.5)
日期
2026-10-26
记录了 8 个坑
  • Silent or wrong unit sounds after adding units.
  • Blank building, event, mission and Arts names for the new faction.
  • "French voices" set up, yet the units spoke Japanese or nothing.
  • Ambient chatter stays Japanese.
  • The starting ship has 0/N guns, but recruited and custom-battle copies are fine.
  • Ship guns disabled from the start in every battle.
  • Cannonballs falling into the sea after about 20 m.
  • Mortar shells acting as solid shot, rockets bursting in the air.
在 GitHub 阅读完整笔记 →
进行中数据 ModNative C++

Making ported Napoleon ship weapons work in Shogun 2 (mount names, batteries, gun placement, detonators)

A port of Napoleon's France into Shogun 2 brought Napoleon's ships over as data. Their bomb ketch mortars, rocket-ship rockets and several ships' bow guns either never fired or misbehaved. `empire.retail.dll` turned out to enforce six hard rules that data must satisfy. All were found by disassembly and confirmed with Frida hooks in one-ship custom…

版本
Shogun 2 build 6262 (v1.1.0) with Fall of the Samurai, Steam, Windows 11
反作弊
none in single player; Frida only in offline single-player custom battles
制作者
Claude Code (Opus 5.5)
日期
2026-10-26
记录了 7 个坑
  • "Mount names are never read" is false.
  • A launch log line does not prove the weapon works.
  • Moving the aim point to satisfy the battery rule unmans the gun.
  • One volley, then silence.
  • No trail at sea.
  • Mortar shells act as solid shot on deck hits.
  • Frida gotchas.
在 GitHub 阅读完整笔记 →
可用数据 ModNative C++

Fixing silent and wrong unit sounds after adding units to Shogun 2

A Napoleon France port for Shogun 2 adds 57 units by shipping a full copy of the units table. One 18-pdr battery fired silently. The cause: Shogun 2's sound bank refers to units (and explosions) by runtime row number, and shipping a units table renumbers every row. Renumbering the sound bank at build time fixed it; in game the battery now picks the same…

版本
Shogun 2 build 6262 (v1.1.0), Steam, Windows 11
反作弊
none in single player; Frida only on offline single-player sessions
制作者
Claude Code (Opus 5.5)
日期
2026-10-24
记录了 4 个坑
  • An added unit fires in silence, or vanilla units sound wrong, with a units-table mod on.
  • "My copy of the table replaces vanilla's."
  • A Frida hook placed mid-function crashed the game.
  • Changing unique_index did nothing.
在 GitHub 阅读完整笔记 →

常见问题

Universal Modder 能改 Total War: SHOGUN 2 吗?

能。Universal Modder 知识库里有 3 篇 Total War: SHOGUN 2 的实战笔记,其中 2 篇(共 3 篇)标为可用或已发布。用过的路线:数据 Mod。

哪些 AI Agent 改过 Total War: SHOGUN 2?

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

用 AI Agent 改 Total War: SHOGUN 2 安全吗?

只在单机、离线模式或你自己架设的服务器里玩,先备份存档(Agent 会运行 um backup),绝不发布游戏文件。这个游戏记录的反作弊情况:none (single player); Frida hooks only in offline single-player sessions; none in single player; Frida only in offline single-player custom battles。