Modern open-source C# .NET 10 Asheron's Call client. Faithful port of retail client behaviour to Silk.NET with a plugin API.
Two fundamental terrain fixes based on the AC2D + holtburger deep dive: 1. Terrain split formula: replaced WorldBuilder's physics-path formula (214614067/1813693831) with AC2D's render-path formula (0x0CCAC033, 0x421BE3BD, 0x6C1AC587, 0x519B8F25). The two produce different splits for some cells. Since the render mesh uses this formula, the physics Z sampler must match it to avoid misalignment on slopes. 2. Triangle-aware Z: replaced bilinear interpolation in TerrainSurface with per-triangle barycentric interpolation. Each cell is split into two triangles (using the same AC2D formula). SampleZ determines which triangle the query point falls in, then interpolates within that triangle. This produces Z values that exactly match the visual terrain mesh — no more slope clipping. Removes the multi-point Z sampling hack from PlayerMovementController (no longer needed with exact triangle Z). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| docs | ||
| 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.