I Replaced Animal Crossing's Dialogue with a Live LLM by Hacking GameCube Memory
AI-generated summary of reporting by Simon Willison’s Weblog. Read the original for the full story.
Why it matters
Shows a practical pattern for hacking LLM dialogue into emulated games: memory polling plus injected pause tokens to mask multi-second inference latency.
Developer Josh Fonseca modified the 2002 GameCube game Animal Crossing so its characters speak lines written by a large language model, an AI that generates text on demand. His Python program scans the emulator's memory ten times per second, spots when dialogue appears, and injects temporary 'pause' messages that freeze the conversation for a few seconds while the AI writes a reply. It affects hobbyists and modders; the project's code is public on GitHub.
This is a hobby project with no commercial product, cost or timeline attached, but it demonstrates two transferable techniques. First, polling emulated memory at 10 times per second lets external software hook a game's dialogue in real time. Second, the project hides multi-second LLM latency behind injected in-game pause tokens, a pattern relevant to anyone integrating generative AI into latency-sensitive interactive products.
Josh Fonseca ran Animal Crossing (2002, GameCube) in the Dolphin emulator, with Python polling GameCube memory every 100ms via watch_dialogue() to detect dialogue screens. On detection it writes '.<Pause [0A]>' tokens plus '<Press A><Clear Text>' to stall gameplay while the LLM generates a replacement, which is written in-place to the dialogue memory. Two prompts are used: one for character responses, a second decorating output with Animal Crossing control codes for pauses and animations. Prompts include escalating villager agitation over Tom Nook's mortgage economy. Code: vuciv/animal-crossing-llm-mod on GitHub (~40,000 tokens when ingested).
Read the original
This summary exists to save you time, not to replace the source.
Key terms
Animal Crossing Dolphin Emulator GameCube Claude Opus 4.1 GitHub gitingest Hacker News
Was this summary useful?
One click, anonymous. It tells us which summaries to re-run.
Related reading
Samsung is testing a feature that changes the angle of photos you’ve already taken
Samsung’s new Recompose lets users change photo angles after shooting, potentially reducing the need for multiple shots and improving post-capture editing workflows for photographers and casual users alike.
Code-driven AI illustrations are more useful than images from dedicated image models
Code-driven AI illustrations let designers edit assets directly in code, saving time on iteration and ensuring consistency, which is a game-changer for teams that need rapid, reusable visual content.
datasette-charts 0.5a0
Datasette Charts 0.5a0 adds calendar heatmaps, box plots and active-over-time charts, enabling richer data visualisation directly in the browser without extra libraries.
A hierarchical note-taking app for building large personal knowledge bases
Trilium lets users build and navigate massive personal knowledge bases without duplicating content, saving time on organization and retrieval.
Desktop apps in Go with native UI or web frontend
Go developers can now ship cross-platform desktop and mobile apps in a single small binary without cgo or heavy runtimes, cutting build complexity and deployment size.