# Sonic Riders for GameCube runs natively on Switch, code written with Claude Code

> A static recomp of GameCube Sonic Riders for Switch, v0.1.0 WIP. You supply your own ISO. The code was written with Claude Code.

- Published: 2026-10-23T05:16:48Z
- Score: 9/10
- Tags: gamecube, switch, recomp, ai
- Port / platforms: GameCube -> Switch (Recompilation)
- Web page: https://emu-radar.customfw.xyz/news/sonic-riders-gc-switch-recomp-claude-code/
- Sources: https://www.reddit.com/r/recomps/comments/1xcrzor/sonic_riders_gamecube_statically_recompiled_to/ , https://www.reddit.com/r/decomps/comments/1xcrw6y/title_sonic_riders_gc_static_recompilation_to/

Sonic Riders, the GameCube racing game, now runs natively on the Nintendo Switch through a static recompilation. The project is at v0.1.0 and still a work in progress. Its author says they are not a developer. Claude Code, Anthropic's coding agent, wrote the code while the author prompted, steered and tested every build on their own Switch.

A static recompilation translates the game's PowerPC machine code into C ahead of time, and the C gets built into a Switch homebrew .nro. This project follows the approach of SwitchWakerHD and ZeldaWWHDRecomp. The analysis step, decomp-toolkit, finds about 5,200 functions in main.dol and _Main.rel. A fork of ZeldaWWHDRecomp's translator turns them into C. The game's own SDK, OS scheduler and libraries then run recompiled, and graphics run on deko3d, the Switch's native graphics API.

Nothing from the game ships with the project. You need your own Sonic Riders disc image (USA, GXEE8P). A setup tool on your PC builds the game files from it. The repo's CI check refuses anything game-derived.

The author estimates the port is about 60% of the way to playing like the GameCube version. Boot to races, story mode, Free Race for up to 4 players, sound, saves, widescreen, resolution options and all controller setups work, including single sideways Joy-Cons. It needs an overclocked Switch, tested at CPU 1785, GPU 1152 and MEM 2133 MHz, and it is too slow at stock clocks. Three and four player races run at 30 fps. There are visual bugs: weaker speed blur, wrong colours in a few menus, no lens flare. A rare hang on a loading screen remains.

How to try it:

1. Get your own Sonic Riders ISO (USA, GXEE8P).
2. Run the setup tool on your PC. It generates the game files from your ISO.
3. Put the build on your Switch and launch it through the Homebrew Menu in full-memory (title) mode, which the guest memory needs.

The code is public, and the author wants people who know GameCube internals to review it. The repo has help wanted issues, and a CLAUDE.md file lays out the rules and test workflow for anyone else working with a coding agent. Among the fixes, a 4-player stage load crashed until disc reads started arriving progressively, like real hardware. Story mode crashed because interrupt handlers ran 4 KB below the stack pointer, on threads that had only 4 KB of stack.
