GreyHak-DSP_Drone_Clearing icon

DSP Drone Clearing

Use mecha drones to clear trees and stones. Easily toggle on/off with HUD button.

Last updated 4 months ago
Total downloads 13523
Total rating 40 
Dependency string GreyHak-DSP_Drone_Clearing-1.4.2
Dependants 0 other mods depend on this mod

This mod requires the following mods to function

xiaoye97-BepInEx-5.4.5 icon

BepInEx5.4.5 mod plugin framework, Mod框架

Preferred version: 5.4.5


Drone Clearing for Dyson Sphere Program

DSP Drone Clearing is a mod for the Unity game Dyson Sphere Program developed by Youthcat Studio and published by Gamera Game. The game is available on here.

This mod will use mecha drones to clear trees and stones. Ever get annoyed tripping over rocks? This mod is for you.

Enable and disable the clearing functionality in-game with this toggle button on your HUD. Enable Disable Button image

If you like this mod, please click the thumbs up at the top of the page (next to the Total rating). That would be a nice thank you for me, and help other people to find a mod you enjoy.

If you have issues with this mod, please report them on GitHub. I try to respond within 12 hours. You can also contact me at GreyHak#2995 on the DSP Modding Discord #tech-support channel.

Config Settings

Configuration settings or loaded when you game is loaded. So if you want to change the settings file, quit the game, but don't exit to desktop, then continue your game.

This mod is also compatible with BepInEx.ConfigurationManager which provides an in-game GUI for changing the settings in real-time.

Settings include

  • Mod enable flag.
  • Collect resources, or quickly clear the area.
  • Limit the number of drones used when clearing.
  • Control of clearing distance from mecha.
  • Conserve energy when Icarus' energy gets too low.
  • Clearing during walking and optionally while flying and drifting (floating over ocean).
  • Optionally recall drones tasked with clearing when Icarus starts flying.
  • Inventory space limitations.
  • Control over clearing of rocks, trees, small rocks and ice.
  • Control over planet types clearing is performed on.
  • Control the drone clearing speed. Default is to clear at Icarus' mining speed.
  • Progress circle color.

Config Settings Window image

Want fine-grained control over which items are not cleared? If you tell the mod exactly what IDs not to clear using the DisableItemIds config setting, it will apply those rules. DisableItemIds is a string containing a comma-separated list of vege proto ID shorts. To determine what the ID of the item is you want to prevent clearing for, follow this process.

  • Update your BepInEx.cfg file, under [Logging.Console], to set Enabled = true
  • In your BepInEx.cfg file, under [Logging.Console], also set LogLevels = All
  • Load a save where you can access the item or items you wish to have the mod not clear.
  • If drone clearing is enabled, temporarily disable drone clearing using the toggle button on the HUD.
  • Use Icarus to remove the items you want this mod not to clear.
  • Each time Icarus removes an item this mod will print to the debug console the vege proto IDs which are removed.
  • Add that list of IDs as a comma-separated list, to the DisableItemIds setting in greyhak.dysonsphereprogram.droneclearing.cfg.
  • Once done, you can revert the settings in your BepInEx.cfg file if you want.

The configuration file is called greyhak.dysonsphereprogram.droneclearing.cfg. It is generated the first time you run the game with this mod installed. On Windows 10 it is located at

  • If you installed manually: %PROGRAMFILES(X86)%\Steam\steamapps\common\Dyson Sphere Program\BepInEx\config\greyhak.dysonsphereprogram.droneclearing.cfg
  • If you installed with r2modman: C:\Users\<username>\AppData\Roaming\r2modmanPlus-local\DysonSphereProgram\profiles\Default\BepInEx\config\greyhak.dysonsphereprogram.droneclearing.cfg


This mod uses the BepInEx mod plugin framework. So BepInEx must be installed to use this mod. Find details for installing BepInEx in their user guide. This mod was tested with BepInEx x64 and Dyson Sphere Program on Windows 10.

To manually install this mod, add the DysonSphereDroneClearing.dll to your %PROGRAMFILES(X86)%\Steam\steamapps\common\Dyson Sphere Program\BepInEx\plugins\ folder.

This mod can also be installed using ebkr's r2modman mod manager by clicking "Install with Mod Manager" on the DSP Modding site.

Open Source

The source code for this mod is available for download, review and forking on GitHub here under the BSD 3 clause license.

Change Log


  • Will now run with Dyson Sphere Program update. Class variable swapped.


  • Unassigned drone clearing tasks which are beyond the build range will now be cancelled. This will prevent unassignable tasks from queueing up and preventing new clearing tasks.


  • Drone torches with sparks. This took me hours of work. I hope someone appreciates it.


  • Drone clearing assignments will now be shown as soon as they're assigned. You no longer need to wait until mining begins.
  • The progress circle color is now configurable.



  • Improved configurability to stop clearing for certain user-specified items.



  • Ability to enable/disable clearing of the space capsule separately from stones. This is important when using the CollectResources=false setting so key early-game resources aren't lost.
  • Greater configurability as to which planet types to enable clearing on.


  • Bug fix to progress circle not clearing when drone tasking is cancelled.


  • Added progress circle like when Icarus mines rocks and trees.


  • Fixed a bug which was making the drones mine too fast, 4 times faster in the later game. The speed was correct early game.
  • Added config setting to control the drone clearing speed, faster or slower. If you got used to the drones clearing too quickly, you can restore that functionality.


  • Bug fixed with disabling plugin while off a planet in open space.


  • Added config settings for ClearWhileDrifting and RecallWhileFlying.
  • Drone performing clearing tasks will automatically be recalled when Icarus starts sailing.
  • Added tasking status to tool tip for enable/disable button.
  • Added bug reporting link to this README.


  • Major bug fixed which was causing drone clearing tasks to go unassigned causing drone clearing to stop.


  • Improved compatibility with the Render Distance mod.


  • Added a config option to enable more debug to the BepInEx console.


  • Fixed bug when loading the game with the mod for the first time. (Bug added in v1.2.0 with the config reload functionality.)
  • Replaced deprecated function call.
  • Manifest description updated.


  • Fixed a bug where tasks were being assigned when drones weren't available. This was causing configured energy constraints to be violated. This issue was emphasized when fewer drones were available.
  • Small revision to the appearance of the enable/disable HUD image.


  • Added a button to the game HUD to enable and disable drone clearing.
  • Added a config setting to explicitly enable or disable the mod.
  • Reload configuration settings on each game start.
  • Reduced debug log messages.


  • Fixed compatibility with Windows10CE's DSP Cheats's Instant-Build feature to make instant clearing.


  • Fixed bug with drones getting locked up when Icarus completes their task first.
  • Clearing tasks no longer save. This is a compromise to avoid issues when disabling/removing the mod.
  • Fixed bug when performing Quit Game that wasn't removing drone clearing tasks.
  • Improvement in drone usage calculation. This provides a cleaner cut-off when clearing is shutoff due to drone count usage or energy availability.
  • Disable clearing when mecha energy level is too low (configurable).
  • Optimized mechanic for holding drone still while working.


  • Initial release.

Available versions

Please note that the install buttons only work if you have compatible client software installed, such as the Thunderstore Mod Manager. Otherwise use the zip download links instead.

Upload date Version number Downloads Download link  
2021-5-29 1.4.2 3802 Version 1.4.2 Install
2021-4-9 1.4.1 2201 Version 1.4.1 Install
2021-3-19 1.4.0 1518 Version 1.4.0 Install
2021-3-18 1.3.0 370 Version 1.3.0 Install
2021-3-17 1.2.14 127 Version 1.2.14 Install
2021-3-13 1.2.13 895 Version 1.2.13 Install
2021-3-12 1.2.12 384 Version 1.2.12 Install
2021-3-9 1.2.11 662 Version 1.2.11 Install
2021-3-7 1.2.10 400 Version 1.2.10 Install
2021-3-7 1.2.9 306 Version 1.2.9 Install
2021-2-28 1.2.8 825 Version 1.2.8 Install
2021-2-28 1.2.7 79 Version 1.2.7 Install
2021-2-27 1.2.6 335 Version 1.2.6 Install
2021-2-26 1.2.5 235 Version 1.2.5 Install
2021-2-25 1.2.4 119 Version 1.2.4 Install
2021-2-25 1.2.3 176 Version 1.2.3 Install
2021-2-24 1.2.2 256 Version 1.2.2 Install
2021-2-23 1.2.1 259 Version 1.2.1 Install
2021-2-23 1.2.0 61 Version 1.2.0 Install
2021-2-21 1.1.1 249 Version 1.1.1 Install
2021-2-21 1.1.0 83 Version 1.1.0 Install
2021-2-21 1.0.0 181 Version 1.0.0 Install