Modern open-source C# .NET 10 Asheron's Call client. Faithful port of retail client behaviour to Silk.NET with a plugin API.
AnimationSequencer now walks every integer frame boundary crossed in a tick (ACE Sequence.update_internal pattern), dispatching AnimationHook objects whose Direction matches the playback direction (Forward or Backward) or is Both. Mirrors ACE's Sequence.execute_hooks exactly. New public API: - ConsumePendingHooks() drains all hooks fired since last call, including AnimationDone sentinel on link-node drain (emote/attack completion). - ConsumeRootMotionDelta() drains accumulated PosFrames root motion; AFrame.Combine (forward) / AFrame.Subtract (backward) applied per crossed frame to match retail. - CurrentVelocity / CurrentOmega expose the active MotionData's velocity and omega (scaled by speedMod at enqueue), letting downstream physics integrate the animation-driven motion. All 27 AnimationHookType variants (SoundHook, AttackHook, CreateParticleHook, ReplaceObjectHook, DefaultScriptHook, SetOmegaHook, TransparentHook, ScaleHook, SetLightHook, etc.) now flow through the hook queue. Consumers in E.2/E.3 (audio + particles) will route them to the right subsystems. 9 new tests cover: forward-hook crossing fires exactly once, Both-direction fires in either direction, Forward-only suppressed on reverse playback, Backward fires on reverse, PosFrames accumulation + drain, Velocity exposure + speedMod scaling, AnimationDone fires on link drain. Build green; 470 tests → 479 (361 Core + 9 new E.1 hook tests + 109 Net). Ref: docs/research/deepdives/r03-motion-animation.md §5 (hooks), §7.1-7.2 (PosFrames), §7.3 (negative framerate). Ref: ACE Sequence.cs:262 (execute_hooks), Sequence.cs:351-443 (update_internal per-frame crossing walk). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| docs | ||
| memory | ||
| src | ||
| tests | ||
| tools | ||
| .gitignore | ||
| AcDream.slnx | ||
| CLAUDE.md | ||
| README.md | ||
acdream
Experimental modern open-source Asheron's Call client in C# / .NET 10.
Status: pre-alpha, not playable. Phase 0 only — dat file asset inventory.
Stack: .NET 10, Chorizite.DatReaderWriter for dat parsing. Silk.NET + Avalonia planned for rendering/UI (not yet wired up).
Requires: A retail Asheron's Call install (Turbine/Microsoft property — supply your own). Set ACDREAM_DAT_DIR environment variable to the directory containing client_portal.dat, client_cell_1.dat, client_highres.dat, and client_local_English.dat, or pass it as the first CLI argument.
Layout
src/AcDream.Cli/— console app that dumps asset counts from a dat directoryreferences/— local read-only reference material (ACE, ACViewer, WorldBuilder, DatReaderWriter, holtburger, retail AC install). Gitignored.
Run
dotnet run --project src/AcDream.Cli -- "C:\path\to\Asheron's Call"
Or set ACDREAM_DAT_DIR and run without args.