Modern open-source C# .NET 10 Asheron's Call client. Faithful port of retail client behaviour to Silk.NET with a plugin API.
Groups all (entity, meshRef) pairs by GfxObjId before drawing so each GfxObj's sub-meshes are processed as a contiguous batch. Still uses per-entity uniform uModel — visual output is identical to the old StaticMeshRenderer — but the _groups dict is the structural prerequisite for swapping to DrawElementsInstanced in the follow-up commit. Key changes: - New InstancedMeshRenderer.cs with CollectGroups() that fills _groups[gfxObjId] = List<InstanceEntry> each frame, reusing the inner List<> objects to avoid per-frame allocation. - Same two-pass (opaque+clipmap first, translucent second) draw logic from StaticMeshRenderer, now iterating over groups rather than raw entity/meshRef pairs. - GameWindow.cs: field and constructor swapped from StaticMeshRenderer to InstancedMeshRenderer — public API is identical. - 431 tests green, 0 warnings. Co-Authored-By: Claude Sonnet 4.6 <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.