From 2f932711e7b241e8927258e1c0f5eb09557d1d72 Mon Sep 17 00:00:00 2001
From: Chris Yeninas <844685+PhantomGamers@users.noreply.github.com>
Date: Fri, 15 Mar 2024 23:16:40 -0400
Subject: [PATCH 1/3] log expected game version
---
Nebula.sln | 1 +
NebulaPatcher/NebulaPatcher.csproj | 27 +++++++++++++++++++++++++++
NebulaPatcher/NebulaPlugin.cs | 4 ++--
3 files changed, 30 insertions(+), 2 deletions(-)
diff --git a/Nebula.sln b/Nebula.sln
index 6c9204d7b..39917e32d 100644
--- a/Nebula.sln
+++ b/Nebula.sln
@@ -15,6 +15,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
SharedConfig.targets = SharedConfig.targets
Shims\Shims.cs = Shims\Shims.cs
version.json = version.json
+ Directory.Build.rsp = Directory.Build.rsp
EndProjectSection
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NebulaWorld", "NebulaWorld\NebulaWorld.csproj", "{28AEA139-FB22-4672-AF51-28B728CF2978}"
diff --git a/NebulaPatcher/NebulaPatcher.csproj b/NebulaPatcher/NebulaPatcher.csproj
index a80e4040b..b8ec96b27 100644
--- a/NebulaPatcher/NebulaPatcher.csproj
+++ b/NebulaPatcher/NebulaPatcher.csproj
@@ -9,4 +9,31 @@
+
+
+
+
+ $(BaseIntermediateOutputPath)project.assets.json
+
+
+
+
+
+
+ $(IntermediateOutputPath)DSPGameVersion.cs
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/NebulaPatcher/NebulaPlugin.cs b/NebulaPatcher/NebulaPlugin.cs
index fe9555076..e9cc706a0 100644
--- a/NebulaPatcher/NebulaPlugin.cs
+++ b/NebulaPatcher/NebulaPlugin.cs
@@ -298,7 +298,7 @@ private static void InitPatches()
try
{
- Log.Info($"Applying patches from {PluginInfo.PLUGIN_NAME} {PluginInfo.PLUGIN_DISPLAY_VERSION}");
+ Log.Info($"Applying patches from {PluginInfo.PLUGIN_NAME} {PluginInfo.PLUGIN_DISPLAY_VERSION} made for game version {DSPGameVersion.VERSION}");
#if DEBUG
if (Directory.Exists("./mmdump"))
{
@@ -328,7 +328,7 @@ private static void InitPatches()
Log.Error("Unhandled exception occurred while patching the game:", ex);
// Show error in UIFatalErrorTip to inform normal users
Harmony.CreateAndPatchAll(typeof(UIFatalErrorTip_Patch));
- Log.Error("Nebula Multiplayer Mod is incompatible with game version\nUnhandled exception occurred while patching the game.");
+ Log.Error($"Nebula Multiplayer Mod is incompatible with game version, expected version {DSPGameVersion.VERSION}\nUnhandled exception occurred while patching the game.");
}
}
From 044d7b502e07c51d7c6409335dc6c48771f9628d Mon Sep 17 00:00:00 2001
From: Chris Yeninas <844685+PhantomGamers@users.noreply.github.com>
Date: Fri, 15 Mar 2024 23:20:23 -0400
Subject: [PATCH 2/3] Update README.md
---
README.md | 19 +++++++++----------
1 file changed, 9 insertions(+), 10 deletions(-)
diff --git a/README.md b/README.md
index 1001f1007..7dd3639ea 100644
--- a/README.md
+++ b/README.md
@@ -2,20 +2,20 @@
An open-source, multiplayer mod for the game [Dyson Sphere Program](https://store.steampowered.com/app/1366540/Dyson_Sphere_Program/).
-# Download Prerelease
+## Download Prerelease
[![Build - Win x64](https://github.com/NebulaModTeam/nebula/actions/workflows/build-winx64.yml/badge.svg?branch=master)](https://nightly.link/NebulaModTeam/nebula/workflows/build-winx64/master/build-artifacts-Release.zip)
Note: This is the bleeding edge build, for the more stable build see below. You can use this one if you want to try out the latest development builds, which may contain bugs and unfinished work.
You will also need some extra steps to get this installed, see 2nd point in ["How can I play this mod?"](#how-can-i-play-this-mod).
-# FAQ
+## FAQ
-## Where can I get mod support?
+### Where can I get mod support?
Please join our [Discord Server](https://discord.gg/UHeB2QvgDa) and ask your question in the `support` channel. We have a really nice community that will be able to answer your questions.
-## How can I play this mod?
+### How can I play this mod?
Please do keep in mind that this mod is still in heavy development, it may still contains bugs.
@@ -23,15 +23,15 @@ Please do keep in mind that this mod is still in heavy development, it may still
- If you want to install the latest version of the mod, you can install pre-release versions be following the [installation guide](https://github.com/NebulaModTeam/nebula/wiki/Installation#manual-installation).
- To connect, check [hosting and joining guide](https://github.com/NebulaModTeam/nebula/wiki/Hosting-and-Joining).
-## API Documentation
+### API Documentation
This mod has an API, that makes it easier for other mod developers to make their mods compatible with Nebula. If you are a mod developer and you want your mods to be compatible, follow the instructions [here](https://github.com/NebulaModTeam/nebula/wiki/Nebula-mod-API). Also you can always join our [Discord Server](https://discord.gg/UHeB2QvgDa) for help with using the API.
-## Chat
+### Chat
The chat window can opened/closed using Alt + Backtick (configurable in Settings - Multiplayer - Chat). Also in settings is an option to disable the chat window from automatically opening when a message is received.
-## What is the current status?
+### What is the current status?
Major refactors will happen while the project grows. Join the [Discord Server](https://discord.gg/UHeB2QvgDa) if you want to see to latest state of our development. Check [Wiki](https://github.com/NebulaModTeam/nebula/wiki/About-Nebula) for overview of features.
@@ -72,11 +72,10 @@ The prerelease version does support DSP `0.10.x`, but dark fog enemies and build
-## How can I contribute?
+### How can I contribute?
Please join our [Discord Server](https://discord.gg/UHeB2QvgDa) to ask if someone is already working on the task that you want to do. Once, you are done with your modification, simply submit a pull request. Contribution documentation can be found here: [Wiki](https://github.com/NebulaModTeam/nebula/wiki/Setting-up-a-development-environment).
-## How can I support the team?
+### How can I support the team?
If you like what we do and would like to support us, you can donate through our [Patreon](https://www.patreon.com/nebula_mod_team). Thanks for the support <3
-
From 53ec83ce24fb4df358aa776f5c390741a9d7bff7 Mon Sep 17 00:00:00 2001
From: Chris Yeninas <844685+PhantomGamers@users.noreply.github.com>
Date: Fri, 15 Mar 2024 23:45:01 -0400
Subject: [PATCH 3/3] Update README.md
---
README.md | 21 +++++++++------------
1 file changed, 9 insertions(+), 12 deletions(-)
diff --git a/README.md b/README.md
index 956680d93..0f581c3fe 100644
--- a/README.md
+++ b/README.md
@@ -2,20 +2,20 @@
An open-source, multiplayer mod for the game [Dyson Sphere Program](https://store.steampowered.com/app/1366540/Dyson_Sphere_Program/).
-# Download Prerelease
+## Download Prerelease
[![Build - Win x64](https://github.com/NebulaModTeam/nebula/actions/workflows/build-winx64.yml/badge.svg?branch=master)](https://nightly.link/NebulaModTeam/nebula/workflows/build-winx64/master/build-artifacts-Release.zip)
Note: This is the bleeding edge build, for the more stable build see below. You can use this one if you want to try out the latest development builds, which may contain bugs and unfinished work.
You will also need some extra steps to get this installed, see 2nd point in ["How can I play this mod?"](#how-can-i-play-this-mod).
-# FAQ
+## FAQ
-## Where can I get mod support?
+### Where can I get mod support?
Please join our [Discord Server](https://discord.gg/UHeB2QvgDa) and ask your question in the `support` channel. We have a really nice community that will be able to answer your questions.
-## How can I play this mod?
+### How can I play this mod?
Please do keep in mind that this mod is still in heavy development, it may still contains bugs.
@@ -23,15 +23,15 @@ Please do keep in mind that this mod is still in heavy development, it may still
- If you want to install the latest version of the mod, you can install pre-release versions be following the [installation guide](https://github.com/NebulaModTeam/nebula/wiki/Installation#manual-installation).
- To connect, check [hosting and joining guide](https://github.com/NebulaModTeam/nebula/wiki/Hosting-and-Joining).
-## API Documentation
+### API Documentation
This mod has an API, that makes it easier for other mod developers to make their mods compatible with Nebula. If you are a mod developer and you want your mods to be compatible, follow the instructions [here](https://github.com/NebulaModTeam/nebula/wiki/Nebula-mod-API). Also you can always join our [Discord Server](https://discord.gg/UHeB2QvgDa) for help with using the API.
-## Chat
+### Chat
The chat window can opened/closed using Alt + Backtick (configurable in Settings - Multiplayer - Chat). Type `/help` to view all commands. Also in settings is an option to disable the chat window from automatically opening when a message is received.
-## What is the current status?
+### What is the current status?
Major refactors will happen while the project grows or game updates. Join the [Discord Server](https://discord.gg/UHeB2QvgDa) if you want to see to latest state of our development. Check [Wiki](https://github.com/NebulaModTeam/nebula/wiki/About-Nebula) for overview of features.
@@ -116,13 +116,10 @@ Most of the battle aspect are sync, only few features are still WIP.
-
-
-## How can I contribute?
+### How can I contribute?
Please join our [Discord Server](https://discord.gg/UHeB2QvgDa) to ask if someone is already working on the task that you want to do. Once, you are done with your modification, simply submit a pull request. Contribution documentation can be found here: [Wiki](https://github.com/NebulaModTeam/nebula/wiki/Setting-up-a-development-environment).
-## How can I support the team?
+### How can I support the team?
If you like what we do and would like to support us, you can donate through our [Patreon](https://www.patreon.com/nebula_mod_team). Thanks for the support <3
-