Modern open-source C# .NET 10 Asheron's Call client. Faithful port of retail client behaviour to Silk.NET with a plugin API.
Replaces the one-shot 3×3 preload in OnLoad with StreamingController + LandblockStreamer. Runtime-configurable window radius via ACDREAM_STREAM_RADIUS (default 2 → 5×5). OnUpdate drives StreamingController.Tick once per frame with the current observer landblock coordinates (camera-offset in offline, player last-known in live). _entities flat list replaced by GpuWorldState.Entities. Live CreateObject handler uses GpuWorldState.AppendLiveEntity instead of the old list-rebuild-and-replace pattern. Streamer is disposed in OnClosing before GL teardown so the worker thread is joined before we release resources. Terrain build dependencies (heightTable, blendCtx, surfaceCache) are stored as fields so ApplyLoadedTerrain can call LandblockMesh.Build on the render thread without re-deriving them per landblock. ICamera.Position fix: offline observer coordinate uses _cameraController.Fly.Position (FlyCamera exposes Position; ICamera does not), which is always up-to-date regardless of active camera mode. MVP scope: stabs only. Scenery (trees/rocks/bushes) and interior (EnvCell walls/floors + static objects) will land in Task 8 and are currently DROPPED from streamed landblocks. The offline view will show terrain + stabs but no vegetation and no building interiors until Task 8 lands. Live mode is unaffected since CreateObject spawns come through a different path. 212 tests green. 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.