Git Product home page Git Product logo

dsp_mods's Introduction

DSP_Mods

Debug Dyson Sphere Program Mods

  1. DSP_ROOT is your folder Steam\steamapps\common\Dyson Sphere Program

  2. Check Unity version of the game you have. See Detail of DSP_ROOT\DSPGame.exe.

  3. download correct version of unity https://unity3d.com/get-unity/download/archive. In this case, we need download 2018.4.12. Choose Unity Editor 64-bit, the download will start automatically.

  4. After download done, use 7zip unpack file. In this case, the filename is UnitySetup64-2018.4.12f1.exe.

  5. Locate to [UnpackFolder]\Editor\Data\PlaybackEngines\windowsstandalonesupport\Variations\win64_development_mono
    Copy UnityPlayer.dll to DSP_Helmod\Build\Debug

  6. Backup DSP,

    Copy DSP_ROOT\UnityPlayer.dll to DSP_Helmod\Build\Release

    Copy DSP_ROOT\DSPGAME_Data\boot.config to DSP_Helmod\Build\Release\DSPGAME_Data

  7. Prepare debug, Copy DSP_ROOT\DSPGAME_Data\boot.config to DSP_Helmod\Build\Debug\DSPGAME_Data

  8. Use text editor open DSP_Helmod\Build\Debug\DSPGAME_Data\boot.config Add:

    wait-for-managed-debugger=1
    player-connection-debug=1
    
  9. Ensure you installed https://dsp.thunderstore.io/package/xiaoye97/BepInEx/ Extract content folder xiaoye97-BepInEx-5.4.17.zip\BepInExPack in game Folder

  10. Rebuild mod, and execute DSP_Helmod\Build\CopyDll.bat. To obtain .mdb file execute

    DSP_Helmod\Build\pdb2mdb.exe DSP_Helmod.dll
    

    In Visual Studio you can build automaticaly, set post-build

    $(ProjectDir)\Build\pdb2mdb.exe $(TargetPath)
    $(ProjectDir)\Build\CopyDll.bat $(ConfigurationName) $(ProjectDir) $(TargetPath) 
    
  11. Launch DSP game

  12. Go to Visual Studio 2019, click menu Debug/Attach Unity Debugger A "Select Unity instance" dialog will show you some thing like..

    Project Machine Type Port Information
    WindowsPlayer Your_PC_Name Player 56593 PID:xxxx
  13. Click OK on Debug messagebox

Troubles if error "Failed to load mono" check DSPGAME_Data\boot.config

dsp_mods's People

Contributors

helfima avatar

Stargazers

 avatar  avatar

Watchers

 avatar

dsp_mods's Issues

Spraying bonus

Taking the spraying bonus into account would be a huge plus!
Good job so far.

MissingFieldException PrefabDesc.labAssembleSpeed after Dark Fog update

The game changed PrefabDesc.labAssembleSpeed from float to int and broke the mod.

MissingFieldException: Field 'PrefabDesc.labAssembleSpeed' not found.
  at DSP_Helmod.Model.Factory.get_Speed () [0x00000] in <d407cfeb32674e3fb797eacc617213cb>:0 
  at DSP_Helmod.Model.Database+<>c.<Load>b__19_0 (DSP_Helmod.Model.Factory factory1, DSP_Helmod.Model.Factory factory2) [0x00000] in <d407cfeb32674e3fb797eacc617213cb>:0 
  at System.Collections.Generic.ArraySortHelper`1[T].SwapIfGreater (T[] keys, System.Comparison`1[T] comparer, System.Int32 a, System.Int32 b) [0x00004] in <2fa7a6a452ca43df998f07fd1486c0df>:0 
  at System.Collections.Generic.ArraySortHelper`1[T].PickPivotAndPartition (T[] keys, System.Int32 lo, System.Int32 hi, System.Comparison`1[T] comparer) [0x00008] in <2fa7a6a452ca43df998f07fd1486c0df>:0 
  at System.Collections.Generic.ArraySortHelper`1[T].IntroSort (T[] keys, System.Int32 lo, System.Int32 hi, System.Int32 depthLimit, System.Comparison`1[T] comparer) [0x00069] in <2fa7a6a452ca43df998f07fd1486c0df>:0 
  at System.Collections.Generic.ArraySortHelper`1[T].IntrospectiveSort (T[] keys, System.Int32 left, System.Int32 length, System.Comparison`1[T] comparer) [0x00015] in <2fa7a6a452ca43df998f07fd1486c0df>:0 
  at System.Collections.Generic.ArraySortHelper`1[T].Sort (T[] keys, System.Int32 index, System.Int32 length, System.Comparison`1[T] comparer) [0x00000] in <2fa7a6a452ca43df998f07fd1486c0df>:0 
Rethrow as InvalidOperationException: Failed to compare two elements in the array.
  at System.Collections.Generic.ArraySortHelper`1[T].Sort (T[] keys, System.Int32 index, System.Int32 length, System.Comparison`1[T] comparer) [0x00020] in <2fa7a6a452ca43df998f07fd1486c0df>:0 
  at System.Collections.Generic.List`1[T].Sort (System.Comparison`1[T] comparison) [0x00012] in <2fa7a6a452ca43df998f07fd1486c0df>:0 
  at DSP_Helmod.Model.Database.Load () [0x00240] in <d407cfeb32674e3fb797eacc617213cb>:0 
  at DSP_Helmod.UI.UIController.Load () [0x00000] in <d407cfeb32674e3fb797eacc617213cb>:0 
  at DSP_Helmod.UI.UIController.Update () [0x00030] in <d407cfeb32674e3fb797eacc617213cb>:0 
  at DSP_Helmod.HelmodPlugin.Update () [0x00000] in <d407cfeb32674e3fb797eacc617213cb>:0

key press problem

Could we have an option to customize the hotkey for Helmod? It gets annoying when I try to type "Titanium" when naming a planet and Helmod keeps flashing on and off whenever I press "I"

NullReferenceException

Hi,
when I open the console I get the following error:

An error has occurred! Game version 0.10.29.21904
36 Mods used: [ModFixerOne1.3.1] [ErrorAnalyzer1.1.0] [DSPAutoSorter1.2.11] [DSP Mod Save1.2.1] [DSPMarker0.0.9] [Auxilaryfunction2.5.6] [UnlimitedFoundations1.0.3] [Assembler Speed1.0.0] [AutoReverse2.1.2] [ExpandTouchableRange1.0.1] [SplitterOverBelt1.1.6] [ReorderTechQueue1.1.1] [DSPCheats2.2.0] [CloseError1.0.0] [ConstructionEnhancements1.0.0] [Free create and remove1.0.0.0] [Assembler UI Speed Info Mod2.3.0.0] [LDBTool3.0.1] [DSP Common API1.6.4.0] [AutoShuttleSetup1.8.0] [DSP God Mode Button1.0.1] [DSP Save Game Sorter1.0.3] [DSP Smooth Splitter1.0.2] [DSP Helmod Plug-In1.4.3] [DSP_Kumor_AutoBuild1.0.4.0] [AssemblerVerticalConstruction1.1.3] [Deque1.0.1] [More Replication1.3.1] [UXAssist1.0.12] [CheatEnabler2.3.9] [CompressSave1.3.6] [MechaDronesTweaks1.1.3] [What The Break - Error and Exception helper1.1.1.23463] [FactoryLocator1.2.1] [Icarus_Movement_Fixes0.0.2] [Working Speed Up1.2.1] 
NullReferenceException: Object reference not set to an instance of an object
DSP_Helmod.Model.Item.get_Icon ();(0)
DSP_Helmod.UI.Gui.HMButton.ItemColored (DSP_Helmod.Model.IItem item, DSP_Helmod.Classes.ItemColor color, System.Double factor, DSP_Helmod.UI.Gui.Callback+ForItem callback);(0)
DSP_Helmod.UI.Gui.HMCell.ItemColored (DSP_Helmod.Model.IItem item, DSP_Helmod.Classes.ItemColor color, System.Double factor, System.Boolean withLogistic, DSP_Helmod.UI.Gui.Callback+ForItem callback);(0)
DSP_Helmod.UI.Gui.HMCell.Product (DSP_Helmod.Model.IItem item, System.Double factor, DSP_Helmod.UI.Gui.Callback+ForItem callback);(0)
DSP_Helmod.UI.MainPanel.DrawTable ();(0)
DSP_Helmod.UI.MainPanel.DrawData ();(0)
DSP_Helmod.UI.MainPanel.DrawContent ();(0)
DSP_Helmod.UI.MainPanel.OnDoWindow ();(0)
DSP_Helmod.UI.Core.HMForm.DoWindow (System.Int32 windowID);(0)
UnityEngine.GUI.CallWindowDelegate (UnityEngine.GUI+WindowFunction func, System.Int32 id, System.Int32 instanceID, UnityEngine.GUISkin _skin, System.Int32 forceRect, System.Single width, System.Single height, UnityEngine.GUIStyle style);(0)

Error on loading save

Saw your mod and installed (vers: 1.4.1), after loading my save file I got the error seen in the attached image.

Nodes does not appear to be working correctly

It appears that nodes are not working correctly When an ingredient production is pushed down a to a node, the recipe is still included in the higher level node or sheet. I am not sure if this is intended behaviour or not.
2024-02-04_13-31-33

UI resolution

hey, Can I modify the UI resolution, the font is very small under 4k

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.