Building a wireless network adapter for the Super Nintendo
A custom Wi-Fi network adapter plugging into the Super Nintendo controller port enables cloud save synchronization and AI-generated dialogue.
read it A well-documented hardware and software build log that details custom protocol bit-banging, dual-microcontroller architecture, and ROM patching.
summary
A custom wireless network adapter plugs into the original Super Nintendo controller port, utilizing an RP2350 microcontroller and an ESP32-C3 co-processor for Wi-Fi. The device synchronizes battery-backed SRAM save files with a WebDAV server, enabling cross-play compatibility with mobile emulators like RetroArch. Furthermore, disassembled game ROMs are patched to transmit game state variables over serial, allowing LLMs to generate dynamic, context-aware NPC dialogue.
key points
- Uses the SNES controller port synchronous serial bus via bit-banging, achieving a transfer rate of about 30 KB/s.
- Employs an RP2350 microcontroller to safely handle 5V console logic directly, paired with an ESP32-C3 for Wi-Fi connectivity.
- Patches game ROM reset vectors to sync battery-backed SRAM saves with a WebDAV server for cross-play functionality.
- Pushes game state variables over serial to a local proxy, querying LLMs for dynamic, cache-managed NPC dialogue.
who should read it
Hardware hackers, retro-gaming enthusiasts, and software engineers interested in embedded systems and creative constraints.
discussion warm
consensus
Commenters appreciate the clever hardware design and nostalgic scope, while discussing prior art like the sd2snes+ Link and Japanese SNES network peripherals.
> Since Link to the Past has been fully disassembled, it was possible to patch it to accumulate this state in RAM and push it out over the controller serial to the adapter and on to an LLM (via a proxy I ran on a local machine that holds the API key).
This whole thing about overwriting game dialogue had me confused until I re-read this. Originally I thought you were using the Clock with the data pins to override some master-slave configuration into a multiple-master and directly feed data onto the bus as it was getting it from the text ROM or whatever. But this points to rewriting the actual …
Clarifies the crucial architectural detail that the game ROM itself had to be disassembled and patched to transmit game state over the controller serial port.
Generated by an LLM from the article and thread. Check the sources before relying on it.