Modern open-source C# .NET 10 Asheron's Call client. Faithful port of retail client behaviour to Silk.NET with a plugin API.
Phase 6.1-6.3 resolved the right cycle and rendered its first frame as a static pose. Phase 6.4 actually walks the cycle over time so creatures, characters, and props animate their idle motion — the breathing the user noticed was missing after Phase 6.1. MotionResolver gains GetIdleCycle() returning IdleCycle(Animation, LowFrame, HighFrame, Framerate). The existing GetIdleFrame() now shares a private ResolveIdleCycleInternal helper, so the resolution algorithm (motion-table override, stance/command priority, fallback) is identical for both entry points and stays in one place. WorldEntity.MeshRefs becomes a get/set so the per-frame tick can swap in fresh per-part transforms without rebuilding the entity. Static decorations never get touched. GameWindow keeps a Dictionary<entityId, AnimatedEntity> for entities whose motion table resolved to a multi-frame, non-zero-framerate cycle. AnimatedEntity caches a per-part template (gfxObjId + surfaceOverrides + scale) snapshot taken from the hydration pass so the tick doesn't redo AnimPartChange/TextureChange resolution every frame — only the per-part transform matrices are recomputed. OnRender calls TickAnimations(dt) before Draw. The tick advances each entity's CurrFrame by dt*Framerate, wraps it inside [LowFrame, HighFrame], samples the corresponding AnimationFrame, and rebuilds the entity's MeshRefs by composing scale → quaternion rotate → translate per part in the same order SetupMesh.Flatten uses, then baking the entity's ObjScale on top in the same PartTransform * scaleMat order as the hydration path. 160 tests green. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| docs/plans | ||
| src | ||
| tests | ||
| .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.