Repository navigation
Releases
CityPress 1.0.1
CityPress 1.0.1
English
- New publishing thumbnail: the in-game newspaper icon, deep blue background and CityPress name.
- Register the English and Simplified Chinese dictionaries with the game and select the interface fallback through an explicit language ID.
- Add a complete English editorial policy. Built-in policies follow game-language changes; custom policies remain intact, including after save/load. All generation, commentary and repair requests receive the selected policy.
- Refresh the bilingual Paradox Mods introduction, game compatibility (1.6.*) and links to the author's other mods. Existing saved issues remain readable.
Validation: 239 offline regression checks and five gameplay-callback checks passed; C# Release builds with zero warnings/errors. UI type checking and build pass; runtime audit reports zero vulnerabilities. Native in-game acceptance remains separate.
Subscribe to CityPress on Paradox Mods, or install the full GitHub archive with the game closed, then restart.
简体中文
- 发布缩略图换为游戏内现有报纸图标、深蓝背景和 CityPress 名称。
- 向游戏注册英文与简体中文词条,通过明确语言 ID 选择界面回退文案。
- 新增完整英文编辑方针;内置方针跟随游戏语言切换,自定义方针在切换、保存与读档后保持不变。生成、评论与补稿请求均使用所选方针。
- 更新中英文 PMod 介绍、支持游戏版本(1.6.*)和作者其他模组链接;原有报纸可继续读取。
在 Paradox Mods 订阅,或关闭游戏后安装 GitHub 完整安装包,再重新启动游戏。
Thank you / 感谢
Thank you for using CityPress. If you enjoy it, explore my other mods, including RouteFilter.
感谢你使用 CityPress!如果你喜欢这个 Mod,也可以看看我的其他 Mod,例如 RouteFilter。
CityPress 1.0.0
CityPress 1.0.0
English
The first stable CityPress release turns recorded Cities: Skylines II activity into themed newspapers for in-game reading, local archives and editable Word export.
- Observe city activity and statistics, group duplicate material and filter noise locally before requesting copy from the player's configured Chat Completions-compatible service.
- Organize front news, themed continuation editions and commentary, with editorial review and repair, custom newspaper names and historical issue reading.
- Generate manually by default, with optional daily publication. The UI supports English and Simplified Chinese; editorial policy controls the language of the newspaper itself.
- Keep completed copy visible when saving fails. Locked Word files receive a new copy; unavailable export folders fall back to the local archive. Retry export without another API request.
- Align all current version metadata at 1.0.0 while preserving existing save and issue formats. Historical Beta changes remain in CHANGELOG.md.
Download the full install archive from GitHub Releases, close the game, replace the complete mod folder and restart. A GitHub release does not imply a Paradox Mods listing.
Validation: C# Release builds with zero warnings and errors; 232 regression checks, five actual game-callback checks, UI type checking and UI build pass. The runtime dependency audit reports zero vulnerabilities. Two UI asset-size warnings remain. These are offline checks; native rendering, live-save behavior and real provider output still require in-game acceptance. No paid player API was used for this release work.
简体中文
CityPress 城市日报首个正式版:把《都市:天际线 II》中实际记录到的城市变化,整理成可在游戏内阅读、归档并导出为 Word 的报纸。
- 采集城市操作与统计,在本地归并重复素材、过滤噪声,再交由玩家配置的 Chat Completions 兼容服务写作。
- 按内容组织要闻、专题与评论版,支持审校补稿、专题续版、往期阅读及自定义报纸名称。
- 默认手动生成,可选每日自动发行;界面支持简体中文与英文,报纸正文语言由编辑方针决定。
- 保存失败时保留游戏内成稿;Word 文件被占用时另存副本,导出目录不可用时回退至本地归档,可手动重试导出而不重新调用 API。
- 版本元数据统一为 1.0.0,沿用现有存档与报纸格式;Beta 历史更新见 CHANGELOG.md。
安装与升级:从 GitHub Releases 下载完整安装包,关闭游戏后替换整个 CityPress 模组目录,再重新启动。GitHub 发布不代表已上架 Paradox Mods。
验证结果:C# Release 编译无警告、无错误;232 项回归检查、5 项实际游戏回调检查、界面类型检查及构建通过,运行依赖审计未发现漏洞。界面构建保留两项资源体积提示。以上属于离线验证;原生游戏内显示、真实存档运行和真实服务生成效果仍需玩家验收,本次未调用玩家付费 API。
Thank you / 感谢
Thank you for using CityPress and sharing your feedback, bug reports and newspapers. If you enjoy this mod, you can also check out my other mods, including RouteFilter on Paradox Mods, for individual vehicle-asset restrictions on roads and railways in Cities: Skylines II. Its source and documentation are on GitHub.
感谢你使用 CityPress,也感谢每一位提出建议、反馈问题和分享报纸的玩家。如果你喜欢这个 Mod,也可以看看我的其他 Mod:RouteFilter(Paradox Mods),为《都市:天际线 II》的道路与轨道提供逐车辆资产通行限制;源码与使用说明见 GitHub。
CityPress 0.2.0-beta.14
CityPress 0.2.0-beta.14
修复生成成功却因覆盖 Word 文件失败而不显示报纸的问题。
- 日志确认 IOException 位于替换旧 Word 文件时。现在先保存本地 JSON 归档,再导出 Word;原文件无法覆盖时自动另存带时间与标识的新副本,保留旧文件。
- 自定义目录不可用时自动保存到本地归档目录。所有保存位置都失败时,成稿仍在游戏内显示,可重新点击导出;界面明确提示保存状态。缓存写入失败也不再丢弃成稿。
- 修复统计采集使用 Unity 不支持的通用枚举接口而产生的 NotSupportedException,改用原生枚举方式。
离线测试已覆盖文件占用、目录不可用、全部保存失败及旧文件完整性。完整打包另验证游戏程序集和回调兼容性。未调用玩家付费API。
安装后重启游戏加载;新生成/重新导出使用新逻辑。
English
Completed papers are archived before Word export and remain available in-game even if persistence fails. Locked Word targets receive a uniquely named new copy; unavailable export locations fall back to the local issue archive. Localized notices report recovery or deferred saves. Cache write failures are nonfatal. World.Systems scanning uses Unity's concrete enumerator rather than unsupported generic LINQ enumeration. Offline tests cover locks, blocked folders, total save failure and preservation of the existing document. Restart to load the update; no paid player API was used.
CityPress 0.2.0-beta.13
CityPress 0.2.0-beta.13
漏稿先补稿,合格内容照常发行。
- 审校先按缺项补写;若模型仍漏报已确认的新线运营或数值突破,本地事实工具自动补成简讯,再分版和核实,不再因漏项拒刊。
- 长评补写经过有限重试仍失败时,发行合格新闻,保留缺项审校记录,不伪造观点或用无关段落凑字。缺长评的稿件不锁入完整成稿缓存,可继续补齐。
- 无效、截断的模型正文自动转入事实补稿;无用或无法核实的稿件清理后,用已确认的本地材料完成发行。关闭可选审校也不会关闭已确认事实的补漏。
离线回归覆盖漏报新线、长评补写失败、全部原稿不合格、关闭可选审校及模型结构错误/截断。安装后重启游戏;新规则需重新生成报纸。未调用玩家付费API。
English
Missing content now triggers repair instead of vetoing publication. After model review, verified transit openings and milestones are supplemented using local factual briefs. Accepted news is published even when opinion retries are exhausted, with quality records retained and incomplete editions excluded from the complete-draft cache. Invalid/truncated model manuscripts and unsafe drafts recover using confirmed material. No facts or long opinions are fabricated. Restart and regenerate; no paid player API was used.
CityPress 0.2.0-beta.9
CityPress 0.2.0-beta.9
English
Localization release: the mod now follows the game language for its interface, messages and exported newspaper furniture.
- Interface and messages. All in-game labels, placeholders, archive text, settings, operation status, API/quality errors, theme names and collection summaries are available in English and Simplified Chinese. The interface follows the game language; other game languages fall back to English.
- Built-in fallbacks.
lang/en-US.jsonandlang/zh-HANS.jsonshare the same key set and are packaged with the mod. The UI also carries a fallback table, so a missing or not-yet-loaded language file never shows raw keys or blank controls. The game's own localization dictionary is used when available. - Backend status/error keys. User-facing failures use stable
CityPress.Error.*keys with arguments, and status usesCityPress.Status.*. The UI renders the translated text while preserving the previous Chinese fallback for logs and tests. - Word furniture. The exporter detects the language of the issue and applies matching furniture: English kicker, masthead labels, page numbering, month names and weekdays for English issues; existing Chinese issues keep their current layout.
- Generated newspaper prose. The interface language does not auto-translate article content. Newspaper text follows the editorial policy and the configured model; Word furniture follows the language detected in the issue. The player guide explains this behavior.
- Packaging. The release includes
mod.jsonandlang/; restart the game after installing so the new metadata and language files are loaded. - Process wording is repaired, not fatal. Sentences that expose the production process or use template disclaimers are flagged, sent back to the model once as a targeted revision, and any phrase that survives is removed deterministically before layout. One boilerplate sentence no longer discards an otherwise usable issue or forces a full regeneration.
- Settings panel fixes. Scrolling now works while the pointer is over the settings form, and inputs use opaque clipped surfaces with explicit stacking so selecting text no longer shows overlapping field contents.
- Verified offline: 214 checks including language-file key parity, no hard-coded Chinese in the UI entry file, all UI/backend keys present, English Word furniture/date, Chinese fallbacks, one-model-revision process-wording repair and deterministic cleanup fallback. Not verified here: native in-game language switching, Cohtml layout with longer English strings, real browser/CI rendering, and native game acceptance; treat those as pending player validation rather than completed.
简体中文
本地化版本:模组界面、提示消息和导出报纸版签现在会跟随游戏语言。
- 界面与消息。 游戏内标签、占位文字、档案文案、设置项、操作状态、API/质量错误、主题名称和采集摘要均提供英文与简体中文。界面跟随游戏显示语言,其他游戏语言回退为英文。
- 内置回退。
lang/en-US.json与lang/zh-HANS.json使用同一套键并随包发布;界面还内置回退表,语言文件缺失或尚未加载时不会出现原始键名或空白控件。游戏本地化字典可用时优先使用。 - 后端状态与错误词条。 用户可见错误使用稳定的
CityPress.Error.*与参数,状态使用CityPress.Status.*。界面负责翻译,同时保留原有中文回退供日志和测试使用。 - Word 版签。 导出时检测报纸语言并使用对应版签:英文报纸使用英文栏目、报头标签、版号、月份和星期;已有中文报纸保持现有版式。
- 生成的报纸正文。 界面语言不会自动翻译文章内容。正文语言由编辑方针和所配置的模型决定,Word 版签跟随报纸检测到的语言;使用指南中已说明这一点。
- 制作口径可修复,不再整期作废。 暴露制作过程或使用模板免责措辞的句子会被质量检查标出,先交给模型做一次针对性改写;仍有残留时在排版前按句清理。一句套话不再导致整期丢弃或强制重新生成。
- 设置面板修复。 鼠标位于设置表单时也能正常滚动;输入框使用不透明裁剪层与明确层级,选择文本时不再叠显其他输入框内容。
- 打包。 发行包包含
mod.json与lang/;安装后请重启游戏,以加载新的元数据和语言文件。 - 离线已验证: 共 214 项检查,包括中英文语言文件键一致、界面入口不再硬编码中文、所有界面/后端词条存在、英文 Word 版签与日期、中文回退、制作口径的一次模型修订与确定性清理回退。本环境未验证: 原生游戏内语言切换、较长英文文案在 Cohtml 中的布局、真实浏览器/CI 渲染和原生游戏验收;这些属于待玩家验收项。
CityPress 0.2.0-beta.6
CityPress 0.2.0-beta.6
English
Configurable compatible APIs, independent long commentary and five newspaper layout templates.
- Configure the endpoint, model, bearer authentication, JSON mode, output token parameter/limit and timeout. Base URLs and full chat/completions URLs are accepted. DeepSeek remains the initial default; compatible local endpoints can disable authentication. This is Chat Completions compatibility, not native support for every provider protocol.
- Credentials are encrypted per normalized request URL, outside savegames. Switching endpoints does not reuse the previous service key; old DeepSeek key/environment fallback stays restricted to official HTTPS DeepSeek. Requests do not follow redirects. Compatible services may return different usage fields; missing usage is shown as unavailable.
- Optional independent long commentary asks for a sustained, fact-based argument in natural paragraphs, usually 700–1400 Chinese characters when supported by the facts. It can occupy its own edition, with a layout designed for continuous reading. Short material should not be padded.
- Five templates: banner, lead/sidebar, vertical headline, brief-news digest and long commentary. Select content-based matching or suitable-template variation. A saved composition plan drives UI and Word; reopening, cache hits and re-exporting preserve the layout. Earlier issues use their original layout.
Verified: Release/core/export, custom API/auth/cache/usage/error cases, callback harness, UI types/build/audit, browser settings and five templates at three scales, and five Word pages rendered and inspected. Tests used offline fixtures, not paid provider calls. Native game/provider acceptance remains pending; Word and Cohtml can differ in exact glyph shapes and physical pagination.
Exit the game, install the complete CityPress-0.2.0-beta.6.zip into local Mods/CityPress, and restart. Existing exports and keys are preserved. Re-generate to use new editorial/layout options; re-exporting old text does not rewrite it. Review the player guide for compatible endpoint and credential behavior.
简体中文
新增自定义兼容 API、独立长评论与五种报纸布局。
- 可设置 API 地址、模型、Bearer 鉴权、JSON 模式、输出参数/上限及等待时间,支持基础地址和完整 chat/completions 地址。初始默认 DeepSeek,本地兼容接口可关闭鉴权;支持范围为 Chat Completions 兼容协议。
- 每个归一化请求地址分别加密保存凭据,不写入存档。切换地址不带走旧服务密钥,旧 DeepSeek 密钥和环境变量仅用于其官方 HTTPS 地址。请求不自动跳转,服务未返回用量时显示缺失。
- 可开启独立长评论版,用自然段展开有事实依据的论证,素材足够时通常700至1400汉字,不注水。长评论采用连续分栏,消息和观点区分。
- 五种模板:通栏、侧栏主稿、纵向头条、综合短讯、长评论专版。可按内容选版或从合适模板中变换选择,成稿固定保存布局;打开、命中缓存和重新导出都不重选。游戏与 Word 使用同一内容块/栏宽计划,旧刊保留原版式。
已验证 Release/核心/导出、自定义 API/鉴权/缓存/用量/错误、回调检查、UI 类型/构建/审计、三种缩放下的设置与五模板,以及五版 Word 渲染。使用离线样本,未执行付费服务请求;原生游戏/真实服务仍待验收。Word 与 Cohtml 的字形和物理分页可能有差异。
退出游戏后将完整 CityPress-0.2.0-beta.6.zip 安装到本地 Mods/CityPress,再重启。原有报纸与密钥保留。新评论/版式需重新生成,重新导出旧稿不改写内容;接口兼容和密钥行为见使用指南。
CityPress 0.2.0-beta.5
CityPress 0.2.0-beta.5
English
Themed editions, professional newspaper copy, named transit service evidence and corrected monthly fiscal balance.
- News, economy, transport, public services and commentary can have separate themed editions. Material decides the themes and length; no mandatory filler. News and opinion have explicit genre labels. The game offers a page directory and previous/next navigation; Word starts each themed edition on a new page. Legacy single-edition issues remain compatible.
- Stock editorial instructions upgrade automatically. Technical collection warnings stay out of articles; unsupported conclusions are omitted, not rewritten as certainty. Process/disclaimer phrases are rejected before caching. Important stories can be accompanied by grounded analysis and commentary without invented interviews or achieved effects.
- Passenger lines are checked independently after each one-game-minute interval, in bounded batches. Real names, modes, distinct stopping points, fares and actual service vehicle evidence enter editorial facts. Baseline routes and ordinary service gaps cannot be called new openings; confirmed opening stories must retain the line name.
- Fixed a beta.4 fiscal bug: native expense-array entries are positive. Monthly balance is revenue minus expenses, not their sum. Old incorrect balance values/highs are excluded from new editorial input, while original journals/issues remain intact. A corrected metric starts a fresh high-water baseline.
Verified locally: Release build, core/cache/finance/transit/old-issue compatibility, game-assembly callback harness, UI types/build/audit, browser page navigation at three scales, and three themed Word pages rendered and inspected. Native game/save acceptance and actual DeepSeek editorial output remain pending; no paid API requests were used for these tests.
Install the complete CityPress-0.2.0-beta.5.zip into local Mods/CityPress after exiting the game, then restart. Existing settings, keys and newspapers are preserved. Re-generate to apply new copy/editions; re-exporting an old issue preserves its old content. Generation remains manual by default.
简体中文
新增主题分版、专业日报措辞、具名线路运营采集,修正月度财政结余。
- 按素材组织要闻、经济、交通、民生、评论等版面,不强制凑版。消息、简讯、分析、评论标明体裁。游戏内支持版面目录与前后翻版,Word 按主题新起一页,兼容旧单版刊物。
- 旧默认编辑方针自动升级。正文只保留核实后的新闻事实,不抄写采集限制或模板式免责措辞;依据不足的结论舍弃,不包装成确定事实。重要新闻可配有具体论点的分析或评论,不虚构采访与成效。
- 客运线路独立分帧检查,完成后间隔一游戏分钟,采集真实线路名、交通方式、去重停靠点、票价与实际服务证据。既有线路基线和普通车辆间断不冒充新开通,确认的新线运营报道必须保留线路原名。
- 修复 beta.4 财政错误:原生支出数组为正数,结余应为收入减支出。旧错误结余及其突破不再送入新稿,日志和报纸原件保留;正确指标重建高位基线。
已完成本地 Release 编译、核心/缓存/财政/线路/旧刊兼容、实际程序集回调、UI 类型/构建/审计、三种缩放翻版,以及三版 Word 渲染检查。原生游戏/存档和真实 DeepSeek 成稿仍待实测,本次测试未调用付费 API。
退出游戏后完整安装 CityPress-0.2.0-beta.5.zip 到本地 Mods/CityPress,再重启。设置、密钥与旧报纸保留。新措辞与分版需重新生成,单纯重新导出旧刊不会改写正文。默认仍为手动生成。
CityPress 0.2.0-beta.4
CityPress 0.2.0-beta.4
English
Custom export folders, persistent numerical breakthroughs and staged background work. Word/JSON exports default to Windows Documents/CityPress, grouped by newspaper and save. Use the folder button to open an issue's actual location; re-exporting existing text uses no API. Earlier exports remain intact.
Population, treasury, monthly budget income/balance, households, current visitors and land crossings are merged by day. Initial readings establish a baseline; persisted highs prevent rebound/reload duplicates. Monthly budget rates are distinct from settled income and cash balances. Generation remains manual by default.
Export and incremental journals run on workers. World/statistics/pollution reconciliation is staged across frames, aggregation is indexed and clock updates are isolated. Native job waits and query copies can still spike; live-game frame-rate improvement is not yet measured.
Verified locally: Release compilation, core/export/migration/cancellation, milestone/cache/snapshot/journal checks, game-assembly callback harness, UI types/build/runtime audit and browser controls at three scales. These do not replace native Cohtml and real-save acceptance.
Download CityPress-0.2.0-beta.4.zip and its .sha256. Exit the game, extract the complete package into local Mods/CityPress, and restart. Keep images/ and Templates/. Existing data and legacy journal.json remain intact; the game-save envelope stays version 1 with additive fields.
简体中文
新增自定义导出目录、重大数值突破报道与分帧后台优化。Word/JSON 默认导出至系统文档的 CityPress 文件夹,再按报纸名称与存档分类。游戏内可打开报纸实际所在目录,已有成稿重新导出不调用 API,旧报纸保留。
人口、市库、月度预算收入/结余、家庭数、当前游客和解锁用地跨越整级时形成新闻素材,同日多次突破合并。首次采样只建立基线,历史高位随存档保留,回落反弹或读档不重复报。预算收入、结余与资金存量分别解释。默认仍为手动生成。
导出、档案读取和分日增量日志移到后台;城市/统计/污染分帧校对,汇总使用索引,时钟独立更新。原生任务等待与实体列表复制仍可能出现尖峰,尚未测量真实游戏帧率改善。
已验证 Release 编译、核心/导出/旧档/取消、突破/缓存/快照/日志、实际程序集回调、UI 类型/构建/运行依赖审计和三种缩放交互;不替代真实存档与原生 Cohtml 验收。
退出游戏后,将完整 CityPress-0.2.0-beta.4.zip 解压至本地 Mods/CityPress,保留 images/ 和 Templates/,重启生效。原有数据与旧 journal.json 保留,游戏存档外层仍为版本 1,新增字段向后兼容。
CityPress 0.2.0-beta.3
CityPress 0.2.0-beta.3
English
- Fixed Chinese newspaper text displaying as boxes: use the game's registered font throughout the newspaper instead of Windows-only font families.
- Fixed fragmented archive row text and the wrapped brand subtitle; made the panel background opaque.
- Removed empty historical initialization dates while keeping real early-year activity, metric-only history and the current day. Issues mistakenly generated for these empty dates are hidden without deleting local archives; the suppression survives save/reload.
- Added source/UI/release version consistency checks.
Verified locally: Release compilation, core/cache/export and callback checks, UI type/build checks, runtime dependency audit, and browser regression checks for game-font inheritance, archive grouping and three UI scales. The updated native in-game display still needs confirmation after restart; automated/harness checks do not constitute a full in-game acceptance pass.
Download the complete CityPress-0.2.0-beta.3.zip and .sha256. Close the game, extract all files to local Mods/CityPress, retaining images/ and Templates/, and restart. Journals, settings, keys and existing Word/JSON newspapers remain in ModsData/CityPress. The save envelope remains version 1 with additive fields. Generation is still manual by default.
简体中文
- 修复报纸中文变方框:整张报纸使用游戏已注册的字体,避免依赖 Windows 字体名。
- 修复档案行文字被拆散排布、标题副行换行,并使面板底板不透明。
- 清理无操作、无指标的过去初始化日期,保留真实早期操作、仅指标历史和当前日期。空日期误生成的报纸只隐藏入口,不删除本地归档,标记随存档保留。
- 新增源码、UI 和发行说明的版本一致性检查。
已完成本地 Release 编译、核心/缓存/导出和回调检查、UI 类型/构建、运行依赖审计,以及字体继承、档案分组和三种缩放的浏览器回归检查。更新后的原生游戏显示仍需重启确认;自动检查不等于完整游戏内验收。
下载完整 CityPress-0.2.0-beta.3.zip 与 .sha256。退出游戏后完整解压至本地 Mods/CityPress,保留 images/、Templates/,重启生效。ModsData/CityPress 下的日志、设置、密钥和已有 Word/JSON 报纸保留,存档外层版本仍为 1。默认仍为手动生成。
CityPress 0.2.0-beta.12
CityPress 0.2.0-beta.12
- 长评论明确写进主提示词。 有足够重大事件素材时,本次生成就要给出完整长评,目标700至1400字、包含分层小标题,不再指望玩家自己追加要求。长评最低验收提高至500字。
- 审校直接修稿。 发送完整编号稿件,允许补稿、扩写、合并和删稿;缺长评先交给审校补写,修订后重新核实事实、组织版面。仍不足才进入有次数限制的独立评论补写。修订记录、缓存与Word归档保留。
- 修复书法报头资源加载。 游戏拒绝原来的内嵌字体地址,现改为随包加载的独立TTF资源。报头仍为可自定义文字,支持城市名与任意自定义报纸名。
已通过离线核心回归与浏览器预览;打包时另核对游戏程序集与界面回调。未使用玩家付费API。游戏内字体实际效果和真实模型生成仍需重启后验收。
安装后重启游戏。新编辑规则需重新生成报纸,仅重新导出不会改写历史正文。原有设置、密钥、存档与本地报纸不变。
English
The primary prompt now requests a complete long opinion immediately. Review can add, expand, merge and delete copy using the complete numbered manuscript before final acceptance, with factual rechecking and bounded specialist fallback. Accepted long opinions require at least 500 characters; the requested target remains 700–1400. The calligraphy font now loads as a mounted TTF resource instead of a Cohtml-rejected data URI, preserving editable custom mastheads. Restart and regenerate to apply editorial changes. Native game rendering and live provider output still need acceptance; no paid player API was used.