SuperMarioAdvance2Recomp

SuperMarioAdvance2Recomp is a Windows native port of Super Mario World: Super Mario Advance 2 for Game Boy Advance with an optional Adaptive Widescreen mod.

README

Super Mario Advance 2 Recomp

Experimental preview. This recompilation is a byproduct of developing gbarecomp: the games are the proving ground, while the reusable framework is the larger goal. This is not a finished commercial port, so expect rough edges and please report problems. For more context, read Recomp + AI: 5 Months Later ».

Static recompilation of Super Mario Advance 2: Super Mario World for Windows. It runs the original Game Boy Advance game as a native desktop application and includes an optional Adaptive Widescreen mod.

The game ROM and Nintendo GBA BIOS are not included. You must provide your own legally obtained dumps.

Status

The game boots and runs through its opening and attract sequence. The current v0.0.3 build is an experimental release, and the widescreen work is still being refined scene by scene. Back up important saves and report any repeatable gameplay or visual problems.

Quick start

  1. Download the Windows zip from Releases and extract it.
  2. Run SuperMarioWorldRecomp.exe.
  3. In the launcher, select your Super Mario Advance 2: Super Mario World (USA/Australia) ROM and retail GBA BIOS.
  4. Configure display, audio, controls, and mods, then select Play.

The launcher remembers valid files after the first setup. Enable Skip launcher on boot if you want later launches to go directly into the game.

Adaptive Widescreen

Adaptive Widescreen is enabled for new installations. It renders additional game content at the sides instead of stretching the original 240×160 image.

Existing saved choices are preserved. Menus and HUD elements remain in the original safe area, while supported gameplay scenes can expand up to 9:5. Some scenes intentionally retain the original view where the game does not prepare enough off-screen level or actor data.

For smoother pixel edges, enable Pixel Smoothing in the launcher's Mods page and select HQ2x, HQ3x or HQ4x before Play. Existing HQ2x selections keep HQ2x. This optional display filter is disabled by default and leaves game behavior unchanged. It uses additional CPU time and memory. The replaceable filter library and its LGPL source are included under third-party/hqx.

The Mods page also includes SNES-style Colors by Asaki and Restored Bongos and Horn by Weario. Enable either control before Play; no separate patch file is needed. See restoration details and credits.

Gameplay Diagnostics → Record Gameplay is also available in Mods. It is on by default and saves a bounded rolling recording in diagnostics/replays beside the game for troubleshooting. Turn it off there to stop recording; the choice is remembered independently of widescreen, filters and restoration. An existing recording preference is preserved when updating.

Features

  • Native Windows x64 application
  • ROM and BIOS setup through the shared recomp-ui launcher
  • Optional Adaptive Widescreen mod
  • Keyboard and modern game-controller support
  • Windowed and fullscreen play with configurable presentation
  • In-game settings menu
  • Cartridge saves and save states

Controls

GBA controlKeyboard
D-PadArrow keys
A / BX / Z
StartEnter
SelectRight Shift
L / RC / V

Use Shift+F1-F9 to save a state and F1-F9 to load one. Controls can be changed from the launcher.

Building from source

Windows development requires CMake, Ninja, MSYS2 MinGW64, and SDL2:

git clone --recurse-submodules `
  https://github.com/mstan/SuperMarioAdvance2Recomp.git
cd SuperMarioAdvance2Recomp

cmake -S gbarecomp -B gbarecomp/build -G Ninja
cmake --build gbarecomp/build --target gba_recompile
pwsh tools/regen.ps1
cmake -S . -B build -G Ninja `
  -DSMW_COLOR_RESTORATION_ARCHIVE="<Color Restoration 0.91 ZIP>" `
  -DSMW_INSTRUMENT_RESTORATION_ARCHIVE="<Instrument Restoration 1.0 ZIP>"
cmake --build build --target SuperMarioWorldRecomp

Generation requires the supported ROM revision and a retail GBA BIOS. Their identities and local development paths are documented in baserom.md and game.toml. ROM-derived generated code, copyrighted inputs, saves, and build output remain local and are never included in releases.

Contributors can run pwsh tools/coverage-attract.ps1 for the automated native acceptance route. The Windows release helper also requires the two original author archives; see restoration build instructions.

License

For this project's code covered by the PolyForm Noncommercial License, PERMISSIONS.md grants standing permission for voluntary donations, sponsorships, and advertising revenue, including support for broader development initiatives. Payment must not buy access to the software, games built with it, or their updates, features, or game content, including early access.

Matthew Stanley has authority from the relevant copyright holders to grant these permissions for the project's PolyForm-covered code. Third-party components and code explicitly licensed under other terms retain those terms.

PolyForm Noncommercial 1.0.0 — see LICENSE. Third-party components retain their own licenses.

Legal

This is an unofficial, non-commercial preservation and research project. It is not affiliated with or endorsed by Nintendo. Mario and related names, characters, artwork, and game data are trademarks or copyrights of their respective owners.

No copyrighted game ROM or Nintendo BIOS data is distributed by this project.


Part of the R.A.I.D. — Retro AI Development static-recompilation community.