The client
OpenAC is an open-source Asheron's Call client written in Rust: the same behavior as the original game, in modern code. It began as openac-rust and is released from this repository since 0.2.0. Download the launcher from Getting started; it fetches the client.
The C# client is retired. Its last release is v0.1.33 and its code is on the
deprecatedbranch. This client replaces it, with Rust versions of the MossTank and MosswartMassacre plugins.
What it is
- One program, many sessions.
openacruns any number of game sessions in one process, with zero or more windows. A window can open onto any running session and close again without the session noticing; a session without a window keeps playing headless. The launcher can switch a running session between headless and graphical. - Plugins are WebAssembly. A plugin is an ordinary Rust crate built for
wasm32-unknown-unknown, written against theopenac-pluginSDK (MIT). The same plugin runs with or without a window, sandboxed, with only the permissions itsplugin.jsondeclares. See Writing a plugin. - Rendering goes through wgpu: Direct3D 12 or Vulkan on Windows, Vulkan on Linux, Metal on macOS.
- The launcher (
openac-launcher) keeps your accounts and servers, starts sessions graphical or headless, installs plugins, and updates itself and the client.
Plugin API versions
The plugin interface is versioned, and a plugin built for an older version keeps loading and receives exactly what it did before:
| Version | Since | What it added |
|---|---|---|
| 1.0 | 0.1.0 | the core API |
| 1.1 | 0.1.3 | status-line notices (StatusTextReceived) |
| 1.2 | 0.1.6 | a house hook's accepted item types on items and world objects |
| 1.3 | 0.1.9 | drawing in the world: markers, lines, triangles, icons and ground shapes |
| 1.4 | 0.1.10 | five more themes, the bundled and a plugin's own fonts, light and dark colours and image files in markup, a dock icon per window |
| 1.5 | 0.1.10 | every reachable cell of a dungeon with its route's length, a preview's grid reuse and time, cells' doorways, seen cells, bounds and floor height; in 0.1.11 also putting items into the open chest and the landscape's terrain and map colours |
| 1.6 | 0.1.11 | a canvas hears the pointer hover and leave |
| 1.7 | 0.1.11 | plugin services (plugins call each other) and the server's last position of objects |
| 1.8 | 0.1.11 | status board subscriptions: a plugin hears another's status changes |
| 1.9 | 0.2.2 | a creature's appraisal profile (health, attributes, stamina and mana, and which are enchanted) in its item properties |
| 1.10 | 0.2.3 | every enchantment on the character, also those a stronger one surpasses; right-aligned list columns in markup |
| 1.11 | 0.2.3 | who changed the selection (the client, a key, the mouse or a plugin) on the selection event |
| 1.12 | 0.2.4 | a projectile path query's launch speed: a missile or arc probe flies at the launcher's speed (capped at 50 m/s) on the lower arc to its aim point; canvases inside plugin windows (a markup <canvas> element hosts an in-markup canvas, and the plugin hears its laid-out size), and resizing a canvas on the screen |
| 1.13 | 0.2.10 | WebP images (lossy, lossless, with alpha; an animation's first frame) among the plugin's own art the client decodes |
| 1.14 | 0.2.15 | the screen the interface lays out in and every registered window (owner, title, layout, limits, whether the game shows and hides it), placing them as a saved layout is restored, and events for a new screen size and a window registered or unregistered; which windows share one place (the main panels), and holding windows out of sight without changing what is saved; drawings in the marker layers, pictures a plugin paints with canvas commands in its own fonts and images and hangs over objects or at positions, at a fixed size or shrinking with distance |
From 1.6 on, a released version never changes: a new function, event or field comes with the next minor version. 0.2.0 adds none; 1.14 is current.
To use a newer version, move the plugin's SDK to that release and set
"apiVersion" in its plugin.json.
Which versions run is the client's to say, not the launcher's: each client
release carries plugin-api.json beside the openac program (openac plugin-api prints it), and the launcher installs a plugin only when the
installed client loads the plugin's version; for a client released before
that file it knows the versions above. So a new plugin API version needs a
client update, never a launcher update. With no client installed, the
launcher installs no plugin.
Platforms
Windows 10 and 11 (64-bit) is where it is played most. Linux (64-bit, X11 or Wayland) builds and runs, with less time in front of players. macOS 14 or later has downloads for Apple silicon since 0.1.8 and for Intel since 0.2.0.
More
- Download and run
- Building and running
- Launch options
- Writing a plugin
- Issues: bugs and requests for the Rust client