Skip to content

Commit

Permalink
Updated for 0.9.27.15033
Browse files Browse the repository at this point in the history
  • Loading branch information
GreyHak committed Nov 18, 2022
1 parent 104bdee commit e38712a
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 7 deletions.
7 changes: 5 additions & 2 deletions DSPSpreadsheetGenMod.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,12 @@ namespace StarSectorResourceSpreadsheetGenerator
[BepInPlugin(pluginGuid, pluginName, pluginVersion)]
[BepInDependency("dsp.galactic-scale.2", BepInDependency.DependencyFlags.SoftDependency)]
[BepInProcess("DSPGAME.exe")]
[BepInProcess("Dyson Sphere Program.exe")]
public class SpreadsheetGenMod : BaseUnityPlugin // Plugin config: "C:\Program Files (x86)\Steam\steamapps\common\Dyson Sphere Program\BepInEx\config\BepInEx.cfg"
{
public const string pluginGuid = "greyhak.dysonsphereprogram.resourcespreadsheetgen";
public const string pluginName = "DSP Star Sector Resource Spreadsheet Generator";
public const string pluginVersion = "4.0.0";
public const string pluginVersion = "4.0.1";

public static bool spreadsheetGenRequestFlag = false;
public static List<PlanetData> planetsToLoad = new List<PlanetData> { };
Expand Down Expand Up @@ -717,7 +718,9 @@ public static void CapturePlanetResourceData(PlanetData planet, StringBuilder sb
}
else
{
planet.CalcVeinAmounts(ref veinAmounts);
HashSet<int> tmp_ids = new HashSet<int>();
planet.CalcVeinAmounts(ref veinAmounts, tmp_ids, 0);

EVeinType type = (EVeinType)1;
foreach (VeinProto item in LDB.veins.dataArray)
{
Expand Down
4 changes: 2 additions & 2 deletions Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("4.0.0")]
[assembly: AssemblyFileVersion("4.0.0")]
[assembly: AssemblyVersion("4.0.1")]
[assembly: AssemblyFileVersion("4.0.1")]
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ Settings include:
- **More Data:** 17 parameters, 7 for the star and 10 for the planet, can be configurably enabled. Less clutter for most people. Extra data for those that want it.

## Installation
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](https://bepinex.github.io/bepinex_docs/master/articles/user_guide/installation/index.html#installing-bepinex-1). This mod was tested with BepInEx x64 5.4.11.0 and Dyson Sphere Program 0.9.26.13034 on Windows 10.
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](https://bepinex.github.io/bepinex_docs/master/articles/user_guide/installation/index.html#installing-bepinex-1). This mod was tested with BepInEx x64 5.4.11.0 and Dyson Sphere Program 0.9.27.15033 on Windows 10.

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

Expand Down Expand Up @@ -155,7 +155,7 @@ The source code for this mod is available for download, review and forking on Gi
- **更多数据**:17个参数可供选择启用,7个恒星参数,10个行星参数,如温度、年龄、颜色等。通常这些参数并没有什么用,但总有人需要。

## 安装
本mod需要BepInEx mod插件框架,所以要使用此mod必须先安装BepInEx。请在[用户指南](https://bepinex.github.io/bepinex_docs/master/articles/user_guide/installation/index.html#installing-bepinex-1)中查阅BepInEx的安装信息。本mod已在Windows10上经BepInEx x64 5.4.11.0和戴森球计划0.9.26.13034版本进行测试
本mod需要BepInEx mod插件框架,所以要使用此mod必须先安装BepInEx。请在[用户指南](https://bepinex.github.io/bepinex_docs/master/articles/user_guide/installation/index.html#installing-bepinex-1)中查阅BepInEx的安装信息。本mod已在Windows10上经BepInEx x64 5.4.11.0和戴森球计划0.9.27.15033版本进行测试

要手动安装本mod,请添加`DSPResourceSpreadsheetGenMod.dll``%PROGRAMFILES(X86)%\Steam\steamapps\common\Dyson Sphere Program\BepInEx\plugins\`文件夹。

Expand All @@ -165,6 +165,9 @@ The source code for this mod is available for download, review and forking on Gi
在BSD3条例许可下,本mod的源代码可供在[GitHub](https://github.com/GreyHak/dsp-csv-gen)下载、查看、克隆。

## Change Log
### v4.0.1
- Will now run with Dyson Sphere Program 0.9.27.15033 update.
- Xbox compatibility.
### v4.0.0
- Full credit for this update goes to [starfi5h](https://github.com/starfi5h).
- Will now run with Dyson Sphere Program 0.9.26.13034 update.
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "DSP_Star_Sector_Resource_Spreadsheet_Generator",
"version_number": "4.0.0",
"version_number": "4.0.1",
"website_url": "https://github.com/GreyHak/dsp-csv-gen",
"description": "Generates a spreadsheet of all resources in the star sector.",
"dependencies": [
Expand Down

0 comments on commit e38712a

Please sign in to comment.