Modern open-source C# .NET 10 Asheron's Call client. Faithful port of retail client behaviour to Silk.NET with a plugin API.
Live verification (2026-04-23, Phase 3c launch): acdream picked DayGroup[17] "Rainy" for PY106 day46 while retail at the same server tick showed clear blue sky with white clouds (Sunny-ish). Root cause: our port passed the RELATIVE year (106, i.e. years since tick-0) into the LCG seed, while retail's TimeOfDay+0x64 is ABSOLUTE Year = floor(...) + ZeroYear (baseYear=10 for Dereth GameTime). The offset seeds the LCG with `seed = 106×7620+46` vs retail's `seed = 116×7620+46` — `10 × SecondsPerDay = 76200` apart, guaranteed to land on a different DayGroup index. Fix: - DerethDateTime.ZeroYear constant (= 10) + AbsoluteYear(ticks) helper. - GameWindow.RefreshSkyForCurrentDay feeds AbsoluteYear into the picker. - LoadedSkyDesc.ActiveDayGroup(ticks) same. - Calendar display and generic Year(ticks) stay relative; only the LCG-seed path uses the offset. Matches retail FUN_005a7510:5300 which explicitly adds baseYear to the relative year before stashing in TimeOfDay+0x64. Build + 717 tests green. Next visual check should show matching weather with retail client side-by-side. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| docs | ||
| memory | ||
| 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.