- C# 95.9%
- PowerShell 1.5%
- C 1.2%
- Python 1.1%
- Inno Setup 0.2%
- Other 0.1%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
The long-standing "DX9 error / client crash on logout" was ChatHooks.TickHide calling SetVisible() on a stale gmMainChatUI pointer that AC frees during the world-to-charselect transition. TickHide now gates on HasObservedLoginComplete and the cached instance is reset in DispatchPendingLogout. CrashLogger gained a register dump + EBP-frame walk + ESP sweep with module resolution that made this trace possible. Plugin contract bumped to v57 with optional RynthPluginOnLogout export. LogoutLifecycleHooks hooks CPlayerSystem::ExecuteLogOff (fires after the user confirms the logoff prompt — not RecvNotice_EndCharacterSession which fires on the menu click before the prompt) plus RecvNotice_Logoff as fallback. RynthCoreShell + PluginManager.RenderAll gate on HasObservedLoginComplete so the bar/plugins hide between sessions. ClientObjectHooks.TryGetObjectSkill now calls CACQualities::InqSkill(raw=0) for the truly buffed skill — the old code returned InitialLevel + LevelFromPracticePoints which is just the base trained level, missing attribute / augmentation / spell-buff contributions. CharacterCaptureHooks latches _autoLoginEverFired so manual logout doesn't re-fire auto-login from the next 0xF658 packet. AccountProfileDialog drops the now-redundant Character/Slot field. UpdateObjectInventoryHooks pack scan also matches by wielderID so wielded items are picked up. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
| .github/workflows | ||
| docs | ||
| installer | ||
| Plugins | ||
| scripts | ||
| src | ||
| .gitattributes | ||
| .gitignore | ||
| AGENTS.md | ||
| BUILD.md | ||
| CLAUDE.md | ||
| find_bytes.cs | ||
| LICENSE | ||
| loot-port-plan.txt | ||
| README.md | ||
| RynthCore.sln | ||
RynthCore
RynthCore is a modern .NET 9 modding host for Asheron's Call. It combines an x86 NativeAOT in-process engine, an injector, a desktop launcher, and a plugin surface.
The project is currently focused on three things:
- launching and injecting the RynthCore engine into
acclient.exe - hosting in-game UI through an embedded overlay stack
- building a RynthCore-native plugin API with hooks for chat, combat, targeting, movement, object, and UI events
Solution layout
The repository currently ships these main projects:
src/RynthCore.Engine- x86 NativeAOT runtime injected into the game clientsrc/RynthCore.Injector- process launch and DLL injection servicesrc/RynthCore.App- Windows desktop launchersrc/RynthCore.App.Avalonia- Avalonia launcher preview and profile managersrc/RynthCore.PluginSdk- public host API surface for pluginssrc/RynthCore.PluginCore- runtime helpers for plugin bootstrap/lifecyclePlugins/RynthCore.Plugin.HelloBox- sample plugin used for end-to-end testing
Current capabilities
- injects
RynthCore.Engine.dllinto the x86 Asheron's Call client - hosts overlay panels inside the game process
- includes launcher/profile flows for servers, accounts, and saved launch targets
- exposes a growing plugin host API for chat, target, combat, movement, object, and UI-related hooks
- includes legal guardrails and hook planning docs
Prerequisites
- Windows
- .NET 9 SDK
- Visual Studio 2022 with the .NET desktop and C++ desktop workloads
The engine project targets win-x86 and uses NativeAOT. A bundled cimgui.dll is included 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 main runtime pieces individually:
dotnet publish .\src\RynthCore.Engine\RynthCore.Engine.csproj -c Release
dotnet publish .\src\RynthCore.App\RynthCore.App.csproj -c Release -r win-x86
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 payload under C:\Games\RynthCore\Runtime\. The injector now resolves Runtime\RynthCore.Engine.dll by default, which keeps the game folder tidier while still allowing manual overrides.
You can produce that layout with:
.\scripts\Deploy-RynthCore.ps1
Repository notes
- local settings and machine-specific files are ignored through
.gitignore - generated
bin/,obj/,.vs/, and.dotnet-home/content should not be committed - launcher data such as profiles and runtime state is expected to live outside the repository
- compatibility planning and legal guardrails live in
docs/
See:
docs/ACCLIENT_HOOK_INVENTORY.mddocs/PLUGIN_HOOK_MATRIX.mddocs/LEGAL_COMPATIBILITY.md
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.