feat: port aelrynth 2026.9.27.2 snapshot onto GitHub history
Overlay upstream/main (9b5e276) onto BlankenshipG main without rewriting
history. Keep origin-only Decal/plugin/docs trees. Re-apply aelrynth.com
and sibling-fork URL fixes that aelrynth git still has as tombohar links.
Co-authored-by: BlankenshipG <BlankenshipG@users.noreply.github.com>
This commit is contained in:
parent
ac0d743e16
commit
4ddbb52eb2
244 changed files with 59710 additions and 3067 deletions
59
.github/workflows/ci-statusagent.yml
vendored
Normal file
59
.github/workflows/ci-statusagent.yml
vendored
Normal file
|
|
@ -0,0 +1,59 @@
|
|||
name: CI — StatusAgent build
|
||||
|
||||
# Builds on a Windows runner so the (otherwise Windows/NativeAOT-only) code is
|
||||
# actually compiled in CI, and publishes a standalone RynthCore.StatusAgent.exe
|
||||
# as a downloadable artifact. Runs on PRs that touch source + on manual dispatch.
|
||||
on:
|
||||
pull_request:
|
||||
paths:
|
||||
- 'src/**'
|
||||
- '.github/workflows/ci-statusagent.yml'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: windows-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup .NET 10
|
||||
uses: actions/setup-dotnet@v4
|
||||
with:
|
||||
dotnet-version: '10.0.x'
|
||||
|
||||
# ── Compile-check the engine-side changes (managed build; no ILC/AOT link,
|
||||
# no RynthSuite needed — this just verifies the C# compiles). ──────────
|
||||
- name: Compile-check RynthCore.Engine
|
||||
shell: pwsh
|
||||
run: |
|
||||
dotnet build src/RynthCore.Engine/RynthCore.Engine.csproj -c Release
|
||||
if ($LASTEXITCODE -ne 0) { throw "RynthCore.Engine failed to compile" }
|
||||
|
||||
# ── Build + publish the StatusAgent as a standalone single-file exe so it
|
||||
# runs on the gaming PC with no .NET install. ──────────────────────────
|
||||
- name: Publish RynthCore.StatusAgent (self-contained win-x64)
|
||||
shell: pwsh
|
||||
run: |
|
||||
dotnet publish src/RynthCore.StatusAgent/RynthCore.StatusAgent.csproj `
|
||||
-c Release -r win-x64 --self-contained true `
|
||||
-p:PublishSingleFile=true -p:IncludeNativeLibrariesForSelfExtract=true `
|
||||
-o publish/StatusAgent
|
||||
if ($LASTEXITCODE -ne 0) { throw "RynthCore.StatusAgent failed to publish" }
|
||||
Get-ChildItem publish/StatusAgent | Format-Table Name,Length
|
||||
|
||||
- name: Smoke test (--once --dry-run)
|
||||
shell: pwsh
|
||||
run: |
|
||||
# No status files / no AC running on the runner, so this just proves the
|
||||
# exe starts, reads cleanly, and exits 0 in local print-only mode.
|
||||
./publish/StatusAgent/RynthCore.StatusAgent.exe --once --dry-run --verbose
|
||||
if ($LASTEXITCODE -ne 0) { throw "StatusAgent smoke test exited $LASTEXITCODE" }
|
||||
|
||||
- name: Upload StatusAgent artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: RynthCore.StatusAgent-win-x64
|
||||
path: publish/StatusAgent/**
|
||||
if-no-files-found: error
|
||||
100
.github/workflows/release.yml
vendored
100
.github/workflows/release.yml
vendored
|
|
@ -10,6 +10,10 @@ on:
|
|||
description: 'Version number (e.g. 0.3) — creates tag v<version>'
|
||||
required: true
|
||||
default: '0.3'
|
||||
rynthsuite_ref:
|
||||
description: 'RynthSuite ref to build against (tag/branch/SHA). Blank = matching version tag, else default branch.'
|
||||
required: false
|
||||
default: ''
|
||||
push:
|
||||
tags:
|
||||
- 'v*'
|
||||
|
|
@ -31,12 +35,21 @@ jobs:
|
|||
- name: Checkout RynthCore
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Checkout RynthSuite (sibling of RynthCore)
|
||||
# Pin the sibling to the matching version tag so a tagged release is
|
||||
# REPRODUCIBLE (otherwise it builds against whatever RynthSuite main is at
|
||||
# build time — PluginContractVersion skew is one push away). Falls back to
|
||||
# the default branch (with a CI warning) if the matching tag doesn't exist
|
||||
# yet, e.g. a manual dispatch before RynthSuite is tagged.
|
||||
- name: Checkout RynthSuite (sibling, pinned)
|
||||
shell: pwsh
|
||||
run: |
|
||||
$parent = Split-Path "$env:GITHUB_WORKSPACE" -Parent
|
||||
$dest = "$parent\RynthSuite"
|
||||
Write-Host "Cloning RynthSuite to: $dest"
|
||||
if ("${{ github.event_name }}" -eq "push") { $want = "${{ github.ref_name }}" }
|
||||
else { $want = "v${{ github.event.inputs.version }}" }
|
||||
$override = "${{ github.event.inputs.rynthsuite_ref }}"
|
||||
if ($override) { $want = $override }
|
||||
Write-Host "Cloning RynthSuite to: $dest (pin target: $want)"
|
||||
# Sibling fork on the same GitHub owner (BlankenshipG in this environment).
|
||||
# Canonical public source is https://aelrynth.com/git/RynthSuite.git — CI uses
|
||||
# the GitHub sibling so the release build matches this fork pair.
|
||||
|
|
@ -44,17 +57,53 @@ jobs:
|
|||
# git clone https://x-access-token:${{ secrets.GH_PAT }}@github.com/${{ github.repository_owner }}/RynthSuite.git $dest
|
||||
git clone "https://github.com/${{ github.repository_owner }}/RynthSuite.git" $dest
|
||||
if ($LASTEXITCODE -ne 0) { throw "git clone RynthSuite failed" }
|
||||
git -C $dest fetch --tags --quiet
|
||||
if ($want -and (git -C $dest rev-parse --verify --quiet "$want^{commit}")) {
|
||||
git -C $dest checkout --quiet $want
|
||||
if ($LASTEXITCODE -ne 0) { throw "checkout RynthSuite $want failed" }
|
||||
Write-Host "RynthSuite pinned to: $want"
|
||||
} else {
|
||||
Write-Host "::warning::RynthSuite ref '$want' not found; building against default branch HEAD (NOT reproducible)"
|
||||
}
|
||||
Write-Host "RynthSuite at commit: $(git -C $dest rev-parse HEAD)"
|
||||
|
||||
# ── Toolchain ─────────────────────────────────────────────────────────────
|
||||
- name: Setup .NET 9
|
||||
- name: Setup .NET 10
|
||||
uses: actions/setup-dotnet@v4
|
||||
with:
|
||||
dotnet-version: '9.0.x'
|
||||
dotnet-version: '10.0.x'
|
||||
|
||||
- name: Install Inno Setup 6
|
||||
run: choco install innosetup --yes --no-progress
|
||||
shell: pwsh
|
||||
|
||||
- name: Setup Python (for validation gates)
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.12'
|
||||
|
||||
# ── Validation gates (fail the release before building if any trips) ───────
|
||||
# Gate 1: off-thread AC-mutator check — guards the off-thread-mutation AV
|
||||
# class (the root of the 2026-06 crash week). Pure source scan, no binary.
|
||||
# Gate 2: LootSdk golden tests — 60+ assertions on the loot-profile parser
|
||||
# that ships in the bundled plugin (run against the pinned RynthSuite).
|
||||
# Gate 3 (pe_pattern CHECK) is LOCAL-ONLY: it needs the 1.4 GB acclient.exe
|
||||
# that CI doesn't have, so it runs as a pre-deploy gate in Deploy-RynthCore.ps1.
|
||||
- name: Validation gates
|
||||
shell: pwsh
|
||||
run: |
|
||||
$parent = Split-Path "$env:GITHUB_WORKSPACE" -Parent
|
||||
Write-Host "== Gate 1: off-thread AC-mutator check =="
|
||||
python "$env:GITHUB_WORKSPACE\tools\check_offthread_mutators.py"
|
||||
if ($LASTEXITCODE -ne 0) { throw "off-thread mutator gate FAILED — an AC mutator is reachable off the main thread" }
|
||||
|
||||
Write-Host "== Gate 2: LootSdk golden tests =="
|
||||
dotnet run --project "$parent\RynthSuite\Tools\RynthCore.LootSdkTests\RynthCore.LootSdkTests.csproj" -c Release
|
||||
if ($LASTEXITCODE -ne 0) { throw "LootSdk golden tests FAILED" }
|
||||
|
||||
Write-Host "== Gate 3: pe_pattern CHECK — LOCAL ONLY =="
|
||||
Write-Host " (skipped in CI: needs the 1.4 GB acclient.exe; runs pre-deploy via Deploy-RynthCore.ps1)"
|
||||
|
||||
# ── Determine version ──────────────────────────────────────────────────────
|
||||
- name: Resolve version
|
||||
id: ver
|
||||
|
|
@ -102,17 +151,42 @@ jobs:
|
|||
## Installation
|
||||
|
||||
1. Download **RynthCore-Setup.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
|
||||
5. The RynthAi panel will appear inside the AC window
|
||||
2. Open **RynthCore** from the Start Menu or Desktop shortcut
|
||||
|
||||
---
|
||||
|
||||
**First-time setup** — in the RynthCore launcher:
|
||||
- Set your `acclient.exe` path under **Runtime Paths** if prompted
|
||||
- The plugin auto-loads from `C:\Games\RynthCore\Runtime\Plugins\`
|
||||
## ⚠ Important first-time setup
|
||||
|
||||
Loot, nav, and meta profiles go in `C:\Games\RynthSuite\RynthAi\`
|
||||
### 1. Second AC client install (required for multi-client coexistence)
|
||||
|
||||
Log file: `%USERPROFILE%\Desktop\RynthCore.log`
|
||||
If you also play Asheron's Call through ThwargLauncher or another launcher, you **must** keep a separate copy of the AC client for RynthCore launches. Otherwise the two stacks fight over the same DAT files and one of them will fail with "cannot access the data files."
|
||||
|
||||
Run this once in PowerShell:
|
||||
|
||||
```powershell
|
||||
robocopy "C:\Turbine\Asheron's Call" "C:\Games\RynthCore\AcClient" /E /MT:8 /NFL /NDL /NJH /NJS /NP /XF "acclient_*.log" "acclient.log"
|
||||
```
|
||||
|
||||
Then in the RynthCore launcher, set **AC Client Path** to:
|
||||
```
|
||||
C:\Games\RynthCore\AcClient\acclient.exe
|
||||
```
|
||||
|
||||
(~1.4 GB extra disk. The two installs share `Documents\Asheron's Call\UserPreferences.ini` so multi-port stays in sync.)
|
||||
|
||||
### 2. Add the RynthAi plugin (opt-in)
|
||||
|
||||
The installer drops the plugin DLL at `C:\Games\RynthSuite\RynthAi\RynthCore.Plugin.RynthAi.dll`. The engine does **not** auto-scan a Plugins folder. To enable RynthAi:
|
||||
|
||||
- Open the launcher → **Plugins** tab → **Add Plugin DLL**
|
||||
- Browse to `C:\Games\RynthSuite\RynthAi\RynthCore.Plugin.RynthAi.dll`
|
||||
- Launch AC. The RynthAi panel appears inside the AC window.
|
||||
|
||||
Loot, nav, and meta profiles also live under `C:\Games\RynthSuite\RynthAi\`.
|
||||
|
||||
---
|
||||
|
||||
## Logs
|
||||
|
||||
- Unified RynthCore log: `C:\Games\RynthCore\Logs\RynthCore.log`
|
||||
- Crash dumps and engine init traces show up there with `[loader]`, `[engine]`, `[plugin]`, and `[compat]` tags.
|
||||
|
|
|
|||
Loading…
Reference in a new issue