Modern open-source C# .NET 10 Asheron's Call client. Faithful port of retail client behaviour to Silk.NET with a plugin API.
After Phase 4 landed the per-vertex lighting formula, user observed acdream was still "a bit too bright" vs retail. Root cause: - My Phase 4 shader deliberately left vTint unclamped so D3D-style overbright contributions to emissive meshes (dome has Emissive=1 → lit could reach 2.0 with ambient + sun) would clamp naturally at the framebuffer. - But the frag cap was 1.2 (leaving "headroom for lightning flash"), letting dome vertices run 20% hotter than retail's per-channel 1.0. Retail's D3D fixed-function pipeline clamps vertex lit colour at D3DRS_COLORCLAMP=1 (default) BEFORE texture modulation. We now match: - Clamp `vTint = clamp(lit, 0, 1)` in sky.vert so the saturate happens at the vertex stage, exactly like D3D. - Drop normal-frame frag cap from 1.2 → 1.0 (the 3.0 flash relaxation stays so lightning strobes still visibly blow out). Expected visual: - Dome: identical appearance (was clamping to framebuffer 1.0 anyway), but pure retail-spec rendering so no sneaky 20% headroom. - Clouds: unchanged (already < 1.0 at morning Rainy keyframe). - Fragment flash during storm: unchanged — cap relaxes to 3.0 on flash. Build + 733 tests green. 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.