StationFlow
Batch-manage interstellar logistics stations: name/slot-driven auto pairing (point-to-point, planet & star-system routes), traffic heatmap, diagnostics, batch tools and auto-pilot. Press F8 for the pa
模組介紹 作者原文
StationFlow
Automation and batch management for interstellar logistics stations in Dyson Sphere Program.
Late-game saves often have hundreds of logistics stations, and pairing them by hand — one by one, through the vanilla UI — is a huge pain. StationFlow lets you generate, preview and apply pairings in bulk, visualize the whole logistics network, and diagnose why a station isn't delivering.
Features
Overview & Naming (Tab 1)
- Table of every logistics station in the cluster: name, interstellar supply/demand items with icons, planet, behavior, groups, P2P route count
- Multi-select (Ctrl / Shift click) and batch rename with templates using variables:
{item} {role} {supply} {demand} {storage} {galaxy} {planet} {gid} {seq:2} (Chinese aliases are also accepted)
- Preset templates (full form / classic / per-planet / storage) plus an auto-recommended template based on your selection
- Cluster-wide duplicate avoidance; one-click undo
Rule-based Pairing (Tab 2)
- Mode 1 — Name-driven: parses [item][role] from station names and pairs supply/demand stations of the same item, sorted by demand gap (descending) and distance (ascending)
- Mode 2 — Slot-driven: reads each station's interstellar supply/demand slots directly. No naming required
- Three pairing mechanisms: Point-to-Point (station-to-station), Planet Route, and Star-System Route (pairs inside the same star system automatically fall back to Planet Routes, since vanilla routes cannot be expressed at system level for those)
- Parameters: max K supply stations per demand station, minimum supply ratio, allow/disallow cross-system pairing
- Generate → preview (+ new / ✓ existing) → transactional apply (frame-budgeted writes, a single pairing-table rebuild) → one-click undo
- Single-source items are skipped with a notice (the game's built-in fallback pairing already covers them); storage slots and local logistics are never touched
Logistics Network (Tab 3)
- Planet × item traffic heatmap: green = output, orange = input, yellow = both, dim = configured but idle, gray = storage
- Data comes from the game's own traffic statistics (≈ last minute); hover a cell for details
Diagnostics (Tab 4)
- Standstill risk: behavior set to "Only / Designated" but with no P2P, no group and no route — in vanilla these have no fallback, so the station will not dispatch
- Missing supply: items demanded by interstellar stations but supplied by none
- Tight supply: total demand gap far exceeds the stock on hand
Batch Tools (Tab 5)
- Topology pairing across the selected stations: Ring / Chain / Star / All-to-All (same-planet pairs are skipped automatically)
- Batch-set behavior (Ignore / Prioritize / Only / Designated); batch join / leave groups (1–30)
- Everything runs through the transactional executor: frame-budgeted and undoable
Auto-Pilot
- Off by default. When enabled, it checks every 30 seconds for new stations and applies incremental pairing using your current rule settings (idempotent — only new pairs are written)
- The per-run action cap is configurable; it disables itself on error
Installation
- Install BepInExPack_Dyson_Sphere_Program (via r2modman or manually)
- Install this mod (via r2modman or by unzipping into your game folder)
- Launch the game and press F8 to open the management panel
Save-safe: the mod only uses native game data fields. Your saves load normally after uninstalling.
How it works (why batch operations are safe)
- All writes go through vanilla entry points / native fields: point-to-point pairs into station2stationRoutes, routes into astro2astroRoutes, names through WriteExtraInfoOnEntity
- Changes are merged and the pairing table is rebuilt exactly once (RefreshTraffic); writes are spread across frames to avoid hitches
- The pairing table itself is not saved — the game rebuilds it on load — so a crash mid-operation cannot corrupt your save
- Every execution records an inverse action list, so results can be undone with one click
Keys
| Key | Action |
|---|---|
| F8 | To
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。
下面這些內容需要先安裝,否則該模組不會生效: