feat(installer): full RynthCore + RynthSuite installer with user-chosen folders
- RynthCore.iss: one installer for the launcher/engine/Loot Editor and RynthSuite (RynthAi plugin, Monster Editor), with a second folder page for RynthSuite (/SUITEDIR= for silent installs), HKA Software\Rynth CoreDir/SuiteDir values and cleanup of 0.4.x / RynthBundle leftovers that broke the 2026-10-04 reinstall - RynthInstallPaths: env var -> HKCU -> HKLM (32-bit) -> C:\Games default resolver, linked into launcher, engine, loader, injector and status agent; replaces every hard-coded C:\Games\RynthCore / RynthSuite path - Launcher consumes PendingPluginRegistration on start (adds the installed RynthAi DLL, prunes rows for files the installer removed, syncs engine.json) - Build-Installer.ps1: Monster Editor publish, core/suite staging, deps.json staging check, previous-release archiving, versioned RynthCore-Setup-<ver>.exe - Release 2026.10.4.2 (previous 2026.10.4.1) Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
c596208e42
commit
f5002902c9
23 changed files with 689 additions and 116 deletions
|
|
@ -23,6 +23,7 @@ using System.Runtime.InteropServices;
|
|||
using ImGuiNET;
|
||||
using RynthCore.Engine.D3D9;
|
||||
using RynthCore.Engine.Plugins;
|
||||
using RynthCore.Install;
|
||||
|
||||
namespace RynthCore.Engine.ImGuiBackend;
|
||||
|
||||
|
|
@ -131,8 +132,8 @@ internal static class EngineFrameController
|
|||
// between launches. Allocated once, kept alive for the process lifetime.
|
||||
try
|
||||
{
|
||||
const string iniPath = @"C:\Games\RynthSuite\RynthAi\imgui.ini";
|
||||
System.IO.Directory.CreateDirectory(@"C:\Games\RynthSuite\RynthAi");
|
||||
string iniPath = System.IO.Path.Combine(RynthInstallPaths.RynthAiDir, "imgui.ini");
|
||||
System.IO.Directory.CreateDirectory(RynthInstallPaths.RynthAiDir);
|
||||
IntPtr iniPtr = System.Runtime.InteropServices.Marshal.StringToHGlobalAnsi(iniPath);
|
||||
unsafe { io.NativePtr->IniFilename = (byte*)iniPtr; }
|
||||
RynthLog.Render($"EngineFrameController: imgui.ini pinned to {iniPath}");
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@ using System.Runtime.InteropServices;
|
|||
using ImGuiNET;
|
||||
using RynthCore.Engine.D3D9;
|
||||
using RynthCore.Engine.Plugins;
|
||||
using RynthCore.Install;
|
||||
|
||||
namespace RynthCore.Engine.ImGuiBackend;
|
||||
|
||||
|
|
@ -89,8 +90,8 @@ internal static class ImGuiController
|
|||
// between launches. Allocated once, kept alive for the process lifetime.
|
||||
try
|
||||
{
|
||||
const string iniPath = @"C:\Games\RynthSuite\RynthAi\imgui.ini";
|
||||
System.IO.Directory.CreateDirectory(@"C:\Games\RynthSuite\RynthAi");
|
||||
string iniPath = System.IO.Path.Combine(RynthInstallPaths.RynthAiDir, "imgui.ini");
|
||||
System.IO.Directory.CreateDirectory(RynthInstallPaths.RynthAiDir);
|
||||
IntPtr iniPtr = System.Runtime.InteropServices.Marshal.StringToHGlobalAnsi(iniPath);
|
||||
unsafe { io.NativePtr->IniFilename = (byte*)iniPtr; }
|
||||
RynthLog.Render($"ImGuiController: imgui.ini pinned to {iniPath}");
|
||||
|
|
|
|||
Loading…
Reference in a new issue