You are viewing a potentially older version of this package. View Latest Version
DSPCalculator
Calculate the factory quantity and material requirements, and generate blueprint for the production line based on the target product. 根据目标产物,自动计算整个生产线所需的各种原料和工厂数,或生成蓝图。
Press 'Q' to open the calculator. Set the target product in the upper left corner.
按下Q打开量化计算器。在左上角设置目标产物。
You can open multiple window at the same time. If you enable SingleWindow in the config file, you will only be able to open one window, but you can control whether to open or close the window using only the 'Q' key.
The UI layout of this mod is largely based on the Qtool layout design of the Genesis Book, and also uses the web version calculator developed/maintained by 莳槡_makuwa and MengLei for data comparison and verification. Thank you very much for the community content and the work of its authors.
Installation (If Manually) 如果手动安装
Install BepInEx.
安装BepInex.
Intsall LDBTool, DSPModSave and CommonAPI.
安装LDBTool,DSPModSave 和 CommonAPI.
Drag DSPCalculator.dll and MathNet.Numerics.dll into "Dyson Sphere Program/BepInEx/plugins/".
将DSPCalculator.dll 和 MathNet.Numerics.dll 拖入Dyson Sphere Program/BepInEx/plugins/。
Change log
0.5.11:
Fixed a bug for game version 0.10.32.25779, where the folded window may move uncontrollably in some cases.
Fixed a bug where the blackbox blueprint's belt may disconnect, when using GenesisBook's megatowers and proliferators.
修复了一个bug,该bug曾导致黑盒蓝图的传送带可能在使用巨塔+增产剂的情况下断连。
0.5.8:
Fixed the issue of incorrect raw material entry quantity in some cases when generating blackbox blueprints. (This issue was brought by the 0.5.3 version update).
修复了0.5.3版本更新导致的生成蓝图时,部分情况下原材料入口数量不正确的问题。
0.5.7:
Added a progress bar function to provide the overall production line completion progress based on the marked completion status of the recipes.
新增进度条功能,根据当前配方被标记的完成情况,给出整体产线的完成进度。
0.5.6:
Fixed the issue of collision errors on the conveyor belt when using recipes with the research labs to generate blackbox blueprint.
修复了使用研究站的配方生成黑盒蓝图时,传送带会出现碰撞错误的问题。
0.5.5:
Added the function of 'Save current configuration as default configuration'.
新增"将当前配置保存为默认配置"功能。
0.5.4:
Fixed a bug with Genesis Book where the pile sorter could not be correctly used when generating blueprints.
修复了一个在创世之书中生成蓝图时,无法使用集装分拣器的bug。
0.5.3:
Fixed an error when generating black box blueprint with Blue Buff enabled.
修复了一个在开启蓝Buff时,生成黑盒蓝图可能报错的问题。
0.5.2:
Added the function of copying and pasting calculator configurations. You can click the button above the target product requirements to copy all target products, production line settings, and blueprint settings to the clipboard. Note that this feature does not directly generate production line table data.
Added black box blueprint generation function, which can automatically merge the entire production line to generate a single overall black box blueprint. This feature is still under testing. Please provide feedback if you encounter any issues.
New feature (default not enabled): If a production line has been selected as completed, its required production facilities will no longer be included in the total number of production facilities on the right side (this setting can be enabled by modifying OnlyCountUnfinishedFacilities to true in the config file).
Fixed a bug that caused the target product icon to turn white under certain operations.
修复了某些操作下会导致目标产物图标变为白色的bug。
Optimized the responsiveness when switching calculator settings.
优化了切换设置时,计算器反应速度。
0.4.2:
Fixed a bug where generating the blueprint for the mega tower (Genesis Book) with low-level belt tech might cause errors.
修复了一个bug,该bug曾导致在低等级科技时,生成创世之书的巨塔蓝图可能会报错。
0.4.1:
Added the support to the blueprint generation for using mega towers in the Genesis Book.
新增了创世之书中使用巨塔的蓝图生成功能。
Added a prefabricated universe matrix production line blueprint (applicable to the original version, with fixed speed, please add or delete buildings by yourself).
植入了预制的宇宙矩阵产线蓝图(适用于原版,速度固定,需要自行增删建筑)。
0.4.0:
Supports adding multiple required items in the same window. After adding a target item, you can continue to add the target items on the right side.
支持了在同一个窗口中添加多个需求物品。在添加一个物品后可以在右侧窗口继续添加需求物品。
Now, when calculating in a new window, the user settings of the original window will be copied to the new window. (But the calculation target will be treated as non original ore as much as possible in the new window, regardless of how the original window is set).
Changed the conveyor belt sharing logic during blueprint generation, now prioritizing the sharing of up to 3 conveyor belts instead of the previous prioritizing "a single blueprint to accommodate as many factories as possible". Note that if sharing the conveyor belt results in the inability of the highest level available sorters to meet the factory's full speed, the conveyor belt will not be shared during blueprint generation.
Now, dragging the folded calculator window to the left or right edge of the screen can automatically hide it there. Solved the rebound problem of the window folding, thank starfi5h for the help.
Fixed an error when generating some blueprints with Blue Buff checked.
修复了开启蓝Buff时生成蓝图的报错问题。
Added the option to "keep multiple last closed windows". In previous versions, only one window could be kept, but now it defaults to keeping 5 windows. You can also change this value in the config file. A value that is too large (or set to 0, which means all closed windows are kept) might cause performance issues.
Testing feature: The function of allowing the small window to hide at the edge. However due to the game's drag and drop window rebound setting, this function does not work properly when the user drags the window out of the monitor.
Added a simple blueprint generation function, which can generate quantified blueprints for each production line separately, and then paste them. The blueprint can include or not include logistics stations, depending on whether or not the Shift button is pressed to when click the generate button. Conversely, holding Ctrl will only generate production facilities, without any conveyor belts or sorters.
Added Interstellar Assembly (from mod MoreMegaStructure) support.
新增了星际组装厂(更多巨构mod)的适配。
0.1.15:
Added single window mode, enabling this setting will use the same shortcut key to open and close the calculator window (i.e. the shortcut key originally used to open the window, default to Q). But in this mode, you cannot open multiple windows unless you simultaneously hold down the Ctrl+Shift+Alt. You can enable this mode in the config file, it is not enabled by default.
Fixed the errors caused by adding proliferator into product line.
修复了增产剂并入生产线计算导致出错的问题。
Fixed the problem of some texts being misplaced when using high UI layout reference height.
修复了高UI布局参考高度时部分文本的错位问题。
0.1.13:
Fixed an error which caused by using directional keys to interact with buttons.
修复了一个使用方向键与按钮互动会导致的报错问题。
Fixed an issue where the calculator would still open even if in typing text mode when the calculator shortcut key was pressed.
修复了一个按下了计算器快捷键时,即使在输入文本的状态,仍然会打开计算器的问题。
Fixed a calculation error of the fractionation facility's power consumption.
修复了一个分馏设施耗电量的计算错误。
0.1.12:
Added a new feature. Now you can click on the item in the recipe of any production line, and the main panel will immediately jump to the position of the production line that produced the item you clikced, and highlight the production line (or raw material). The icon of the overflow product can also be clicked to quickly locate its related production line (Sometimes the main product displayed on the production line is not the overflow product itself).
Adjusted the display order of the production line to better match the order of the recipe's resources.
调整了生产线的显示顺序,使其更符合配方顺序。
Fixed a bug where the resource demand won't refresh correctly when you switch the proliferator type of a single product line if it was set to speed-up mode.
Fixed a bug where selecting a quick assembly recipe for multifunctional components would cause errors.
修复了一个选择多功能组件的快速组装配方会导致报错的bug。
0.1.9:
Added the function of integrating the proliferators production line into the current production line. When this function is enabled, the proliferator will no longer be directly obtained as an external input, but will be produced in the current production line. Note that when this function is enabled, the consumption and output will be calculated based on the condition that "all proliferators must be self sprayed first, before they spraying other goods".
(Only for TheyComeFromVoid mod) Fixed a bug where the consumption of proliferators was calculated incorrectly when enabling the Blue buff .
(仅针对深空来敌mod)修复了一个增产剂消耗数量在开启蓝buff时计算错误的bug。
Fixed a bug where the overflow product will not be handled correctly.
修复了一个bug,该bug曾导致溢出的产物不会被正确地处理。
0.1.8:
Fixed an issue, which caused that if an item is considered as raw ore, it will not appear in the list of by-products, even if it has overflow production.
Added a check box to to allow users to decide whether to display the quantity requirements of production facilities for each product in an upward rounding manner. This option will be automatically written to the configuration file after you make changes, so it will affect current and future newly opened windows (even if you reboot the game).
Now, the newly created window no longer completely overlaps with the previous window.
现在,新建的窗口不再与之前的窗口完全重叠。
Fixed an issue with a combination hotkey.
修复了一个组合快捷键的问题。
You can enable an EditTitle option in the configuration file to allow you to edit the name of the calculator window.
你可以在配置文件中开启一个EditTitle选项,来允许你编辑计算器窗口的名称
0.1.6:
Corrected the minor error in the self spraying consumption of MK3 proliferator. In addition, the consumption displayed in parentheses for other proliferator will be changed to using a self spraying strategy instead of a fixed strategy of highest level spraying. Note that if self spraying does not affect actual consumption, it will not be displayed.
Modified the display logic for the significant digits of some numbers. If the displayed values of the production facility are rounded, you can hover on it to view the specific values.
Fixed an issue where the blueprint window always covers the calculator window.
修复了蓝图界面总是会覆盖在计算器上层的问题。
0.1.5:
Add a "Mark as Completed" button, which allows you to mark the production line as completed by clicking the button in the upper left corner of each product pane or by clicking on the blank space. (Marking does not actually affect any calculation process. If the target product or its speed is changed, all markings will be reset.)
Fixed a compatibility issue with the Genesis Book. Now the Darkfog smelter can be correctly selected as the production facility for smelting and mineral processing, and counted as generating double the product. The dark fog assembler can be correctly selected as the production facility for all its supporting recipes.