Modern open-source C# .NET 10 Asheron's Call client. Faithful port of retail client behaviour to Silk.NET with a plugin API.
Two major C# ports from the decompiled retail AC client (acclient.exe): 1. CollisionPrimitives (9 functions, 26 tests): - SphereIntersectsRay, RayPlaneIntersect, CalcNormal - SphereIntersectsPoly, FindTimeOfCollision - HitsWalkable, FindWalkableCollision - SlideSphere, LandOnSphere Ported from chunk_00530000.c functions FUN_005384e0 through FUN_0053a230. Cross-referenced against ACE's Physics/ C# port for algorithm verification. 2. PhysicsBody (7 methods, 31 tests): - update_object (top-level per-frame, sub-stepped at MaxQuantum=0.1) - UpdatePhysicsInternal (Euler: pos += v*dt + 0.5*a*dt²) - calc_acceleration (gravity=-9.8 when HasGravity) - set_velocity (clamp to MaxVelocity=50) - set_local_velocity (body→world via quaternion) - set_on_walkable, calc_friction (ground normal + pow decay) Ported from chunk_00510000.c/chunk_00500000.c. Struct layout confirmed against ACE PhysicsObj field offsets. 367 total tests green (258 core + 109 net). 57 new tests. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| docs | ||
| 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.