From d97635de2c989c0ce50befb0a7fd25e8ab86ae9f Mon Sep 17 00:00:00 2001 From: p1xel8ted <10510767+p1xel8ted@users.noreply.github.com> Date: Sun, 6 Aug 2023 13:02:47 +1000 Subject: [PATCH] Delete GoldenLight directory --- GoldenLight/Directory.Build.props | 51 ----- GoldenLight/GoldenLight.sln | 16 -- .../GoldenLightUltraWide/GoldenLight.csproj | 205 ------------------ GoldenLight/GoldenLightUltraWide/Patches.cs | 42 ---- GoldenLight/GoldenLightUltraWide/Plugin.cs | 21 -- GoldenLight/README.md | 19 -- GoldenLight/zip.target | 23 -- 7 files changed, 377 deletions(-) delete mode 100644 GoldenLight/Directory.Build.props delete mode 100644 GoldenLight/GoldenLight.sln delete mode 100644 GoldenLight/GoldenLightUltraWide/GoldenLight.csproj delete mode 100644 GoldenLight/GoldenLightUltraWide/Patches.cs delete mode 100644 GoldenLight/GoldenLightUltraWide/Plugin.cs delete mode 100644 GoldenLight/README.md delete mode 100644 GoldenLight/zip.target diff --git a/GoldenLight/Directory.Build.props b/GoldenLight/Directory.Build.props deleted file mode 100644 index 637fba2..0000000 --- a/GoldenLight/Directory.Build.props +++ /dev/null @@ -1,51 +0,0 @@ - - - - - - $(MSBuildProjectName) - net481 - latest - true - false - false - p1xel8ted - $(Authors) - $(MSBuildProjectName) - $(MSBuildProjectName) - - https://api.nuget.org/v3/index.json; - https://nuget.bepinex.dev/v3/index.json; - https://nuget.samboy.dev/v3/index.json - - $(MSBuildProjectName) - - - - portable - - - - - False - False - False - - - - H:\Games\steamapps\common\Golden Light\BepInEx\plugins\$(MSBuildProjectName) - - - - H:\Games\steamapps\common\Golden Light\BepInEx\plugins\$(MSBuildProjectName) - - - - - - - - - - - \ No newline at end of file diff --git a/GoldenLight/GoldenLight.sln b/GoldenLight/GoldenLight.sln deleted file mode 100644 index e991f85..0000000 --- a/GoldenLight/GoldenLight.sln +++ /dev/null @@ -1,16 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GoldenLight", "GoldenLightUltraWide\GoldenLight.csproj", "{E48697B8-E312-44A2-812C-B19220EE5DAE}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {E48697B8-E312-44A2-812C-B19220EE5DAE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {E48697B8-E312-44A2-812C-B19220EE5DAE}.Debug|Any CPU.Build.0 = Debug|Any CPU - {E48697B8-E312-44A2-812C-B19220EE5DAE}.Release|Any CPU.ActiveCfg = Release|Any CPU - {E48697B8-E312-44A2-812C-B19220EE5DAE}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection -EndGlobal diff --git a/GoldenLight/GoldenLightUltraWide/GoldenLight.csproj b/GoldenLight/GoldenLightUltraWide/GoldenLight.csproj deleted file mode 100644 index 0bf4279..0000000 --- a/GoldenLight/GoldenLightUltraWide/GoldenLight.csproj +++ /dev/null @@ -1,205 +0,0 @@ - - - - 0.1.0 - $(Version) - $(Version) - - - - - ..\libs\Assembly-CSharp.dll - - - ..\libs\Assembly-CSharp-firstpass.dll - - - ..\libs\CerealDevelopment.TimeManagement.dll - - - ..\libs\CTNAudio.dll - - - ..\libs\InControl.dll - - - ..\libs\InControl.Examples.dll - - - ..\libs\kcp2k.dll - - - ..\libs\Mirror.dll - - - ..\libs\Mirror.Authenticators.dll - - - ..\libs\Mirror.Cloud.dll - - - ..\libs\Mirror.Components.dll - - - ..\libs\Mirror.Examples.dll - - - ..\libs\Mirror.Examples.Cloud.GUI.dll - - - ..\libs\Mirror.Examples.Cloud.Pong.dll - - - ..\libs\Mono.Security.dll - - - ..\libs\sc.posteffects.runtime.dll - - - ..\libs\SimpleWebTransport.dll - - - ..\libs\Telepathy.dll - - - ..\libs\Unity.Addressables.dll - - - ..\libs\Unity.Mathematics.dll - - - ..\libs\Unity.RenderPipeline.Universal.ShaderLibrary.dll - - - ..\libs\Unity.RenderPipelines.Core.Runtime.dll - - - ..\libs\Unity.RenderPipelines.Universal.Runtime.dll - - - ..\libs\Unity.ResourceManager.dll - - - ..\libs\Unity.TextMeshPro.dll - - - ..\libs\Unity.Timeline.dll - - - ..\libs\UnityEngine.dll - - - ..\libs\UnityEngine.AIModule.dll - - - ..\libs\UnityEngine.AndroidJNIModule.dll - - - ..\libs\UnityEngine.AnimationModule.dll - - - ..\libs\UnityEngine.AssetBundleModule.dll - - - ..\libs\UnityEngine.AudioModule.dll - - - ..\libs\UnityEngine.CoreModule.dll - - - ..\libs\UnityEngine.DirectorModule.dll - - - ..\libs\UnityEngine.GridModule.dll - - - ..\libs\UnityEngine.ImageConversionModule.dll - - - ..\libs\UnityEngine.IMGUIModule.dll - - - ..\libs\UnityEngine.InputLegacyModule.dll - - - ..\libs\UnityEngine.InputModule.dll - - - ..\libs\UnityEngine.JSONSerializeModule.dll - - - ..\libs\UnityEngine.ParticleSystemModule.dll - - - ..\libs\UnityEngine.Physics2DModule.dll - - - ..\libs\UnityEngine.PhysicsModule.dll - - - ..\libs\UnityEngine.ScreenCaptureModule.dll - - - ..\libs\UnityEngine.SharedInternalsModule.dll - - - ..\libs\UnityEngine.SpriteShapeModule.dll - - - ..\libs\UnityEngine.SubsystemsModule.dll - - - ..\libs\UnityEngine.TerrainModule.dll - - - ..\libs\UnityEngine.TerrainPhysicsModule.dll - - - ..\libs\UnityEngine.TextCoreModule.dll - - - ..\libs\UnityEngine.TextRenderingModule.dll - - - ..\libs\UnityEngine.TilemapModule.dll - - - ..\libs\UnityEngine.UI.dll - - - ..\libs\UnityEngine.UIElementsModule.dll - - - ..\libs\UnityEngine.UIElementsNativeModule.dll - - - ..\libs\UnityEngine.UIModule.dll - - - ..\libs\UnityEngine.UnityAnalyticsModule.dll - - - ..\libs\UnityEngine.UnityWebRequestAssetBundleModule.dll - - - ..\libs\UnityEngine.UnityWebRequestAudioModule.dll - - - ..\libs\UnityEngine.UnityWebRequestModule.dll - - - ..\libs\UnityEngine.VFXModule.dll - - - ..\libs\UnityEngine.VideoModule.dll - - - ..\libs\UnityEngine.VRModule.dll - - - ..\libs\UnityEngine.XRModule.dll - - - - - \ No newline at end of file diff --git a/GoldenLight/GoldenLightUltraWide/Patches.cs b/GoldenLight/GoldenLightUltraWide/Patches.cs deleted file mode 100644 index aa3637f..0000000 --- a/GoldenLight/GoldenLightUltraWide/Patches.cs +++ /dev/null @@ -1,42 +0,0 @@ -using System.Diagnostics.CodeAnalysis; -using HarmonyLib; -using TMPro; -using UnityEngine; -using UnityEngine.UI; - -namespace GoldenLight; - -[HarmonyPatch] -[SuppressMessage("ReSharper", "InconsistentNaming")] -public static class Patches -{ - // [HarmonyPostfix] - // [HarmonyPatch(typeof(CanvasScaler), nameof(CanvasScaler.OnEnable))] - // public static void CanvasScaler_OnEnable(ref CanvasScaler __instance) - // { - // __instance.referenceResolution = new Vector2(Display.main.systemWidth, Display.main.systemHeight); - // } - - [HarmonyPostfix] - [HarmonyPatch(typeof(Selectable), nameof(Selectable.OnEnable))] - public static void Button_OnEnable(ref Button __instance) - { - if (__instance.name.Equals("Resolution 0")) - { - __instance.GetComponentInChildren().text = $"{Display.main.systemWidth}x{Display.main.systemHeight}"; - } - } - - [HarmonyPostfix] - [HarmonyPatch(typeof(PlayerSettingsController), nameof(PlayerSettingsController.SetResolution))] - public static void PlayerSettingsController_SetResolution(int scale) - { - switch (scale) - { - case 0: - Plugin.Log.LogWarning("Setting resolution to native resolution!"); - Screen.SetResolution(Display.main.systemWidth, Display.main.systemHeight, FullScreenMode.FullScreenWindow); - break; - } - } -} \ No newline at end of file diff --git a/GoldenLight/GoldenLightUltraWide/Plugin.cs b/GoldenLight/GoldenLightUltraWide/Plugin.cs deleted file mode 100644 index d01e741..0000000 --- a/GoldenLight/GoldenLightUltraWide/Plugin.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System.Reflection; -using BepInEx; -using BepInEx.Logging; -using HarmonyLib; - -namespace GoldenLight; - -[BepInPlugin(PluginGuid, PluginName, PluginVersion)] -public class Plugin : BaseUnityPlugin -{ - private const string PluginGuid = "p1xel8ted.goldenlight.ultrawide"; - private const string PluginName = "Golden Light Ultra-Wide!"; - private const string PluginVersion = "0.1.0"; - internal static ManualLogSource Log { get; private set; } - private void Awake() - { - Log = Logger; - Logger.LogInfo($"Plugin {PluginGuid} is loaded!"); - Harmony.CreateAndPatchAll(Assembly.GetExecutingAssembly(), PluginGuid); - } -} \ No newline at end of file diff --git a/GoldenLight/README.md b/GoldenLight/README.md deleted file mode 100644 index 270946b..0000000 --- a/GoldenLight/README.md +++ /dev/null @@ -1,19 +0,0 @@ -## Wonder-Boy-Returns-Remix Ultrwide Fix - -![Game Logo](header.jpg)
- -[![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/F2F2DI3WA)
-[![Github All Releases](https://img.shields.io/github/downloads/p1xel8ted/Wonder-Boy-Returns-Remix/total.svg)](https://github.com/p1xel8ted/Wonder-Boy-Returns-Remix/releases) - -## Features -- Overrides all resolutions to the main display resolution. -- Removes pillarboxing. - -## Installation -- Grab the latest release of Wonder-Boy-Returns-Remix Ultrwide Fix from [here.](https://github.com/p1xel8ted/Wonder-Boy-Returns-Remix/releases) -- Extract the contents of the release zip in to the game directory.
(e.g. "**steamapps\common\Wonder Boy Returns Remix**" for Steam). - -## Configuration -Found in "**steamapps\common\Wonder Boy Returns Remix\BepInEx\config\WonderBoyReturnsRemixUW.cfg**" -- CameraZoom = Changes the cameras orthographic size. 8 is the default. The games default is 6.5. -- EnableGoingBackwards = By default, the player can't go backwards. This allows the player to go backwards. diff --git a/GoldenLight/zip.target b/GoldenLight/zip.target deleted file mode 100644 index 261c874..0000000 --- a/GoldenLight/zip.target +++ /dev/null @@ -1,23 +0,0 @@ - - - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - - - - $(MSBuildProjectDirectory)\temp\plugins\$(MSBuildProjectName) - - - - - - - - - \ No newline at end of file