You are viewing a potentially older version of this package. View all versions.
BUG-BUG_GalacticScalePatch-1.0.2 icon

BUG GalacticScalePatch

Fixes for Galactic Scale 2.80.7, applied at runtime: memory leaks and crashes in galaxy generation, planet scanning and save loading. Galactic Scale itself is not changed.

Date uploaded a day ago
Version 1.0.2
Download link BUG-BUG_GalacticScalePatch-1.0.2.zip
Downloads 18
Dependency string BUG-BUG_GalacticScalePatch-1.0.2

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
Galactic_Scale-GalacticScale-2.80.7 icon
Galactic_Scale-GalacticScale

v2.80.7 Galaxy Customization. New Planets. Different Sized Planets. Up to 100 Planets/star and 1024 Stars. DF is more or less balanced. See GS Discord Server

Preferred version: 2.80.7

README

BUG_GalacticScalePatch

Fixes for Galactic Scale 2.80.7, applied while the game runs. Galactic Scale's own files are not changed: removing this mod gives you plain Galactic Scale back.

If the installed Galactic Scale is not the version these fixes were written for, nothing is patched and the BepInEx log says so. Layout fixes for Galactic Scale's screens are in BUG_UIFix.

This mod only applies fixes; it adds no features of its own. It needs Galactic Scale 2.80.7 and does nothing without it.

Memory

  • Generating a new galaxy no longer keeps the textures, materials and sounds of every galaxy made before it. On the new game screen each change of a setting made a whole new set; they stayed in memory until the game closed. Now each set is freed when the next galaxy is made. The built-in themes and themes from other mods are never freed.
  • Theme copies share the sound and sky reflection they came from instead of copying them, and a tinted sky reflection is made once, not every time a theme is applied.
  • When planet scanning runs out of memory, the remaining scans of that galaxy are dropped instead of retried one after another. The next galaxy starts fresh.

Planet scanning

  • A planet whose scan fails no longer keeps half-made scan data, and is scanned again later.
  • Scanning a planet that is already loaded keeps its data instead of replacing it with a fresh copy.
  • Leaving to the main menu during a scan no longer marks the planet as scanned with empty data.

New game screen

  • Changing a setting while a galaxy is being generated waits for that generation to finish, instead of replacing the settings under it.
  • Dragging a slider (for example UniverseGenTweaks' four sliders) makes one galaxy when you let go, not one per step of the drag. The preview is no longer made after the screen is closed.
  • Pressing a slider, toggle or button of the new game settings no longer also clicks the star behind it. Before, the star's system view could open under the settings of other mods. Dragging a slider past the end of its bar onto the map does not open a star either.

Buildings

  • Spray coaters on planets that are larger or smaller than the game's own were drawn bent and twisted, on a belt and also off it. Their shape is now right on every planet size; coaters built before are fixed when their planet is loaded.

Saves

  • If a save's Galactic Scale settings file (.gs2) cannot be read, loading stops with an error. Before, the save was loaded with the settings of the previous galaxy, which could break it.

Error log

  • Galactic Scale's error log has the full error with its cause and where it happened, not only the message.

Licence

MIT. Galactic Scale is released under CC0 1.0; this mod contains none of its files and patches it at runtime. Not made or endorsed by the Galactic Scale authors.

CHANGELOG

Changelog

1.0.2

  • New game screen: dragging a slider past the end of its bar no longer opens the star system under the cursor.
  • Spray coaters are no longer drawn bent and twisted on planets whose size differs from the game's own; existing coaters are fixed when their planet loads.

1.0.1

README links to the other BUG mods point to the BUG team on Thunderstore.

1.0.0

First release: fixes for Galactic Scale 2.80.7.