feat(installer): experimental RynthSuite plugins as optional components

- New "Experimental plugins" component group (unchecked by default): RynthChat,
  RynthJuice, RynthNav, RynthTracker, RynthVision, each to <RynthSuite>\<Name>\
- PendingPluginRegistration now lists every selected plugin; the Suite folder
  page/memo show when any Suite component is picked
- RynthNav: creates <RynthCore>\NavData and ships the starter portals.tsv
  (onlyifdoesntexist, kept on uninstall)
- Build-Installer.ps1: step 7 publishes the plugins with PublishDir overridden
  so a build never writes into a live C:\Games\RynthSuite install
- Release 2026.10.4.3 (previous 2026.10.4.2)

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
BlankenshipG 2026-10-04 14:45:04 -04:00
commit 55789130e4
4 changed files with 169 additions and 19 deletions

View file

@ -0,0 +1,40 @@
# RynthCore 2026.10.4.3: experimental plugins as optional installer components
**Release date:** 2026-10-04
**Installer:** `installer\Output\RynthCore-Setup-2026.10.4.3.exe` (also copied to `RynthCore-Setup.exe`)
**Previous release:** `2026.10.4.2` (archived to `installer\previous-release\RynthCore-Setup-2026.10.4.2.exe`)
**Branch:** `feat/full-installer` (local test build, not on `main`)
## What's new
The **Select Components** page has a new **RynthSuite: Experimental plugins** group. Each plugin is unchecked by
default in every install type; ticking one switches the install to Custom.
| Component | Installs to | Version |
|---|---|---|
| `experimental\rynthchat` | `<RynthSuite>\RynthChat\RynthCore.Plugin.RynthChat.dll` | 0.1.1 |
| `experimental\rynthjuice` | `<RynthSuite>\RynthJuice\RynthCore.Plugin.RynthJuice.dll` | 0.1.1 |
| `experimental\rynthnav` | `<RynthSuite>\RynthNav\RynthCore.Plugin.RynthNav.dll`, plus `<RynthCore>\NavData\` | 0.5.5 |
| `experimental\rynthtracker` | `<RynthSuite>\RynthTracker\RynthCore.Plugin.RynthTracker.dll` | 0.1.1 |
| `experimental\rynthvision` | `<RynthSuite>\RynthVision\RynthCore.Plugin.RynthVision.dll` | 0.1.1 |
- **Registration:** every selected plugin (RynthAi included) goes into `Software\Rynth\PendingPluginRegistration`
as a `;`-separated list. On next start the launcher adds them all to its Plugins list and syncs `engine.json`.
- **Suite folder page:** shown whenever any RynthSuite component is selected, experimental ones included.
- **RynthNav data:** the installer creates `<RynthCore>\NavData` (kept on uninstall). It ships the starter
`portals.tsv` from `RynthNav.PortalGraph` only when that folder has none, so a newer generated file is never overwritten.
Navmesh tiles (`nav_XXXX.tile`) are **not** shipped; bake them with `RynthNav.Baker --tiled` (its default output
is `C:\Games\RynthCore\NavData`; pass `--out` for a different RynthCore folder).
- **Silent installs:** pick components with `/COMPONENTS`, for example
`/COMPONENTS="core,rynthai,monstereditor,experimental\rynthnav,experimental\rynthvision"`.
## Build script (`installer\Build-Installer.ps1`)
- New step **7/7** publishes the five plugins (NativeAOT, x86), each keeping its own version.
- RynthJuice, RynthNav and RynthVision set `<PublishDir>` to the live `C:\Games\RynthSuite\<Name>\` for dev hot-reload.
The build overrides it to each project's `bin\...\publish\`, so building an installer never touches a live install.
- Staging: `staging\suite\<Name>\` per plugin and `staging\navdata\portals.tsv`. All of them are in the required-files check.
## Upgrade notes
- Re-running the installer without an experimental plugin does not remove one installed earlier. Uninstall
RynthCore, or delete `<RynthSuite>\<Name>\` and its row in the launcher's Plugins tab.
- These plugins are work in progress and may change or break between builds.

View file

@ -11,11 +11,13 @@
4. Publishes RynthCore.Plugin.RynthAi (NativeAOT, x86) from RynthSuite
5. Publishes the Loot Editor (self-contained, x86)
6. Publishes the Monster Editor (self-contained, x86) from RynthSuite
7. Stages RynthCore under installer\staging\core\ and RynthSuite under
7. Publishes the experimental plugins (RynthChat, RynthJuice, RynthNav, RynthTracker,
RynthVision; NativeAOT, x86) -- optional components in the installer
8. Stages RynthCore under installer\staging\core\ and RynthSuite under
installer\staging\suite\, plus the hand-built RynthCore.SehTrampoline.dll,
and checks every required runtime file is there
8. Archives the previous installer (installer\previous-release\) when -Version changes
9. Invokes ISCC.exe to produce installer\Output\RynthCore-Setup-<version>.exe
9. Archives the previous installer (installer\previous-release\) when -Version changes
10. Invokes ISCC.exe to produce installer\Output\RynthCore-Setup-<version>.exe
(and a RynthCore-Setup.exe copy)
The installer lets the user choose both the RynthCore and the RynthSuite folders; the
@ -96,6 +98,14 @@ $PluginPublish = "$RynthSuiteRoot\Plugins\RynthCore.Plugin.RynthAi\bin\$C
$LootEditorPublish = "$RynthSuiteRoot\Tools\RynthCore.LootEditor\bin\$Configuration\net10.0\win-x86\publish"
$MonsterEditorPublish = "$RynthSuiteRoot\Tools\RynthCore.MonsterEditor\bin\$Configuration\net10.0\win-x86\publish"
# Experimental RynthSuite plugins (optional installer components). Each installs to
# <RynthSuite>\<Name>\RynthCore.Plugin.<Name>.dll and keeps its own semantic version.
$ExperimentalPlugins = @('RynthChat', 'RynthJuice', 'RynthNav', 'RynthTracker', 'RynthVision')
function Get-ExperimentalProject([string]$Name) { "$RynthSuiteRoot\Plugins\RynthCore.Plugin.$Name\RynthCore.Plugin.$Name.csproj" }
function Get-ExperimentalPublish([string]$Name) { "$RynthSuiteRoot\Plugins\RynthCore.Plugin.$Name\bin\$Configuration\net10.0-windows\win-x86\publish" }
# RynthNav's starter portal list (shipped into <RynthCore>\NavData, never overwritten).
$NavPortalsTsv = "$RynthSuiteRoot\Tools\RynthNav.PortalGraph\Data\portals.tsv"
# staging\core → {app} (user-chosen RynthCore folder)
# staging\suite → {code:GetSuiteDir} (user-chosen RynthSuite folder)
$StagingRoot = "$ScriptDir\staging"
@ -103,7 +113,9 @@ $CoreStaging = "$StagingRoot\core"
$SuiteStaging = "$StagingRoot\suite"
# ── Validate projects ───────────────────────────────────────────────────────
foreach ($p in @($LauncherProject, $EngineProject, $LoaderProject, $PluginProject, $LootEditorProject, $MonsterEditorProject)) {
$allProjects = @($LauncherProject, $EngineProject, $LoaderProject, $PluginProject, $LootEditorProject, $MonsterEditorProject) +
@($ExperimentalPlugins | ForEach-Object { Get-ExperimentalProject $_ })
foreach ($p in $allProjects) {
if (-not (Test-Path $p)) {
throw "Project not found: $p`nUpdate paths in Build-Installer.ps1 if your repo layout differs."
}
@ -112,39 +124,52 @@ foreach ($p in @($LauncherProject, $EngineProject, $LoaderProject, $PluginProjec
if (-not $SkipBuild) {
# ── 1. Launcher (self-contained Avalonia WinExe) ─────────────────────────
Write-Host ""
Write-Host "[1/6] Publishing Launcher (self-contained, x86)..." -ForegroundColor Cyan
Write-Host "[1/7] Publishing Launcher (self-contained, x86)..." -ForegroundColor Cyan
dotnet publish $LauncherProject -c $Configuration -r win-x86 --self-contained true @VersionArgs
if ($LASTEXITCODE -ne 0) { throw "Launcher publish failed (exit $LASTEXITCODE)" }
# ── 2. Engine (NativeAOT — the slow one) ──────────────────────────────────
Write-Host ""
Write-Host "[2/6] Publishing Engine (NativeAOT, ~2 min)..." -ForegroundColor Cyan
Write-Host "[2/7] Publishing Engine (NativeAOT, ~2 min)..." -ForegroundColor Cyan
dotnet publish $EngineProject -c $Configuration @VersionArgs
if ($LASTEXITCODE -ne 0) { throw "Engine publish failed (exit $LASTEXITCODE)" }
# ── 3. Loader (NativeAOT, small) ──────────────────────────────────────────
Write-Host ""
Write-Host "[3/6] Publishing Loader (NativeAOT)..." -ForegroundColor Cyan
Write-Host "[3/7] Publishing Loader (NativeAOT)..." -ForegroundColor Cyan
dotnet publish $LoaderProject -c $Configuration @VersionArgs
if ($LASTEXITCODE -ne 0) { throw "Loader publish failed (exit $LASTEXITCODE)" }
# ── 4. RynthAi plugin (NativeAOT; keeps its own version) ─────────────────
Write-Host ""
Write-Host "[4/6] Publishing RynthAi plugin (NativeAOT)..." -ForegroundColor Cyan
Write-Host "[4/7] Publishing RynthAi plugin (NativeAOT)..." -ForegroundColor Cyan
dotnet publish $PluginProject -c $Configuration
if ($LASTEXITCODE -ne 0) { throw "Plugin publish failed (exit $LASTEXITCODE)" }
# ── 5. Loot Editor (self-contained Avalonia tool) ─────────────────────────
Write-Host ""
Write-Host "[5/6] Publishing Loot Editor (self-contained, x86)..." -ForegroundColor Cyan
Write-Host "[5/7] Publishing Loot Editor (self-contained, x86)..." -ForegroundColor Cyan
dotnet publish $LootEditorProject -c $Configuration -r win-x86 --self-contained true @VersionArgs
if ($LASTEXITCODE -ne 0) { throw "Loot Editor publish failed (exit $LASTEXITCODE)" }
# ── 6. Monster Editor (self-contained Avalonia tool) ──────────────────────
Write-Host ""
Write-Host "[6/6] Publishing Monster Editor (self-contained, x86)..." -ForegroundColor Cyan
Write-Host "[6/7] Publishing Monster Editor (self-contained, x86)..." -ForegroundColor Cyan
dotnet publish $MonsterEditorProject -c $Configuration -r win-x86 --self-contained true @VersionArgs
if ($LASTEXITCODE -ne 0) { throw "Monster Editor publish failed (exit $LASTEXITCODE)" }
# ── 7. Experimental plugins (NativeAOT; optional components) ──────────────
# RynthJuice/RynthNav/RynthVision set <PublishDir> to the live C:\Games\RynthSuite\<Name>\
# folder for dev hot-reload; override it so an installer build never touches a live install.
# A trailing '/' (not '\') keeps the argument intact when the path contains spaces.
Write-Host ""
Write-Host "[7/7] Publishing experimental plugins (NativeAOT)..." -ForegroundColor Cyan
foreach ($name in $ExperimentalPlugins) {
Write-Host " $name"
$publishDir = (Get-ExperimentalPublish $name) + '/'
dotnet publish (Get-ExperimentalProject $name) -c $Configuration "-p:PublishDir=$publishDir"
if ($LASTEXITCODE -ne 0) { throw "$name publish failed (exit $LASTEXITCODE)" }
}
}
# ── Stage ────────────────────────────────────────────────────────────────────
@ -224,6 +249,20 @@ Copy-Item $pluginDll "$SuiteStaging\RynthAi\" -Force
# Monster Editor → <RynthSuite>\RynthAi\MonsterEditor (RynthAi's dashboard launches it from there)
Copy-PublishTree $MonsterEditorPublish "$SuiteStaging\RynthAi\MonsterEditor"
# Experimental plugins → <RynthSuite>\<Name>\RynthCore.Plugin.<Name>.dll (the NativeAOT DLL is self-contained;
# cimgui.dll is provided by the engine's Runtime folder).
foreach ($name in $ExperimentalPlugins) {
$dll = Join-Path (Get-ExperimentalPublish $name) "RynthCore.Plugin.$name.dll"
if (-not (Test-Path $dll)) { throw "$name DLL not found at: $dll" }
New-Item -ItemType Directory -Path "$SuiteStaging\$name" -Force | Out-Null
Copy-Item $dll "$SuiteStaging\$name\" -Force
}
# RynthNav starter data → <RynthCore>\NavData (staged apart from core so it is only installed with RynthNav).
if (-not (Test-Path $NavPortalsTsv)) { throw "RynthNav portals.tsv not found at: $NavPortalsTsv" }
New-Item -ItemType Directory -Path "$StagingRoot\navdata" -Force | Out-Null
Copy-Item $NavPortalsTsv "$StagingRoot\navdata\" -Force
# release.txt — which core release this install is ($release, from -Version at the top).
Set-Content -Path "$CoreStaging\release.txt" -Value @($release, $Version) -Encoding ASCII
@ -241,8 +280,9 @@ $required = @(
"$CoreStaging\Runtime\cimgui.dll",
"$CoreStaging\Tools\LootEditor\RynthCore.LootEditor.exe",
"$SuiteStaging\RynthAi\RynthCore.Plugin.RynthAi.dll",
"$SuiteStaging\RynthAi\MonsterEditor\RynthCore.MonsterEditor.exe"
)
"$SuiteStaging\RynthAi\MonsterEditor\RynthCore.MonsterEditor.exe",
"$StagingRoot\navdata\portals.tsv"
) + @($ExperimentalPlugins | ForEach-Object { "$SuiteStaging\$_\RynthCore.Plugin.$_.dll" })
$missing = @($required | Where-Object { -not (Test-Path $_) })
if ($missing.Count -gt 0) { throw "Staging is missing required files:`n $($missing -join "`n ")" }

View file

@ -60,6 +60,13 @@ Name: "custom"; Description: "Custom"; Flags: iscustom
Name: "core"; Description: "RynthCore launcher, engine and Loot Editor"; Types: full core custom; Flags: fixed
Name: "rynthai"; Description: "RynthSuite: RynthAi plugin (installed and registered with the launcher)"; Types: full
Name: "monstereditor"; Description: "RynthSuite: Monster Editor"; Types: full
; Experimental plugins: unchecked by default in every install type (ticking one switches to Custom).
Name: "experimental"; Description: "RynthSuite: Experimental plugins (work in progress)"
Name: "experimental\rynthchat"; Description: "RynthChat - replacement chat window (classifies and owns game chat)"
Name: "experimental\rynthjuice"; Description: "RynthJuice - floating damage/heal numbers and kill bursts"
Name: "experimental\rynthnav"; Description: "RynthNav - navmesh pathing and portal routing (needs baked NavData tiles)"
Name: "experimental\rynthtracker"; Description: "RynthTracker - per-session kill tracker"
Name: "experimental\rynthvision"; Description: "RynthVision - unclimbable slope, water and radar-range overlays"
[Tasks]
Name: desktopicon; Description: "Create a &desktop shortcut"; GroupDescription: "Additional icons:"
@ -93,6 +100,15 @@ Source: "staging\suite\RynthAi\RynthCore.Plugin.RynthAi.dll"; DestDir: "{code:Ge
; Monster Editor: RynthAi's dashboard launches it from <RynthAi>\MonsterEditor\.
Source: "staging\suite\RynthAi\MonsterEditor\*"; DestDir: "{code:GetSuiteDir}\RynthAi\MonsterEditor"; Components: monstereditor; Flags: ignoreversion recursesubdirs createallsubdirs
; Experimental plugins: each in its own <RynthSuite>\<Name>\ folder (the layout the launcher already uses).
Source: "staging\suite\RynthChat\RynthCore.Plugin.RynthChat.dll"; DestDir: "{code:GetSuiteDir}\RynthChat"; Components: experimental\rynthchat; Flags: ignoreversion
Source: "staging\suite\RynthJuice\RynthCore.Plugin.RynthJuice.dll"; DestDir: "{code:GetSuiteDir}\RynthJuice"; Components: experimental\rynthjuice; Flags: ignoreversion
Source: "staging\suite\RynthNav\RynthCore.Plugin.RynthNav.dll"; DestDir: "{code:GetSuiteDir}\RynthNav"; Components: experimental\rynthnav; Flags: ignoreversion
Source: "staging\suite\RynthTracker\RynthCore.Plugin.RynthTracker.dll"; DestDir: "{code:GetSuiteDir}\RynthTracker"; Components: experimental\rynthtracker; Flags: ignoreversion
Source: "staging\suite\RynthVision\RynthCore.Plugin.RynthVision.dll"; DestDir: "{code:GetSuiteDir}\RynthVision"; Components: experimental\rynthvision; Flags: ignoreversion
; RynthNav reads <RynthCore>\NavData. Starter portal list only; a newer one from RynthNav.PortalGraph is kept.
Source: "staging\navdata\portals.tsv"; DestDir: "{app}\NavData"; Components: experimental\rynthnav; Flags: onlyifdoesntexist uninsneveruninstall
; RynthAi data directories (created once; never removed on uninstall — they hold user profiles)
[Dirs]
Name: "{code:GetSuiteDir}\RynthAi"; Components: rynthai; Flags: uninsneveruninstall
@ -108,6 +124,8 @@ Name: "{code:GetSuiteDir}\RynthAi\Logs"; Components: rynt
Name: "{code:GetSuiteDir}\RynthAi\pvars"; Components: rynthai; Flags: uninsneveruninstall
Name: "{code:GetSuiteDir}\RynthAi\ItemGiver"; Components: rynthai; Flags: uninsneveruninstall
Name: "{code:GetSuiteDir}\RynthAi\AutoVendor"; Components: rynthai; Flags: uninsneveruninstall
; RynthNav tiles baked by RynthNav.Baker (default --out) go here; kept on uninstall.
Name: "{app}\NavData"; Components: experimental\rynthnav; Flags: uninsneveruninstall
; Install locations for the engine / launcher / plugins (see RynthInstallPaths.cs), plus a one-shot
; hand-off the launcher consumes on next start to add the plugin to its Plugins list.
@ -115,7 +133,7 @@ Name: "{code:GetSuiteDir}\RynthAi\AutoVendor"; Components: rynt
[Registry]
Root: HKA; Subkey: "Software\Rynth"; ValueType: string; ValueName: "CoreDir"; ValueData: "{app}"; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKA; Subkey: "Software\Rynth"; ValueType: string; ValueName: "SuiteDir"; ValueData: "{code:GetSuiteDir}"; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKA; Subkey: "Software\Rynth"; ValueType: string; ValueName: "PendingPluginRegistration"; ValueData: "{code:GetSuiteDir}\RynthAi\RynthCore.Plugin.RynthAi.dll"; Components: rynthai; Flags: uninsdeletevalue
Root: HKA; Subkey: "Software\Rynth"; ValueType: string; ValueName: "PendingPluginRegistration"; ValueData: "{code:GetPendingPlugins}"; Check: HasPendingPlugins; Flags: uninsdeletevalue
; Shortcuts
[Icons]
@ -202,6 +220,60 @@ begin
Result := RemoveBackslashUnlessRoot(Trim(SuiteDirPage.Values[0]));
end;
// Experimental plugin names; component "experimental\<lowercase name>" installs <Suite>\<Name>\RynthCore.Plugin.<Name>.dll.
function ExperimentalPluginName(Index: Integer): string;
begin
case Index of
0: Result := 'RynthChat';
1: Result := 'RynthJuice';
2: Result := 'RynthNav';
3: Result := 'RynthTracker';
4: Result := 'RynthVision';
else
Result := '';
end;
end;
function ExperimentalSelected(Index: Integer): Boolean;
begin
Result := WizardIsComponentSelected('experimental\' + Lowercase(ExperimentalPluginName(Index)));
end;
{ True when anything is going into the RynthSuite folder (controls the Suite folder page / memo line). }
function AnySuiteComponentSelected: Boolean;
var
I: Integer;
begin
Result := WizardIsComponentSelected('rynthai') or WizardIsComponentSelected('monstereditor');
for I := 0 to 4 do
if ExperimentalSelected(I) then
Result := True;
end;
// {code:GetPendingPlugins}: ';'-separated plugin DLLs for the launcher to add to its Plugins list on next start.
function GetPendingPlugins(Param: string): string;
var
I: Integer;
Name: string;
begin
Result := '';
if WizardIsComponentSelected('rynthai') then
Result := GetSuiteDir('') + '\RynthAi\RynthCore.Plugin.RynthAi.dll';
for I := 0 to 4 do
if ExperimentalSelected(I) then
begin
Name := ExperimentalPluginName(I);
if Result <> '' then
Result := Result + ';';
Result := Result + GetSuiteDir('') + '\' + Name + '\RynthCore.Plugin.' + Name + '.dll';
end;
end;
function HasPendingPlugins: Boolean;
begin
Result := GetPendingPlugins('') <> '';
end;
procedure InitializeWizard;
var
Initial: string;
@ -210,7 +282,7 @@ begin
SuiteDirPage := CreateInputDirPage(wpSelectComponents,
'Select RynthSuite Location',
'Where should the RynthSuite plugins and their data be installed?',
'RynthAi and the Monster Editor will be installed into the RynthSuite folder below, and your ' +
'RynthAi, the Monster Editor and any experimental plugins you picked will be installed into the RynthSuite folder below, and your ' +
'profiles (nav, loot, meta, settings) are kept there. To continue, click Next. ' +
'If you would like to select a different folder, click Browse.',
False, 'RynthSuite');
@ -233,9 +305,7 @@ end;
function ShouldSkipPage(PageID: Integer): Boolean;
begin
{ No Suite components selected → no Suite folder to choose. }
Result := (SuiteDirPage <> nil) and (PageID = SuiteDirPage.ID)
and not WizardIsComponentSelected('rynthai')
and not WizardIsComponentSelected('monstereditor');
Result := (SuiteDirPage <> nil) and (PageID = SuiteDirPage.ID) and not AnySuiteComponentSelected;
end;
function NextButtonClick(CurPageID: Integer): Boolean;
@ -266,7 +336,7 @@ function UpdateReadyMemo(Space, NewLine, MemoUserInfoInfo, MemoDirInfo, MemoType
MemoComponentsInfo, MemoGroupInfo, MemoTasksInfo: String): String;
begin
Result := MemoDirInfo + NewLine;
if WizardIsComponentSelected('rynthai') or WizardIsComponentSelected('monstereditor') then
if AnySuiteComponentSelected then
Result := Result + 'RynthSuite location:' + NewLine + Space + GetSuiteDir('') + NewLine;
Result := Result + NewLine + MemoComponentsInfo;
if MemoTasksInfo <> '' then

View file

@ -1 +1 @@
2026.10.4.2
2026.10.4.3