Repository navigation
SuperMetroidX 1.0.0
The first release of SuperMetroidX, a static recompilation of Super Metroid for Windows, macOS, and Linux. The whole game plays from the title screen through Mother Brain and the end credits.
This release is source only. The game is built from your own ROM: at build time the 65816 program in Super Metroid (Japan, USA) is translated to C and compiled in, so builds contain code derived from the ROM and are not distributed here. See the README for the ROM's checksums, the tools for each system, and make play.
Highlights
- Static recompilation: about 60,000 translated entry points; play runs essentially 100% translated, with the interpreter as a fallback for code the translator never found.
- Cycle-timed SNES runtime in C11 (CPU, PPU, S-SMP, S-DSP, DMA, HDMA). Checked against Mesen 2 on about 293,000 frames (idle and scripted runs, eight play-test sections, 51 rooms, and the ending) with no differences in picture or memory.
- Display: OpenGL 3.2 presenter with built-in CRT scanlines, aspect-correct fill scaling with 8:7 NTSC pixels, and sharp scaling at any size. Each enhancement has a switch:
--scale fit|integer,--aspect tv|square,--scanlines on|off. - Windows:
--window-mode windowed|borderless|exclusive. Release builds start borderless fullscreen; F11 toggles. Escape asks before quitting. - Input: keyboard and Xbox-style gamepads, laid out by position like the SNES pad.
- Saves: battery SRAM in your user-data folder, compatible with emulator
.srmfiles, plus F5/F9 quick-save states that never touch SRAM. - Play testing:
./playtest.sh SECTIONstarts at any area's save station with a chosen loadout.