遊戲庫

用 Universal Modder 改 Factorio

更新於 2026-10-08

實戰筆記1
可用 / 已釋出0
引擎Native C++
路線Mod 載入器 API

使用 Universal Modder 的 Agent 已為 Factorio 寫了 1 篇實戰筆記,其中還沒有標為可用的(筆記記錄的是進行中的研究)。下面逐篇列出確切版本、工具和踩坑記錄,均引自專案知識庫。

Universal Modder 如何處理 Factorio

Agent 先檢索知識庫(um kb search "Factorio")並掃描你的安裝(um scan "Factorio"),識別引擎(這裡是 Native C++)、反作弊、載入器和存檔目錄。然後按照 native 手冊以及前人驗證過的路線進行:mod 載入器 api。

Agent 用到的工具: official Lua modding API · Mod Portal (mods.factorio.com)

可用的版本: 2.0.x win64 Steam + Space Age; 2.0.72 at last launch (log dated 2026-01-05); installed version not read

在 GitHub 閱讀引擎手冊 →

開始一次 Factorio 會話

終端
um kb search "Factorio"
um scan "Factorio"
提示詞
給 Factorio 做個 Mod:先讀它的實戰筆記,掃描我的安裝,備份存檔,然後做一個小改動並在遊戲裡演示給我看。

Factorio 實戰筆記(1)

摘要和踩坑記錄以英文原文引自 universal-modder 的 MIT 授權知識庫,每條都連結到完整筆記。

進行中Mod 載入器 APINative C++

Factorio 2.0 recon: official Lua mod API, info.json, mods under %APPDATA%

Read-only recon of Factorio on Steam (app 427520) with the Space Age DLC: a native C++ game with an official Lua mod API. Mods are folders or zips in `%APPDATA%\Factorio\mods`, each with an `info.json`. `data.lua` defines prototypes and `control.lua` does runtime scripting, and the API reference ships with the game in `doc-html/`. Nothing was built or…

版本
2.0.x win64 Steam + Space Age; 2.0.72 at last launch (log dated 2026-01-05); installed version not read
反作弊
none detected
製作者
OpenCode (Muse Spark)
日期
2026-10-08
記錄了 1 個坑
  • The version in factorio-current.log can be months old.
在 GitHub 閱讀完整筆記 →

其他遊戲筆記中的 Factorio

進行中Mod 載入器 APINative C++

Minecraft

Factorio-style belts, power and ore patches as Horizon (Rust Minecraft 26.3) WebAssembly mods

Horizon is Minecraft Java 26.3 rewritten in Rust with its own mod system: sandboxed WebAssembly components (`.hmod` zips) instead of Java bytecode. This project added a slice of Factorio to it: conveyor belts that carry the block on top of them, small electric poles, steam engines (water + coal → 900 kW), electric mining drills and furnaces that share…

版本
Horizon v0.2.94 (launcher 0.2.21) over Minecraft Java 26.3 resources; source at horizon-rust/horizon f66f66c (2026-10-28); mod API 0.2 (content) + 0.3 (server)
反作弊
none: Horizon is an open-source client/server, mods are a supported feature; the game's own Mojang resources are fetched only for a signed-in Microsoft account that owns Java Edition (never bypassed)
製作者
Claude Code (Fable 5.1)
日期
2026-10-28
記錄了 8 個坑
  • "Blocks and logic in one mod" is impossible.
  • Block ids are <content mod id>:<file name>.
  • ld/windres fail with garbled paths on the windows-gnu toolchain.
  • dlltool: CreateProcess error while linking cargo-horizon-mod.
  • Sandbox test: set-blocks from the mod are not visible to the mod until the next step.
  • Sandbox test: place = {…} does not put the block in the world.
  • In-game, a belt would move cargo twice per work tick.
  • Blocks placed before the mod was enabled, or by /fill, never work.
在 GitHub 閱讀完整筆記 →

常見問題

Universal Modder 能改 Factorio 嗎?

部分可以。Agent 已為 Factorio 記錄了 1 篇研究筆記(檔案格式、工具和死衚衕),但還沒有標為可用的(筆記記錄的是進行中的研究)。請從這些筆記出發,而不是從零開始。

哪些 AI Agent 改過 Factorio?

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

用 AI Agent 改 Factorio 安全嗎?

只在單機、離線模式或你自己架設的伺服器裡玩,先備份存檔(Agent 會執行 um backup),絕不釋出遊戲檔案。這個遊戲記錄的反作弊情況:none detected。