From 851521cc126e4f9d841d2d9bfe857558f0395939 Mon Sep 17 00:00:00 2001 From: aldelaro5 Date: Tue, 11 Jun 2024 12:00:31 -0400 Subject: [PATCH] Upgrade Doorstop to 4.3.0 (#901) --- README.md | 2 +- Runtimes/Unity/Doorstop/doorstop_config_il2cpp.ini | 3 +++ Runtimes/Unity/Doorstop/doorstop_config_mono.ini | 3 +++ Runtimes/Unity/Doorstop/run_bepinex_il2cpp.sh | 7 +++++++ Runtimes/Unity/Doorstop/run_bepinex_mono.sh | 7 +++++++ build/Program.cs | 2 +- 6 files changed, 22 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index eff40f7..8e6dbe9 100644 --- a/README.md +++ b/README.md @@ -57,7 +57,7 @@ A more comprehensive comparison list of features and compatibility is available ## Used libraries -- [NeighTools/UnityDoorstop](https://github.com/NeighTools/UnityDoorstop) - v4.2.0 +- [NeighTools/UnityDoorstop](https://github.com/NeighTools/UnityDoorstop) - v4.3.0 - [BepInEx/HarmonyX](https://github.com/BepInEx/HarmonyX) - v2.10.1 - [0x0ade/MonoMod](https://github.com/0x0ade/MonoMod) - v22.5.1.1 - [jbevain/cecil](https://github.com/jbevain/cecil) - v0.10.4 diff --git a/Runtimes/Unity/Doorstop/doorstop_config_il2cpp.ini b/Runtimes/Unity/Doorstop/doorstop_config_il2cpp.ini index ed1f29a..8af1026 100644 --- a/Runtimes/Unity/Doorstop/doorstop_config_il2cpp.ini +++ b/Runtimes/Unity/Doorstop/doorstop_config_il2cpp.ini @@ -11,6 +11,9 @@ target_assembly = BepInEx\core\BepInEx.Unity.IL2CPP.dll # If true, Unity's output log is redirected to \output_log.txt redirect_output_log = false +# Overrides the default boot.config file path +boot_config_override = + # If enabled, DOORSTOP_DISABLE env var value is ignored # USE THIS ONLY WHEN ASKED TO OR YOU KNOW WHAT THIS MEANS ignore_disable_switch = false diff --git a/Runtimes/Unity/Doorstop/doorstop_config_mono.ini b/Runtimes/Unity/Doorstop/doorstop_config_mono.ini index 7926ef0..342d479 100644 --- a/Runtimes/Unity/Doorstop/doorstop_config_mono.ini +++ b/Runtimes/Unity/Doorstop/doorstop_config_mono.ini @@ -11,6 +11,9 @@ target_assembly = BepInEx\core\BepInEx.Unity.Mono.Preloader.dll # If true, Unity's output log is redirected to \output_log.txt redirect_output_log = false +# Overrides the default boot.config file path +boot_config_override = + # If enabled, DOORSTOP_DISABLE env var value is ignored # USE THIS ONLY WHEN ASKED TO OR YOU KNOW WHAT THIS MEANS ignore_disable_switch = false diff --git a/Runtimes/Unity/Doorstop/run_bepinex_il2cpp.sh b/Runtimes/Unity/Doorstop/run_bepinex_il2cpp.sh index d751dcc..e947ee4 100644 --- a/Runtimes/Unity/Doorstop/run_bepinex_il2cpp.sh +++ b/Runtimes/Unity/Doorstop/run_bepinex_il2cpp.sh @@ -25,6 +25,9 @@ enabled="1" # NOTE: The entrypoint must be of format `static void Doorstop.Entrypoint.Start()` target_assembly="BepInEx/core/BepInEx.Unity.IL2CPP.dll" +# Overrides the default boot.config file path +boot_config_override= + # If enabled, DOORSTOP_DISABLE env var value is ignored # USE THIS ONLY WHEN ASKED TO OR YOU KNOW WHAT THIS MEANS ignore_disable_switch="0" @@ -218,6 +221,10 @@ while :; do target_assembly="$2" shift ;; + --doorstop-boot-config-override) + boot_config_override="$2" + shift + ;; --doorstop-mono-dll-search-path-override) dll_search_path_override="$2" shift diff --git a/Runtimes/Unity/Doorstop/run_bepinex_mono.sh b/Runtimes/Unity/Doorstop/run_bepinex_mono.sh index ed5496a..aaa7496 100644 --- a/Runtimes/Unity/Doorstop/run_bepinex_mono.sh +++ b/Runtimes/Unity/Doorstop/run_bepinex_mono.sh @@ -25,6 +25,9 @@ enabled="1" # NOTE: The entrypoint must be of format `static void Doorstop.Entrypoint.Start()` target_assembly="BepInEx/core/BepInEx.Unity.Mono.Preloader.dll" +# Overrides the default boot.config file path +boot_config_override= + # If enabled, DOORSTOP_DISABLE env var value is ignored # USE THIS ONLY WHEN ASKED TO OR YOU KNOW WHAT THIS MEANS ignore_disable_switch="0" @@ -219,6 +222,10 @@ while :; do target_assembly="$2" shift ;; + --doorstop-boot-config-override) + boot_config_override="$2" + shift + ;; --doorstop-mono-dll-search-path-override) dll_search_path_override="$2" shift diff --git a/build/Program.cs b/build/Program.cs index e3012a8..0ba5f0a 100644 --- a/build/Program.cs +++ b/build/Program.cs @@ -32,7 +32,7 @@ public class BuildContext : FrostingContext BleedingEdge } - public const string DoorstopVersion = "4.2.0"; + public const string DoorstopVersion = "4.3.0"; public const string DotnetRuntimeVersion = "6.0.7"; public const string DobbyVersion = "1.0.5";