Scottcjn / legend-of-elya-n64
Legend of Elya — N64 game with a real 6.36M-parameter ternary transformer on the VR4300 MIPS III CPU. Zelda-style dungeon, AI NPCs, byte-level inference at 1.23 tok/s scalar / 2.19 tok/s on the RSP overlay (measured under ares, never on silicon). Built with libdragon.
Why this job: topics: llm-inference, quantization, edge-ai

What it does
- Press A near Sophia Elya to trigger AI dialog
- The N64 CPU runs a full 8-layer transformer. embedding → attention → FFN → logits → sampling
- Output tokens appear character-by-character with a live tok/s counter
- Each response is different. seeded by CPU oscillator jitter (hardware entropy)
- 32 prompts covering identity, Elya lore, RustChain, hardware trivia
Get started
No single install command. Read the steps in the README (opens in new tab)
- Maintenance
- Active
- Last commit 2 months ago
- Stars
- 142
- On GitHub
- Licence
- MIT
- Allows business use
- Downloads for
- None listed
- No release files
- Latest version
- None yet
- No releases
- Built with
- C
- 57% of the code
Is it looked after?
- Contributors
- 3
- Last 90 days
- Issues
- 57% closed
- 3 still open
- Pull requests
- 8 merged
- 0 waiting
- Releases
- None
- Never published
- Contributing guide (opens in new tab)
- No security policy
- No code of conduct
More: languages, topics and project record
Languages
- C 57%
- Python 36%
- C++ 2%
- Makefile 2%
Topics
- ai
- edge-ai
- embedded-ai
- game-dev
- homebrew
- libdragon
- llm
- llm-inference
- machine-learning
- mips
- n64
- nintendo-64
Project record
- JobLocal LLMs
- StatusListed
- Commits156
- Forks16
- Watching5
- Stars in 28 days0
- CreatedFeb 27, 2026
- First seen by usNov 7, 2026
- CheckedNov 7, 2026
