snesrev — the authors of the much-discussed zelda3 and sm — made smw: a full reimplementation of Super Mario World in C. The SNES game’s code was analyzed and rewritten by hand, so the game runs natively, without an emulator. In addition to the game itself, the project supports a number of tweaks from the Lunar Magic editor, and outputs graphics and sound via accelerated versions of the PPU and DSP from LakeSnes. According to the authors, the game can be completed from start to finish.

Nintendo Switch support was added by Lywx in June 2023: the repository has a separate src/platform/switch folder with its own Makefile and smw.ini. There is no ready-made NRO in the releases (the v0.1 archive contains only a Windows build), so you will have to build it yourself: devkitPro, the packages switch-dev switch-sdl2 switch-tools pkg-config, then make in src/platform/switch. Controls and settings are changed in smw.ini.

For debugging, the game can run the emulated original in parallel and compare memory every frame: if something diverges, a snapshot for developers is saved to the saves/ folder. There are also snapshot saves with input recording and turbo replay of a playthrough.

What you need to run it. You need a Switch with Atmosphère custom firmware and the Homebrew Menu. The project contains no game assets — you need your own ROM of the US version (smw.sfc), from which levels and graphics are taken. Copy the built NRO, smw.ini and your ROM to the memory card.

Source code and build instructions: https://github.com/snesrev/smw

About the game

Super Mario World is a Nintendo EAD platformer released alongside the Super Famicom in Japan in November 1990 and with the SNES in North America in 1991. It was produced by Shigeru Miyamoto and directed by Takashi Tezuka, with music by Koji Kondo.

Mario and Luigi travel to Dinosaur Land to rescue Princess Peach from Bowser. The game introduced players to Yoshi, the flying cape feather and a world map with secret exits — 96 level exits in total. It later came out on GBA as part of Super Mario Advance 2.

Screenshots

By Kir

Leave a Reply

Your email address will not be published. Required fields are marked *