RynthCore - MIT, for the original Asheron's Call client. Public source snapshot (one commit per release). https://aelrynth.com/projects.html#rynth
  • C# 95.9%
  • PowerShell 1.5%
  • C 1.2%
  • Python 1.1%
  • Inno Setup 0.2%
  • Other 0.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Daniel Wallace 397e4cbc00 Network bar: review fixes (pacing, pending join, join plan, pins)
- AcCharacterOptions takes a resolved address only when HookResolver says
  pattern-unique and the pattern matches exactly once (HookResolver
  reports pattern-unique without scanning on when its first match is the
  fallback VA, so the count is checked here too).
- The network bar's work runs one op per WM_RYNTHCORE_NETWORK message, at
  least 250 ms apart (OnLoginCommandRunner's gap); the message is posted
  again only once the gap has passed (the click, and the chat pump every
  poll), never slept for on AC's thread. Work older than 10 s is dropped.
- The once-per-session status question counts as asked only once it was
  sent (NetworkQueryState); a dropped one is asked again on the next view.
  Each op carries the entry it was asked for.
- Join no longer sets the room option at once: it waits (15 s) for the
  mod's "on" line (NetworkPendingJoin), so a refused join sets nothing.
- ChatNetwork.JoinPlan: a room an earlier Join turned on that is no longer
  the Global one is turned off first; the current one is turned on (and
  recorded) only when it is off.
- "This world is not on the Dereth Network." clears the reply eater and
  a waiting Join; the line is shown.
- Session resets are hooked at init (InstallInput).
- ChatFilterTests: the new state machines as pure logic, and source pins,
  each with a mutation proof, for the unique-pattern check, Rewrite after
  AddHistory in OnSend, PumpNetworkLines in the poll path, the login and
  logout resets, and Module() before every delegate use in TryGet/TrySet.
  The ChatPins comment is back on PinBookkeeping.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 11:04:19 -08:00
.github/workflows RynthCore as of 2026-09-05 (internal f9abab9) 2026-09-25 21:22:59 -04:00
Changelog RynthCore as of 2026-11-12 (internal eb12118): release 2026.11.12.1 2026-11-12 19:56:36 -05:00
docs Snapshot for release 2026.10.31.1 (internal 69b244e) 2026-10-31 15:01:58 -04:00
installer RynthCore as of 2026-11-10 (internal b7e3008): release 2026.11.10.1 2026-11-10 15:28:10 -05:00
native Snapshot for release 2026.10.31.4 (internal 34cea02) 2026-11-01 18:47:28 -05:00
runtime-patches Snapshot for release 2026.10.23.1 (internal 4204305) 2026-10-23 16:34:00 -04:00
scripts Snapshot for release 2026.10.23.1 (internal 4204305) 2026-10-23 16:34:00 -04:00
spikes RynthCore as of 2026-10-04 (internal 843c801): RynthNav auto-travel and the navigation map, plugin API v75 (server and titles), launcher with Available plugins, download progress and the update on the front page, opt-in usage statistics, NPC names, radar colours, title-bar text size, FPS limiter, client action unlocks, release 2026.10.4.6 2026-10-04 18:34:27 -04:00
src Network bar: review fixes (pacing, pending join, join plan, pins) 2026-11-15 11:04:19 -08:00
tools Network bar: review fixes (pacing, pending join, join plan, pins) 2026-11-15 11:04:19 -08:00
.gitattributes RynthCore as of 2026-09-05 (internal f9abab9) 2026-09-25 21:22:59 -04:00
.gitignore RynthCore as of 2026-10-04 (internal 843c801): RynthNav auto-travel and the navigation map, plugin API v75 (server and titles), launcher with Available plugins, download progress and the update on the front page, opt-in usage statistics, NPC names, radar colours, title-bar text size, FPS limiter, client action unlocks, release 2026.10.4.6 2026-10-04 18:34:27 -04:00
BUILD.md Snapshot for release 2026.10.22.2 (internal 466f796) 2026-10-22 16:42:32 -04:00
CONTRIBUTING.md Snapshot for release 2026.10.21.1 (internal 6556f92) 2026-10-21 09:35:06 -04:00
LICENSE RynthCore as of 2026-09-05 (internal f9abab9) 2026-09-25 21:22:59 -04:00
README.md Snapshot for release 2026.10.31.1 (internal 69b244e) 2026-10-31 15:01:58 -04:00
RynthCore.sln Snapshot for release 2026.10.31.1 (internal 69b244e) 2026-10-31 15:01:58 -04:00
THIRD-PARTY-NOTICES.md RynthCore as of 2026-11-10 (internal b7e3008): release 2026.11.10.1 2026-11-10 15:28:10 -05:00

RynthCore

RynthCore is a modern .NET 10 modding host for Asheron's Call. It combines an x86 NativeAOT in-process engine, a hot-reload-capable loader, an injector, an Avalonia desktop launcher, and a plugin surface that replaces the legacy Decal + UBService + VTank stack with a self-contained RynthCore-native API.

The plugin code (RynthAi etc.) lives in a sibling repository: RynthSuite.

What it does

  • Launches acclient.exe (suspended if needed) and injects the RynthCore loader
  • Hosts in-game UI through an embedded ImGui overlay, with a parallel Avalonia overlay stack for floating panels (and for Decal coexistence mode where ImGui is disabled)
  • Exposes a growing plugin host API with hooks for chat, combat, targeting, movement, object lifecycle, vendor/trade, vitals, enchantments, and UI events
  • Hot-reloads plugin DLLs without restarting AC; hot-reloads the engine itself via the loader DLL
  • Detects Decal/UBService/VTank coexistence and degrades gracefully (skips D3D9 path, drives plugin tick from a worker thread)

Solution layout

RynthCore.sln
├── src/RynthCore.Loader            x86 NativeAOT DLL — injection target.
│                                    Owns RynthCoreInit; loads + reloads
│                                    the Engine.
├── src/RynthCore.Engine             x86 NativeAOT DLL — the runtime
│                                    injected into acclient.exe. Pattern-
│                                    scanned hooks, D3D9 + ImGui + Avalonia
│                                    overlays, plugin manager, crash logger.
├── src/RynthCore.Injector           x86 console — Win32 LoadLibrary +
│                                    CreateRemoteThread injector with a
│                                    suspended-launch / early-inject path.
├── src/RynthCore.App.Avalonia       Desktop launcher (Avalonia 11.2.3,
│                                    Fluent theme). Profile management,
│                                    server status, launches and injects.
├── src/RynthCore.App                Shared service classes linked into
│                                    both Engine and Avalonia launcher
│                                    via <Compile Include /> — not built
│                                    standalone.
├── src/RynthCore.PluginSdk          Public host API surface for plugins.
└── src/RynthCore.PluginCore         RynthPluginBase + lifecycle helpers.

Prerequisites

  • Windows 10 or 11
  • .NET 10 SDK (x86)
  • Visual Studio 2022 Build Tools with the .NET desktop and C++ desktop workloads (the C++ tools are required by the NativeAOT ILC linker)
  • Asheron's Call client installed (default: C:\Turbine\Asheron's Call\)

The Engine, Loader, and plugin projects target net10.0-windows with RuntimeIdentifier=win-x86 and PublishAot=true. A bundled cimgui.dll ships under src/RynthCore.Engine/Native/.

Build

From the repository root:

$env:DOTNET_CLI_HOME = "$PWD\.dotnet-home"
$env:DOTNET_SKIP_FIRST_TIME_EXPERIENCE = "1"
dotnet build .\RynthCore.sln -c Release

To publish the runtime pieces individually (use publish, not build, for any NativeAOT project):

dotnet publish .\src\RynthCore.Loader\RynthCore.Loader.csproj -c Release
dotnet publish .\src\RynthCore.Engine\RynthCore.Engine.csproj -c Release
dotnet publish .\src\RynthCore.App.Avalonia\RynthCore.App.Avalonia.csproj -c Release

For a clean local deployment, keep the launcher at the top level of C:\Games\RynthCore\ and place the injectable engine and loader payloads under C:\Games\RynthCore\Runtime\. The injector's saved-path resolver prefers Runtime\RynthCore.Loader.dll, falls back to Runtime\RynthCore.Engine.dll for legacy direct-load setups, and walks up sibling directories so manual layouts still work.

You can produce that layout with:

.\scripts\Deploy-RynthCore.ps1

For full deploy details, the Inno Setup installer, and gotchas, see BUILD.md.

Documentation

  • BUILD.md — full build, deploy, and installer instructions
  • CLAUDE.md — project memory file (architecture orientation, technical facts, common pitfalls)
  • docs/ACCLIENT_HOOK_INVENTORY.md — hook target inventory against the user's live acclient.exe
  • docs/PLUGIN_HOOK_MATRIX.md — clean-room hook surface matrix
  • docs/LEGAL_COMPATIBILITY.md — project policy on Decal/VTank compatibility
  • installer/HEADLESS-README.md — players' guide to the experimental Headless mode (installed as Headless\README.md)
  • docs/archive/ — archived plans and one-off utilities

Repository notes

  • Local settings, machine-specific files, generated bin/, obj/, .vs/, .dotnet-home/ content, and launcher data (profiles, runtime state) are kept out of source control via .gitignore
  • Plugin code lives in the RynthSuite repo as a sibling clone

Security and secrets

This repository should not contain API keys, local secrets, or machine-specific credentials. If you add any local integrations later, keep them in ignored files such as .env, appsettings.Local.json, or other untracked local config.

License

This project is released under the MIT License. See LICENSE.