diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 965d92d..599ecc2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -76,7 +76,8 @@ jobs: $parent = Split-Path "$env:GITHUB_WORKSPACE" -Parent & "$env:GITHUB_WORKSPACE\installer\Build-Installer.ps1" ` -RynthSuiteRoot "$parent\RynthSuite" ` - -Version "${{ steps.ver.outputs.version }}" + -Version "${{ steps.ver.outputs.version }}" ` + -SkipUbRythai # ── Tag (manual dispatch only — tag-push already has a tag) ─────────────── - name: Create tag (manual dispatch) @@ -94,11 +95,11 @@ jobs: with: tag_name: ${{ steps.ver.outputs.tag }} name: RynthCore ${{ steps.ver.outputs.tag }} - files: installer/Output/RynthCore-Setup.exe + files: installer/Output/RynthBundle-Setup-${{ steps.ver.outputs.version }}.exe body: | ## Installation - 1. Download **RynthCore-Setup.exe** below and run it + 1. Download **RynthBundle-Setup-${{ steps.ver.outputs.version }}.exe** below and run it 2. Start Asheron's Call and log in to your character 3. Open **RynthCore** from the Start Menu or Desktop shortcut 4. Click **Inject Running AC** in the launcher diff --git a/.gitignore b/.gitignore index 7b4ebe5..9218868 100644 --- a/.gitignore +++ b/.gitignore @@ -42,3 +42,5 @@ scratch/ # Installer build artifacts installer/staging/ installer/Output/ +# Prior bundle installers archived on version bump (see installer/previous-release/last-built-version.txt) +installer/previous-release/*.exe diff --git a/BUILD.md b/BUILD.md index 8621a80..3474a86 100644 --- a/BUILD.md +++ b/BUILD.md @@ -132,23 +132,46 @@ To confirm NativeAOT actually ran, check that `.lib` and `.exp` files exist alon ## Installer -The `installer/` directory contains an Inno Setup script and a PowerShell build script that publishes all three projects, stages the output, and produces a single `RynthCore-Setup.exe`. +The `installer/` directory contains an Inno Setup script and a PowerShell build script that publishes the launcher, engine, **injector**, all discovered `RynthSuite` plugins, **ub-Rythai** (`RynthCore.Plugin.UbRythai`) when `..\ub-Rythai\` is present, and the RynthSuite tools, stages the output, and produces a single **`RynthBundle-Setup.exe`**. ### Prerequisites - [Inno Setup 6](https://jrsoftware.org/isdl.php) installed to the default location (`C:\Program Files (x86)\Inno Setup 6\`) -- All build prerequisites listed above (.NET 9 SDK, VS Build Tools) +- All build prerequisites listed above (matching .NET SDK for the solution, VS Build Tools for NativeAOT as needed) +- **RynthCore.exe** and **Runtime\RynthCore.Injector.exe** are published **self-contained** (they bundle .NET 10 x86) — no separate Desktop Runtime install is required to run the launcher or injector from the install folder. +- **LootEditor** and **MonsterEditor** remain framework-dependent (x64). If either fails to start, install [.NET Desktop Runtime 10 x64](https://dotnet.microsoft.com/en-us/download/dotnet/10.0/runtime). -### Build the installer +### Build the full release + installer (recommended) + +From the `RynthCore` repo root: + +```powershell +cd C:\Projects\RynthCore +.\Build-Release-All.ps1 -Version 0.4.2 +``` + +This builds `RynthCore.sln` in **Release**, then runs `installer\Build-Installer.ps1` (same as below). + +### Build the installer only + +`RynthSuite` must be a **sibling** folder of `RynthCore` (e.g. `C:\Projects\RynthCore` and `C:\Projects\RynthSuite`), or pass `-RynthSuiteRoot`. **ub-Rythai** is picked up from the sibling **`ub-Rythai`** folder when `ub-Rythai\RynthCore.Plugin.UbRythai\RynthCore.Plugin.UbRythai.csproj` exists (override with `-UbRythaiPluginProject`, or use `-SkipUbRythai` to omit). ```powershell cd C:\Projects\RynthCore\installer -.\Build-Installer.ps1 +.\Build-Installer.ps1 -Version 0.4.2 ``` -This runs three `dotnet publish` steps (Launcher, Engine, Plugin), stages everything under `installer\staging\app\`, then invokes `ISCC.exe` to produce the installer. +This runs publish steps for launcher (self-contained x86) + engine (NativeAOT) + injector (self-contained x86) + all `RynthCore.Plugin.*` projects under RynthSuite, bundles the RynthSuite tools (`LootEditor`, `MonsterEditor`) as framework-dependent win-x64 apps (x64 runtime may be required for those two), stages everything under `installer\staging\app\`, then invokes `ISCC.exe` to produce the installer. -Output: `installer\Output\RynthCore-Setup.exe` +Output: `installer\Output\RynthBundle-Setup.exe` (or `installer\Output\RynthBundle-Setup-.exe` when `-Version` is set — Inno **`OutputBaseFilename`** is versioned so the compile is not blocked by a locked `RynthBundle-Setup.exe`; the script then copies to the canonical name when possible). + +### Previous release folder + +When you pass **`-Version`** to `Build-Installer.ps1` or `Build-Release-All.ps1`, the script compares it to `installer\previous-release\last-built-version.txt`. If that file lists a **different** version and `installer\Output\RynthBundle-Setup.exe` already exists, the **existing** setup exe is copied to: + +`installer\previous-release\RynthBundle-Setup-.exe` + +After a **successful** Inno compile, `last-built-version.txt` is updated to the new `-Version`. Archived `*.exe` files are gitignored; commit **`last-built-version.txt`** with the current shipping bundle version so the next bump archives the right label. ### Options @@ -157,10 +180,15 @@ Output: `installer\Output\RynthCore-Setup.exe` | `-Configuration` | `Release` | Build configuration | | `-IsccPath` | `C:\Program Files (x86)\Inno Setup 6\ISCC.exe` | Path to the Inno Setup compiler | | `-SkipBuild` | off | Skip `dotnet publish` steps and re-package using the existing staging directory | +| `-UbRythaiPluginProject` | *(default sibling path)* | Full path to `RynthCore.Plugin.UbRythai.csproj` | +| `-SkipUbRythai` | off | Do not publish or stage ub-Rythai (e.g. CI without that repo) | ### What the installer does -- Installs the launcher, engine, and native dependencies to `C:\Games\RynthCore` (user-selectable) +- On **interactive** installs, shows an **advisory** wizard page after **Welcome** that checks for **.NET 10 (x64)** in the registry (see `RynthCore.iss` `[Code]`): **(1)** `Microsoft.WindowsDesktop.App` 10+ under `HKLM\SOFTWARE\dotnet\shared\...`, **(2)** `InstalledManifests\x64` keys containing `Manifest-10.`, **(3)** `sharedhost` **Version** 10+ under `SOFTWARE\dotnet\Setup\InstalledVersions\x64\` (and the parallel `SOFTWARE\Microsoft\dotnet\Setup\...` path). The same logic is implemented in C# as **`RynthCore.DesktopLog.NetDesktopX64Prerequisite`**; the launcher reports it in the activity line and `RynthCore-Launcher.log`. **Next is never disabled** for missing x64 runtime — install can complete; Loot/Monster may not start until you install the desktop/runtime from the linked page. On 32-bit Windows the page explains the tools are N/A. **Silent** installs skip that page. +- Installs the launcher and injector (self-contained x86 — .NET 10 is bundled with `RynthCore.exe` and `RynthCore.Injector.exe`), the engine, and native dependencies under `C:\Games\RynthCore` (user-selectable; default matches this layout) +- Installs all default `RynthSuite` plugin DLLs and **ub-Rythai** (when built) into `Runtime\Plugins` so they auto-load on first inject +- Installs `RynthCore.LootEditor` and `RynthCore.MonsterEditor` into `Tools\` as framework-dependent apps (requires .NET Desktop Runtime x64). - Creates data directories under `C:\Games\RynthSuite\RynthAi\` (NavProfiles, LootProfiles, MetaFiles, etc.) — these are preserved on uninstall - Adds Start Menu and optional Desktop shortcuts - Warns if `acclient.exe` is running (the engine DLL would be locked) @@ -175,3 +203,5 @@ Output: `installer\Output\RynthCore-Setup.exe` - **Engine publish copies a stale plugin** into the engine's publish output. Always deploy the plugin from the RynthSuite path last. - **cimgui.dll version must match ImGui.NET NuGet.** Post-1.90 struct layouts changed. A mismatched cimgui.dll causes `DisplaySize = <1, 1>` or font crashes. - **vswhere.exe must be on PATH** for NativeAOT link step. Add `C:\Program Files (x86)\Microsoft Visual Studio\Installer` to PATH if missing. + + diff --git a/Build-Release-All.ps1 b/Build-Release-All.ps1 new file mode 100644 index 0000000..858297d --- /dev/null +++ b/Build-Release-All.ps1 @@ -0,0 +1,56 @@ +#Requires -Version 5.1 +<# +.SYNOPSIS + Builds a full Release of RynthCore + RynthSuite and produces a single Windows installer. + +.DESCRIPTION + 1. Compiles the RynthCore.sln in Release (validates all SDK projects). + 2. Invokes installer\Build-Installer.ps1, which: + - Publishes launcher, engine, injector, RynthSuite plugin(s), ub-Rythai when present, LootEditor, MonsterEditor + - Stages files under installer\staging\app\ + - Compiles RynthCore.iss → installer\Output\RynthBundle-Setup.exe (requires Inno Setup 6) + - When -Version is set, archives the prior Output\RynthBundle-Setup.exe to installer\previous-release\ + +.PARAMETER Version + Optional version string written into the installer (e.g. 0.4.1). + +.EXAMPLE + .\Build-Release-All.ps1 -Version 0.4.2 + +.EXAMPLE + .\Build-Release-All.ps1 -Version 0.4.2 -SkipUbRythai # CI without ub-Rythai checkout +#> +param( + [string]$Version = "", + [string]$RynthSuiteRoot = "", + [string]$UbRythaiPluginProject = "", + [switch]$SkipUbRythai, + [string]$IsccPath = "C:\Program Files (x86)\Inno Setup 6\ISCC.exe" +) + +$ErrorActionPreference = "Stop" +# This script lives at the RynthCore repository root. +$RepoRoot = $PSScriptRoot + +$sln = Join-Path $RepoRoot "RynthCore.sln" +if (-not (Test-Path $sln)) { + throw "RynthCore.sln not found at: $sln" +} + +Write-Host "Building solution: $sln" -ForegroundColor Cyan +dotnet build $sln -c Release +if ($LASTEXITCODE -ne 0) { throw "Solution build failed (exit $LASTEXITCODE)" } + +$invokeArgs = @{ + Configuration = "Release" + IsccPath = $IsccPath + IncludeSuiteTools = $true + SkipBuild = $false +} +if ($Version) { $invokeArgs.Version = $Version } +if ($RynthSuiteRoot) { $invokeArgs.RynthSuiteRoot = $RynthSuiteRoot } +if ($UbRythaiPluginProject) { $invokeArgs.UbRythaiPluginProject = $UbRythaiPluginProject } +if ($SkipUbRythai) { $invokeArgs.SkipUbRythai = $true } + +& (Join-Path $RepoRoot "installer\Build-Installer.ps1") @invokeArgs +if ($LASTEXITCODE -ne 0) { throw "Build-Installer.ps1 failed (exit $LASTEXITCODE)" } diff --git a/Changelog/2026-04-22-inno-installer-prereq-dotnet-x64.md b/Changelog/2026-04-22-inno-installer-prereq-dotnet-x64.md new file mode 100644 index 0000000..bc0dbcc --- /dev/null +++ b/Changelog/2026-04-22-inno-installer-prereq-dotnet-x64.md @@ -0,0 +1,15 @@ +# Inno Setup — .NET 10+ Desktop (x64) prerequisite page (2026-04-22) + +## Summary + +`installer/RynthCore.iss` now includes a custom wizard page (after **Welcome**) that: + +- Detects .NET 10 in the 64-bit registry in **either** way: + - `HKLM\SOFTWARE\dotnet\shared\Microsoft.WindowsDesktop.App\` (version folder major ≥ 10), or + - `HKLM\SOFTWARE\Microsoft\dotnet\InstalledManifests\x64\` — any subkey name containing `Manifest-10.` (e.g. `...Manifest-10.0.100` under **InstalledManifests\x64** in `regedit`). +- Offers **Open download page** (Microsoft .NET 10 download hub) and **Check again** after the user installs. +- **Disables Next** on 64-bit Windows until the runtime is present, so file copy cannot start without it. +- On **32-bit** Windows, skips the requirement (tools are x64-only; `RynthCore.exe` still installs). +- On **silent** install (`/SILENT`, `/VERYSILENT`), **skips** the page so automation is not blocked; the admin must pre-provision the x64 runtime for the editors. + +RynthCore.exe / Injector remain self-contained; this check is only for the bundled **x64** tool exes. diff --git a/Changelog/2026-04-22-installer-prereq-sharedhost-and-bundled-runtime-fallback.md b/Changelog/2026-04-22-installer-prereq-sharedhost-and-bundled-runtime-fallback.md new file mode 100644 index 0000000..5bd24ea --- /dev/null +++ b/Changelog/2026-04-22-installer-prereq-sharedhost-and-bundled-runtime-fallback.md @@ -0,0 +1,18 @@ +# Changelog — Installer .NET 10 check + self-contained host fallback (2026-04-22) + +## Summary + +- **Inno (`RynthCore.iss`):** The prerequisite page for the x64 .NET 10+ Desktop/Loot-Monster tool chain now also treats a valid install as **HKLM64\SOFTWARE\dotnet\Setup\InstalledVersions\x64\sharedhost** (and the parallel `SOFTWARE\Microsoft\dotnet\Setup\...` key when present) when **Version** is **10+**. This matches how the runtime advertises the shared host, not only `...\shared\Microsoft.WindowsDesktop.App\...` or `InstalledManifests` (SDK) entries. +- **Build-Installer (`Build-Installer.ps1`):** Launcher and Injector `dotnet publish` for the bundle add **`-p:SelfContained=true -p:PublishSelfContained=true -p:RollForward=Disable`**. Self-contained apphosts should not roll forward to **%ProgramFiles%\dotnet\shared\...** when a matching **major** is bundled next to the executable. + +## Reason + +Users reported the app (or the installer) still “checking for .NET in the wrong place.” The registry under **Setup\InstalledVersions\x64\sharedhost** is a primary signal for a machine .NET host install. Separately, a self-contained build can still consult global locations unless **RollForward** is set to not roll to a **shared** host install. + +## Follow-up + +Rebuild the bundle with `Build-Installer.ps1 -Version ` and verify on a machine **without** a user-visible **WindowsDesktop.App** shared folder but **with** a normal .NET 10+ runtime (sharedhost) install. + +--- + +**Related assembly:** `RynthCore.App.Avalonia` **0.1.2** (Informational: `0.1.2-scd-rollforward-disable`). diff --git a/Changelog/2026-04-22-installer-previous-release-folder.md b/Changelog/2026-04-22-installer-previous-release-folder.md new file mode 100644 index 0000000..ca599b1 --- /dev/null +++ b/Changelog/2026-04-22-installer-previous-release-folder.md @@ -0,0 +1,12 @@ +# Changelog — Installer previous-release archive (2026-04-22) + +## Summary + +- **`installer\Build-Installer.ps1`:** When **`-Version`** is supplied and Inno Setup is about to run, if **`installer\previous-release\last-built-version.txt`** differs from that version and **`installer\Output\RynthBundle-Setup.exe`** exists, the existing setup is copied to **`installer\previous-release\RynthBundle-Setup-.exe`** before the new compile overwrites `Output\`. +- After a **successful** `ISCC` run, **`last-built-version.txt`** is rewritten to the new `-Version` string. +- **`.gitignore`:** `installer/previous-release/*.exe` so archived installers stay local; **`last-built-version.txt`** remains tracked (seeded at **0.4.1**). +- **`BUILD.md`:** Documents the behavior under the installer section. + +## Reason + +Keeps the last shipping bundle installer on disk when bumping **`-Version`**, without manual copies. diff --git a/Changelog/2026-04-22-launcher-injector-self-contained.md b/Changelog/2026-04-22-launcher-injector-self-contained.md new file mode 100644 index 0000000..d37979e --- /dev/null +++ b/Changelog/2026-04-22-launcher-injector-self-contained.md @@ -0,0 +1,17 @@ +# Launcher + Injector: self-contained publish (2026-04-22) + +## Problem + +`RynthCore.exe` and `RynthCore.Injector.exe` were built **framework-dependent**. On PCs without a global **.NET Desktop Runtime 10 (x86)**, Windows shows the standard apphost dialog (“You must install .NET to run this application”) — that is the OS host, not C# code in the app. + +## Change + +- **`installer/Build-Installer.ps1`:** `dotnet publish` for `RynthCore.App.Avalonia` and `RynthCore.Injector` now uses **`--self-contained true`** (still **win-x86**). The install layout carries the .NET host + runtime next to the apphosts; **no separate x86 runtime install** is required to run the launcher or injector from the game folder. +- **`installer/staging` prerequisites text:** `RynthCore-Prerequisites.txt` updated — x64 **only** for optional **LootEditor** / **MonsterEditor** (still FDD). +- **`installer/RynthCore.iss`:** Removed the Start Menu shortcut **“Install .NET Desktop Runtime (Download)”** so the primary experience does not push a global .NET install for the main app. +- **`BUILD.md`:** Aligned with the same story. +- **`RynthCore.App.Avalonia`:** Version **0.1.0 → 0.1.1** (informational tag `0.1.1-launcher-scd-installer`). + +## Tradeoff + +Installer and on-disk size grow (bundled .NET 10 x86 for two executables). This matches the request that the **app** not depend on a preinstalled runtime; only the **optional** x64 tools still document a separate download. diff --git a/Changelog/2026-04-22-minhook-preload-before-multiclient.md b/Changelog/2026-04-22-minhook-preload-before-multiclient.md new file mode 100644 index 0000000..76b9d38 --- /dev/null +++ b/Changelog/2026-04-22-minhook-preload-before-multiclient.md @@ -0,0 +1,12 @@ +# Changelog — MinHook preload before multi-client init (2026-04-22) + +## Summary + +- **EntryPoint:** `RynthCoreInit` now preloads `minhook.x86.dll` from the resolved engine directory **before** `MultiClientHooks.Initialize()` runs. +- **Reason:** Multi-client hooks call MinHook P/Invokes immediately; without an explicit `LoadLibrary` on the full path, Windows often searches from the **AC client** directory first, producing `Unable to load DLL 'minhook.x86.dll'` even when the file exists under `Runtime\`. The init thread’s later preload was too late for that first hook pass. +- **Build stamp:** `EntryPoint.BuildStamp` bumped to `2026-04-22-v55-minhook-before-multiclient`. + +## User-visible effect + +- Fewer spurious **“multi-client hook failed - Unable to load DLL 'minhook.x86.dll'”** lines when `minhook.x86.dll` is deployed next to the engine. +- Init thread still preloads MinHook (harmless duplicate load if already mapped). diff --git a/Changelog/2026-04-22-net-prereq-launcher-matches-inno.md b/Changelog/2026-04-22-net-prereq-launcher-matches-inno.md new file mode 100644 index 0000000..fb186ce --- /dev/null +++ b/Changelog/2026-04-22-net-prereq-launcher-matches-inno.md @@ -0,0 +1,16 @@ +# Changelog — Launcher .NET 10+ x64 probe matches Inno (2026-04-22) + +## Problem + +The installer’s prerequisite page used specific **HKLM64** rules for the **Loot/Monster** x64 FDD tools, while the launcher only reported **x86** self-contained **sidecar** files (`RynthCore.runtimeconfig.json` / `deps.json`). That was a different notion of “runtime” and was easy to confuse with the setup’s **registry** check. + +## Change + +- **`src/RynthCore.DesktopLog/NetDesktopX64Prerequisite.cs`:** Implements the same three registry paths as **`installer/RynthCore.iss`**: `Microsoft.WindowsDesktop.App` 10+ folders, `InstalledManifests\x64` **manifest-10.**, and **`sharedhost` Version** 10+ under `dotnet\Setup` and `Microsoft\dotnet\Setup`. Uses **`RegistryView.Registry64`**. On 32-bit OS, returns “satisfied” (N/A) like Inno. +- **`LauncherHostDiagnostics`:** The activity line and `RynthCore-Launcher.log` now include a clear **x64 suite tools** line with the same result as setup, plus the official download URL when not detected. +- **`RynthCore.iss`:** Comment points maintainers to **`NetDesktopX64Prerequisite.cs`**. + +## Versions + +- **RynthCore.DesktopLog** `1.0.0` → **`1.0.1`** +- **RynthCore.App.Avalonia** `0.1.2` → **`0.1.3`** diff --git a/Changelog/2026-04-22-plugin-extra-path-dedupe-hot-reload.md b/Changelog/2026-04-22-plugin-extra-path-dedupe-hot-reload.md new file mode 100644 index 0000000..8c1e79d --- /dev/null +++ b/Changelog/2026-04-22-plugin-extra-path-dedupe-hot-reload.md @@ -0,0 +1,16 @@ +# RynthCore Engine v57 — plugin extra path dedupe and unload cleanup + +**Build stamp:** `2026-04-22-v57-plugin-extra-path-dedupe` + +## Problem + +When the same logical DLL appeared twice — typically `RynthCore.Plugin.RynthAi.dll` under `Runtime\Plugins\` and again as an **extra plugin path** (e.g. `C:\Games\Rynthcore\RynthCore.Plugin.RynthAi.dll`) — the loader staged both copies into the same per-session shadow directory using the **same file name**. The second `File.Copy(..., overwrite: true)` failed with *The process cannot access the file ... because it is being used by another process*, which cluttered logs and could confuse hot-reload behavior for plugins loaded afterward (e.g. **ub-Rythai** / `RynthCore.Plugin.UbRythai.dll`). + +## Changes + +1. **`PluginManager.LoadPluginsFromDisk`** — Skips an extra path when its file name (or canonical full path) was already loaded from the default plugins directory or from an earlier extra entry. +2. **`LoadedPlugin.ClearResolvedDelegates`** / **`PluginLoader.Unload`** — Clears resolved managed delegates before `FreeLibrary` so the native module reference count can drop cleanly on rescan. + +## User action + +If you intentionally need two different builds under the **same** DLL file name, remove the duplicate path from the launcher list or rename one DLL; the engine now loads at most one instance per file name per session. diff --git a/Changelog/2026-04-22-release-0.4.1.md b/Changelog/2026-04-22-release-0.4.1.md new file mode 100644 index 0000000..e2864ac --- /dev/null +++ b/Changelog/2026-04-22-release-0.4.1.md @@ -0,0 +1,37 @@ +# Release notes — RynthBundle **0.4.1** (2026-04-22) + +## Installer + +- **Output:** `installer\Output\RynthBundle-Setup.exe` +- **App version (Inno Setup):** `0.4.1` (passed to `Build-Release-All.ps1` / `Build-Installer.ps1` via `-Version`). +- **Full pipeline:** `RynthCore.sln` **Release** build, then publish (launcher self-contained x86, engine NativeAOT x86, injector x86, RynthSuite plugins, LootEditor + MonsterEditor self-contained x64), staging, **ISCC** compile — completed successfully on this date. + +## Previous release (archived version label) + +- **Prior documented bundle version:** **0.4.0** (examples in `BUILD.md` before this release). Use **0.4.1** for new builds and release tagging going forward. + +## Highlights in this bundle + +### Security + +- **Tmds.DBus.Protocol** pinned to **0.21.3** where Avalonia pulled vulnerable **0.20.x** (versions below **0.21.3** on that package line; **NU1903**, [GHSA-xrw6-gwf8-vvr9](https://github.com/tmds/Tmds.DBus/security/advisories/GHSA-xrw6-gwf8-vvr9)). See `Changelog/2026-04-22-tmds-dbus-protocol-security.md`. + +### Engine build stamp + +- **`EntryPoint.BuildStamp`:** `2026-04-22-v56-tmds-dbus-protocol-0213` (identifies injected engine build at runtime). + +### Related detailed changelogs + +- `Changelog/2026-04-22-rynth-bundle-installer.md` — unified installer layout and staging behavior. +- `Changelog/2026-04-22-minhook-preload-before-multiclient.md` — MinHook preload ordering for multi-client hooks. + +## RynthSuite repo + +- Tools and plugins staged from sibling **`RynthSuite`** (or `-RynthSuiteRoot`). Suite-side dependency notes: `..\RynthSuite\Changelog\2026-04-22-tmds-dbus-protocol-security.md`. + +## Build command used + +```powershell +cd +.\Build-Release-All.ps1 -Version 0.4.1 -RynthSuiteRoot "\RynthSuite" +``` diff --git a/Changelog/2026-04-22-release-0.4.3-bundle.md b/Changelog/2026-04-22-release-0.4.3-bundle.md new file mode 100644 index 0000000..48dfd31 --- /dev/null +++ b/Changelog/2026-04-22-release-0.4.3-bundle.md @@ -0,0 +1,6 @@ +# RynthBundle 0.4.3 (2026-04-22) + +- **Setup:** `installer\Output\RynthBundle-Setup-0.4.3.exe` (copy also at `RynthBundle-Setup.exe` when the copy step succeeds). +- **Prior installer archived:** `installer\previous-release\RynthBundle-Setup-0.4.2.exe` (from last-built version **0.4.2** before this build). +- **Components:** RynthCore (launcher, engine, injector, `Runtime\` layout), RynthSuite plugins (e.g. RynthAi) + **LootEditor** and **MonsterEditor** under `Tools\`, and **ub-Rythai** (`RynthCore.Plugin.UbRythai`) in `Runtime\Plugins\` when the sibling `ub-Rythai` repo is present. +- **Build:** `Build-Release-All.ps1 -Version 0.4.3` at repo root (runs `dotnet build` then `installer\Build-Installer.ps1`). diff --git a/Changelog/2026-04-22-release-0.4.7-bundle.md b/Changelog/2026-04-22-release-0.4.7-bundle.md new file mode 100644 index 0000000..2c65117 --- /dev/null +++ b/Changelog/2026-04-22-release-0.4.7-bundle.md @@ -0,0 +1,14 @@ +# RynthBundle 0.4.7 (2026-04-22) + +- **Setup:** `installer\Output\RynthBundle-Setup-0.4.7.exe` (and `RynthBundle-Setup.exe` when the canonical copy succeeds). +- **Version bump:** from **0.4.6**; prior bundle archived under `installer\previous-release\` when present; `last-built-version.txt` → **0.4.7** after a successful ISCC run with `-Version`. +- **Bundle:** RynthCore (launcher, engine, injector), RynthSuite plugins + tools, **ub-Rythai** when the sibling repo is present next to RynthCore. +- **Notable RynthAi in this line:** **0.6.8** — assembly / informational version bump for this distribution build (previous plugin line: **0.6.7**). +- **Launcher:** `LauncherHostDiagnostics.cs` — add missing `using System;` so `dotnet publish` of the Avalonia host succeeds (`AppContext`, `Environment`). +- **Build:** From the RynthCore repo root: + + ```powershell + .\Build-Release-All.ps1 -Version 0.4.7 + ``` + + With a non-default layout, pass **`-RynthSuiteRoot`** (and optionally **`-UbRythaiPluginProject`** / **`-SkipUbRythai`**) as documented in `Build-Release-All.ps1`. diff --git a/Changelog/2026-04-22-release-0.4.8.md b/Changelog/2026-04-22-release-0.4.8.md new file mode 100644 index 0000000..7fabe6a --- /dev/null +++ b/Changelog/2026-04-22-release-0.4.8.md @@ -0,0 +1,28 @@ +# Release notes — RynthBundle **0.4.8** (2026-04-22) + +## Installer + +- **Primary output:** `installer\Output\RynthBundle-Setup-0.4.8.exe` (Inno **`OutputBaseFilename`** is versioned when **`-Version 0.4.8`** is passed to **`Build-Installer.ps1`**). +- **App version (Inno Setup):** `0.4.8`. +- **Pipeline:** launcher self-contained x86 (with **`RollForward=Disable`** on publish), engine NativeAOT x86, injector self-contained x86, **RynthSuite** `Plugins\RynthCore.Plugin.*`, **ub-Rythai** when present, LootEditor + MonsterEditor x64, staging, Inno Setup. + +## Highlights in this bundle + +- **.NET 10+ prerequisite (Loot/Monster tools):** `RynthCore.iss` also accepts **`HKLM\SOFTWARE\dotnet\Setup\InstalledVersions\x64\sharedhost`** (and the parallel **`SOFTWARE\Microsoft\dotnet\Setup\...`** key) when **`Version`** is **10+**. See `Changelog/2026-04-22-installer-prereq-sharedhost-and-bundled-runtime-fallback.md`. +- **Launcher / injector publish:** `Build-Installer.ps1` passes **`-p:SelfContained=true -p:PublishSelfContained=true -p:RollForward=Disable`** for the bundled apphosts. +- **Launcher assembly:** `RynthCore.App.Avalonia` **0.1.2** (Informational: `0.1.2-scd-rollforward-disable`). + +## Build command used + +```powershell +cd "D:\asherons call-int code\RynthCore\installer" +.\Build-Installer.ps1 -Version 0.4.8 +``` + +## Previous bundle + +- **0.4.7** — prior **`last-built-version.txt`** before this build; see `installer\previous-release\` for archived **`RynthBundle-Setup.exe`** when the script bumps the version and the unversioned file was present. + +## Notes + +- Inno may emit: *Architecture identifier "x64" is deprecated* (harmless; substitute **`x64os`** / **`x64compatible`** is a follow-up for the **.iss** if desired). diff --git a/Changelog/2026-04-22-release-0.4.9.md b/Changelog/2026-04-22-release-0.4.9.md new file mode 100644 index 0000000..2e3e08f --- /dev/null +++ b/Changelog/2026-04-22-release-0.4.9.md @@ -0,0 +1,27 @@ +# Release notes — RynthBundle **0.4.9** (2026-04-22) + +## Installer + +- **Primary output:** `installer\Output\RynthBundle-Setup-0.4.9.exe` +- **App version (Inno Setup):** `0.4.9` +- **Pipeline:** `Build-Installer.ps1 -Version 0.4.9` — self-contained launcher/injector, NativeAOT engine + plugins, Loot/Monster x64 FDD, staging, Inno (same as **0.4.8**). + +## Highlights in this bundle + +- **x64 .NET 10+ probe parity:** Launcher uses **`RynthCore.DesktopLog.NetDesktopX64Prerequisite`** (registry checks aligned with `RynthCore.iss`); see `Changelog/2026-04-22-net-prereq-launcher-matches-inno.md`. +- **RynthCore.App.Avalonia** **0.1.3** · **RynthCore.DesktopLog** **1.0.1** + +## Build command used + +```powershell +cd "D:\asherons call-int code\RynthCore\installer" +.\Build-Installer.ps1 -Version 0.4.9 +``` + +## Previous bundle + +- **0.4.8** — `Changelog/2026-04-22-release-0.4.8.md` + +## Notes + +- Inno may show the **deprecated “x64”** architecture warning (see **0.4.8** release notes). diff --git a/Changelog/2026-04-22-rynth-bundle-installer.md b/Changelog/2026-04-22-rynth-bundle-installer.md new file mode 100644 index 0000000..224544d --- /dev/null +++ b/Changelog/2026-04-22-rynth-bundle-installer.md @@ -0,0 +1,27 @@ +# Changelog — RynthBundle unified installer (2026-04-22) + +## Summary + +- **Single installer output:** `installer\Output\RynthBundle-Setup.exe` (Inno Setup 6). +- **Build entry point:** repository root script `Build-Release-All.ps1` builds `RynthCore.sln` in Release, then runs `installer\Build-Installer.ps1`. +- **Bundled components:** + - RynthCore Avalonia launcher (self-contained x86), renamed to `RynthCore.exe` + - RynthCore Engine (NativeAOT x86) and native dependencies under `Runtime\` + - **RynthCore.Injector** (framework-dependent x86 publish) under `Runtime\` for manual CLI injection + - All RynthSuite `Plugins\RynthCore.Plugin.*` projects discovered under the sibling `RynthSuite` repo — published to `Runtime\Plugins\` and RynthAi DLL mirrored under `Suite\RynthAi\` + - **LootEditor** and **MonsterEditor** (self-contained x64) under `Tools\` with full publish trees (including `runtimes\` subfolders) + +## Installer script fixes + +- **Recursive staging:** self-contained and framework-dependent publish outputs that include subdirectories are now copied in full; previously only top-level files were copied, which broke tool publishing. +- **Injector:** included in the publish and staging steps so the bundle matches a full RynthCore deployment. + +## Documentation + +- `BUILD.md` updated to reference `RynthBundle-Setup.exe` and the root `Build-Release-All.ps1` flow. + +## Prerequisites (unchanged) + +- .NET SDK (matching project `TargetFramework`, e.g. .NET 10) and Visual Studio build prerequisites for NativeAOT where applicable +- [Inno Setup 6](https://jrsoftware.org/isdl.php) for compiling `installer\RynthCore.iss` +- `RynthSuite` as a **sibling** of `RynthCore` (same parent folder), or pass `-RynthSuiteRoot` to `Build-Installer.ps1` diff --git a/Changelog/2026-04-22-tmds-dbus-protocol-security.md b/Changelog/2026-04-22-tmds-dbus-protocol-security.md new file mode 100644 index 0000000..890c433 --- /dev/null +++ b/Changelog/2026-04-22-tmds-dbus-protocol-security.md @@ -0,0 +1,12 @@ +# Changelog — Tmds.DBus.Protocol security bump (2026-04-22) + +## Summary + +- **Packages:** Pinned **Tmds.DBus.Protocol** to **0.21.3** on projects that pull it transitively through Avalonia (Avalonia UI stack / FreeDesktop). +- **Reason:** NuGet audit **NU1903** — high severity [GHSA-xrw6-gwf8-vvr9](https://github.com/tmds/Tmds.DBus/security/advisories/GHSA-xrw6-gwf8-vvr9). Versions below **0.21.3** on this package line are affected; **0.21.3** is the maintained backport compatible with Avalonia 11.2.x. +- **Projects:** `RynthCore.App.Avalonia`, `RynthCore.Engine`. +- **Build stamp:** `EntryPoint.BuildStamp` set to `2026-04-22-v56-tmds-dbus-protocol-0213`. + +## User-visible effect + +- No functional change expected for normal Windows desktop use; dependency graph uses a patched protocol assembly and restores without the NU1903 advisory for these projects. diff --git a/Changelog/2026-04-23-installer-dotnet-prereq-advisory-only.md b/Changelog/2026-04-23-installer-dotnet-prereq-advisory-only.md new file mode 100644 index 0000000..9302462 --- /dev/null +++ b/Changelog/2026-04-23-installer-dotnet-prereq-advisory-only.md @@ -0,0 +1,13 @@ +# Changelog — Rynth bundle installer: .NET x64 prereq advisory only (2026-04-23) + +## Summary + +**`installer/RynthCore.iss`:** The post-Welcome **.NET 10+ (x64)** page for Loot/Monster tools is now **informational only**. **Next** stays enabled regardless of registry detection; copy and install always proceed. Copy and button text clarify that **`RynthCore.exe` / injector** remain self-contained. + +## Scope + +This policy applies to the **Rynth client / bundle installer** only. **UB-ILT / UBLoader** retains its own **UtilityBelt** net10 registry gate in **`FilterCore.LoadPluginAssembly`** (unchanged). + +## Related + +- **`RynthCore.DesktopLog.NetDesktopX64Prerequisite`** — unchanged; still mirrors the same registry paths for launcher log / activity alignment. diff --git a/Changelog/2026-04-23-launcher-host-diagnostics.md b/Changelog/2026-04-23-launcher-host-diagnostics.md new file mode 100644 index 0000000..57b202f --- /dev/null +++ b/Changelog/2026-04-23-launcher-host-diagnostics.md @@ -0,0 +1,18 @@ +# RynthCore launcher — host / runtime diagnostics + +Date: 2026-04-23 + +## Summary + +The Avalonia launcher (`RynthCore.App.Avalonia`, shipped as `RynthCore.exe` in the bundle) now logs **host resolution** details at startup: + +- **Activity panel:** one short line (`Host: … runtimeconfig=… deps=…`) so operators see sidecar status without opening log files. +- **Desktop log** (`RynthCore-Launcher.log`): multi-line block with `ProcessPath`, base directory, framework/OS/arch, CLR version, and presence of `RynthCore*.runtimeconfig.json` / `RynthCore*.deps.json` (including legacy `RynthCore.App.Avalonia.*` names for mismatch triage). + +## Why + +After renaming the published apphost to `RynthCore.exe`, mismatched host metadata filenames can cause false “install .NET” prompts. Sidecar logging makes that state obvious in the field. + +## Version + +- `RynthCore.App.Avalonia` NuGet-style `Version`: **0.1.0** (`InformationalVersion`: `0.1.0-launcher-host-diagnostics`). diff --git a/Changelog/2026-04-23-release-0.4.10-bundle-ub-rythai-ilt-banking.md b/Changelog/2026-04-23-release-0.4.10-bundle-ub-rythai-ilt-banking.md new file mode 100644 index 0000000..0615400 --- /dev/null +++ b/Changelog/2026-04-23-release-0.4.10-bundle-ub-rythai-ilt-banking.md @@ -0,0 +1,19 @@ +# RynthBundle 0.4.10 + +Date: 2026-04-23 + +## Summary + +Bundle refresh to ship **ub-Rythai 3.1.9** with UB-ILT-style **ILT mode** (`Auto` / `On` / `Off`), world-name auto list, manual banking override, and **banking** helpers (`/bank` refresh, balance parsing, transfers, optional auto-transfer). + +## Engine + +- `RynthCore.Engine` build stamp: `2026-04-23-v60-bundle-0410-ub-rythai-ilt-banking`. + +## Plugins + +- **RynthCore.Plugin.UbRythai** `3.1.9` — see `ub-Rythai/Changelog/Changelog-3.1.9-ilt-mode-and-banking.md`. + +## Installer + +- Run `installer\Build-Installer.ps1 -Version 0.4.10` to produce `RynthBundle-Setup-0.4.10.exe` (and canonical `RynthBundle-Setup.exe` copy when not locked). diff --git a/Changelog/2026-04-23-release-0.4.10.md b/Changelog/2026-04-23-release-0.4.10.md new file mode 100644 index 0000000..cc0770c --- /dev/null +++ b/Changelog/2026-04-23-release-0.4.10.md @@ -0,0 +1,20 @@ +# Release notes — RynthBundle **0.4.10** (2026-04-23) + +## Installer + +- **Output:** `installer\Output\RynthBundle-Setup-0.4.10.exe` +- **Inno app version:** `0.4.10` +- **Command:** `Build-Installer.ps1 -Version 0.4.10` + +## Highlights + +- **RynthAi** **0.6.9** (staged under `Runtime\Plugins\`) — VirindiTank dashboard import activates copied loot and merges text **MyMonsters** `.usd` for the current character; see `RynthSuite/Changelog/2026-04-23-rynthai-vt-import-active-character.md`. +- **RynthCore installer:** .NET x64 prerequisite page remains **advisory** (Next never blocked); see `Changelog/2026-04-23-installer-dotnet-prereq-advisory-only.md`. + +## Previous bundle + +- **0.4.9** — `Changelog/2026-04-22-release-0.4.9.md` + +## Notes + +- Inno may emit the **deprecated “x64”** architecture warning (non-fatal). diff --git a/Changelog/2026-04-23-release-0.4.11-runtimeconfig-rename-fix.md b/Changelog/2026-04-23-release-0.4.11-runtimeconfig-rename-fix.md new file mode 100644 index 0000000..5db22dd --- /dev/null +++ b/Changelog/2026-04-23-release-0.4.11-runtimeconfig-rename-fix.md @@ -0,0 +1,32 @@ +# RynthBundle 0.4.11 + +Date: 2026-04-23 + +## Summary + +Fix launcher runtime detection so an installed .NET 10 runtime is correctly used instead of repeatedly showing a runtime-install prompt. + +## Root Cause + +The installer staging step renamed `RynthCore.App.Avalonia.exe` to `RynthCore.exe`, but did not rename: + +- `RynthCore.App.Avalonia.runtimeconfig.json` +- `RynthCore.App.Avalonia.deps.json` + +That mismatch can break host runtime resolution for the renamed apphost. + +## Fix + +Updated `installer/Build-Installer.ps1` so staging now renames launcher host metadata with the apphost: + +- `RynthCore.App.Avalonia.runtimeconfig.json` -> `RynthCore.runtimeconfig.json` +- `RynthCore.App.Avalonia.deps.json` -> `RynthCore.deps.json` + +## Build Stamp + +- `RynthCore.Engine` build stamp: `2026-04-23-v61-bundle-0411-runtime-detection-fix` + +## Build + +- `Build-Installer.ps1 -Version 0.4.11` +- Output: `installer/Output/RynthBundle-Setup-0.4.11.exe` diff --git a/Changelog/2026-04-23-release-0.4.2.md b/Changelog/2026-04-23-release-0.4.2.md new file mode 100644 index 0000000..8cc4c32 --- /dev/null +++ b/Changelog/2026-04-23-release-0.4.2.md @@ -0,0 +1,41 @@ +# Release notes — RynthBundle **0.4.2** (2026-04-23) + +## Installer + +- **Primary output:** `installer\Output\RynthBundle-Setup-0.4.2.exe` (when `-Version 0.4.2` is passed, `Build-Installer.ps1` sets Inno **`OutputBaseFilename`** to a versioned name so the compile succeeds even if `RynthBundle-Setup.exe` is locked by another process). +- **Canonical copy:** the script **best-effort** copies that file to `installer\Output\RynthBundle-Setup.exe` when possible (skip if the destination is open). +- **App version (Inno Setup):** `0.4.2` (pass `-Version 0.4.2` to `Build-Release-All.ps1` / `Build-Installer.ps1`). +- **Pipeline:** `RynthCore.sln` **Release**, then publish (launcher self-contained x86, engine NativeAOT x86, injector x86, **RynthSuite** `Plugins\RynthCore.Plugin.*`, **ub-Rythai** `RynthCore.Plugin.UbRythai` when the sibling `ub-Rythai` repo is present, LootEditor + MonsterEditor x64), staging, Inno Setup. + +## Highlights in this bundle + +### ub-Rythai (Utility Belt–style RynthCore plugin) + +- **`installer\Build-Installer.ps1`** now discovers **`..\ub-Rythai\RynthCore.Plugin.UbRythai\RynthCore.Plugin.UbRythai.csproj`** (same parent folder as `RynthCore` and `RynthSuite`), publishes it with the other NativeAOT plugins, and stages **`RynthCore.Plugin.UbRythai.dll`** into **`Runtime\Plugins\`**. +- **`-SkipUbRythai`** omits that step (for environments without the checkout). **`-UbRythaiPluginProject`** overrides the project path. +- Plugin assembly version for this release line: **3.1.8** (`ub-Rythai/RynthCore.Plugin.UbRythai/RynthCore.Plugin.UbRythai.csproj`). + +### RynthCore engine + +- **Build stamp:** `2026-04-22-v57-plugin-extra-path-dedupe` — skips duplicate extra plugin paths that would re-stage the same DLL name and break hot reload; clears export delegates before `FreeLibrary` on unload. See `Changelog/2026-04-22-plugin-extra-path-dedupe-hot-reload.md`. + +## Build command used + +```powershell +cd +.\Build-Release-All.ps1 -Version 0.4.2 +``` + +With a non-default RynthSuite or ub-Rythai layout: + +```powershell +.\Build-Release-All.ps1 -Version 0.4.2 -RynthSuiteRoot "D:\src\RynthSuite" -UbRythaiPluginProject "D:\src\ub-Rythai\RynthCore.Plugin.UbRythai\RynthCore.Plugin.UbRythai.csproj" +``` + +## Previous bundle + +- **0.4.1** — `Changelog/2026-04-22-release-0.4.1.md`. When `-Version` bumps, `Build-Installer.ps1` may archive the prior `RynthBundle-Setup.exe` under `installer\previous-release\` (see `Changelog/2026-04-22-installer-previous-release-folder.md`). + +## GitHub Actions + +- **`.github/workflows/release.yml`** passes **`-SkipUbRythai`** until the workflow clones the **ub-Rythai** repo alongside RynthSuite (local `Build-Release-All.ps1` includes ub-Rythai when `..\ub-Rythai\` is present). Release artifact filename is **`RynthBundle-Setup-.exe`**. diff --git a/Changelog/2026-04-23-release-0.4.7-bundle.md b/Changelog/2026-04-23-release-0.4.7-bundle.md new file mode 100644 index 0000000..0103817 --- /dev/null +++ b/Changelog/2026-04-23-release-0.4.7-bundle.md @@ -0,0 +1,7 @@ +# RynthBundle 0.4.7 (2026-04-23) + +- **Setup:** `installer\Output\RynthBundle-Setup-0.4.7.exe` (and `RynthBundle-Setup.exe` when the canonical copy succeeds). +- **Version bump:** from **0.4.6**; prior bundle **0.4.6** archived under `installer\previous-release\`; `last-built-version.txt` → **0.4.7**. +- **Bundle:** RynthCore (launcher, engine, injector), RynthSuite plugins + tools, **ub-Rythai** when the sibling repo is present. +- **Notable RynthAi in this line:** **0.6.7** — missile auto-combat: correct launcher vs ammo detection (crossbow name no longer matches “bolt” ammo heuristic), skip loose ammo when resolving wielded launcher kind, wield slot fallback via `CurrentWieldedLocation`. +- **Build:** `Build-Release-All.ps1 -Version 0.4.7` from the RynthCore repo root. diff --git a/Changelog/2026-04-23-release-0.4.8-bundle-installer-streamline.md b/Changelog/2026-04-23-release-0.4.8-bundle-installer-streamline.md new file mode 100644 index 0000000..a58cebd --- /dev/null +++ b/Changelog/2026-04-23-release-0.4.8-bundle-installer-streamline.md @@ -0,0 +1,8 @@ +# RynthBundle 0.4.8 (2026-04-23) + +- **Setup:** `installer\Output\RynthBundle-Setup-0.4.8.exe` (and `RynthBundle-Setup.exe` when the canonical copy succeeds). +- **Version bump:** from **0.4.7**; prior bundle archived under `installer\previous-release\` when `-Version` differs; `last-built-version.txt` → **0.4.8**. +- **Installer streamlining:** + - Removed the duplicate **`Suite\RynthAi\RynthCore.Plugin.RynthAi.dll`** mirror; the plugin ships only under **`Runtime\Plugins\`**. User data and optional manual DLL copies remain under **`C:\Games\RynthSuite\RynthAi\`** (`[Dirs]` in `RynthCore.iss`). + - **Engine `cimgui`:** one shipped native next to `RynthCore.Engine.dll` — **`RynthCore.cimgui.dll`** only. MSBuild copies the prefixed name, then deletes redundant **`cimgui.dll`** / **`Native\*.cimgui*`** drops from ImGui.NET / ILC so the publish folder is not bloated. +- **Build:** `Build-Release-All.ps1 -Version 0.4.8` from the RynthCore repo root. diff --git a/Changelog/2026-04-23-release-0.4.9-runtime-fdd-bundle.md b/Changelog/2026-04-23-release-0.4.9-runtime-fdd-bundle.md new file mode 100644 index 0000000..20996b3 --- /dev/null +++ b/Changelog/2026-04-23-release-0.4.9-runtime-fdd-bundle.md @@ -0,0 +1,9 @@ +# RynthBundle 0.4.9 (2026-04-23) + +- **Setup:** `installer\Output\RynthBundle-Setup-0.4.9.exe` (and `RynthBundle-Setup.exe` when the canonical copy succeeds). +- **Version bump:** from **0.4.8**; prior bundle archived under `installer\previous-release\`; `last-built-version.txt` -> **0.4.9**. +- **Size reduction (major):** launcher and Suite tools are now **framework-dependent** instead of self-contained: + - `RynthCore.App.Avalonia` published `win-x86 --self-contained false` + - `RynthCore.LootEditor` and `RynthCore.MonsterEditor` published `win-x64 --self-contained false` +- **Runtime link only (no bundled download):** installer now includes a Start Menu shortcut to the official .NET runtime page and ships `RynthCore-Prerequisites.txt` in the install root with direct runtime guidance. +- **Build:** `Build-Release-All.ps1 -Version 0.4.9` from the RynthCore repo root. diff --git a/Changelog/2026-04-24-release-0.4.4-bundle.md b/Changelog/2026-04-24-release-0.4.4-bundle.md new file mode 100644 index 0000000..38aab8e --- /dev/null +++ b/Changelog/2026-04-24-release-0.4.4-bundle.md @@ -0,0 +1,6 @@ +# RynthBundle 0.4.4 (2026-04-24) + +- **Setup:** `installer\Output\RynthBundle-Setup-0.4.4.exe` (and `RynthBundle-Setup.exe` when the canonical copy step succeeds). +- **Prior version archived:** the previous `installer\Output\RynthBundle-Setup.exe` (**0.4.3**) was copied to `installer\previous-release\RynthBundle-Setup-0.4.3.exe` at build time; `last-built-version.txt` now records **0.4.4**. +- **Bundle contents (same as prior full bundles):** RynthCore (launcher, engine, injector, `Runtime\` tree); all **RynthSuite** `Plugins\RynthCore.Plugin.*` (e.g. RynthAi) plus **LootEditor** and **MonsterEditor** under `Tools\`; **ub-Rythai** (`RynthCore.Plugin.UbRythai`) from the sibling `ub-Rythai` repository. +- **Notable in this line:** RynthSuite **RynthCore.Plugin.RynthAi** is built at the current **0.6.4** line (suite tool path + IL3000 handling). Build entry point: `Build-Release-All.ps1 -Version 0.4.4`. diff --git a/Changelog/2026-04-25-desktop-rolling-logs.md b/Changelog/2026-04-25-desktop-rolling-logs.md new file mode 100644 index 0000000..49d4699 --- /dev/null +++ b/Changelog/2026-04-25-desktop-rolling-logs.md @@ -0,0 +1,8 @@ +# Desktop log rotation (2026-04-25) + +- New library **`RynthCore.DesktopLog`** with **`DesktopRollingLog`**: all lines append to **`Desktop\\{fileStem}.log`**. When a file would exceed **10 MB**, the current file is moved to **`Desktop\\RynthLogs\\`**, named **`{fileStem}-roll-yyyyMMdd-HHmmssfff.log`**, then a new active file is created. For each **file stem** and each **local calendar day**, at most **10** such rolled files are kept (oldest for that day deleted first so the new segment fits the cap). +- **Three log stems in use** + - **`RynthCore`** (was `RynthCore.log` only) — in-process engine output, same path as before. + - **`RynthCore-Launcher`** — one line on Avalonia app startup; writes **`RynthCore-Launcher.log`**, same rotation. + - **`RynthCore-Injector`** — injector console lines to **`RynthCore-Injector.log`**, same rotation; success message references all three and the `RynthLogs` archive folder. +- **Build stamp** updated to `2026-04-25-v58-desktop-log-rotate`. diff --git a/Changelog/2026-04-25-release-0.4.5-bundle.md b/Changelog/2026-04-25-release-0.4.5-bundle.md new file mode 100644 index 0000000..313fda3 --- /dev/null +++ b/Changelog/2026-04-25-release-0.4.5-bundle.md @@ -0,0 +1,7 @@ +# RynthBundle 0.4.5 (2026-04-25) + +- **Setup:** `installer\Output\RynthBundle-Setup-0.4.5.exe` (and `RynthBundle-Setup.exe` when the canonical copy succeeds). +- **Prior bundle:** `installer\previous-release\` archives the previous `RynthBundle-Setup.exe` when the version bumps; `last-built-version.txt` records **0.4.5**. +- **Contents:** Same bundle layout as prior releases — RynthCore (launcher, engine, injector), RynthSuite plugins + tools, **ub-Rythai** when the sibling repo is present. +- **Notable engine / host changes in this line:** desktop **log rotation** (10 MB active, up to 10 rolled files per day per log under `Desktop\RynthLogs`), three stems (`RynthCore.log`, `RynthCore-Launcher.log`, `RynthCore-Injector.log`), build stamp **v58**. +- **Build:** `Build-Release-All.ps1 -Version 0.4.5` from the RynthCore repo root. diff --git a/Changelog/2026-04-26-release-0.4.6-bundle.md b/Changelog/2026-04-26-release-0.4.6-bundle.md new file mode 100644 index 0000000..2c03da3 --- /dev/null +++ b/Changelog/2026-04-26-release-0.4.6-bundle.md @@ -0,0 +1,7 @@ +# RynthBundle 0.4.6 (2026-04-26) + +- **Setup:** `installer\Output\RynthBundle-Setup-0.4.6.exe` (and `RynthBundle-Setup.exe` when the canonical copy succeeds). +- **Version bump:** from **0.4.5**; prior bundle archived under `installer\previous-release\`; `last-built-version.txt` → **0.4.6**. +- **Bundle:** RynthCore (launcher, engine, injector), RynthSuite plugins + tools, **ub-Rythai** when the sibling repo is present. +- **Notable RynthAi in this line:** **0.6.6** — ImGui Monsters table `WidthFixed | NoResize` fix (assert when opening RynthAi UI). +- **Build:** `Build-Release-All.ps1 -Version 0.4.6` from the RynthCore repo root. diff --git a/Changelog/changelog-installer-full-rynthsuite-setup-2026-04-22.md b/Changelog/changelog-installer-full-rynthsuite-setup-2026-04-22.md new file mode 100644 index 0000000..bf3219a --- /dev/null +++ b/Changelog/changelog-installer-full-rynthsuite-setup-2026-04-22.md @@ -0,0 +1,19 @@ +## RynthCore Installer Update - Full RynthCore + RynthSuite Setup + +Date: 2026-04-22 + +### What changed +- Expanded `installer/Build-Installer.ps1` to package a full setup payload: + - Publishes launcher + engine. + - Discovers and publishes all default `RynthSuite` plugin projects (`RynthCore.Plugin.*`). + - Bundles `RynthCore.LootEditor` and `RynthCore.MonsterEditor` as self-contained tools. +- Updated installer staging to copy default plugin DLLs into `Runtime/Plugins` for automatic loading. +- ~~Added a mirrored `RynthAi` plugin copy under `Suite/RynthAi/` for data/profile adjacency.~~ **Removed in 0.4.8** — plugin lives only in `Runtime\Plugins\`; data stays under `C:\Games\RynthSuite\RynthAi\`. +- Updated `installer/RynthCore.iss`: + - Added `MonsterProfiles` data directory creation. + - Added Start Menu shortcuts for Loot Editor and Monster Editor when present. +- Updated `BUILD.md` installer documentation to reflect full setup behavior and default plugin autoload. + +### Why +- Provide one setup executable that installs both core runtime and suite defaults. +- Remove manual post-install steps for loading default plugins and installing suite tools. diff --git a/RynthCore.sln b/RynthCore.sln index 662fa62..8bc2031 100644 --- a/RynthCore.sln +++ b/RynthCore.sln @@ -7,6 +7,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RynthCore.Engine", "src\Ryn EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RynthCore.Injector", "src\RynthCore.Injector\RynthCore.Injector.csproj", "{A1B2C3D4-0002-0002-0002-000000000002}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RynthCore.DesktopLog", "src\RynthCore.DesktopLog\RynthCore.DesktopLog.csproj", "{D1E2F3A4-5678-4ABC-8DEF-1234567890AB}" +EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RynthCore.Plugin.RynthAi", "Plugins\RynthCore.Plugin.RynthAi\RynthCore.Plugin.RynthAi.csproj", "{A1B2C3D4-0005-0005-0005-000000000005}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{827E0CD3-B72D-47B6-A68D-7590B98EB39B}" @@ -51,6 +53,18 @@ Global {A1B2C3D4-0002-0002-0002-000000000002}.Release|Any CPU.Build.0 = Release|Any CPU {A1B2C3D4-0002-0002-0002-000000000002}.Release|x64.ActiveCfg = Release|Any CPU {A1B2C3D4-0002-0002-0002-000000000002}.Release|x64.Build.0 = Release|Any CPU + {D1E2F3A4-5678-4ABC-8DEF-1234567890AB}.Debug|x86.ActiveCfg = Debug|Any CPU + {D1E2F3A4-5678-4ABC-8DEF-1234567890AB}.Debug|x86.Build.0 = Debug|Any CPU + {D1E2F3A4-5678-4ABC-8DEF-1234567890AB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {D1E2F3A4-5678-4ABC-8DEF-1234567890AB}.Debug|Any CPU.Build.0 = Debug|Any CPU + {D1E2F3A4-5678-4ABC-8DEF-1234567890AB}.Debug|x64.ActiveCfg = Debug|Any CPU + {D1E2F3A4-5678-4ABC-8DEF-1234567890AB}.Debug|x64.Build.0 = Debug|Any CPU + {D1E2F3A4-5678-4ABC-8DEF-1234567890AB}.Release|x86.ActiveCfg = Release|Any CPU + {D1E2F3A4-5678-4ABC-8DEF-1234567890AB}.Release|x86.Build.0 = Release|Any CPU + {D1E2F3A4-5678-4ABC-8DEF-1234567890AB}.Release|Any CPU.ActiveCfg = Release|Any CPU + {D1E2F3A4-5678-4ABC-8DEF-1234567890AB}.Release|Any CPU.Build.0 = Release|Any CPU + {D1E2F3A4-5678-4ABC-8DEF-1234567890AB}.Release|x64.ActiveCfg = Release|Any CPU + {D1E2F3A4-5678-4ABC-8DEF-1234567890AB}.Release|x64.Build.0 = Release|Any CPU {A1B2C3D4-0005-0005-0005-000000000005}.Debug|x86.ActiveCfg = Debug|x86 {A1B2C3D4-0005-0005-0005-000000000005}.Debug|x86.Build.0 = Debug|x86 {A1B2C3D4-0005-0005-0005-000000000005}.Debug|Any CPU.ActiveCfg = Debug|Any CPU @@ -107,5 +121,6 @@ Global {2B283E05-12BB-45F9-B8E5-8F53C1FAB737} = {827E0CD3-B72D-47B6-A68D-7590B98EB39B} {BB0C5CB5-6C75-4C17-9348-5CA0C481B65C} = {827E0CD3-B72D-47B6-A68D-7590B98EB39B} {A72E31D3-5D91-4C39-A30C-A96A492BBE82} = {827E0CD3-B72D-47B6-A68D-7590B98EB39B} + {D1E2F3A4-5678-4ABC-8DEF-1234567890AB} = {827E0CD3-B72D-47B6-A68D-7590B98EB39B} EndGlobalSection EndGlobal diff --git a/build_out/RynthBundle-Setup-0.4.7.exe b/build_out/RynthBundle-Setup-0.4.7.exe new file mode 100644 index 0000000..170ed79 Binary files /dev/null and b/build_out/RynthBundle-Setup-0.4.7.exe differ diff --git a/installer/Build-Installer.ps1 b/installer/Build-Installer.ps1 index 27399cf..21b602f 100644 --- a/installer/Build-Installer.ps1 +++ b/installer/Build-Installer.ps1 @@ -1,14 +1,17 @@ #Requires -Version 5.1 <# .SYNOPSIS - Builds all RynthCore components and produces RynthCore-Setup.exe via Inno Setup. + Builds RynthCore + RynthSuite release outputs and produces RynthBundle-Setup.exe via Inno Setup. .DESCRIPTION - 1. Publishes the Avalonia launcher (self-contained, x86) + 1. Publishes the Avalonia launcher (self-contained, x86 — bundles .NET; no global runtime for RynthCore.exe) 2. Publishes RynthCore.Engine (NativeAOT, x86 -- ~2 min) - 3. Publishes RynthCore.Plugin.RynthAi (NativeAOT, x86) - 4. Stages all output under installer\staging\app\ - 5. Invokes ISCC.exe to produce installer\Output\RynthCore-Setup.exe + 3. Publishes RynthCore.Injector (self-contained, x86) + 4. Publishes every RynthCore.Plugin.* project under RynthSuite (NativeAOT, x86), plus + ub-Rythai (RynthCore.Plugin.UbRythai) when ../ub-Rythai/... exists or -UbRythaiPluginProject is set + 5. Optionally publishes LootEditor and MonsterEditor (framework-dependent, x64) + 6. Stages all output under installer\staging\app\ (recursive trees for tools and launcher) + 7. Invokes ISCC.exe to produce installer\Output\RynthBundle-Setup.exe .PARAMETER Configuration Build configuration. Default: Release @@ -29,12 +32,44 @@ param( # Version string injected into the installer (e.g. "0.3"). When omitted, # the version defined in RynthCore.iss is used as-is. [string]$Version = "", + # Include RynthSuite desktop tools (LootEditor + MonsterEditor) in setup. + [switch]$IncludeSuiteTools = $true, + # Full path to RynthCore.Plugin.UbRythai.csproj. Empty = default sibling ..\ub-Rythai\... + [string]$UbRythaiPluginProject = "", + # Omit ub-Rythai from the bundle (e.g. CI without that checkout). + [switch]$SkipUbRythai, [switch]$SkipBuild ) $ErrorActionPreference = "Stop" Set-StrictMode -Off +function Copy-PublishTree { + param( + [string]$SourceRoot, + [string]$DestRoot, + [switch]$ExcludePdb + ) + if (-not (Test-Path $SourceRoot)) { + throw "Publish output not found: $SourceRoot" + } + $srcFull = (Resolve-Path $SourceRoot).Path + # Normalize trailing separator so substring math is safe on Windows + if (-not $srcFull.EndsWith([IO.Path]::DirectorySeparatorChar)) { + $srcFull += [IO.Path]::DirectorySeparatorChar + } + Get-ChildItem $SourceRoot -Recurse -File | ForEach-Object { + if ($ExcludePdb -and $_.Extension -eq '.pdb') { return } + $rel = $_.FullName.Substring($srcFull.Length) + $target = Join-Path $DestRoot $rel + $parent = Split-Path $target -Parent + if ($parent -and -not (Test-Path $parent)) { + New-Item -ItemType Directory -Path $parent -Force | Out-Null + } + Copy-Item -LiteralPath $_.FullName -Destination $target -Force + } +} + $ScriptDir = $PSScriptRoot $RepoRoot = Split-Path $ScriptDir -Parent # e.g. C:\Projects\RynthCore $ProjectsRoot = Split-Path $RepoRoot -Parent # e.g. C:\Projects @@ -46,39 +81,124 @@ if (-not $RynthSuiteRoot) { $LauncherProject = "$RepoRoot\src\RynthCore.App.Avalonia\RynthCore.App.Avalonia.csproj" $EngineProject = "$RepoRoot\src\RynthCore.Engine\RynthCore.Engine.csproj" -$PluginProject = "$RynthSuiteRoot\Plugins\RynthCore.Plugin.RynthAi\RynthCore.Plugin.RynthAi.csproj" +$InjectorProject = "$RepoRoot\src\RynthCore.Injector\RynthCore.Injector.csproj" +$LootEditorProject = "$RynthSuiteRoot\Tools\RynthCore.LootEditor\RynthCore.LootEditor.csproj" +$MonsterEditorProject = "$RynthSuiteRoot\Tools\RynthCore.MonsterEditor\RynthCore.MonsterEditor.csproj" $LauncherPublish = "$RepoRoot\src\RynthCore.App.Avalonia\bin\$Configuration\net10.0-windows7.0\win-x86\publish" $EnginePublish = "$RepoRoot\src\RynthCore.Engine\bin\$Configuration\net10.0-windows\win-x86\publish" -$PluginPublish = "$RynthSuiteRoot\Plugins\RynthCore.Plugin.RynthAi\bin\$Configuration\net10.0-windows\win-x86\publish" +$InjectorPublish = "$RepoRoot\src\RynthCore.Injector\bin\$Configuration\net10.0-windows\win-x86\publish" + +$PluginProjects = @() +$pluginProjectFiles = Get-ChildItem -Path "$RynthSuiteRoot\Plugins" -Filter "RynthCore.Plugin.*.csproj" -File -Recurse -ErrorAction SilentlyContinue +foreach ($pluginProject in $pluginProjectFiles) { + $pluginName = [IO.Path]::GetFileNameWithoutExtension($pluginProject.Name) + $PluginProjects += [pscustomobject]@{ + Name = $pluginName + ProjectPath = $pluginProject.FullName + PublishPath = Join-Path $pluginProject.DirectoryName "bin\$Configuration\net10.0-windows\win-x86\publish" + DllPath = Join-Path (Join-Path $pluginProject.DirectoryName "bin\$Configuration\net10.0-windows\win-x86\publish") "$pluginName.dll" + } +} + +# ub-Rythai ships from a sibling repo (same layout as RynthSuite/README.md); publish + stage into Runtime\Plugins. +if (-not $SkipUbRythai) { + if ($UbRythaiPluginProject) { + $ubRythaiProj = $UbRythaiPluginProject + } + else { + $ubRythaiProj = "$ProjectsRoot\ub-Rythai\RynthCore.Plugin.UbRythai\RynthCore.Plugin.UbRythai.csproj" + } + + if (Test-Path -LiteralPath $ubRythaiProj) { + $ubDir = Split-Path $ubRythaiProj -Parent + $ubName = "RynthCore.Plugin.UbRythai" + $PluginProjects += [pscustomobject]@{ + Name = $ubName + ProjectPath = $ubRythaiProj + PublishPath = Join-Path $ubDir "bin\$Configuration\net10.0-windows\win-x86\publish" + DllPath = Join-Path (Join-Path $ubDir "bin\$Configuration\net10.0-windows\win-x86\publish") "$ubName.dll" + } + Write-Host "ub-Rythai plugin included: $ubRythaiProj" -ForegroundColor DarkCyan + } + else { + $warn = "ub-Rythai project not found (optional): $ubRythaiProj - RynthCore.Plugin.UbRythai.dll will be omitted. Clone next to RynthCore or pass -UbRythaiPluginProject." + Write-Warning $warn + } +} $StagingDir = "$ScriptDir\staging\app" # ── Validate projects ─────────────────────────────────────────────────────── -foreach ($p in @($LauncherProject, $EngineProject, $PluginProject)) { +foreach ($p in @($LauncherProject, $EngineProject, $InjectorProject)) { if (-not (Test-Path $p)) { throw "Project not found: $p`nUpdate paths in Build-Installer.ps1 if your repo layout differs." } } +if ($PluginProjects.Count -eq 0) { + throw "No RynthSuite plugin projects found under: $RynthSuiteRoot\Plugins" +} + +if ($IncludeSuiteTools) { + foreach ($p in @($LootEditorProject, $MonsterEditorProject)) { + if (-not (Test-Path $p)) { + throw "Suite tool project not found: $p" + } + } +} + if (-not $SkipBuild) { - # ── 1. Launcher (self-contained Avalonia WinExe) ───────────────────────── + $step = 0 + $totalSteps = 3 + $PluginProjects.Count + $(if ($IncludeSuiteTools) { 2 } else { 0 }) + + $step++ Write-Host "" - Write-Host "[1/3] Publishing Launcher (self-contained, x86)..." -ForegroundColor Cyan - dotnet publish $LauncherProject -c $Configuration -r win-x86 --self-contained true + # Self-contained: ship .NET 10 with the apphost so RynthCore.exe does not require a machine-wide + # Desktop Runtime (avoids the official apphost "You must install .NET" dialog on clean PCs). + Write-Host "[$step/$totalSteps] Publishing Launcher (self-contained, x86)..." -ForegroundColor Cyan + # RollForward=Disable: host must use bundled runtimes only (avoids probing %ProgramFiles%\dotnet\shared\...). + dotnet publish $LauncherProject -c $Configuration -r win-x86 --self-contained true ` + -p:SelfContained=true -p:PublishSelfContained=true -p:RollForward=Disable if ($LASTEXITCODE -ne 0) { throw "Launcher publish failed (exit $LASTEXITCODE)" } - # ── 2. Engine (NativeAOT — the slow one) ────────────────────────────────── + $step++ Write-Host "" - Write-Host "[2/3] Publishing Engine (NativeAOT, ~2 min)..." -ForegroundColor Cyan + Write-Host "[$step/$totalSteps] Publishing Engine (NativeAOT, ~2 min)..." -ForegroundColor Cyan dotnet publish $EngineProject -c $Configuration if ($LASTEXITCODE -ne 0) { throw "Engine publish failed (exit $LASTEXITCODE)" } - # ── 3. Plugin (NativeAOT) ───────────────────────────────────────────────── + $step++ Write-Host "" - Write-Host "[3/3] Publishing Plugin (NativeAOT)..." -ForegroundColor Cyan - dotnet publish $PluginProject -c $Configuration - if ($LASTEXITCODE -ne 0) { throw "Plugin publish failed (exit $LASTEXITCODE)" } + Write-Host "[$step/$totalSteps] Publishing Injector (self-contained, x86)..." -ForegroundColor Cyan + dotnet publish $InjectorProject -c $Configuration -r win-x86 --self-contained true ` + -p:SelfContained=true -p:PublishSelfContained=true -p:RollForward=Disable + if ($LASTEXITCODE -ne 0) { throw "Injector publish failed (exit $LASTEXITCODE)" } + + foreach ($plugin in $PluginProjects) { + $step++ + Write-Host "" + Write-Host "[$step/$totalSteps] Publishing plugin: $($plugin.Name) (NativeAOT)..." -ForegroundColor Cyan + dotnet publish $plugin.ProjectPath -c $Configuration + if ($LASTEXITCODE -ne 0) { throw "Plugin publish failed for $($plugin.Name) (exit $LASTEXITCODE)" } + } + + if ($IncludeSuiteTools) { + if (-not (Test-Path "$RepoRoot\installer\_toolpublish")) { + New-Item -ItemType Directory -Path "$RepoRoot\installer\_toolpublish" -Force | Out-Null + } + $step++ + Write-Host "" + Write-Host "[$step/$totalSteps] Publishing LootEditor (framework-dependent x64)..." -ForegroundColor Cyan + dotnet publish $LootEditorProject -c $Configuration -r win-x64 --self-contained false --output "$RepoRoot\installer\_toolpublish\LootEditor" + if ($LASTEXITCODE -ne 0) { throw "LootEditor publish failed (exit $LASTEXITCODE)" } + + $step++ + Write-Host "" + Write-Host "[$step/$totalSteps] Publishing MonsterEditor (framework-dependent x64)..." -ForegroundColor Cyan + dotnet publish $MonsterEditorProject -c $Configuration -r win-x64 --self-contained false --output "$RepoRoot\installer\_toolpublish\MonsterEditor" + if ($LASTEXITCODE -ne 0) { throw "MonsterEditor publish failed (exit $LASTEXITCODE)" } + } } # ── Stage ──────────────────────────────────────────────────────────────────── @@ -90,12 +210,49 @@ if (Test-Path "$ScriptDir\staging") { } New-Item -ItemType Directory -Path "$StagingDir\Runtime\Native" -Force | Out-Null New-Item -ItemType Directory -Path "$StagingDir\Runtime\Plugins" -Force | Out-Null +if ($IncludeSuiteTools) { + New-Item -ItemType Directory -Path "$StagingDir\Tools\LootEditor" -Force | Out-Null + New-Item -ItemType Directory -Path "$StagingDir\Tools\MonsterEditor" -Force | Out-Null +} -# Launcher root files (rename .exe → RynthCore.exe; drop .pdb) -foreach ($file in (Get-ChildItem "$LauncherPublish" -File)) { - if ($file.Extension -eq '.pdb') { continue } - $destName = if ($file.Name -eq 'RynthCore.App.Avalonia.exe') { 'RynthCore.exe' } else { $file.Name } - Copy-Item $file.FullName "$StagingDir\$destName" -Force +# Document runtime prerequisites: launcher + injector are self-contained; editor tools are FDD x64. +$prereqPath = Join-Path $StagingDir "RynthCore-Prerequisites.txt" +Set-Content -LiteralPath $prereqPath -Encoding UTF8 -Value @" +RynthCore Runtime Prerequisites +============================== + +RynthCore.exe and Runtime\RynthCore.Injector.exe are published self-contained (they bundle .NET 10 +x86). You do not need a separate .NET Desktop Runtime install to run the launcher or injector from +this folder. + +The optional suite tools (Loot Editor / Monster Editor) are framework-dependent x64. If they show +a missing-runtime dialog, install: + +- .NET Desktop Runtime 10 x64: + https://dotnet.microsoft.com/en-us/download/dotnet/10.0/runtime +"@ + +# Launcher (self-contained — copy full tree, then rename launcher host + host metadata files) +if (-not (Test-Path $LauncherPublish)) { + throw "Launcher publish not found: $LauncherPublish`nRun without -SkipBuild first." +} +Copy-PublishTree -SourceRoot $LauncherPublish -DestRoot $StagingDir -ExcludePdb +$avExe = "$StagingDir\RynthCore.App.Avalonia.exe" +if (Test-Path $avExe) { + Move-Item -LiteralPath $avExe -Destination "$StagingDir\RynthCore.exe" -Force + # Keep host metadata filenames in sync with the renamed apphost. + # If these remain as RynthCore.App.Avalonia.* the apphost can fail runtime resolution + # and show a ".NET install required" prompt even when .NET 10 is already installed. + $avRuntimeConfig = "$StagingDir\RynthCore.App.Avalonia.runtimeconfig.json" + if (Test-Path $avRuntimeConfig) { + Move-Item -LiteralPath $avRuntimeConfig -Destination "$StagingDir\RynthCore.runtimeconfig.json" -Force + } + $avDeps = "$StagingDir\RynthCore.App.Avalonia.deps.json" + if (Test-Path $avDeps) { + Move-Item -LiteralPath $avDeps -Destination "$StagingDir\RynthCore.deps.json" -Force + } +} else { + throw "Expected launcher executable not found after publish: RynthCore.App.Avalonia.exe under $LauncherPublish" } # Engine runtime files (into Runtime\, skip .pdb) @@ -112,10 +269,33 @@ if (Test-Path "$EnginePublish\Native") { } } -# Plugin DLL only (cimgui.dll excluded — already in Runtime from Engine) -$pluginDll = "$PluginPublish\RynthCore.Plugin.RynthAi.dll" -if (-not (Test-Path $pluginDll)) { throw "Plugin DLL not found at: $pluginDll" } -Copy-Item $pluginDll "$StagingDir\Runtime\Plugins\" -Force +# Injector (self-contained x86) — full publish tree into Runtime\ next to the engine +if (-not (Test-Path $InjectorPublish)) { + throw "Injector publish not found: $InjectorPublish`nRun without -SkipBuild, or publish RynthCore.Injector for $Configuration|win-x86." +} +Copy-PublishTree -SourceRoot $InjectorPublish -DestRoot "$StagingDir\Runtime" -ExcludePdb + +# Plugin DLLs only (cimgui.dll excluded — already in Runtime from Engine) +foreach ($plugin in $PluginProjects) { + if (-not (Test-Path $plugin.DllPath)) { + throw "Plugin DLL not found at: $($plugin.DllPath)" + } + + Copy-Item $plugin.DllPath "$StagingDir\Runtime\Plugins\" -Force +} + +if ($IncludeSuiteTools) { + foreach ($tool in @( + @{ Source = "$RepoRoot\installer\_toolpublish\LootEditor"; Dest = "$StagingDir\Tools\LootEditor" }, + @{ Source = "$RepoRoot\installer\_toolpublish\MonsterEditor"; Dest = "$StagingDir\Tools\MonsterEditor" } + )) { + if (-not (Test-Path $tool.Source)) { + throw "Tool publish output not found: $($tool.Source)" + } + # FDD x64 tools — copy the full tree (runtimes\ from NuGet, not a bundled .NET host) + Copy-PublishTree -SourceRoot $tool.Source -DestRoot $tool.Dest -ExcludePdb + } +} # Report staged sizes $engineDll = "$StagingDir\Runtime\RynthCore.Engine.dll" @@ -128,6 +308,41 @@ Write-Host " Total staged: ${totalMb} MB" Write-Host "Staging complete: $StagingDir" -ForegroundColor Green +# ── Archive prior bundle when -Version bumps ──────────────────────────────── +# Copies installer\Output\RynthBundle-Setup.exe to previous-release\ using the +# version recorded in previous-release\last-built-version.txt (updated after a +# successful ISCC when -Version is set). See BUILD.md "Previous release folder". +$previousReleaseDir = Join-Path $ScriptDir "previous-release" +$lastVersionFile = Join-Path $previousReleaseDir "last-built-version.txt" +$bundleExe = Join-Path $ScriptDir "Output\RynthBundle-Setup.exe" + +function Get-LastBuiltBundleVersion { + param([string]$Path) + if (-not (Test-Path -LiteralPath $Path)) { return "" } + return (Get-Content -LiteralPath $Path -Raw).Trim() +} + +function Get-SafeVersionFileSuffix { + param([string]$Ver) + # Allow digits, dots, letters, hyphen for Inno-style version labels. + $s = ($Ver -replace '[^\d\.\w\-]', '_') + if (-not $s) { return "unknown" } + return $s +} + +if ($Version) { + $versionTrim = $Version.Trim() + New-Item -ItemType Directory -Path $previousReleaseDir -Force | Out-Null + $lastVer = Get-LastBuiltBundleVersion -Path $lastVersionFile + if ((Test-Path -LiteralPath $bundleExe) -and $lastVer -and ($lastVer -ne $versionTrim)) { + $suffix = Get-SafeVersionFileSuffix -Ver $lastVer + $archivePath = Join-Path $previousReleaseDir "RynthBundle-Setup-$suffix.exe" + Write-Host "" + Write-Host "Archiving previous bundle ($lastVer) -> $archivePath" -ForegroundColor Cyan + Copy-Item -LiteralPath $bundleExe -Destination $archivePath -Force + } +} + # ── Inno Setup ─────────────────────────────────────────────────────────────── if (-not (Test-Path $IsccPath)) { Write-Host "" @@ -151,9 +366,15 @@ $issSource = "$ScriptDir\RynthCore.iss" # Source, staging\) still resolve from the installer\ directory. $issTmp = "$ScriptDir\RynthCore.tmp.iss" $issContent = Get-Content $issSource -Raw +$installerExeName = "RynthBundle-Setup" if ($Version) { - $issContent = $issContent -replace 'AppVersion=0\.0\.0', "AppVersion=$Version" - Write-Host " Version override: $Version" + $versionTrim = $Version.Trim() + $issContent = $issContent -replace 'AppVersion=0\.0\.0', "AppVersion=$versionTrim" + # Versioned .exe avoids Inno error 32 when Output\RynthBundle-Setup.exe is open in Explorer or AV. + $fnSuffix = Get-SafeVersionFileSuffix -Ver $versionTrim + $installerExeName = "RynthBundle-Setup-$fnSuffix" + $issContent = $issContent -replace 'OutputBaseFilename=RynthBundle-Setup', "OutputBaseFilename=$installerExeName" + Write-Host " Version override: $versionTrim (OutputBaseFilename=$installerExeName)" } Set-Content -Path $issTmp -Value $issContent -Encoding UTF8 @@ -164,6 +385,25 @@ try { Remove-Item $issTmp -Force -ErrorAction SilentlyContinue } +$builtInstaller = Join-Path $ScriptDir "Output\$installerExeName.exe" +# Best-effort copy to the legacy canonical name for scripts that expect RynthBundle-Setup.exe. +if ($Version -and (Test-Path -LiteralPath $builtInstaller)) { + $canonicalInstaller = Join-Path $ScriptDir "Output\RynthBundle-Setup.exe" + try { + Copy-Item -LiteralPath $builtInstaller -Destination $canonicalInstaller -Force + } + catch { + Write-Warning "Could not copy to RynthBundle-Setup.exe (file may be in use). Primary artifact: $builtInstaller" + } +} + +# Record the version that produced the bundle (enables archive on next bump). +if ($Version) { + New-Item -ItemType Directory -Path $previousReleaseDir -Force | Out-Null + [System.IO.File]::WriteAllText($lastVersionFile, $Version.Trim()) +} + Write-Host "" Write-Host "SUCCESS" -ForegroundColor Green -Write-Host "Installer: $ScriptDir\Output\RynthCore-Setup.exe" +Write-Host "Installer: $builtInstaller" + diff --git a/installer/RynthCore.iss b/installer/RynthCore.iss index 1985906..2afa55d 100644 --- a/installer/RynthCore.iss +++ b/installer/RynthCore.iss @@ -1,4 +1,4 @@ -; RynthCore + RynthAi Installer +; RynthCore + RynthSuite Installer ; Build with: Build-Installer.ps1 (requires Inno Setup 6) ; Source: https://jrsoftware.org/isdl.php ; @@ -19,7 +19,7 @@ DisableDirPage=no DefaultGroupName=RynthCore DisableProgramGroupPage=yes OutputDir=Output -OutputBaseFilename=RynthCore-Setup +OutputBaseFilename=RynthBundle-Setup SetupIconFile=..\src\RynthCore.App.Avalonia\LogoCore.ico Compression=lzma2/ultra64 SolidCompression=yes @@ -40,7 +40,7 @@ Name: desktopicon; Description: "Create a &desktop shortcut"; GroupDescription: ; Program files [Files] -; Installs the entire staging layout (launcher, Runtime\, Runtime\Plugins\, etc.) +; Installs the entire staging layout (launcher, Runtime\, Tools\, etc.) Source: "staging\app\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs ; Data directories (created once; never removed on uninstall) @@ -52,6 +52,7 @@ Name: "C:\Games\RynthSuite\RynthAi\MetaFiles"; Flags: uninsnev Name: "C:\Games\RynthSuite\RynthAi\MetaProfiles"; Flags: uninsneveruninstall Name: "C:\Games\RynthSuite\RynthAi\SettingsProfiles"; Flags: uninsneveruninstall Name: "C:\Games\RynthSuite\RynthAi\SettingsProfiles\ACEmulator"; Flags: uninsneveruninstall +Name: "C:\Games\RynthSuite\RynthAi\MonsterProfiles"; Flags: uninsneveruninstall Name: "C:\Games\RynthSuite\RynthAi\LuaScripts"; Flags: uninsneveruninstall Name: "C:\Games\RynthSuite\RynthAi\Logs"; Flags: uninsneveruninstall Name: "C:\Games\RynthSuite\RynthAi\pvars"; Flags: uninsneveruninstall @@ -61,7 +62,231 @@ Name: "C:\Games\RynthSuite\RynthAi\ItemGiver"; Flags: uninsnev [Icons] ; Start Menu Name: "{group}\RynthCore"; Filename: "{app}\RynthCore.exe"; WorkingDir: "{app}"; Comment: "Launch RynthCore and inject into Asheron's Call" +Name: "{group}\RynthCore Injector (CLI)"; Filename: "{app}\Runtime\RynthCore.Injector.exe"; WorkingDir: "{app}\Runtime"; Check: FileExists(ExpandConstant('{app}\Runtime\RynthCore.Injector.exe')) +Name: "{group}\RynthCore Loot Editor"; Filename: "{app}\Tools\LootEditor\RynthCore.LootEditor.exe"; WorkingDir: "{app}\Tools\LootEditor"; Check: FileExists(ExpandConstant('{app}\Tools\LootEditor\RynthCore.LootEditor.exe')) +Name: "{group}\RynthCore Monster Editor"; Filename: "{app}\Tools\MonsterEditor\RynthCore.MonsterEditor.exe"; WorkingDir: "{app}\Tools\MonsterEditor"; Check: FileExists(ExpandConstant('{app}\Tools\MonsterEditor\RynthCore.MonsterEditor.exe')) +; RynthCore.exe / Injector bundle .NET 10 (x86) — no Start Menu link nudging users to install a +; global runtime. See RynthCore-Prerequisites.txt for the optional x64 runtime (Loot/Monster tools). Name: "{group}\Uninstall RynthCore"; Filename: "{uninstallexe}" ; Optional Desktop shortcut (created only when the desktopicon task is checked) Name: "{autodesktop}\RynthCore"; Filename: "{app}\RynthCore.exe"; WorkingDir: "{app}"; Tasks: desktopicon + +; ── Advisory: .NET 10+ Desktop Runtime (x64) for Suite tools (Loot/Monster) ────────────── +; RynthCore.exe and the injector are self-contained. Loot/Monster are x64 FDD and need a +; machine runtime; this page informs only — Next is never disabled (Rynth client policy; not UB-ILT). +; Registry rules below must match src/RynthCore.DesktopLog/NetDesktopX64Prerequisite.cs (C#) — change both together. +[Code] +const + { Official landing page: user picks the x64 Desktop Runtime download. } + DotNet10DesktopDownloadUrl = 'https://dotnet.microsoft.com/en-us/download/dotnet/10.0/runtime'; + +var + PrereqPage: TWizardPage; + PrereqStatus: TNewStaticText; + PrereqButtonDownload: TNewButton; + PrereqButtonRecheck: TNewButton; + +{ Path A: shared Windows Desktop pack (FDD for WinForms/WPF) — e.g. Microsoft.WindowsDesktop.App\10.0.0 } +function IsWindowsDesktopSharedFramework10Plus: Boolean; +var + Names: TArrayOfString; + I, Major, DotPos: Integer; + S: String; +begin + Result := False; + if not RegGetSubkeyNames(HKLM64, 'SOFTWARE\dotnet\shared\Microsoft.WindowsDesktop.App', Names) then + Exit; + for I := 0 to GetArrayLength(Names) - 1 do + begin + S := Names[I]; + DotPos := Pos('.', S); + if DotPos > 0 then + begin + Major := StrToIntDef(Copy(S, 1, DotPos - 1), 0); + if Major >= 10 then + begin + Result := True; + Exit; + end; + end; + end; +end; + +{ Path B: .NET host registration (see learn.microsoft.com runtime discovery) — sharedhost Version 10+. + Uses HKLM64\SOFTWARE\dotnet\Setup\InstalledVersions\x64\sharedhost\Version + and the parallel Microsoft\dotnet\Setup key when present. } +function IsSharedHostVersion10PlusX64: Boolean; +var + V: String; + DotPos: Integer; + Major: Integer; +begin + Result := False; + if RegQueryStringValue(HKLM64, 'SOFTWARE\dotnet\Setup\InstalledVersions\x64\sharedhost', 'Version', V) then + begin + DotPos := Pos('.', V); + if DotPos > 0 then + begin + Major := StrToIntDef(Copy(V, 1, DotPos - 1), 0); + if Major >= 10 then + begin + Result := True; + Exit; + end; + end; + end; + if RegQueryStringValue(HKLM64, 'SOFTWARE\Microsoft\dotnet\Setup\InstalledVersions\x64\sharedhost', 'Version', V) then + begin + DotPos := Pos('.', V); + if DotPos > 0 then + begin + Major := StrToIntDef(Copy(V, 1, DotPos - 1), 0); + if Major >= 10 then + Result := True; + end; + end; +end; + +{ Path C: SDK / workload bands under Microsoft\dotnet\InstalledManifests\x64 + (e.g. ...Manifest-10.0.100). } +function IsDotNet10BandInInstalledManifestsX64: Boolean; +var + Names: TArrayOfString; + I: Integer; + S, L: String; +begin + Result := False; + if not RegGetSubkeyNames(HKLM64, 'SOFTWARE\Microsoft\dotnet\InstalledManifests\x64', Names) then + Exit; + for I := 0 to GetArrayLength(Names) - 1 do + begin + S := Names[I]; + L := LowerCase(S); + if Pos('manifest-10.', L) > 0 then + begin + Result := True; + Exit; + end; + end; +end; + +{ Satisfied if desktop pack 10+, InstalledManifests 10.x band, or x64 sharedhost Version 10+ (Path B). } +function IsNetDesktop10PlusX64Present: Boolean; +begin + Result := False; + { 32-bit Windows: no x64 Desktop host; treat as "not applicable" and let setup proceed. } + if (not IsWin64) then + begin + Result := True; + Exit; + end; + if IsWindowsDesktopSharedFramework10Plus or IsDotNet10BandInInstalledManifestsX64 or IsSharedHostVersion10PlusX64 then + Result := True; +end; + +procedure PrereqUpdateStatus; +var + Ok: Boolean; +begin + Ok := IsNetDesktop10PlusX64Present; + if Ok then + PrereqStatus.Font.Color := $008000 + else + PrereqStatus.Font.Color := $0000FF; + if (not IsWin64) then + begin + PrereqStatus.Font.Color := $004040; + PrereqStatus.Caption := '32-bit Windows: the bundled Loot/Monster tools need a 64-bit OS; ' + + 'RynthCore.exe will still be installed. You can skip the .NET x64 check.'; + end + else if Ok then + PrereqStatus.Caption := 'Microsoft .NET Desktop Runtime 10 or newer (x64) is already installed. You can continue.' + else + PrereqStatus.Caption := 'Not detected: Microsoft .NET 10+ Desktop Runtime (x64) for the Loot/Monster tools. ' + + 'You can still continue — RynthCore.exe does not need this. Install the x64 Desktop runtime when you use those tools ' + + '(use "Open download page" / "Check again").' + #13#10#13#10 + + 'RynthCore ships with its own .NET for the launcher and injector.'; + PrereqButtonRecheck.Enabled := not Ok; + { Always allow Next: advisory-only page for the Rynth bundle installer. } + WizardForm.NextButton.Enabled := True; +end; + +procedure PrereqOpenDownloadClick(Sender: TObject); +var + E: Integer; +begin + if not ShellExec('open', DotNet10DesktopDownloadUrl, '', '', SW_SHOWNORMAL, ewNoWait, E) then + MsgBox('Could not open the web browser. Copy this address:'#13#10#13#10 + DotNet10DesktopDownloadUrl, mbError, MB_OK); +end; + +procedure PrereqRecheckClick(Sender: TObject); +begin + PrereqUpdateStatus; +end; + +procedure InitializeWizard; +var + RowTop: Integer; +begin + PrereqPage := CreateCustomPage( + wpWelcome, + 'Optional runtime (Suite tools)', + 'The Loot Editor and Monster Editor are x64 apps and need the Microsoft .NET 10+ Desktop Runtime (x64) on the PC to run. ' + + 'Setup does not require it to finish — RynthCore.exe and the injector bundle their own .NET.' + ); + PrereqStatus := TNewStaticText.Create(PrereqPage); + with PrereqStatus do + begin + Parent := PrereqPage.Surface; + Top := 0; + Left := 0; + WordWrap := True; + AutoSize := False; + Height := 128; + Width := PrereqPage.SurfaceWidth; + end; + RowTop := PrereqStatus.Top + PrereqStatus.Height + 16; + PrereqButtonDownload := TNewButton.Create(PrereqPage); + with PrereqButtonDownload do + begin + Parent := PrereqPage.Surface; + Top := RowTop; + Left := 0; + Width := 200; + Caption := 'Open download page'; + OnClick := @PrereqOpenDownloadClick; + end; + PrereqButtonRecheck := TNewButton.Create(PrereqPage); + with PrereqButtonRecheck do + begin + Parent := PrereqPage.Surface; + Top := RowTop; + Left := PrereqButtonDownload.Left + PrereqButtonDownload.Width + 12; + Width := 160; + Caption := 'Check again'; + OnClick := @PrereqRecheckClick; + end; + PrereqUpdateStatus; +end; + +procedure CurPageChanged(CurPageID: Integer); +begin + if (PrereqPage <> nil) and (CurPageID = PrereqPage.ID) then + PrereqUpdateStatus; +end; + +function ShouldSkipPage(PageID: Integer): Boolean; +begin + { Silent (or very silent) install: no GUI to open the download page. Admin must pre-install the x64 runtime. } + if (PrereqPage <> nil) and (PageID = PrereqPage.ID) and WizardSilent then + Result := True + else + Result := False; +end; + +function NextButtonClick(CurPageID: Integer): Boolean; +begin + { Prereq page is advisory only — never block Next on .NET detection (Rynth client installer only). } + Result := True; +end; diff --git a/installer/_toolpublish/LootEditor/Avalonia.Base.dll b/installer/_toolpublish/LootEditor/Avalonia.Base.dll new file mode 100644 index 0000000..1090d48 Binary files /dev/null and b/installer/_toolpublish/LootEditor/Avalonia.Base.dll differ diff --git a/installer/_toolpublish/LootEditor/Avalonia.Controls.dll b/installer/_toolpublish/LootEditor/Avalonia.Controls.dll new file mode 100644 index 0000000..fc18f9d Binary files /dev/null and b/installer/_toolpublish/LootEditor/Avalonia.Controls.dll differ diff --git a/installer/_toolpublish/LootEditor/Avalonia.DesignerSupport.dll b/installer/_toolpublish/LootEditor/Avalonia.DesignerSupport.dll new file mode 100644 index 0000000..fe28a01 Binary files /dev/null and b/installer/_toolpublish/LootEditor/Avalonia.DesignerSupport.dll differ diff --git a/installer/_toolpublish/LootEditor/Avalonia.Desktop.dll b/installer/_toolpublish/LootEditor/Avalonia.Desktop.dll new file mode 100644 index 0000000..4559516 Binary files /dev/null and b/installer/_toolpublish/LootEditor/Avalonia.Desktop.dll differ diff --git a/installer/_toolpublish/LootEditor/Avalonia.Dialogs.dll b/installer/_toolpublish/LootEditor/Avalonia.Dialogs.dll new file mode 100644 index 0000000..dcdeb0e Binary files /dev/null and b/installer/_toolpublish/LootEditor/Avalonia.Dialogs.dll differ diff --git a/installer/_toolpublish/LootEditor/Avalonia.FreeDesktop.dll b/installer/_toolpublish/LootEditor/Avalonia.FreeDesktop.dll new file mode 100644 index 0000000..4ebb713 Binary files /dev/null and b/installer/_toolpublish/LootEditor/Avalonia.FreeDesktop.dll differ diff --git a/installer/_toolpublish/LootEditor/Avalonia.Markup.Xaml.dll b/installer/_toolpublish/LootEditor/Avalonia.Markup.Xaml.dll new file mode 100644 index 0000000..6ad7500 Binary files /dev/null and b/installer/_toolpublish/LootEditor/Avalonia.Markup.Xaml.dll differ diff --git a/installer/_toolpublish/LootEditor/Avalonia.Markup.dll b/installer/_toolpublish/LootEditor/Avalonia.Markup.dll new file mode 100644 index 0000000..d9fa96a Binary files /dev/null and b/installer/_toolpublish/LootEditor/Avalonia.Markup.dll differ diff --git a/installer/_toolpublish/LootEditor/Avalonia.Metal.dll b/installer/_toolpublish/LootEditor/Avalonia.Metal.dll new file mode 100644 index 0000000..481bc23 Binary files /dev/null and b/installer/_toolpublish/LootEditor/Avalonia.Metal.dll differ diff --git a/installer/_toolpublish/LootEditor/Avalonia.MicroCom.dll b/installer/_toolpublish/LootEditor/Avalonia.MicroCom.dll new file mode 100644 index 0000000..b430aa7 Binary files /dev/null and b/installer/_toolpublish/LootEditor/Avalonia.MicroCom.dll differ diff --git a/installer/_toolpublish/LootEditor/Avalonia.Native.dll b/installer/_toolpublish/LootEditor/Avalonia.Native.dll new file mode 100644 index 0000000..d7a6e99 Binary files /dev/null and b/installer/_toolpublish/LootEditor/Avalonia.Native.dll differ diff --git a/installer/_toolpublish/LootEditor/Avalonia.OpenGL.dll b/installer/_toolpublish/LootEditor/Avalonia.OpenGL.dll new file mode 100644 index 0000000..93c0ab5 Binary files /dev/null and b/installer/_toolpublish/LootEditor/Avalonia.OpenGL.dll differ diff --git a/installer/_toolpublish/LootEditor/Avalonia.Remote.Protocol.dll b/installer/_toolpublish/LootEditor/Avalonia.Remote.Protocol.dll new file mode 100644 index 0000000..9272f5a Binary files /dev/null and b/installer/_toolpublish/LootEditor/Avalonia.Remote.Protocol.dll differ diff --git a/installer/_toolpublish/LootEditor/Avalonia.Skia.dll b/installer/_toolpublish/LootEditor/Avalonia.Skia.dll new file mode 100644 index 0000000..5daa590 Binary files /dev/null and b/installer/_toolpublish/LootEditor/Avalonia.Skia.dll differ diff --git a/installer/_toolpublish/LootEditor/Avalonia.Themes.Fluent.dll b/installer/_toolpublish/LootEditor/Avalonia.Themes.Fluent.dll new file mode 100644 index 0000000..cae081e Binary files /dev/null and b/installer/_toolpublish/LootEditor/Avalonia.Themes.Fluent.dll differ diff --git a/installer/_toolpublish/LootEditor/Avalonia.Vulkan.dll b/installer/_toolpublish/LootEditor/Avalonia.Vulkan.dll new file mode 100644 index 0000000..cee9d5b Binary files /dev/null and b/installer/_toolpublish/LootEditor/Avalonia.Vulkan.dll differ diff --git a/installer/_toolpublish/LootEditor/Avalonia.Win32.dll b/installer/_toolpublish/LootEditor/Avalonia.Win32.dll new file mode 100644 index 0000000..c63fbe5 Binary files /dev/null and b/installer/_toolpublish/LootEditor/Avalonia.Win32.dll differ diff --git a/installer/_toolpublish/LootEditor/Avalonia.X11.dll b/installer/_toolpublish/LootEditor/Avalonia.X11.dll new file mode 100644 index 0000000..f463e54 Binary files /dev/null and b/installer/_toolpublish/LootEditor/Avalonia.X11.dll differ diff --git a/installer/_toolpublish/LootEditor/Avalonia.dll b/installer/_toolpublish/LootEditor/Avalonia.dll new file mode 100644 index 0000000..f10fc6a Binary files /dev/null and b/installer/_toolpublish/LootEditor/Avalonia.dll differ diff --git a/installer/_toolpublish/LootEditor/HarfBuzzSharp.dll b/installer/_toolpublish/LootEditor/HarfBuzzSharp.dll new file mode 100644 index 0000000..f4e2c2e Binary files /dev/null and b/installer/_toolpublish/LootEditor/HarfBuzzSharp.dll differ diff --git a/installer/_toolpublish/LootEditor/MicroCom.Runtime.dll b/installer/_toolpublish/LootEditor/MicroCom.Runtime.dll new file mode 100644 index 0000000..f6cf008 Binary files /dev/null and b/installer/_toolpublish/LootEditor/MicroCom.Runtime.dll differ diff --git a/installer/_toolpublish/LootEditor/RynthCore.LootEditor.deps.json b/installer/_toolpublish/LootEditor/RynthCore.LootEditor.deps.json new file mode 100644 index 0000000..1e76442 --- /dev/null +++ b/installer/_toolpublish/LootEditor/RynthCore.LootEditor.deps.json @@ -0,0 +1,362 @@ +{ + "runtimeTarget": { + "name": ".NETCoreApp,Version=v10.0/win-x64", + "signature": "" + }, + "compilationOptions": {}, + "targets": { + ".NETCoreApp,Version=v10.0": {}, + ".NETCoreApp,Version=v10.0/win-x64": { + "RynthCore.LootEditor/0.1.1": { + "dependencies": { + "Avalonia": "11.2.3", + "Avalonia.Desktop": "11.2.3", + "Avalonia.Themes.Fluent": "11.2.3", + "RynthCore.LootSdk": "1.0.0", + "Tmds.DBus.Protocol": "0.21.3" + }, + "runtime": { + "RynthCore.LootEditor.dll": {} + } + }, + "Avalonia/11.2.3": { + "dependencies": { + "Avalonia.Remote.Protocol": "11.2.3", + "MicroCom.Runtime": "0.11.0" + }, + "runtime": { + "lib/net8.0/Avalonia.Base.dll": { + "assemblyVersion": "11.2.3.0", + "fileVersion": "11.2.3.0" + }, + "lib/net8.0/Avalonia.Controls.dll": { + "assemblyVersion": "11.2.3.0", + "fileVersion": "11.2.3.0" + }, + "lib/net8.0/Avalonia.DesignerSupport.dll": { + "assemblyVersion": "0.7.0.0", + "fileVersion": "0.7.0.0" + }, + "lib/net8.0/Avalonia.Dialogs.dll": { + "assemblyVersion": "11.2.3.0", + "fileVersion": "11.2.3.0" + }, + "lib/net8.0/Avalonia.Markup.Xaml.dll": { + "assemblyVersion": "11.2.3.0", + "fileVersion": "11.2.3.0" + }, + "lib/net8.0/Avalonia.Markup.dll": { + "assemblyVersion": "11.2.3.0", + "fileVersion": "11.2.3.0" + }, + "lib/net8.0/Avalonia.Metal.dll": { + "assemblyVersion": "11.2.3.0", + "fileVersion": "11.2.3.0" + }, + "lib/net8.0/Avalonia.MicroCom.dll": { + "assemblyVersion": "11.2.3.0", + "fileVersion": "11.2.3.0" + }, + "lib/net8.0/Avalonia.OpenGL.dll": { + "assemblyVersion": "11.2.3.0", + "fileVersion": "11.2.3.0" + }, + "lib/net8.0/Avalonia.Vulkan.dll": { + "assemblyVersion": "11.2.3.0", + "fileVersion": "11.2.3.0" + }, + "lib/net8.0/Avalonia.dll": { + "assemblyVersion": "11.2.3.0", + "fileVersion": "11.2.3.0" + } + } + }, + "Avalonia.Angle.Windows.Natives/2.1.22045.20230930": { + "native": { + "runtimes/win-x64/native/av_libglesv2.dll": { + "fileVersion": "2.1.22045.0" + } + } + }, + "Avalonia.Desktop/11.2.3": { + "dependencies": { + "Avalonia": "11.2.3", + "Avalonia.Native": "11.2.3", + "Avalonia.Skia": "11.2.3", + "Avalonia.Win32": "11.2.3", + "Avalonia.X11": "11.2.3" + }, + "runtime": { + "lib/net8.0/Avalonia.Desktop.dll": { + "assemblyVersion": "11.2.3.0", + "fileVersion": "11.2.3.0" + } + } + }, + "Avalonia.FreeDesktop/11.2.3": { + "dependencies": { + "Avalonia": "11.2.3", + "Tmds.DBus.Protocol": "0.21.3" + }, + "runtime": { + "lib/net8.0/Avalonia.FreeDesktop.dll": { + "assemblyVersion": "11.2.3.0", + "fileVersion": "11.2.3.0" + } + } + }, + "Avalonia.Native/11.2.3": { + "dependencies": { + "Avalonia": "11.2.3" + }, + "runtime": { + "lib/net8.0/Avalonia.Native.dll": { + "assemblyVersion": "11.2.3.0", + "fileVersion": "11.2.3.0" + } + } + }, + "Avalonia.Remote.Protocol/11.2.3": { + "runtime": { + "lib/net8.0/Avalonia.Remote.Protocol.dll": { + "assemblyVersion": "11.2.3.0", + "fileVersion": "11.2.3.0" + } + } + }, + "Avalonia.Skia/11.2.3": { + "dependencies": { + "Avalonia": "11.2.3", + "HarfBuzzSharp": "7.3.0.3", + "SkiaSharp": "2.88.9" + }, + "runtime": { + "lib/net8.0/Avalonia.Skia.dll": { + "assemblyVersion": "11.2.3.0", + "fileVersion": "11.2.3.0" + } + } + }, + "Avalonia.Themes.Fluent/11.2.3": { + "dependencies": { + "Avalonia": "11.2.3" + }, + "runtime": { + "lib/net8.0/Avalonia.Themes.Fluent.dll": { + "assemblyVersion": "11.2.3.0", + "fileVersion": "11.2.3.0" + } + } + }, + "Avalonia.Win32/11.2.3": { + "dependencies": { + "Avalonia": "11.2.3", + "Avalonia.Angle.Windows.Natives": "2.1.22045.20230930" + }, + "runtime": { + "lib/net8.0/Avalonia.Win32.dll": { + "assemblyVersion": "11.2.3.0", + "fileVersion": "11.2.3.0" + } + } + }, + "Avalonia.X11/11.2.3": { + "dependencies": { + "Avalonia": "11.2.3", + "Avalonia.FreeDesktop": "11.2.3", + "Avalonia.Skia": "11.2.3" + }, + "runtime": { + "lib/net8.0/Avalonia.X11.dll": { + "assemblyVersion": "11.2.3.0", + "fileVersion": "11.2.3.0" + } + } + }, + "HarfBuzzSharp/7.3.0.3": { + "dependencies": { + "HarfBuzzSharp.NativeAssets.Win32": "7.3.0.3" + }, + "runtime": { + "lib/net6.0/HarfBuzzSharp.dll": { + "assemblyVersion": "1.0.0.0", + "fileVersion": "7.3.0.3" + } + } + }, + "HarfBuzzSharp.NativeAssets.Win32/7.3.0.3": { + "native": { + "runtimes/win-x64/native/libHarfBuzzSharp.dll": { + "fileVersion": "0.0.0.0" + } + } + }, + "MicroCom.Runtime/0.11.0": { + "runtime": { + "lib/net5.0/MicroCom.Runtime.dll": { + "assemblyVersion": "0.11.0.0", + "fileVersion": "0.11.0.0" + } + } + }, + "SkiaSharp/2.88.9": { + "dependencies": { + "SkiaSharp.NativeAssets.Win32": "2.88.9" + }, + "runtime": { + "lib/net6.0/SkiaSharp.dll": { + "assemblyVersion": "2.88.0.0", + "fileVersion": "2.88.9.0" + } + } + }, + "SkiaSharp.NativeAssets.Win32/2.88.9": { + "native": { + "runtimes/win-x64/native/libSkiaSharp.dll": { + "fileVersion": "0.0.0.0" + } + } + }, + "Tmds.DBus.Protocol/0.21.3": { + "runtime": { + "lib/net8.0/Tmds.DBus.Protocol.dll": { + "assemblyVersion": "0.21.3.0", + "fileVersion": "0.21.3.0" + } + } + }, + "RynthCore.LootSdk/1.0.0": { + "runtime": { + "RynthCore.LootSdk.dll": { + "assemblyVersion": "1.0.0.0", + "fileVersion": "1.0.0.0" + } + } + } + } + }, + "libraries": { + "RynthCore.LootEditor/0.1.1": { + "type": "project", + "serviceable": false, + "sha512": "" + }, + "Avalonia/11.2.3": { + "type": "package", + "serviceable": true, + "sha512": "sha512-pD6woFAUfGcyEvMmrpctntU4jv4fT8752pfx1J5iRORVX3Ob0oQi8PWo0TXVaAJZiSfH0cdKTeKx0w0DzD0/mg==", + "path": "avalonia/11.2.3", + "hashPath": "avalonia.11.2.3.nupkg.sha512" + }, + "Avalonia.Angle.Windows.Natives/2.1.22045.20230930": { + "type": "package", + "serviceable": true, + "sha512": "sha512-Bo3qOhKC1b84BIhiogndMdAzB3UrrESKK7hS769f5HWeoMw/pcd42US5KFYW2JJ4ZSTrXnP8mXwLTMzh+S+9Lg==", + "path": "avalonia.angle.windows.natives/2.1.22045.20230930", + "hashPath": "avalonia.angle.windows.natives.2.1.22045.20230930.nupkg.sha512" + }, + "Avalonia.Desktop/11.2.3": { + "type": "package", + "serviceable": true, + "sha512": "sha512-dX3zfgWplLqcgwQJLeC2ciqxE/GM3iw9HUNI22c8KgAAWMWl52NWCmjW228EPZG+4YbHwq8T40YARO2aQF+yqA==", + "path": "avalonia.desktop/11.2.3", + "hashPath": "avalonia.desktop.11.2.3.nupkg.sha512" + }, + "Avalonia.FreeDesktop/11.2.3": { + "type": "package", + "serviceable": true, + "sha512": "sha512-BOivcAE3yYFKyYg5CztnTeIFX7ZHNaFiMrQ9WO4MgKyMwbPdH6jy6Mpfu+LY5FiYpleZdmXLJXZzzPon52DUVg==", + "path": "avalonia.freedesktop/11.2.3", + "hashPath": "avalonia.freedesktop.11.2.3.nupkg.sha512" + }, + "Avalonia.Native/11.2.3": { + "type": "package", + "serviceable": true, + "sha512": "sha512-yW9IGfa7kBuEcYP4ni7nGYNI2HjqaBg+cPJXZeiXf8RFptmluMv75hMyyq8FYIZwVcZIEcwEgff81a7b4aNTVQ==", + "path": "avalonia.native/11.2.3", + "hashPath": "avalonia.native.11.2.3.nupkg.sha512" + }, + "Avalonia.Remote.Protocol/11.2.3": { + "type": "package", + "serviceable": true, + "sha512": "sha512-6V0aNtld48WmO8tAlWwlRlUmXYcOWv+1eJUSl1ETF+1blUe5yhcSmuWarPprO0hDk8Ta6wGfdfcrnVl2gITYcA==", + "path": "avalonia.remote.protocol/11.2.3", + "hashPath": "avalonia.remote.protocol.11.2.3.nupkg.sha512" + }, + "Avalonia.Skia/11.2.3": { + "type": "package", + "serviceable": true, + "sha512": "sha512-jpzqkkmhzz6DSUy5dIw5T43MoHCdb05pmTvnsmHrbipA8mafI8RrO7tVnv1+ilFNV4516G9/kOpXjTLKjnnYrA==", + "path": "avalonia.skia/11.2.3", + "hashPath": "avalonia.skia.11.2.3.nupkg.sha512" + }, + "Avalonia.Themes.Fluent/11.2.3": { + "type": "package", + "serviceable": true, + "sha512": "sha512-gPJWBWaeocvRhSrB977xsfH0Ame14PxRMIgEfezi2bTjNJ43JWzJtALgDfDZYMpZPDdeWU/mwDigR/kD+rJtlw==", + "path": "avalonia.themes.fluent/11.2.3", + "hashPath": "avalonia.themes.fluent.11.2.3.nupkg.sha512" + }, + "Avalonia.Win32/11.2.3": { + "type": "package", + "serviceable": true, + "sha512": "sha512-VwdaOHvIowTSM2umeXOFIoUx4UydCXkXracwLQZaMlsWXCTJ+WwtlAIv0ZBCwQccAK+WELrdRXucvWWN8+sJCQ==", + "path": "avalonia.win32/11.2.3", + "hashPath": "avalonia.win32.11.2.3.nupkg.sha512" + }, + "Avalonia.X11/11.2.3": { + "type": "package", + "serviceable": true, + "sha512": "sha512-0mr3zu5NEv2cTLsANyc3w51ctiLTWQia6TrlDdWCjfMx2k0VtCzgGBieByPgUl4iNWEDzgBEKek1EwJcGdJ+7g==", + "path": "avalonia.x11/11.2.3", + "hashPath": "avalonia.x11.11.2.3.nupkg.sha512" + }, + "HarfBuzzSharp/7.3.0.3": { + "type": "package", + "serviceable": true, + "sha512": "sha512-Hq+5+gx10coOvuRgB13KBwiWxJq1QeYuhtVLbA01ZCWaugOnolUahF44KvrQTUUHDNk/C7HB6SMaebsZeOdhgg==", + "path": "harfbuzzsharp/7.3.0.3", + "hashPath": "harfbuzzsharp.7.3.0.3.nupkg.sha512" + }, + "HarfBuzzSharp.NativeAssets.Win32/7.3.0.3": { + "type": "package", + "serviceable": true, + "sha512": "sha512-RPxRXD16KtSs8Yxr2RK9Qs7AwyN9MlpqZIYs0AvfaJwl7RAtVhC0+u2f2SKwX0uMYYd3O98Z+OBA1sj6aWVKQA==", + "path": "harfbuzzsharp.nativeassets.win32/7.3.0.3", + "hashPath": "harfbuzzsharp.nativeassets.win32.7.3.0.3.nupkg.sha512" + }, + "MicroCom.Runtime/0.11.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-MEnrZ3UIiH40hjzMDsxrTyi8dtqB5ziv3iBeeU4bXsL/7NLSal9F1lZKpK+tfBRnUoDSdtcW3KufE4yhATOMCA==", + "path": "microcom.runtime/0.11.0", + "hashPath": "microcom.runtime.0.11.0.nupkg.sha512" + }, + "SkiaSharp/2.88.9": { + "type": "package", + "serviceable": true, + "sha512": "sha512-3MD5VHjXXieSHCleRLuaTXmL2pD0mB7CcOB1x2kA1I4bhptf4e3R27iM93264ZYuAq6mkUyX5XbcxnZvMJYc1Q==", + "path": "skiasharp/2.88.9", + "hashPath": "skiasharp.2.88.9.nupkg.sha512" + }, + "SkiaSharp.NativeAssets.Win32/2.88.9": { + "type": "package", + "serviceable": true, + "sha512": "sha512-wb2kYgU7iy84nQLYZwMeJXixvK++GoIuECjU4ECaUKNuflyRlJKyiRhN1MAHswvlvzuvkrjRWlK0Za6+kYQK7w==", + "path": "skiasharp.nativeassets.win32/2.88.9", + "hashPath": "skiasharp.nativeassets.win32.2.88.9.nupkg.sha512" + }, + "Tmds.DBus.Protocol/0.21.3": { + "type": "package", + "serviceable": true, + "sha512": "sha512-hDwB8WsQoyALQKqIbwzS68UKdlnafDm4T/DkO/JrA/YIneP/rKv96SxYPVXeh3FP4i/SXfShrYftKLtciJAIlw==", + "path": "tmds.dbus.protocol/0.21.3", + "hashPath": "tmds.dbus.protocol.0.21.3.nupkg.sha512" + }, + "RynthCore.LootSdk/1.0.0": { + "type": "project", + "serviceable": false, + "sha512": "" + } + } +} \ No newline at end of file diff --git a/installer/_toolpublish/LootEditor/RynthCore.LootEditor.dll b/installer/_toolpublish/LootEditor/RynthCore.LootEditor.dll new file mode 100644 index 0000000..17248c0 Binary files /dev/null and b/installer/_toolpublish/LootEditor/RynthCore.LootEditor.dll differ diff --git a/installer/_toolpublish/LootEditor/RynthCore.LootEditor.exe b/installer/_toolpublish/LootEditor/RynthCore.LootEditor.exe new file mode 100644 index 0000000..12ec386 Binary files /dev/null and b/installer/_toolpublish/LootEditor/RynthCore.LootEditor.exe differ diff --git a/installer/_toolpublish/LootEditor/RynthCore.LootEditor.pdb b/installer/_toolpublish/LootEditor/RynthCore.LootEditor.pdb new file mode 100644 index 0000000..1b6098d Binary files /dev/null and b/installer/_toolpublish/LootEditor/RynthCore.LootEditor.pdb differ diff --git a/installer/_toolpublish/LootEditor/RynthCore.LootEditor.runtimeconfig.json b/installer/_toolpublish/LootEditor/RynthCore.LootEditor.runtimeconfig.json new file mode 100644 index 0000000..f730443 --- /dev/null +++ b/installer/_toolpublish/LootEditor/RynthCore.LootEditor.runtimeconfig.json @@ -0,0 +1,13 @@ +{ + "runtimeOptions": { + "tfm": "net10.0", + "framework": { + "name": "Microsoft.NETCore.App", + "version": "10.0.0" + }, + "configProperties": { + "System.Reflection.Metadata.MetadataUpdater.IsSupported": false, + "System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false + } + } +} \ No newline at end of file diff --git a/installer/_toolpublish/LootEditor/RynthCore.LootSdk.dll b/installer/_toolpublish/LootEditor/RynthCore.LootSdk.dll new file mode 100644 index 0000000..1fda870 Binary files /dev/null and b/installer/_toolpublish/LootEditor/RynthCore.LootSdk.dll differ diff --git a/installer/_toolpublish/LootEditor/RynthCore.LootSdk.pdb b/installer/_toolpublish/LootEditor/RynthCore.LootSdk.pdb new file mode 100644 index 0000000..b9e5b03 Binary files /dev/null and b/installer/_toolpublish/LootEditor/RynthCore.LootSdk.pdb differ diff --git a/installer/_toolpublish/LootEditor/SkiaSharp.dll b/installer/_toolpublish/LootEditor/SkiaSharp.dll new file mode 100644 index 0000000..5d7e9cd Binary files /dev/null and b/installer/_toolpublish/LootEditor/SkiaSharp.dll differ diff --git a/installer/_toolpublish/LootEditor/Tmds.DBus.Protocol.dll b/installer/_toolpublish/LootEditor/Tmds.DBus.Protocol.dll new file mode 100644 index 0000000..1dd38c3 Binary files /dev/null and b/installer/_toolpublish/LootEditor/Tmds.DBus.Protocol.dll differ diff --git a/installer/_toolpublish/LootEditor/av_libglesv2.dll b/installer/_toolpublish/LootEditor/av_libglesv2.dll new file mode 100644 index 0000000..c327f9e Binary files /dev/null and b/installer/_toolpublish/LootEditor/av_libglesv2.dll differ diff --git a/installer/_toolpublish/LootEditor/libHarfBuzzSharp.dll b/installer/_toolpublish/LootEditor/libHarfBuzzSharp.dll new file mode 100644 index 0000000..01deb29 Binary files /dev/null and b/installer/_toolpublish/LootEditor/libHarfBuzzSharp.dll differ diff --git a/installer/_toolpublish/LootEditor/libSkiaSharp.dll b/installer/_toolpublish/LootEditor/libSkiaSharp.dll new file mode 100644 index 0000000..3f8c6f2 Binary files /dev/null and b/installer/_toolpublish/LootEditor/libSkiaSharp.dll differ diff --git a/installer/_toolpublish/MonsterEditor/Avalonia.Base.dll b/installer/_toolpublish/MonsterEditor/Avalonia.Base.dll new file mode 100644 index 0000000..1090d48 Binary files /dev/null and b/installer/_toolpublish/MonsterEditor/Avalonia.Base.dll differ diff --git a/installer/_toolpublish/MonsterEditor/Avalonia.Controls.DataGrid.dll b/installer/_toolpublish/MonsterEditor/Avalonia.Controls.DataGrid.dll new file mode 100644 index 0000000..a6d3c46 Binary files /dev/null and b/installer/_toolpublish/MonsterEditor/Avalonia.Controls.DataGrid.dll differ diff --git a/installer/_toolpublish/MonsterEditor/Avalonia.Controls.dll b/installer/_toolpublish/MonsterEditor/Avalonia.Controls.dll new file mode 100644 index 0000000..fc18f9d Binary files /dev/null and b/installer/_toolpublish/MonsterEditor/Avalonia.Controls.dll differ diff --git a/installer/_toolpublish/MonsterEditor/Avalonia.DesignerSupport.dll b/installer/_toolpublish/MonsterEditor/Avalonia.DesignerSupport.dll new file mode 100644 index 0000000..fe28a01 Binary files /dev/null and b/installer/_toolpublish/MonsterEditor/Avalonia.DesignerSupport.dll differ diff --git a/installer/_toolpublish/MonsterEditor/Avalonia.Desktop.dll b/installer/_toolpublish/MonsterEditor/Avalonia.Desktop.dll new file mode 100644 index 0000000..4559516 Binary files /dev/null and b/installer/_toolpublish/MonsterEditor/Avalonia.Desktop.dll differ diff --git a/installer/_toolpublish/MonsterEditor/Avalonia.Dialogs.dll b/installer/_toolpublish/MonsterEditor/Avalonia.Dialogs.dll new file mode 100644 index 0000000..dcdeb0e Binary files /dev/null and b/installer/_toolpublish/MonsterEditor/Avalonia.Dialogs.dll differ diff --git a/installer/_toolpublish/MonsterEditor/Avalonia.FreeDesktop.dll b/installer/_toolpublish/MonsterEditor/Avalonia.FreeDesktop.dll new file mode 100644 index 0000000..4ebb713 Binary files /dev/null and b/installer/_toolpublish/MonsterEditor/Avalonia.FreeDesktop.dll differ diff --git a/installer/_toolpublish/MonsterEditor/Avalonia.Markup.Xaml.dll b/installer/_toolpublish/MonsterEditor/Avalonia.Markup.Xaml.dll new file mode 100644 index 0000000..6ad7500 Binary files /dev/null and b/installer/_toolpublish/MonsterEditor/Avalonia.Markup.Xaml.dll differ diff --git a/installer/_toolpublish/MonsterEditor/Avalonia.Markup.dll b/installer/_toolpublish/MonsterEditor/Avalonia.Markup.dll new file mode 100644 index 0000000..d9fa96a Binary files /dev/null and b/installer/_toolpublish/MonsterEditor/Avalonia.Markup.dll differ diff --git a/installer/_toolpublish/MonsterEditor/Avalonia.Metal.dll b/installer/_toolpublish/MonsterEditor/Avalonia.Metal.dll new file mode 100644 index 0000000..481bc23 Binary files /dev/null and b/installer/_toolpublish/MonsterEditor/Avalonia.Metal.dll differ diff --git a/installer/_toolpublish/MonsterEditor/Avalonia.MicroCom.dll b/installer/_toolpublish/MonsterEditor/Avalonia.MicroCom.dll new file mode 100644 index 0000000..b430aa7 Binary files /dev/null and b/installer/_toolpublish/MonsterEditor/Avalonia.MicroCom.dll differ diff --git a/installer/_toolpublish/MonsterEditor/Avalonia.Native.dll b/installer/_toolpublish/MonsterEditor/Avalonia.Native.dll new file mode 100644 index 0000000..d7a6e99 Binary files /dev/null and b/installer/_toolpublish/MonsterEditor/Avalonia.Native.dll differ diff --git a/installer/_toolpublish/MonsterEditor/Avalonia.OpenGL.dll b/installer/_toolpublish/MonsterEditor/Avalonia.OpenGL.dll new file mode 100644 index 0000000..93c0ab5 Binary files /dev/null and b/installer/_toolpublish/MonsterEditor/Avalonia.OpenGL.dll differ diff --git a/installer/_toolpublish/MonsterEditor/Avalonia.Remote.Protocol.dll b/installer/_toolpublish/MonsterEditor/Avalonia.Remote.Protocol.dll new file mode 100644 index 0000000..9272f5a Binary files /dev/null and b/installer/_toolpublish/MonsterEditor/Avalonia.Remote.Protocol.dll differ diff --git a/installer/_toolpublish/MonsterEditor/Avalonia.Skia.dll b/installer/_toolpublish/MonsterEditor/Avalonia.Skia.dll new file mode 100644 index 0000000..5daa590 Binary files /dev/null and b/installer/_toolpublish/MonsterEditor/Avalonia.Skia.dll differ diff --git a/installer/_toolpublish/MonsterEditor/Avalonia.Themes.Fluent.dll b/installer/_toolpublish/MonsterEditor/Avalonia.Themes.Fluent.dll new file mode 100644 index 0000000..cae081e Binary files /dev/null and b/installer/_toolpublish/MonsterEditor/Avalonia.Themes.Fluent.dll differ diff --git a/installer/_toolpublish/MonsterEditor/Avalonia.Vulkan.dll b/installer/_toolpublish/MonsterEditor/Avalonia.Vulkan.dll new file mode 100644 index 0000000..cee9d5b Binary files /dev/null and b/installer/_toolpublish/MonsterEditor/Avalonia.Vulkan.dll differ diff --git a/installer/_toolpublish/MonsterEditor/Avalonia.Win32.dll b/installer/_toolpublish/MonsterEditor/Avalonia.Win32.dll new file mode 100644 index 0000000..c63fbe5 Binary files /dev/null and b/installer/_toolpublish/MonsterEditor/Avalonia.Win32.dll differ diff --git a/installer/_toolpublish/MonsterEditor/Avalonia.X11.dll b/installer/_toolpublish/MonsterEditor/Avalonia.X11.dll new file mode 100644 index 0000000..f463e54 Binary files /dev/null and b/installer/_toolpublish/MonsterEditor/Avalonia.X11.dll differ diff --git a/installer/_toolpublish/MonsterEditor/Avalonia.dll b/installer/_toolpublish/MonsterEditor/Avalonia.dll new file mode 100644 index 0000000..f10fc6a Binary files /dev/null and b/installer/_toolpublish/MonsterEditor/Avalonia.dll differ diff --git a/installer/_toolpublish/MonsterEditor/HarfBuzzSharp.dll b/installer/_toolpublish/MonsterEditor/HarfBuzzSharp.dll new file mode 100644 index 0000000..f4e2c2e Binary files /dev/null and b/installer/_toolpublish/MonsterEditor/HarfBuzzSharp.dll differ diff --git a/installer/_toolpublish/MonsterEditor/MicroCom.Runtime.dll b/installer/_toolpublish/MonsterEditor/MicroCom.Runtime.dll new file mode 100644 index 0000000..f6cf008 Binary files /dev/null and b/installer/_toolpublish/MonsterEditor/MicroCom.Runtime.dll differ diff --git a/installer/_toolpublish/MonsterEditor/Microsoft.Data.Sqlite.dll b/installer/_toolpublish/MonsterEditor/Microsoft.Data.Sqlite.dll new file mode 100644 index 0000000..55567a8 Binary files /dev/null and b/installer/_toolpublish/MonsterEditor/Microsoft.Data.Sqlite.dll differ diff --git a/installer/_toolpublish/MonsterEditor/RynthCore.MonsterEditor.deps.json b/installer/_toolpublish/MonsterEditor/RynthCore.MonsterEditor.deps.json new file mode 100644 index 0000000..416a14c --- /dev/null +++ b/installer/_toolpublish/MonsterEditor/RynthCore.MonsterEditor.deps.json @@ -0,0 +1,467 @@ +{ + "runtimeTarget": { + "name": ".NETCoreApp,Version=v10.0/win-x64", + "signature": "" + }, + "compilationOptions": {}, + "targets": { + ".NETCoreApp,Version=v10.0": {}, + ".NETCoreApp,Version=v10.0/win-x64": { + "RynthCore.MonsterEditor/0.1.4": { + "dependencies": { + "Avalonia": "11.2.3", + "Avalonia.Controls.DataGrid": "11.2.3", + "Avalonia.Desktop": "11.2.3", + "Avalonia.Themes.Fluent": "11.2.3", + "Microsoft.Data.Sqlite": "9.0.0", + "Tmds.DBus.Protocol": "0.21.3" + }, + "runtime": { + "RynthCore.MonsterEditor.dll": {} + } + }, + "Avalonia/11.2.3": { + "dependencies": { + "Avalonia.Remote.Protocol": "11.2.3", + "MicroCom.Runtime": "0.11.0" + }, + "runtime": { + "lib/net8.0/Avalonia.Base.dll": { + "assemblyVersion": "11.2.3.0", + "fileVersion": "11.2.3.0" + }, + "lib/net8.0/Avalonia.Controls.dll": { + "assemblyVersion": "11.2.3.0", + "fileVersion": "11.2.3.0" + }, + "lib/net8.0/Avalonia.DesignerSupport.dll": { + "assemblyVersion": "0.7.0.0", + "fileVersion": "0.7.0.0" + }, + "lib/net8.0/Avalonia.Dialogs.dll": { + "assemblyVersion": "11.2.3.0", + "fileVersion": "11.2.3.0" + }, + "lib/net8.0/Avalonia.Markup.Xaml.dll": { + "assemblyVersion": "11.2.3.0", + "fileVersion": "11.2.3.0" + }, + "lib/net8.0/Avalonia.Markup.dll": { + "assemblyVersion": "11.2.3.0", + "fileVersion": "11.2.3.0" + }, + "lib/net8.0/Avalonia.Metal.dll": { + "assemblyVersion": "11.2.3.0", + "fileVersion": "11.2.3.0" + }, + "lib/net8.0/Avalonia.MicroCom.dll": { + "assemblyVersion": "11.2.3.0", + "fileVersion": "11.2.3.0" + }, + "lib/net8.0/Avalonia.OpenGL.dll": { + "assemblyVersion": "11.2.3.0", + "fileVersion": "11.2.3.0" + }, + "lib/net8.0/Avalonia.Vulkan.dll": { + "assemblyVersion": "11.2.3.0", + "fileVersion": "11.2.3.0" + }, + "lib/net8.0/Avalonia.dll": { + "assemblyVersion": "11.2.3.0", + "fileVersion": "11.2.3.0" + } + } + }, + "Avalonia.Angle.Windows.Natives/2.1.22045.20230930": { + "native": { + "runtimes/win-x64/native/av_libglesv2.dll": { + "fileVersion": "2.1.22045.0" + } + } + }, + "Avalonia.Controls.DataGrid/11.2.3": { + "dependencies": { + "Avalonia": "11.2.3", + "Avalonia.Remote.Protocol": "11.2.3" + }, + "runtime": { + "lib/net8.0/Avalonia.Controls.DataGrid.dll": { + "assemblyVersion": "11.2.3.0", + "fileVersion": "11.2.3.0" + } + } + }, + "Avalonia.Desktop/11.2.3": { + "dependencies": { + "Avalonia": "11.2.3", + "Avalonia.Native": "11.2.3", + "Avalonia.Skia": "11.2.3", + "Avalonia.Win32": "11.2.3", + "Avalonia.X11": "11.2.3" + }, + "runtime": { + "lib/net8.0/Avalonia.Desktop.dll": { + "assemblyVersion": "11.2.3.0", + "fileVersion": "11.2.3.0" + } + } + }, + "Avalonia.FreeDesktop/11.2.3": { + "dependencies": { + "Avalonia": "11.2.3", + "Tmds.DBus.Protocol": "0.21.3" + }, + "runtime": { + "lib/net8.0/Avalonia.FreeDesktop.dll": { + "assemblyVersion": "11.2.3.0", + "fileVersion": "11.2.3.0" + } + } + }, + "Avalonia.Native/11.2.3": { + "dependencies": { + "Avalonia": "11.2.3" + }, + "runtime": { + "lib/net8.0/Avalonia.Native.dll": { + "assemblyVersion": "11.2.3.0", + "fileVersion": "11.2.3.0" + } + } + }, + "Avalonia.Remote.Protocol/11.2.3": { + "runtime": { + "lib/net8.0/Avalonia.Remote.Protocol.dll": { + "assemblyVersion": "11.2.3.0", + "fileVersion": "11.2.3.0" + } + } + }, + "Avalonia.Skia/11.2.3": { + "dependencies": { + "Avalonia": "11.2.3", + "HarfBuzzSharp": "7.3.0.3", + "SkiaSharp": "2.88.9" + }, + "runtime": { + "lib/net8.0/Avalonia.Skia.dll": { + "assemblyVersion": "11.2.3.0", + "fileVersion": "11.2.3.0" + } + } + }, + "Avalonia.Themes.Fluent/11.2.3": { + "dependencies": { + "Avalonia": "11.2.3" + }, + "runtime": { + "lib/net8.0/Avalonia.Themes.Fluent.dll": { + "assemblyVersion": "11.2.3.0", + "fileVersion": "11.2.3.0" + } + } + }, + "Avalonia.Win32/11.2.3": { + "dependencies": { + "Avalonia": "11.2.3", + "Avalonia.Angle.Windows.Natives": "2.1.22045.20230930" + }, + "runtime": { + "lib/net8.0/Avalonia.Win32.dll": { + "assemblyVersion": "11.2.3.0", + "fileVersion": "11.2.3.0" + } + } + }, + "Avalonia.X11/11.2.3": { + "dependencies": { + "Avalonia": "11.2.3", + "Avalonia.FreeDesktop": "11.2.3", + "Avalonia.Skia": "11.2.3" + }, + "runtime": { + "lib/net8.0/Avalonia.X11.dll": { + "assemblyVersion": "11.2.3.0", + "fileVersion": "11.2.3.0" + } + } + }, + "HarfBuzzSharp/7.3.0.3": { + "dependencies": { + "HarfBuzzSharp.NativeAssets.Win32": "7.3.0.3" + }, + "runtime": { + "lib/net6.0/HarfBuzzSharp.dll": { + "assemblyVersion": "1.0.0.0", + "fileVersion": "7.3.0.3" + } + } + }, + "HarfBuzzSharp.NativeAssets.Win32/7.3.0.3": { + "native": { + "runtimes/win-x64/native/libHarfBuzzSharp.dll": { + "fileVersion": "0.0.0.0" + } + } + }, + "MicroCom.Runtime/0.11.0": { + "runtime": { + "lib/net5.0/MicroCom.Runtime.dll": { + "assemblyVersion": "0.11.0.0", + "fileVersion": "0.11.0.0" + } + } + }, + "Microsoft.Data.Sqlite/9.0.0": { + "dependencies": { + "Microsoft.Data.Sqlite.Core": "9.0.0", + "SQLitePCLRaw.bundle_e_sqlite3": "2.1.10", + "SQLitePCLRaw.core": "2.1.10" + } + }, + "Microsoft.Data.Sqlite.Core/9.0.0": { + "dependencies": { + "SQLitePCLRaw.core": "2.1.10" + }, + "runtime": { + "lib/net8.0/Microsoft.Data.Sqlite.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.24.52902" + } + } + }, + "SkiaSharp/2.88.9": { + "dependencies": { + "SkiaSharp.NativeAssets.Win32": "2.88.9" + }, + "runtime": { + "lib/net6.0/SkiaSharp.dll": { + "assemblyVersion": "2.88.0.0", + "fileVersion": "2.88.9.0" + } + } + }, + "SkiaSharp.NativeAssets.Win32/2.88.9": { + "native": { + "runtimes/win-x64/native/libSkiaSharp.dll": { + "fileVersion": "0.0.0.0" + } + } + }, + "SQLitePCLRaw.bundle_e_sqlite3/2.1.10": { + "dependencies": { + "SQLitePCLRaw.lib.e_sqlite3": "2.1.10", + "SQLitePCLRaw.provider.e_sqlite3": "2.1.10" + }, + "runtime": { + "lib/netstandard2.0/SQLitePCLRaw.batteries_v2.dll": { + "assemblyVersion": "2.1.10.2445", + "fileVersion": "2.1.10.2445" + } + } + }, + "SQLitePCLRaw.core/2.1.10": { + "runtime": { + "lib/netstandard2.0/SQLitePCLRaw.core.dll": { + "assemblyVersion": "2.1.10.2445", + "fileVersion": "2.1.10.2445" + } + } + }, + "SQLitePCLRaw.lib.e_sqlite3/2.1.10": { + "native": { + "runtimes/win-x64/native/e_sqlite3.dll": { + "fileVersion": "0.0.0.0" + } + } + }, + "SQLitePCLRaw.provider.e_sqlite3/2.1.10": { + "dependencies": { + "SQLitePCLRaw.core": "2.1.10" + }, + "runtime": { + "lib/net6.0/SQLitePCLRaw.provider.e_sqlite3.dll": { + "assemblyVersion": "2.1.10.2445", + "fileVersion": "2.1.10.2445" + } + } + }, + "Tmds.DBus.Protocol/0.21.3": { + "runtime": { + "lib/net8.0/Tmds.DBus.Protocol.dll": { + "assemblyVersion": "0.21.3.0", + "fileVersion": "0.21.3.0" + } + } + } + } + }, + "libraries": { + "RynthCore.MonsterEditor/0.1.4": { + "type": "project", + "serviceable": false, + "sha512": "" + }, + "Avalonia/11.2.3": { + "type": "package", + "serviceable": true, + "sha512": "sha512-pD6woFAUfGcyEvMmrpctntU4jv4fT8752pfx1J5iRORVX3Ob0oQi8PWo0TXVaAJZiSfH0cdKTeKx0w0DzD0/mg==", + "path": "avalonia/11.2.3", + "hashPath": "avalonia.11.2.3.nupkg.sha512" + }, + "Avalonia.Angle.Windows.Natives/2.1.22045.20230930": { + "type": "package", + "serviceable": true, + "sha512": "sha512-Bo3qOhKC1b84BIhiogndMdAzB3UrrESKK7hS769f5HWeoMw/pcd42US5KFYW2JJ4ZSTrXnP8mXwLTMzh+S+9Lg==", + "path": "avalonia.angle.windows.natives/2.1.22045.20230930", + "hashPath": "avalonia.angle.windows.natives.2.1.22045.20230930.nupkg.sha512" + }, + "Avalonia.Controls.DataGrid/11.2.3": { + "type": "package", + "serviceable": true, + "sha512": "sha512-Ul6oWEoqs4eTQZIb4Hzf0+ajhgrCX9ypOj8TahKbkKoIznJkUoka3iV90Vpj/AuoT5AZsN6f+1+62SVPpeMApA==", + "path": "avalonia.controls.datagrid/11.2.3", + "hashPath": "avalonia.controls.datagrid.11.2.3.nupkg.sha512" + }, + "Avalonia.Desktop/11.2.3": { + "type": "package", + "serviceable": true, + "sha512": "sha512-dX3zfgWplLqcgwQJLeC2ciqxE/GM3iw9HUNI22c8KgAAWMWl52NWCmjW228EPZG+4YbHwq8T40YARO2aQF+yqA==", + "path": "avalonia.desktop/11.2.3", + "hashPath": "avalonia.desktop.11.2.3.nupkg.sha512" + }, + "Avalonia.FreeDesktop/11.2.3": { + "type": "package", + "serviceable": true, + "sha512": "sha512-BOivcAE3yYFKyYg5CztnTeIFX7ZHNaFiMrQ9WO4MgKyMwbPdH6jy6Mpfu+LY5FiYpleZdmXLJXZzzPon52DUVg==", + "path": "avalonia.freedesktop/11.2.3", + "hashPath": "avalonia.freedesktop.11.2.3.nupkg.sha512" + }, + "Avalonia.Native/11.2.3": { + "type": "package", + "serviceable": true, + "sha512": "sha512-yW9IGfa7kBuEcYP4ni7nGYNI2HjqaBg+cPJXZeiXf8RFptmluMv75hMyyq8FYIZwVcZIEcwEgff81a7b4aNTVQ==", + "path": "avalonia.native/11.2.3", + "hashPath": "avalonia.native.11.2.3.nupkg.sha512" + }, + "Avalonia.Remote.Protocol/11.2.3": { + "type": "package", + "serviceable": true, + "sha512": "sha512-6V0aNtld48WmO8tAlWwlRlUmXYcOWv+1eJUSl1ETF+1blUe5yhcSmuWarPprO0hDk8Ta6wGfdfcrnVl2gITYcA==", + "path": "avalonia.remote.protocol/11.2.3", + "hashPath": "avalonia.remote.protocol.11.2.3.nupkg.sha512" + }, + "Avalonia.Skia/11.2.3": { + "type": "package", + "serviceable": true, + "sha512": "sha512-jpzqkkmhzz6DSUy5dIw5T43MoHCdb05pmTvnsmHrbipA8mafI8RrO7tVnv1+ilFNV4516G9/kOpXjTLKjnnYrA==", + "path": "avalonia.skia/11.2.3", + "hashPath": "avalonia.skia.11.2.3.nupkg.sha512" + }, + "Avalonia.Themes.Fluent/11.2.3": { + "type": "package", + "serviceable": true, + "sha512": "sha512-gPJWBWaeocvRhSrB977xsfH0Ame14PxRMIgEfezi2bTjNJ43JWzJtALgDfDZYMpZPDdeWU/mwDigR/kD+rJtlw==", + "path": "avalonia.themes.fluent/11.2.3", + "hashPath": "avalonia.themes.fluent.11.2.3.nupkg.sha512" + }, + "Avalonia.Win32/11.2.3": { + "type": "package", + "serviceable": true, + "sha512": "sha512-VwdaOHvIowTSM2umeXOFIoUx4UydCXkXracwLQZaMlsWXCTJ+WwtlAIv0ZBCwQccAK+WELrdRXucvWWN8+sJCQ==", + "path": "avalonia.win32/11.2.3", + "hashPath": "avalonia.win32.11.2.3.nupkg.sha512" + }, + "Avalonia.X11/11.2.3": { + "type": "package", + "serviceable": true, + "sha512": "sha512-0mr3zu5NEv2cTLsANyc3w51ctiLTWQia6TrlDdWCjfMx2k0VtCzgGBieByPgUl4iNWEDzgBEKek1EwJcGdJ+7g==", + "path": "avalonia.x11/11.2.3", + "hashPath": "avalonia.x11.11.2.3.nupkg.sha512" + }, + "HarfBuzzSharp/7.3.0.3": { + "type": "package", + "serviceable": true, + "sha512": "sha512-Hq+5+gx10coOvuRgB13KBwiWxJq1QeYuhtVLbA01ZCWaugOnolUahF44KvrQTUUHDNk/C7HB6SMaebsZeOdhgg==", + "path": "harfbuzzsharp/7.3.0.3", + "hashPath": "harfbuzzsharp.7.3.0.3.nupkg.sha512" + }, + "HarfBuzzSharp.NativeAssets.Win32/7.3.0.3": { + "type": "package", + "serviceable": true, + "sha512": "sha512-RPxRXD16KtSs8Yxr2RK9Qs7AwyN9MlpqZIYs0AvfaJwl7RAtVhC0+u2f2SKwX0uMYYd3O98Z+OBA1sj6aWVKQA==", + "path": "harfbuzzsharp.nativeassets.win32/7.3.0.3", + "hashPath": "harfbuzzsharp.nativeassets.win32.7.3.0.3.nupkg.sha512" + }, + "MicroCom.Runtime/0.11.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-MEnrZ3UIiH40hjzMDsxrTyi8dtqB5ziv3iBeeU4bXsL/7NLSal9F1lZKpK+tfBRnUoDSdtcW3KufE4yhATOMCA==", + "path": "microcom.runtime/0.11.0", + "hashPath": "microcom.runtime.0.11.0.nupkg.sha512" + }, + "Microsoft.Data.Sqlite/9.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-lw6wthgXGx3r/U775k1UkUAWIn0kAT0wj4ZRq0WlhPx4WAOiBsIjgDKgWkXcNTGT0KfHiClkM+tyPVFDvxeObw==", + "path": "microsoft.data.sqlite/9.0.0", + "hashPath": "microsoft.data.sqlite.9.0.0.nupkg.sha512" + }, + "Microsoft.Data.Sqlite.Core/9.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-cFfZjFL+tqzGYw9lB31EkV1IWF5xRQNk2k+MQd+Cf86Gl6zTeAoiZIFw5sRB1Z8OxpEC7nu+nTDsLSjieBAPTw==", + "path": "microsoft.data.sqlite.core/9.0.0", + "hashPath": "microsoft.data.sqlite.core.9.0.0.nupkg.sha512" + }, + "SkiaSharp/2.88.9": { + "type": "package", + "serviceable": true, + "sha512": "sha512-3MD5VHjXXieSHCleRLuaTXmL2pD0mB7CcOB1x2kA1I4bhptf4e3R27iM93264ZYuAq6mkUyX5XbcxnZvMJYc1Q==", + "path": "skiasharp/2.88.9", + "hashPath": "skiasharp.2.88.9.nupkg.sha512" + }, + "SkiaSharp.NativeAssets.Win32/2.88.9": { + "type": "package", + "serviceable": true, + "sha512": "sha512-wb2kYgU7iy84nQLYZwMeJXixvK++GoIuECjU4ECaUKNuflyRlJKyiRhN1MAHswvlvzuvkrjRWlK0Za6+kYQK7w==", + "path": "skiasharp.nativeassets.win32/2.88.9", + "hashPath": "skiasharp.nativeassets.win32.2.88.9.nupkg.sha512" + }, + "SQLitePCLRaw.bundle_e_sqlite3/2.1.10": { + "type": "package", + "serviceable": true, + "sha512": "sha512-UxWuisvZ3uVcVOLJQv7urM/JiQH+v3TmaJc1BLKl5Dxfm/nTzTUrqswCqg/INiYLi61AXnHo1M1JPmPqqLnAdg==", + "path": "sqlitepclraw.bundle_e_sqlite3/2.1.10", + "hashPath": "sqlitepclraw.bundle_e_sqlite3.2.1.10.nupkg.sha512" + }, + "SQLitePCLRaw.core/2.1.10": { + "type": "package", + "serviceable": true, + "sha512": "sha512-Ii8JCbC7oiVclaE/mbDEK000EFIJ+ShRPwAvvV89GOZhQ+ZLtlnSWl6ksCNMKu/VGXA4Nfi2B7LhN/QFN9oBcw==", + "path": "sqlitepclraw.core/2.1.10", + "hashPath": "sqlitepclraw.core.2.1.10.nupkg.sha512" + }, + "SQLitePCLRaw.lib.e_sqlite3/2.1.10": { + "type": "package", + "serviceable": true, + "sha512": "sha512-mAr69tDbnf3QJpRy2nJz8Qdpebdil00fvycyByR58Cn9eARvR+UiG2Vzsp+4q1tV3ikwiYIjlXCQFc12GfebbA==", + "path": "sqlitepclraw.lib.e_sqlite3/2.1.10", + "hashPath": "sqlitepclraw.lib.e_sqlite3.2.1.10.nupkg.sha512" + }, + "SQLitePCLRaw.provider.e_sqlite3/2.1.10": { + "type": "package", + "serviceable": true, + "sha512": "sha512-uZVTi02C1SxqzgT0HqTWatIbWGb40iIkfc3FpFCpE/r7g6K0PqzDUeefL6P6HPhDtc6BacN3yQysfzP7ks+wSQ==", + "path": "sqlitepclraw.provider.e_sqlite3/2.1.10", + "hashPath": "sqlitepclraw.provider.e_sqlite3.2.1.10.nupkg.sha512" + }, + "Tmds.DBus.Protocol/0.21.3": { + "type": "package", + "serviceable": true, + "sha512": "sha512-hDwB8WsQoyALQKqIbwzS68UKdlnafDm4T/DkO/JrA/YIneP/rKv96SxYPVXeh3FP4i/SXfShrYftKLtciJAIlw==", + "path": "tmds.dbus.protocol/0.21.3", + "hashPath": "tmds.dbus.protocol.0.21.3.nupkg.sha512" + } + } +} \ No newline at end of file diff --git a/installer/_toolpublish/MonsterEditor/RynthCore.MonsterEditor.dll b/installer/_toolpublish/MonsterEditor/RynthCore.MonsterEditor.dll new file mode 100644 index 0000000..dbc0d46 Binary files /dev/null and b/installer/_toolpublish/MonsterEditor/RynthCore.MonsterEditor.dll differ diff --git a/installer/_toolpublish/MonsterEditor/RynthCore.MonsterEditor.exe b/installer/_toolpublish/MonsterEditor/RynthCore.MonsterEditor.exe new file mode 100644 index 0000000..18c6d0d Binary files /dev/null and b/installer/_toolpublish/MonsterEditor/RynthCore.MonsterEditor.exe differ diff --git a/installer/_toolpublish/MonsterEditor/RynthCore.MonsterEditor.pdb b/installer/_toolpublish/MonsterEditor/RynthCore.MonsterEditor.pdb new file mode 100644 index 0000000..34408c3 Binary files /dev/null and b/installer/_toolpublish/MonsterEditor/RynthCore.MonsterEditor.pdb differ diff --git a/installer/_toolpublish/MonsterEditor/RynthCore.MonsterEditor.runtimeconfig.json b/installer/_toolpublish/MonsterEditor/RynthCore.MonsterEditor.runtimeconfig.json new file mode 100644 index 0000000..f730443 --- /dev/null +++ b/installer/_toolpublish/MonsterEditor/RynthCore.MonsterEditor.runtimeconfig.json @@ -0,0 +1,13 @@ +{ + "runtimeOptions": { + "tfm": "net10.0", + "framework": { + "name": "Microsoft.NETCore.App", + "version": "10.0.0" + }, + "configProperties": { + "System.Reflection.Metadata.MetadataUpdater.IsSupported": false, + "System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false + } + } +} \ No newline at end of file diff --git a/installer/_toolpublish/MonsterEditor/SQLitePCLRaw.batteries_v2.dll b/installer/_toolpublish/MonsterEditor/SQLitePCLRaw.batteries_v2.dll new file mode 100644 index 0000000..53e53eb Binary files /dev/null and b/installer/_toolpublish/MonsterEditor/SQLitePCLRaw.batteries_v2.dll differ diff --git a/installer/_toolpublish/MonsterEditor/SQLitePCLRaw.core.dll b/installer/_toolpublish/MonsterEditor/SQLitePCLRaw.core.dll new file mode 100644 index 0000000..b563677 Binary files /dev/null and b/installer/_toolpublish/MonsterEditor/SQLitePCLRaw.core.dll differ diff --git a/installer/_toolpublish/MonsterEditor/SQLitePCLRaw.provider.e_sqlite3.dll b/installer/_toolpublish/MonsterEditor/SQLitePCLRaw.provider.e_sqlite3.dll new file mode 100644 index 0000000..a06a782 Binary files /dev/null and b/installer/_toolpublish/MonsterEditor/SQLitePCLRaw.provider.e_sqlite3.dll differ diff --git a/installer/_toolpublish/MonsterEditor/SkiaSharp.dll b/installer/_toolpublish/MonsterEditor/SkiaSharp.dll new file mode 100644 index 0000000..5d7e9cd Binary files /dev/null and b/installer/_toolpublish/MonsterEditor/SkiaSharp.dll differ diff --git a/installer/_toolpublish/MonsterEditor/Tmds.DBus.Protocol.dll b/installer/_toolpublish/MonsterEditor/Tmds.DBus.Protocol.dll new file mode 100644 index 0000000..1dd38c3 Binary files /dev/null and b/installer/_toolpublish/MonsterEditor/Tmds.DBus.Protocol.dll differ diff --git a/installer/_toolpublish/MonsterEditor/av_libglesv2.dll b/installer/_toolpublish/MonsterEditor/av_libglesv2.dll new file mode 100644 index 0000000..c327f9e Binary files /dev/null and b/installer/_toolpublish/MonsterEditor/av_libglesv2.dll differ diff --git a/installer/_toolpublish/MonsterEditor/e_sqlite3.dll b/installer/_toolpublish/MonsterEditor/e_sqlite3.dll new file mode 100644 index 0000000..8c1c1d9 Binary files /dev/null and b/installer/_toolpublish/MonsterEditor/e_sqlite3.dll differ diff --git a/installer/_toolpublish/MonsterEditor/libHarfBuzzSharp.dll b/installer/_toolpublish/MonsterEditor/libHarfBuzzSharp.dll new file mode 100644 index 0000000..01deb29 Binary files /dev/null and b/installer/_toolpublish/MonsterEditor/libHarfBuzzSharp.dll differ diff --git a/installer/_toolpublish/MonsterEditor/libSkiaSharp.dll b/installer/_toolpublish/MonsterEditor/libSkiaSharp.dll new file mode 100644 index 0000000..3f8c6f2 Binary files /dev/null and b/installer/_toolpublish/MonsterEditor/libSkiaSharp.dll differ diff --git a/installer/previous-release/last-built-version.txt b/installer/previous-release/last-built-version.txt new file mode 100644 index 0000000..a2094f3 --- /dev/null +++ b/installer/previous-release/last-built-version.txt @@ -0,0 +1 @@ +0.4.10 \ No newline at end of file diff --git a/src/RynthCore.App.Avalonia/App.axaml.cs b/src/RynthCore.App.Avalonia/App.axaml.cs index 150a5b9..d0fa2db 100644 --- a/src/RynthCore.App.Avalonia/App.axaml.cs +++ b/src/RynthCore.App.Avalonia/App.axaml.cs @@ -1,6 +1,8 @@ +using System; using Avalonia; using Avalonia.Controls.ApplicationLifetimes; using Avalonia.Markup.Xaml; +using RynthCore; namespace RynthCore.App.Avalonia; @@ -13,6 +15,18 @@ public partial class App : Application public override void OnFrameworkInitializationCompleted() { + try + { + string t = DateTime.Now.ToString("O"); + DesktopRollingLog.AppendLine(DesktopRollingLog.StemLauncher, + $"[{t}] [pid:{Environment.ProcessId}] RynthCore.App.Avalonia started (launcher)."); + // Detailed host + sidecar file layout (see LauncherHostDiagnostics) for runtime mis-detection triage. + LauncherHostDiagnostics.AppendDesktopLogBlock(t); + } + catch + { + } + if (ApplicationLifetime is IClassicDesktopStyleApplicationLifetime desktop) desktop.MainWindow = new MainWindow(); diff --git a/src/RynthCore.App.Avalonia/LauncherHostDiagnostics.cs b/src/RynthCore.App.Avalonia/LauncherHostDiagnostics.cs new file mode 100644 index 0000000..4b1eed3 --- /dev/null +++ b/src/RynthCore.App.Avalonia/LauncherHostDiagnostics.cs @@ -0,0 +1,110 @@ +using System; +using System.IO; +using System.Runtime.InteropServices; +using System.Text; +using RynthCore; + +namespace RynthCore.App.Avalonia; + +/// +/// One-shot host metadata for the Avalonia launcher: helps confirm the renamed apphost +/// (RynthCore.exe) sits next to matching .runtimeconfig.json / .deps.json after installer staging. +/// +internal static class LauncherHostDiagnostics +{ + /// Single line for the in-window activity feed (short). + internal static string BuildActivitySummaryLine() + { + string exe = TryGetHostExePath(); + string dir = Path.GetDirectoryName(exe) ?? AppContext.BaseDirectory; + HostSidecars side = DescribeSidecars(dir); + // x64 FDD tool prereq: same registry keys as installer/RynthCore.iss (see NetDesktopX64Prerequisite). + string suiteTools = NetDesktopX64Prerequisite.IsSatisfied() + ? "x64 suite tools: .NET 10+ OK (registry, same as setup)" + : "x64 suite tools: .NET 10+ not found — install x64 runtime from " + NetDesktopX64Prerequisite.DotNet10RuntimeDownloadUrl; + if (!Environment.Is64BitOperatingSystem) + suiteTools = "x64 suite tools: n/a on 32-bit OS (same as setup)"; + + return + $"Host: {RuntimeInformation.FrameworkDescription}, arch={RuntimeInformation.ProcessArchitecture}, " + + $"runtimeconfig={(side.RenamedRuntimeConfig ? "RynthCore" : side.LegacyRuntimeConfig ? "App.Avalonia (mismatch?)" : "missing")}, " + + $"deps={(side.RenamedDeps ? "RynthCore" : side.LegacyDeps ? "App.Avalonia (mismatch?)" : "missing")}; {suiteTools}"; + } + + /// Writes a detailed block to the desktop rolling launcher log. + internal static void AppendDesktopLogBlock(string timestampIso) + { + try + { + string exe = TryGetHostExePath(); + string dir = Path.GetDirectoryName(exe) ?? AppContext.BaseDirectory; + HostSidecars side = DescribeSidecars(dir); + + var sb = new StringBuilder(512); + sb.Append('[').Append(timestampIso).Append("] [pid:").Append(Environment.ProcessId).AppendLine("] Launcher host resolution:"); + sb.Append(" ProcessPath: ").AppendLine(exe); + sb.Append(" BaseDirectory: ").AppendLine(AppContext.BaseDirectory); + sb.Append(" Framework: ").AppendLine(RuntimeInformation.FrameworkDescription); + sb.Append(" OSDescription: ").AppendLine(RuntimeInformation.OSDescription); + sb.Append(" ProcessArchitecture: ").AppendLine(RuntimeInformation.ProcessArchitecture.ToString()); + sb.Append(" CLR: ").AppendLine(Environment.Version.ToString()); + sb.Append(" RynthCore.runtimeconfig.json: ").AppendLine(side.RenamedRuntimeConfig ? "present" : "absent"); + sb.Append(" RynthCore.App.Avalonia.runtimeconfig.json: ").AppendLine(side.LegacyRuntimeConfig ? "present (unexpected if exe is RynthCore.exe)" : "absent"); + sb.Append(" RynthCore.deps.json: ").AppendLine(side.RenamedDeps ? "present" : "absent"); + sb.Append(" RynthCore.App.Avalonia.deps.json: ").AppendLine(side.LegacyDeps ? "present (unexpected if exe is RynthCore.exe)" : "absent"); + // Loot/Monster editors are x64 FDD: probe matches RynthCore.iss prerequisite page (64-bit registry view). + sb.Append(" x64 FDD tool runtime (Loot/Monster, same checks as installer): ") + .AppendLine(NetDesktopX64Prerequisite.IsSatisfied() ? "present" : "not detected") + .Append(" .NET 10+ x64 download hub: ") + .AppendLine(NetDesktopX64Prerequisite.DotNet10RuntimeDownloadUrl); + + DesktopRollingLog.AppendLine(DesktopRollingLog.StemLauncher, sb.ToString()); + } + catch + { + // Logging must never prevent startup. + } + } + + private static string TryGetHostExePath() + { + try + { + // Prefer the actual apphost path (works for published rename to RynthCore.exe). + string? p = Environment.ProcessPath; + if (!string.IsNullOrWhiteSpace(p)) + return p; + } + catch + { + // ignore + } + + try + { + return typeof(App).Assembly.Location; + } + catch + { + return string.Empty; + } + } + + private static HostSidecars DescribeSidecars(string directory) + { + if (string.IsNullOrWhiteSpace(directory) || !Directory.Exists(directory)) + return new HostSidecars(false, false, false, false); + + bool renamedRc = File.Exists(Path.Combine(directory, "RynthCore.runtimeconfig.json")); + bool legacyRc = File.Exists(Path.Combine(directory, "RynthCore.App.Avalonia.runtimeconfig.json")); + bool renamedDeps = File.Exists(Path.Combine(directory, "RynthCore.deps.json")); + bool legacyDeps = File.Exists(Path.Combine(directory, "RynthCore.App.Avalonia.deps.json")); + return new HostSidecars(renamedRc, legacyRc, renamedDeps, legacyDeps); + } + + private readonly record struct HostSidecars( + bool RenamedRuntimeConfig, + bool LegacyRuntimeConfig, + bool RenamedDeps, + bool LegacyDeps); +} diff --git a/src/RynthCore.App.Avalonia/MainWindow.axaml b/src/RynthCore.App.Avalonia/MainWindow.axaml index 8aab5b3..c202931 100644 --- a/src/RynthCore.App.Avalonia/MainWindow.axaml +++ b/src/RynthCore.App.Avalonia/MainWindow.axaml @@ -285,6 +285,15 @@ + + + + + + + + +