# Spell Casters offline voice

The browser loads this runtime and model on demand when the player enables voice casting. No recognition service receives microphone audio.

* Sherpaw keyword spotting 0.3.0 by Makito and contributors uses Sherpa ONNX by the k2 fsa contributors. Both use the [Apache 2.0 license](LICENSE-Apache-2.0.txt). The WebAssembly binary is unchanged from the [published npm package](https://www.npmjs.com/package/@sherpaw/kws/v/0.3.0). The main and worker entry points were bundled for this game with esbuild 0.28.1. The bundle uses Sherpaw preloader and shared 0.3.0, Eventa 1.0.1, Nano ID 6.0.2 and Picomatch 4.0.7. Their MIT notices are included where applicable.
* The Icefall and Sherpa ONNX contributors' bilingual Zipformer 3M keyword model uses the [Apache 2.0 license](LICENSE-Apache-2.0.txt). The game ships unmodified preload files from the [model packaging revision](https://huggingface.co/moeru-ai/sherpa-onnx-kws-zipformer-zh-en-3M-2025-12-20/tree/1770a4b22db32184c110ac43c601db17cc9c93f8). The game uses the model for the English names of its existing spells.
* ONNX Runtime by Microsoft Corporation uses the [MIT license](LICENSE-ONNXRuntime.txt). The [ONNX Runtime notices](ONNXRuntime-ThirdPartyNotices.txt) are bundled here.
* Main stress and pronunciation data for the spell list use the [CMU Pronouncing Dictionary](https://github.com/cmusphinx/cmudict), Copyright 1993 to 2015 Carnegie Mellon University. QuickiePlay selected entries for the spell list and added pronunciations for game words. The [CMU dictionary license](LICENSE-CMUDict.txt) is included.

## Exact runtime files

| File | SHA256 |
| --- | --- |
| `index.js` | `47179924eb07e6750ed44a3744ac65347bdf1f288e3da27c49167f14ac20021a` |
| `worker-entry.js` | `6be51babb35144aebc747a91871c9bffc05c27f8cc40b2f0ae23181a4e261c08` |
| `prebuilt/kws.wasm` | `b75814d1f900cc99efc7de51ae561ffb2517456307488ec4387689c953b9b983` |
| `preload.data` | `4ca3ae0d147df1576fac87a4837f5a8959f4f87600a8306c57cc67eb8b40494d` |
| `preload.js.metadata` | `e7e223298765f02cdc868d8d1af52fd2c0da6aeef2a5af4122489fd7a8ed1e7b` |
