Repository navigation
Releases
SuperMetroidX 1.2.0
SuperMetroidX 1.2 brings the game to iPhone and iPad with touch controls. It adds turbo and a way to skip the intro, packages the game for each desktop system, and generates an Xcode project that builds, debugs, signs, and notarizes the Mac app. The emulation underneath is unchanged.
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. Every build contains Nintendo's code, so none are distributed here, and SuperMetroidX is now licensed under the GNU GPL version 3. See the README for the ROM's checksums, the tools for each system, and make play.
New
- iPhone and iPad:
make iosbuilds the translator for your Mac, then writes an iOS Xcode project and opens it. Choose a simulator or your device and press Run. The game is signed with your Apple developer team.- Touch controls in the Super Famicom's colors:
- The D-pad is on the left with L and R above it, X, A, B, and Y are in the SNES diamond on the right, and Select and Start sit at the bottom in the middle.
- Several fingers work at once, and a thumb can slide between buttons or rest between two to press both.
- The controls hide while you use a Bluetooth controller.
- A cheats menu replaces the settings menu, opened from the corner button or R3. It has a switch for each cheat, turbo with its speed, and a Give button for all items.
- Scanlines through a Metal shader, which SDL compiles when the game starts. The iOS Simulator doesn't support it and shows plain pixels.
- Saves are written whenever the app goes to the background.
- Touch controls in the Super Famicom's colors:
- Skip the intro: hold any button for a second and a half while a new game's intro plays. A bar fills as you hold. The game starts at Ceres with the same save the full intro would make.
- Turbo: play at 1.5, 2, 3, or 4 times the speed, for elevators and the end credits. Key 6 steps through the speeds, and the Turbo row in the cheats chooses one. The sound speeds up with the game.
- Xcode project:
make xcodegenerates a project for the Mac app and opens it in Xcode.- It builds, runs, and debugs the game, including in the translated code.
- It signs with the team of a certificate in your keychain, with no team ID to type.
- Product > Archive and Direct Distribution notarize it. A notarized build is still only for your own machines.
- Packages:
make package(ormake dist) builds a.dmgof the app on macOS, a.zipof the.exeon Windows, or a.tar.gzin the usual Linux layout. Each has its icon, version metadata, a short README for players, and the license. - License: SuperMetroidX is now under the GNU GPL, version 3 only. The README explains why the project is distributed as source only.
SuperMetroidX 1.1.0
SuperMetroidX 1.1 adds a settings menu, cleaner sound, and cheats to 1.0's recompilation. The emulation underneath is unchanged, apart from one accuracy fix that brings back missing pause-screen labels.
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. Builds contain code derived from the ROM, so none are distributed here. See the README for the ROM's checksums, the tools for each system, and make play.
New
- Settings menu: press
~on the keyboard, or R3 on a gamepad, to pause the game and open a menu over it.- It has every display and sound option, plus the cheats. Changes apply at once and are saved to
settings.iniin the save folder. - A new window mode reverts by itself after ten seconds unless you keep it.
- Reset to defaults asks before it resets. If the window becomes unusable,
--reset-settingsforgets the saved settings from the command line.
- It has every display and sound option, plus the cheats. Changes apply at once and are saved to
- Sound:
- Instrument samples are smoothed through an 8-tap windowed sinc by default, which keeps the treble the console's Gaussian filter softens.
- A 64-tap sinc resampler converts 32040 Hz to your device's rate.
- Only what you hear changes: the sound chip's state and everything the game reads still come from the Gaussian filter.
--audio-interpolation sinc|cubic|gaussianand--audio-resampler sinc|sdlchoose the method, andgaussianwithsdlgives the sound of 1.0.
- Cheats: turn them on with keys 1–5, in the menu, or with
--cheats LIST|all. A message in the bottom left says when one turns on or off.- Infinite life: energy and reserve tanks stay full.
- Infinite ammo: missiles, super missiles, and power bombs stay full.
- All items: every item, beam, and tank, filled to the maximum.
- Hyper beam: given the way Mother Brain's fight gives it.
- Fly mode: hold jump to rise. Walls and ceilings still stop Samus.
- ROM built in: by default the ROM is built into the program (
SMX_EMBED_ROM), so the game runs without a ROM file next to it. ROM tests run in CI on a self-hosted Raspberry Pi.
Fixed
- WRAM data port: the SNES's
$2180–$2183registers are now implemented. The pause screen copies its tilemaps through them, so in 1.0 the L, R, START, EXIT, and SAMUS labels on the map and equipment screens were blank. 2,400 pause-screen frames now match Mesen 2.
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.