DSPOptimizations

版本 v1.1.19·更新於 2025-11-11

Adds performance optimizations to DSP

模組介紹 作者原文

DSPOptimizations Mod

This mod adds performance optimizations to DSP. This is an ongoing project with more optimizations occasionally being added. The mod does not alter gameplay, does not disable achievements, and can be enabled/disabled anytime.

Features

  • Dense spheres with shells now impact the game's framerate much less
  • e.g. the framerate with a single sphere layer with 5240 shells with the game paused went from 8 fps to 24 fps
  • Multithreading is added for the logic controlling belts going in and out of stations
  • this should greatly reduce the CPU time under the "Storage" category in the performance window
  • Ejected sails will impact UPS much less (~15%) when not visible. You can choose to always hide them in the config
  • Most of the lag from dyson node game logic has been eliminated
  • Hidden sphere layers under construction cause less lag
  • Shadows can be disabled in the config

Commands

The following commands may be used with the developer console:

  • -resetLocalFactory
  • completely resets the factory data for the nearby planet. This can eliminate lag that would have persisted even after deleting all buildings
  • requires a planet to be loaded
  • does not reset terrain, vegetation, or veins
  • note: ILSs waiting on vessel trips from a deleted factory might be stuck waiting. This bug happens in vanilla too, but I plan to fix it
  • -resetLocalSwarm
  • completely resets all swarms for the nearby star, deleting all sails. This can eliminate permanent save bloat
  • requires the player to be near a star (within ~2 lyrs - the star name should be visible in the bottom left)
  • -resetLocalSphereLayer layerId
  • instantly deletes a sphere layer without releasing sails
  • requires the player to be near a star (within ~2 lyrs - the star name should be visible in the bottom left)
  • layerId should be an integer between 1 and 10 corresponding to the ID of the sphere layer you wish to delete
  • -resetAllSpheresAndSwarms
  • instantly deletes all dyson spheres and swarms for all stars. No sails will be released
  • if you have the dyson editor open while running this command, reopen it to see the changes

Installation Note

This mod depends on DSPModSave. Make sure that you have the version under the CommonAPI name, rather than the old version released by crecheng. The old version has bugs, and may cause problems. The old version of the mod is marked as deprecated.

Compatibility

Compatibility with the Nebula Mod is not tested, however there are plans to add and test compatibility in the future if needed.

Bug Reports

If you encounter any bugs or issues, then please contact me either on discord at Selsion#0769, or by raising an issue on the mod github page.

Changelog

  • v1.1.19
  • removed multithreading of belts connected to logistics stations, since that was added in the vanilla game
  • disabled optimization for ejected sails
  • removed a performance stats fix that was outdated and causing an error
  • fixed a dyson node optimization to work with the latest version
  • v1.1.18
  • removed obsolete optimization for dyson node sail absorption update code
  • v1.1.17
  • fixed bug introduced by recent DSP update v0.10.30
  • fixed issue where a process filter may prevent the mod from working with an Xbox Game Pass version of DSP
  • v1.1.16
  • fixed bug with calculating sphere power
  • v1.1.15
  • removed dyson colour optmization for compatibility with v0.10 of DSP

Older version changes may be found here.

Attributions

Icon(s) made by Freepik from www.flaticon.com

安裝與使用 安裝:BepInEx 外掛

  1. 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
  2. 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
  3. 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
  4. 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。

帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。

前置依賴

下面這些內容需要先安裝,否則該模組不會生效:

xiaoye97-BepInEx

檔案與校驗

檔案名稱
DSPOptimizations-1.1.19.zip
檔案大小
138.4 KiB
SHA-256
1c83dd0c5729cd261f19907c88248b28874cdec11ca10cd8556b1f91b6247772
入庫時間
2026-10-06 19:17