diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..66c9c19 --- /dev/null +++ b/.gitignore @@ -0,0 +1,26 @@ +# Mono auto generated files +mono_crash.* + +# Build results +[Dd]ebug/ +[Dd]ebugPublic/ +[Rr]elease/ +[Rr]eleases/ +x64/ +x86/ +[Aa][Rr][Mm]/ +[Aa][Rr][Mm]64/ +bld/ +[Bb]in/ +[Oo]bj/ +[Ll]og/ +[Ll]ogs/ + +# Visual Studio 2015/2017 cache/options directory +.vs/ + +#/Bin64/ symlink +[Bb]in64/ + +#Files +*.bat \ No newline at end of file diff --git a/README.md b/README.md index 9e8e0c0..9e1dd2e 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # UplinkSE +Менеджер плагинов для компьютерной видеоигры Space Engineers, созданной студией Keen Software House, не имеющий фатальных недостатков, присущих другим аналогичным менеджерам плагинов +![](https://media.discordapp.net/stickers/1322141759257706508.webp) \ No newline at end of file diff --git a/UplinkLauncher/App.config b/UplinkLauncher/App.config new file mode 100644 index 0000000..193aecc --- /dev/null +++ b/UplinkLauncher/App.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/UplinkLauncher/UplinkLauncher.cs b/UplinkLauncher/UplinkLauncher.cs new file mode 100644 index 0000000..c157183 --- /dev/null +++ b/UplinkLauncher/UplinkLauncher.cs @@ -0,0 +1,38 @@ +using System; +using System.Collections.Generic; +using System.Diagnostics; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using VRage.Plugins; +using SpaceEngineers; +using System.IO; +using System.Reflection; +using System.Threading; + + +namespace Lunar.UplinkLauncher +{ + internal class UplinkLauncher + { + public static int Main(string[] args) + { + string exeLocation = Path.GetDirectoryName(Path.GetFullPath(Assembly.GetExecutingAssembly().Location)); + + List plugins = new List(); + //MANUALLY ADDED, REMOVE LATER + plugins.Add("C:\\Users\\Lunar\\Games\\Steam\\steamapps\\common\\SpaceEngineers\\Bin64\\Plugins\\Local\\ModelSwap.dll"); + plugins.Add("C:\\Users\\Lunar\\Games\\Steam\\steamapps\\common\\SpaceEngineers\\Bin64\\Plugins\\Local\\DontTellMeWhatToBuild.dll"); + MyPlugins.RegisterUserAssemblyFiles(plugins); + + string appIdFile = Path.Combine(exeLocation, "steam_appid.txt"); + if (!File.Exists(appIdFile)) + { + File.WriteAllText(appIdFile, "244850"); + } + + MyProgram.Main(args); + return 0; + } + } +} diff --git a/UplinkLauncher/UplinkLauncher.csproj b/UplinkLauncher/UplinkLauncher.csproj new file mode 100644 index 0000000..86d6a92 --- /dev/null +++ b/UplinkLauncher/UplinkLauncher.csproj @@ -0,0 +1,77 @@ + + + + + Debug + AnyCPU + {2534AAEB-1F27-43F9-86C5-A1726DACB98D} + WinExe + Lunar.UplinkLauncher + UplinkLauncher + v4.8 + 512 + true + true + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + x64 + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + UplinkSE_logo.ico + + + + + + + + + + + + + ..\..\SpaceEngineersLauncher\Bin64\0Harmony.dll + + + False + ..\Bin64\Sandbox.Game.dll + + + False + ..\Bin64\SpaceEngineers.exe + + + False + ..\Bin64\SpaceEngineers.Game.dll + + + False + ..\Bin64\Steamworks.NET.dll + + + + False + ..\Bin64\VRage.dll + + + + \ No newline at end of file diff --git a/UplinkLauncher/UplinkSE_logo.ico b/UplinkLauncher/UplinkSE_logo.ico new file mode 100644 index 0000000..433f0a2 Binary files /dev/null and b/UplinkLauncher/UplinkSE_logo.ico differ diff --git a/UplinkSE.sln b/UplinkSE.sln new file mode 100644 index 0000000..01008b2 --- /dev/null +++ b/UplinkSE.sln @@ -0,0 +1,31 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "UplinkSE", "UplinkSE\UplinkSE.csproj", "{28965A64-C9EC-4168-82E2-AE66B5D8A29F}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "UplinkLauncher", "UplinkLauncher\UplinkLauncher.csproj", "{2534AAEB-1F27-43F9-86C5-A1726DACB98D}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {28965A64-C9EC-4168-82E2-AE66B5D8A29F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {28965A64-C9EC-4168-82E2-AE66B5D8A29F}.Debug|Any CPU.Build.0 = Debug|Any CPU + {28965A64-C9EC-4168-82E2-AE66B5D8A29F}.Release|Any CPU.ActiveCfg = Release|Any CPU + {28965A64-C9EC-4168-82E2-AE66B5D8A29F}.Release|Any CPU.Build.0 = Release|Any CPU + {2534AAEB-1F27-43F9-86C5-A1726DACB98D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {2534AAEB-1F27-43F9-86C5-A1726DACB98D}.Debug|Any CPU.Build.0 = Debug|Any CPU + {2534AAEB-1F27-43F9-86C5-A1726DACB98D}.Release|Any CPU.ActiveCfg = Release|Any CPU + {2534AAEB-1F27-43F9-86C5-A1726DACB98D}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {BCA57FA1-2E0B-4DEA-9C70-E3A9914D76C7} + EndGlobalSection +EndGlobal diff --git a/UplinkSE/App.config b/UplinkSE/App.config new file mode 100644 index 0000000..193aecc --- /dev/null +++ b/UplinkSE/App.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/UplinkSE/UplinkSE.cs b/UplinkSE/UplinkSE.cs new file mode 100644 index 0000000..8f1f66f --- /dev/null +++ b/UplinkSE/UplinkSE.cs @@ -0,0 +1,33 @@ +using HarmonyLib; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using VRage.Plugins; + +namespace Lunar.Uplink +{ + internal class UplinkSE : IHandleInputPlugin + { + public void Init(object gameInstance) + { + throw new NotImplementedException(); + } + + public void HandleInput() + { + throw new NotImplementedException(); + } + + public void Update() + { + throw new NotImplementedException(); + } + + public void Dispose() + { + throw new NotImplementedException(); + } + } +} diff --git a/UplinkSE/UplinkSE.csproj b/UplinkSE/UplinkSE.csproj new file mode 100644 index 0000000..acb99aa --- /dev/null +++ b/UplinkSE/UplinkSE.csproj @@ -0,0 +1,68 @@ + + + + + Debug + AnyCPU + {28965A64-C9EC-4168-82E2-AE66B5D8A29F} + Library + Lunar.Uplink + UplinkSE + v4.8 + 512 + true + true + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + x64 + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + UplinkSE_logo.ico + + + + + + + + + + + + + ..\Bin64\0Harmony.dll + + + ..\Bin64\Sandbox.Game.dll + + + ..\Bin64\SpaceEngineers.exe + + + ..\Bin64\SpaceEngineers.Game.dll + + + ..\Bin64\VRage.dll + + + + \ No newline at end of file diff --git a/UplinkSE/UplinkSE_logo.ico b/UplinkSE/UplinkSE_logo.ico new file mode 100644 index 0000000..433f0a2 Binary files /dev/null and b/UplinkSE/UplinkSE_logo.ico differ diff --git a/UplinkSE_logo.ico b/UplinkSE_logo.ico new file mode 100644 index 0000000..433f0a2 Binary files /dev/null and b/UplinkSE_logo.ico differ diff --git a/UplinkSE_logo.png b/UplinkSE_logo.png new file mode 100644 index 0000000..9c5dc25 Binary files /dev/null and b/UplinkSE_logo.png differ