Skip to content

Commit

Permalink
fix save load. breaks vanilla gen saves. custom json load from settings
Browse files Browse the repository at this point in the history
  • Loading branch information
innominata committed Aug 13, 2021
1 parent e157dbd commit c33320f
Show file tree
Hide file tree
Showing 21 changed files with 453 additions and 1,923 deletions.
5 changes: 2 additions & 3 deletions GalacticScale2/DSP_Plugins.GalacticScale.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -162,9 +162,6 @@
<Compile Include="Scripts\GalacticScale2.0\Generators\GS2Dev\Settings.cs" />
<Compile Include="Scripts\GalacticScale2.0\Generators\GS2Dev\Stars.cs" />
<Compile Include="Scripts\GalacticScale2.0\Generators\GS2Dev\Themes.cs" />
<Compile Include="Scripts\GalacticScale2.0\Generators\GS2\Settings.cs" />
<Compile Include="Scripts\GalacticScale2.0\Generators\GS2\GS2Generator.cs" />
<Compile Include="Scripts\GalacticScale2.0\Generators\GS2\Themes.cs" />
<Compile Include="Scripts\GalacticScale2.0\Generators\StarTest.cs" />
<Compile Include="Scripts\GalacticScale2.0\Logging\ConsoleSplash.cs" />
<Compile Include="Scripts\GalacticScale2.0\Models\GSUI\Val.cs" />
Expand Down Expand Up @@ -282,6 +279,7 @@
<Compile Include="Scripts\GalacticScale2.0\SettingsUI\MonoBehaviors\GSUIDropdown.cs" />
<Compile Include="Scripts\GalacticScale2.0\SettingsUI\MonoBehaviors\GSUIHeader.cs" />
<Compile Include="Scripts\GalacticScale2.0\SettingsUI\MonoBehaviors\GSUIRangeSlider.cs" />
<Compile Include="Scripts\GalacticScale2.0\SettingsUI\MonoBehaviors\GSUISelector.cs" />
<Compile Include="Scripts\GalacticScale2.0\SettingsUI\MonoBehaviors\GSUISlider.cs" />
<Compile Include="Scripts\GalacticScale2.0\SettingsUI\MonoBehaviors\GSUIInput.cs" />
<Compile Include="Scripts\GalacticScale2.0\SettingsUI\MonoBehaviors\GSUIButton.cs" />
Expand All @@ -290,6 +288,7 @@
<Compile Include="Scripts\GalacticScale2.0\SettingsUI\MonoBehaviors\GSUITemplate.cs" />
<Compile Include="Scripts\GalacticScale2.0\SettingsUI\MonoBehaviors\GSUITemplates.cs" />
<Compile Include="Scripts\GalacticScale2.0\SettingsUI\MonoBehaviors\GSUIToggle.cs" />
<Compile Include="Scripts\GalacticScale2.0\SettingsUI\MonoBehaviors\GSUIToggleList.cs" />
<Compile Include="Scripts\GalacticScale2.0\SettingsUI\ThemeSelectGroup.cs" />
<Compile Include="Scripts\GalacticScale2.0\SettingsUI\ThemeSelectItem.cs" />
<Compile Include="Scripts\GalacticScale2.0\SettingsUI\ThemeSelectorUI.cs" />
Expand Down
4 changes: 2 additions & 2 deletions GalacticScale2/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,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("2.0.85.1")]
[assembly: AssemblyFileVersion("2.0.85.1")]
[assembly: AssemblyVersion("2.0.85.3")]
[assembly: AssemblyFileVersion("2.0.85.3")]
Binary file modified GalacticScale2/Scripts/Assets/galacticbundle
Binary file not shown.
2 changes: 1 addition & 1 deletion GalacticScale2/Scripts/Bootstrap.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

namespace GalacticScale
{
[BepInPlugin("dsp.galactic-scale.2", "Galactic Scale 2 Plug-In", "2.0.85.1")]
[BepInPlugin("dsp.galactic-scale.2", "Galactic Scale 2 Plug-In", "2.0.85.3")]
[BepInDependency("space.customizing.console", BepInDependency.DependencyFlags.SoftDependency)]
public class Bootstrap : BaseUnityPlugin
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ public static GalaxyData ProcessGalaxy(GameDesc desc, bool sketchOnly = false)
Log("Seed From gameDesc = " + GSSettings.Seed);
gsPlanets.Clear();
gsStars.Clear();

//Warn("Cleared");
Warn("Loading Data from Generator : " + ActiveGenerator.Name);
ActiveGenerator.Generate(gameDesc.starCount);
Expand Down
Loading

0 comments on commit c33320f

Please sign in to comment.