0xreversed/with.ai
Games and modsWorksSource available
Target: Star Fox (USA) (Rev 2)

Project Arwing: Star Fox Recompilation

by carlosrmz009 Repository0 views
Star Fox (USA) (Rev 2): A static recompiler and PC port of Star Fox for Windows, macOS, and Linux.
Image: Source: raw.githubusercontent.com

Evidence at a glance

Based on the linked sources. The author's reported result and independent confirmation are separate checks.

AI involvement
Reported models: Claude Opus 5.5. Tools: Python 3, SDL2, Visual Studio 2022 Build Tools, gcc. The writeup below describes the work attributed to AI.
Reported result
Works. This is the directory's source-based outcome classification.
Independent confirmation
Not reported.
Human work and limitations
The project uses a static recompiler to achieve cycle-for-cycle identical behavior to the original hardware. The author notes that while the recompiled code handles the bulk of execution, self-modifying code or missed disassembly segments fall back to the interpreter.

Original sources

What was done

Project Arwing is a static recompiler for the SNES game Star Fox, converting 65816 and SuperFX instructions into C code to enable native execution with quality-of-life improvements like HD 3D rendering and smooth frame rates.

Project Arwing is a static recompilation project for the SNES game Star Fox. The README documents that the project utilizes a static recompiler, tools/recomp.py, which converts every 65816 and SuperFX instruction into C, avoiding an emulator loop for the majority of the game. The resulting C code is described as a mechanical translation rather than hand-decompiled code. The project provides a runtime environment that includes a PPU, SPC700, S-DSP, and SuperFX interpreter fallback, alongside a launcher supporting HD 3D, CRT filters, and controller input. The README notes that HD 3D recovers sub-pixel positions for approximately 85–90% of vertices, with the remaining projection routines in src/hd.c identified as a gap for future work. Recent development includes the implementation of a smooth 60 fps mode via frame interpolation, with several commits co-authored by Claude Opus 5.5. Users must provide their own Star Fox (USA) (Rev 2) ROM to build the project. Further details are available at the official repository.

Reproduce it

setup
python tools/build.py path/to/starfox.sfc