Modern open-source C# .NET 10 Asheron's Call client. Faithful port of retail client behaviour to Silk.NET with a plugin API.
C# port of CMotionInterp from chunk_00520000.c — the AC client's motion state machine that controls walk/run/jump/turn. Methods ported: - PerformMovement: top-level 5-case dispatcher - DoMotion: process raw motion command from packet - StopCompletely: reset to Ready (0x41000003) - get_state_velocity: compute velocity for current interpreted state - apply_current_movement: push velocity to PhysicsBody - jump: initiate jump (validate + set extent + leave ground) - get_jump_v_z: vertical jump velocity (delegates to WeenieObj) - get_leave_ground_velocity: full 3D launch vector - jump_is_allowed: requires Gravity + Contact + OnWalkable - contact_allows_move: slope angle + state checks Supporting types: MotionCommand constants, MovementType enum, WeenieError enum, RawMotionState/InterpretedMotionState structs, IWeenieObject interface. 412 total tests (303 core + 109 net). 45 new MotionInterpreter tests. Co-Authored-By: Claude Opus 4.6 (1M context) <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.