Modern open-source C# .NET 10 Asheron's Call client. Faithful port of retail client behaviour to Silk.NET with a plugin API.
Phase 2d's initial composition was cellOrigin + cellRot*stabLocal, assuming EnvCell.StaticObjects carried cell-local frames and that EnvCell.Position was the cell-to-landblock transform. User reported all interior objects "far up in the air" after the initial Phase 2d. Diagnostic confirmed the real shape: EnvCell 0xA9B40100.Position.Origin = (84.1, 131.5, 66.0) and the first Stab inside it had Frame.Origin = (92.1, 131.5, 68.0). Both are in landblock-local X/Y/Z space — the stab is 8 units east and 2 units up from the cell's registered origin but expressed in the SAME coordinate space, not as an offset. Adding the cell origin on top double-counted ~155 units in Z and put the statue at worldPos Y=263 Z=233+, completely out of range. EnvCell.Position appears to tell the physics engine which landblock region owns the cell (for collision/portal lookups) rather than acting as a cell-to-landblock transform for contained objects. The stabs are already in the same coordinate system as LandBlockInfo.Objects stabs. Fix: drop the cell origin + cell rotation from the composition. World position is now just stab.Frame.Origin + lbOffset, mirroring the regular Stab handling exactly. Smoke verified: 475 interior objects still hydrate, process runs clean. Visual verification pending. 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.