遊戲庫

用 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。