Geostyx-GeosPerformance icon

GeosPerformance

Higher frame rates in large factories

Last updated a day ago
Total downloads 28
Total rating 0 
Categories
Dependency string Geostyx-GeosPerformance-0.1.0
Dependants 0 other packages depend on this package

This mod requires the following mods to function

xiaoye97-BepInEx-5.4.17 icon
xiaoye97-BepInEx

BepInEx5.4.17 mod plugin framework, Mod框架

Preferred version: 5.4.17

README

GeosPerformance

Higher frame rates in large factories.

The game draws every belt and every item on a belt across the whole planet, several times each frame, even the ones behind the planet or off screen. GeosPerformance draws only the ones the camera can see, plus the ones whose shadows it can see. It also skips the shadows of items on belts more than about 120 m away, which are a few pixels across.

It also takes work off the game's main thread without changing what you see:

  • Buildings are culled on background threads, with the same rules the game uses, so batches with nothing in view are skipped instead of drawn empty.
  • Belts, items and buildings are drawn only into the shadow cascades their shadows reach.
  • The building under the mouse cursor is found without testing every collider nearby in full.
  • Building animations are uploaded to the GPU only after the factory has updated them.

On a 50,000-building planet with 88,000 items on belts, the frame rate went from 56–90 fps to 87–118 fps while the game runs, depending on the view (RTX 4070 Laptop, i7-13700HX, 1920×1280).

Settings

Settings are in BepInEx/config/com.geostyx.dsp.geosperformance.cfg and apply immediately.

Setting Default Effect
CullCargo true Draw only the items on belts that the camera can see.
CullBelts true Draw only the belts that the camera can see.
DistantItemShadows false Draw shadows of items on belts more than about 120 m away. Costs about 10 fps in a large factory.

Compatibility

A mod that changes how belts, items on belts or buildings are drawn may conflict. If belts or items stop showing, turn off CullBelts or CullCargo.