From e255e13a20e89049cd7a470b0a39efd9cb59ae8c Mon Sep 17 00:00:00 2001 From: "Melvin \"Dumbass\" Shwuaner" <83349478+MelvinShwuaner@users.noreply.github.com> Date: Sun, 18 Oct 2026 22:16:02 +0300 Subject: [PATCH 1/2] fix pc input sys --- resources/commit | 2 +- services/PCInputSystem.cs | 21 ++++++++++++--------- utils/ModInfoUtils.cs | 2 +- 3 files changed, 14 insertions(+), 11 deletions(-) diff --git a/resources/commit b/resources/commit index 931c343..9173a3c 100644 --- a/resources/commit +++ b/resources/commit @@ -1 +1 @@ -f557c8465de59360485d1069f01dd864d2e1f761 +0ea14149cfb7e94f0bed8a0837a677ccf131b91f diff --git a/services/PCInputSystem.cs b/services/PCInputSystem.cs index 27e27de..f1494f4 100644 --- a/services/PCInputSystem.cs +++ b/services/PCInputSystem.cs @@ -87,13 +87,13 @@ public static bool GetButtonUp2(string name, ref bool __result) __result = PCInputSystem.GetState(name) == KeyState.LetGo; return false; } - /* MOUSE UNUSUBLE DUE TO ICALLS + [HarmonyPatch(typeof(MoveCamera), nameof(MoveCamera.updateMobileCamera))] [HarmonyPrefix] public static bool CanMoveCamera() { return PCInputSystem.CurrentMode == PCInputSystem.Mode.None; - } + }/* MOUSE UNUSUBLE DUE TO ICALLS [HarmonyPatch(typeof(Input), "get_touchCount")] [HarmonyPostfix] //prevent anything using touches during mouse mode public static void GetTouchCount(ref int __result) @@ -583,16 +583,17 @@ internal static void Init() Config = PCButtonSettings.LoadFromPath(Paths.PCInputConfigPath).FromSettings(); Instance = new GameObject("PCInputSystem").AddComponent(); Object.DontDestroyOnLoad(Instance.gameObject); - InitGUI(); } static void InitGUI() { + BoxStyle = GUI.skin.box; MainWindowFunction = ManagePCInputs; MouseWindowFunction = ManageMouse; - MainButton = new Rect(0, 0,60, 30); - MainWindow = new Rect(0, 0, Screen.width/2.5f, Screen.height/4.5f); - MouseButton = new Rect(60, 0,85, 30); + var Size = Helper.GetButtonSize("PCInput")*1.5f; + MainButton = new Rect(0, 0,Size.x, Size.y); + MainWindow = new Rect(0, 0, 300, 350); + //MouseButton = new Rect(Size.x, 0,Screen.width/10f, Screen.height/48f); } public static void SaveConfig(string Path) @@ -633,7 +634,10 @@ void DrawButtons() internal static GUIStyle BoxStyle; private void OnGUI() { - BoxStyle ??= GUI.skin.box; + if (BoxStyle == null) + { + InitGUI(); + } DrawButtons(); if (CurrentMode == Mode.Editing) { @@ -929,10 +933,9 @@ static void ManagePCInputs(int windowid) } else { - string Name = GUILayout.TextField("New Button Name"); if (GUILayout.Button("Create New Button") && pendingKey != KeyCode.None) { - SelectedInput = CreateNewButton(Name, pendingKey, GetNextButtonRect(new Vector2(currentX, currentY))); + SelectedInput = CreateNewButton(pendingKey.ToString(), pendingKey, GetNextButtonRect(new Vector2(currentX, currentY))); pendingKey = KeyCode.None; } } diff --git a/utils/ModInfoUtils.cs b/utils/ModInfoUtils.cs index 55cd2e3..288a425 100644 --- a/utils/ModInfoUtils.cs +++ b/utils/ModInfoUtils.cs @@ -185,7 +185,7 @@ bool NCMSHere() } string[] workshop_mod_folders; - if (Others.is_editor) + if (Others.is_editor || Others.IsMobile) { goto SKIP_WORKSHOP; } From 06cfcdebeb3afaf0808252d263055e818e0cad47 Mon Sep 17 00:00:00 2001 From: "Melvin \"Dumbass\" Shwuaner" <83349478+MelvinShwuaner@users.noreply.github.com> Date: Sun, 18 Oct 2026 22:22:58 +0300 Subject: [PATCH 2/2] Revise Android and iOS installation steps Updated installation instructions for Android and iOS. --- README.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8ff1aa0..1ffe569 100644 --- a/README.md +++ b/README.md @@ -37,11 +37,16 @@ It is recommended to subscribe to the NML item on the Steam Workshop to receive ### Android Installation -1. Download and install the mono version of worldbox -2. Move NeoModLoader.dll to Android/data/com.mkarpenko.worldbox/mods +1. Use a suitable Mono mod loader for worldbox, like FusionCore +2. Move NeoModLoader.dll to /mods 3. enable experimental mode and start the game +### IOS Installation +1. Sideload a mono ipa of worldbox. +2. enable JIT in a suitable way, jailbreak, stikdebug, etc. +3. move NeoModLoader to files/Worldbox/mods +4. enable experimental mode and launch the game with JIT enabled

Others