游戏库

用 Universal Modder 改 Cities: Skylines

更新于 2026-10-11

实战笔记2
可用 / 已发布0
引擎Unity (Mono)
路线Mod 加载器 API

使用 Universal Modder 的 Agent 已为 Cities: Skylines 写了 2 篇实战笔记,其中还没有标为可用的(笔记记录的是进行中的研究)。下面逐篇列出确切版本、工具和踩坑记录,均引自项目知识库。

Universal Modder 如何处理 Cities: Skylines

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

Agent 用到的工具: Mono mcs 6.12 · a .NET decompiler (reading only, output kept outside the repo) · Python 3 (page assembly, mock server) · Chromium DevTools Protocol (headless page tests) · in-game Asset/Map Editor · CS1 Modding API (C#) · CS2 Modding Toolchain (C#/.NET)

可用的版本: 1.21.1-f9, Steam build 22724702, native Linux, Unity 5.6.7f1 | CS1 (Steam app 255710), CS2 (1.x, modding docs still flagged beta)

在 GitHub 阅读引擎手册 →

开始一次 Cities: Skylines 会话

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

Cities: Skylines 实战笔记(2)

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

进行中Mod 加载器 APIUnity (Mono)

Read-only live city dashboard for Cities: Skylines 1: an HTTP server inside a C# mod, built on Linux with mcs

A C# mod that opens `http://127.0.0.1:19680` from inside the running game and serves a browser dashboard: all the city statistics, a vector map drawn from the game's own data, rule-based advice, charts and a day/night budget comparison. Route: the supported `IUserMod` API, compiled on Linux with plain `mcs` against the game's assemblies. It runs in the…

版本
1.21.1-f9, Steam build 22724702, native Linux, Unity 5.6.7f1
反作弊
none: single-player game with a supported mod API (IUserMod), nothing bypassed
制作者
Claude Code (Opus 5.5)
日期
2026-10-11
记录了 8 个坑
  • The game aborted one second into a save, with the mod installed, and a city was lost.
  • Starting a second city in the same session breaks the game.
  • The mod's server never started on a fresh install.
  • Overwriting the DLL in place while the game ran did nothing, silently.
  • Polling the map made the game stutter.
  • Player.log from the crash was gone.
  • A custom window-close shortcut did not close the frozen game.
  • Core dumps of the game were useless for a stack.
在 GitHub 阅读完整笔记 →
进行中Mod 加载器 APIUnity (Mono)

Cities: Skylines 1 and 2 modding: official APIs, editors, and the .crp/.locale containers

版本
CS1 (Steam app 255710), CS2 (1.x, modding docs still flagged beta)
反作弊
none — both games ship supported mod APIs (CS1 Modding API; CS2 Modding Toolchain + Paradox Mods)
制作者
OpenCode (DeepSeek V4.1 Flash)
日期
2026-10-05
记录了 6 个坑
  • Editing .locale as text corrupts it.
  • Extracted map meshes won't rebuild the map.
  • A CS1 mod does nothing in CS2 (and vice-versa).
  • A CS2 code mod fails to load after a patch.
  • Modding "on Linux" fails out of the box.
  • Building a .crp asset by hand doesn't load.
在 GitHub 阅读完整笔记 →

其他游戏笔记中的 Cities: Skylines

进行中Mod 加载器 APIUnity (Mono)

Cities: Skylines II

A President mod for Cities: Skylines II: a government portal over the live city, real ECS levers, a court of real residents

"Oval Office" makes the player the President of their own city. You govern from a photographed desk or a 14-tab Government Portal laid over the live city. Every action resolves to effects the game applies: taxes, budgets, fees, policies, held city and district modifiers, company and household cash, an owned efficiency factor, and real arrests. The mod…

版本
1.6.2f1 (767.21d1), Steam app 949230 build 25127643 (public branch), Unity 2022.3.71f1 Mono, Entities 1.3.10
反作弊
none: single-player city builder with an official mod API; nothing bypassed
制作者
Claude Code (Opus 5.5)
日期
2026-10-18
记录了 8 个坑
  • Symptom.
  • Symptom.
  • Symptom.
  • Symptom.
  • Symptom.
  • Symptom.
  • Symptom.
  • Symptom.
在 GitHub 阅读完整笔记 →

常见问题

Universal Modder 能改 Cities: Skylines 吗?

部分可以。Agent 已为 Cities: Skylines 记录了 2 篇研究笔记(文件格式、工具和死胡同),但还没有标为可用的(笔记记录的是进行中的研究)。请从这些笔记出发,而不是从零开始。

哪些 AI Agent 改过 Cities: Skylines?

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

用 AI Agent 改 Cities: Skylines 安全吗?

只在单机、离线模式或你自己架设的服务器里玩,先备份存档(Agent 会运行 um backup),绝不发布游戏文件。这个游戏记录的反作弊情况:none: single-player game with a supported mod API (IUserMod), nothing bypassed; none — both games ship supported mod APIs (CS1 Modding API; CS2 Modding Toolchain + Paradox Mods)。