Dyson Sphere Program
You are viewing a potentially older version of this package. View Latest Version
Install with App

Details

Date Uploaded
Downloads
643
Size
62KB

BUG_ModsPatch

Fixes for other mods, applied while the game runs. No mod file is changed: removing this mod gives you the plain mods back.

Each mod is patched separately and only when it is installed. The fixes are written for the versions listed below, but they are not tied to them: on another version they are applied as long as every patched method is still found. If one is missing, all of that mod's fixes are removed again and the mod runs as it is; if the mod already contains the fixes, nothing is patched. The BepInEx log says which of these happened. Layout and display fixes for these mods are in BUG_UIFix.

This mod mostly applies fixes. It contains no files of the mods it fixes; it does not replace or install them. It also has three small changes to the game itself, each with its own switch (see "Game" below).

Works without the fixed mods

Each fix works as a patch on its own mod only; you do not need all of these mods. Install BUG_ModsPatch with any of them, all of them or none: the fixes for each installed mod are applied to that mod, the others are skipped, and the log shows each mod as patched, skipped or not installed. Nothing in your game or saves changes for a mod you do not have.

At a glance

Mod (version) What is fixed
UXAssist 1.6.4 Logistics info switch with Auxilaryfunction 3.1; auto-fill of new stations from the inventory
LaserClearing 1.0.8 Lasers with a full inventory, energy use, double targeting, drops, vegetation collection; null error
PlanetFinder 1.3.2 Ocean liquids and gases on every planet, errors on empty stars, negative totals, modded collectors
BuildToolOpt 1.2.0 Station replace keeps its drones, ships and warpers; refunds after a failed replace
Auxilaryfunction 3.1.1 Auto-fill only on your own planet and within capacity; hand and logistic slots used; any star fuel
Multifunction 4.0.8 Inventory shrink never deletes items; recipe changes undone correctly; handcraft of intermediates
MoreMegaStructure 2.0.4 Interstellar assembly statistics no longer drop a tick of all statistics
DSPAllPlanetInfo 1.1.14 Stars no longer stay fully revealed after a panel error
DSPBigInventory 1.0.8 Loading never deletes items; cells keep their place; research upgrades work again
MassRecipePaste 1.1.3 No error from messages shown outside a loaded game
LSTM 0.9.6 Traffic log station filters pick the right side; removed or rebuilt stations no longer break the log window
DSPReplicatorPlus 0.0.3 "To head" no longer stops the replicator queue; MAX adds the real most
Rebind Build Bar 1.0.7 Rotating the camera no longer empties build bar slots

Game

All three are on by default and can be switched off in the config file bug.dsp.modspatch.cfg, section [Game].

  • AutoReplenishOn: the arrow button (auto replenish) on the drone, ship and bot slots of every logistics station and distributor is turned on, for new, copied and loaded buildings. Only the planet you are on is filled from your inventory: its stations and distributors are topped up one after another (one every 6 ticks, about 10 a second), so drones, ships and bots you pick up later still reach every building without opening it. Buildings on other planets are not filled, also not when their window is opened from a station list. Switching one off by hand lasts until the save is loaded again.
  • DistributorItemFromDepot: a copied distributor (copy, blueprint) placed on a depot that already holds items picks its item from the depot, as a newly built one does, instead of keeping the copied item. If the depot is empty or already holds the copied item, the copied item stays.
  • ControlPanelCopyPaste: in the control panel (logistics lists), every station, distributor and advanced mining machine row gets a copy/paste button left of its own two (orbital collectors get none). Click it to copy that building's settings, item slots and filters, then click the button of other buildings of the same type to paste onto them one by one; right-click any copy/paste button (or click the copied row again) to cancel the copy, Shift+click to copy another one. Pasting onto another building type is refused. A slot that still holds stock of another item keeps its item (changing it would move that stock into your inventory); the popup says how many were kept.

UXAssist 1.6.4

  • The logistics info panel switch works with Auxilaryfunction 3.1 again. UXAssist looked for Auxilaryfunction's setting in its old place and logged "Failed to get ShowStationInfo".
  • Auto-filling new stations and distributors only takes drones, ships and bots from your inventory for buildings on your own planet. It never fills more than the building can hold.

LaserClearing 1.0.8

  • Lasers stop as soon as the inventory is full, not only new ones.
  • Laser damage follows the energy the mecha actually has.
  • A plant is never targeted by two lasers, and plants are checked again on every pick, so a laser no longer fires at a plant that is already gone.
  • Only this mod's own lasers are stopped; other lasers and combat are left alone. Plants killed by enemies keep the game's normal drops.
  • Plants removed by the lasers count for the vegetation collection.

PlanetFinder 1.3.2

  • Ocean liquids and atmosphere gases are found on any planet (GenesisBook has atmospheres on rocky planets).
  • No more errors on stars without planets, or on star rows in the list.
  • Large galaxies no longer show negative resource totals.
  • The orbital collector count includes modded collectors, such as GenesisBook's.

BuildToolOpt 1.2.0

  • Replacing a station keeps the drones, ships and warpers already in it and refunds only the real excess (ships capped at 64, like the game).
  • If a station replace fails, later dismantles still refund their items.
  • No error when many buildings overlap the station being replaced.

Auxilaryfunction 3.1.1

  • Auto-fill acts only on your own planet's buildings and never fills a station or distributor above its capacity.
  • Auto-fill and "move to unbuilt" also use items in your hand and in the logistics slots.
  • Star fuel can be any fuel the generator accepts.

Multifunction 4.0.8

  • Shrinking the inventory never deletes a cell that holds items or a filter; cells keep their row and column. With DSPBigInventory, growing it stays within what fits on screen.
  • Recipe changes are undone correctly, also for recipes added or reordered by other mods.
  • "All handcraft" also covers intermediate products in the replicator.
  • Recipe changes are applied again whenever the replicator opens.
  • Bulk foundation adds the removed plants to your vegetation collection.

MoreMegaStructure 2.0.4

  • Interstellar assembly statistics are calculated inside the game's own statistics update. Before, the mod skipped that update for a tick, and the rest of the statistics for that tick were lost.
  • A star whose megastructure is no longer an interstellar assembly stops showing its old production speeds.

DSPAllPlanetInfo 1.1.14

  • Opening a star or planet panel no longer leaves every star fully revealed when the panel runs into an error. No error in the main menu either.

DSPBigInventory 1.0.8

  • Loading a save never deletes items. Before, the inventory was cut to exactly the configured size, and the items in the removed cells were lost.
  • Cells keep their row and column when the column count changes.
  • The config values are minimums: inventory and delivery research work again and can make the inventory bigger.
  • The inventory is laid out so the whole window fits the screen. Columns are added before rows are removed, and only empty rows are ever removed.

MassRecipePaste 1.1.3

  • Messages that pop up outside a loaded game (for example on the start-up error screen) no longer cause an error.

LSTM 0.9.6

  • "Filter demand station" and "Filter supply station" in the traffic log pick the right station. Before, for trips that started at the supply station, each picked the other side.
  • The traffic log window no longer throws an error when the station it is filtered by has been removed, or when a star, planet or item it shows no longer exists.
  • Locate buttons in the traffic log no longer jump to a newer station that took over the number of a removed one on another planet.

DSPReplicatorPlus 0.0.3

  • Adding a recipe "to head" no longer counts on items the tasks behind it will make later. The new head task used to wait for those items forever and the queue stopped.
  • MAX adds the real most, up to 99999 batches: the number BUG_UIFix shows above the craft button. When the game showed ">999" it added 1000.

Rebind Build Bar 1.0.7

  • Build bar slots are no longer emptied by rotating the camera. "Clear Build Bar item" uses the middle mouse button, the same button that rotates the camera, so letting go of it with the cursor over the bar emptied that slot for good. Now a slot is cleared only by a middle click on it: pressed and released on the same slot without moving the mouse.
  • Slots emptied this way before stay empty: put the item back with the reassign key (Ctrl by default) and a click on the slot, or use the bar's reset button.

Licences

BUG_ModsPatch is MIT licensed. It contains no code, DLLs, images or other files of the mods it fixes. Each fix is a Harmony patch that runs while the game runs; where a fix replaces a method, the replacement is written for this mod. The fixed mods stay under their own terms:

  • UXAssist (Soar Qin), LaserClearing, BuildToolOpt and MassRecipePaste (starfi5h): MIT
  • Rebind Build Bar (kremnev8): no licence in its Thunderstore package; nothing of it is included, it is only patched at runtime
  • PlanetFinder and LSTM (hetima): Unlicense
  • Auxilaryfunction and Multifunction (blacksnipebiu), MoreMegaStructure (jinxOAO), DSPAllPlanetInfo, DSPBigInventory and DSPReplicatorPlus (appuns): no licence published; nothing of them is included, they are only patched at runtime

These fixes are not made, reviewed or endorsed by the authors of those mods. Please report problems with them here, not to them.

Thunderstore development is made possible with ads. Please consider making an exception to your adblock.