HN
Today

F-Zero X on Nintendo 3DS

A solo developer meticulously ported the classic N64 racer F-Zero X, complete with its 64DD Expansion Kit, to the Nintendo 3DS, achieving a buttery-smooth 60 frames per second on both New and Old 3DS models. This deep dive into reverse-engineering and hardware optimization showcases an incredible technical feat in bespoke game preservation. HN is particularly captivated by the project's use of an 'agentic workflow' where a single developer orchestrated a fleet of AI subagents to complete the demanding port.

20
Score
3
Comments
#2
Highest Rank
8h
on Front Page
First Seen
Oct 26, 12:00 AM
Last Seen
Oct 26, 7:00 AM
Rank Over Time
22249121321

The Lowdown

This post-mortem details the arduous, yet ultimately successful, journey of porting the decompiled F-Zero X (dubbed G-Diffuser) to the Nintendo 3DS. What began as an ambitious 24-day sprint to get the game running on a New 3DS at 60fps quickly evolved into a two-phase project, eventually including support for the less powerful Old 3DS and the elusive 64DD Expansion Kit. The entire endeavor was spearheaded by one person, famously orchestrated through a 'long-lived Claude session' that managed 147 subagents, providing a fascinating glimpse into AI-assisted development.

  • Project Scope: The core project involved porting the F-Zero X decompilation, leveraging libultraship for the N64 runtime and a custom citro3d rendering backend.
  • Phased Development: The first phase focused on the New 3DS, achieving a median 59.6fps. The second phase extended compatibility to the Old 3DS and integrated the 64DD Expansion Kit, requiring significant memory and performance optimizations.
  • Technical Achievements: The port boasts native 60fps performance (with some frame-skipping on heavy Old 3DS courses), stereoscopic 3D, full game modes, and proper console lifecycle management (suspend, resume, etc.).
  • Optimization Challenges: Overcoming limitations on the Old 3DS involved a new 'native renderer' designed around instruction-cache efficiency rather than raw instruction count, crucial for hitting target framerates on the weaker hardware.
  • AI Integration: A unique aspect highlighted is the 'agentic workflow' where AI subagents were used extensively to manage tasks, research, and code generation, racking up over 3 billion tokens and costing nearly $5,000 in API fees for the first phase alone.
  • Final Output: The project delivers three distinct console builds: one for Old 3DS, one for New 3DS, and a New 3DS build with the 64DD Expansion Kit's course editor and machine creator.

This intricate port stands as a testament to reverse-engineering prowess, hardware optimization skills, and an innovative approach to modern software development, showcasing how AI can amplify a single developer's capabilities to tackle massive, complex projects.