But discovering addresses was only half the problem. When talking to villagers Animal Crossingthe game usually displays the dialogue instantly. It takes a few seconds to call up an AI model on the Internet. Willison looked into the code and found the Watch_Dialogue() function, Fonseca's solution. When it detects a conversation of initiation, it immediately writes placeholder text. Three dots with a pause command hidden between them, followed by the “Continue Press A” prompt.
“Therefore, the user gets a 'press a to continue' button and hopes it's finished by the time LLM presses that button,” Willison said in a news comment from the hacker. While the player watches the DOT and reaches the A button, the mod retrieves responses from the AI model and converts them to the game's dialogue format.
Learn the secret language of the game
Just writing text in memory made the game frozen. Animal Crossing It uses a format encoded with control code that manages everything from text colours to character emotions. Signal commands with special prefix byte (0x7F) rather than characters. Without the proper conversion control code, the game will wait forever.
“Think it like HTML,” explains Fonseca. “Your browser doesn't just display words. It interprets tags… to make text bold.” The decompilation community documents these code, and Fonseca has made it possible to build human-readable formats and encoder and decoder tools that translate GameCube's expected BYTE sequences.
Screenshot of LLM-driven dialogue has been injected Animal Crossing For GameCube.
Credit: Joshua Fonseca
Initially, he tried to use a single AI model to handle both creative writing and technical formats. “The outcome was confusing,” he points out. “AI was trying to become a creative writer and technical programmer at the same time, but I wasn't good at both.”
Solution: Split the work between two models. The author AI is Animal Crossing Fanwiki. Next, the Director AI adds technical elements such as pauses, color changes, character representations, and sound effects.
This code is available on Github, but Fonseca warns that it contains known bugs and is only being tested on macOS. The mod requires Python 3.8+, a Google Gemini or Openai API key, and a Dolphin emulator. As it is, stick it on a man or a raccoon.
