Modern open-source C# .NET 10 Asheron's Call client. Faithful port of retail client behaviour to Silk.NET with a plugin API.
Phase 1 simplified per-vertex height as byte * 2.0f, but AC stores heights as byte indices into a 256-entry non-linear float lookup (Region.LandDefs.LandHeightTable). Static object placements in LandBlockInfo use the real table, so terrain rendered with the simplified scale left buildings floating or buried. LandblockMesh.Build now takes an explicit float[] heightTable so the core code stays testable without a DatCollection. GameWindow loads Region id 0x13000000 once at startup and passes its LandDefs.LandHeightTable into every landblock mesh build. The Phase 1 tests use an identity table (i * 2f for i in 0..255) so their expectations remain unchanged. Addresses the 'buildings buried and floating' issue the user observed after the Phase 2a visual checkpoint. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| docs/plans | ||
| src | ||
| tests | ||
| .gitignore | ||
| AcDream.slnx | ||
| 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.