# smw: a Super Mario World engine reimplementation

> smw reimplements Super Mario World's game logic as a native program using levels and images extracted from the user's ROM. It also runs an emulated version in the background, compares RAM state every frame, and saves a snapshot when the states diverge.

- Type: Case study
- Targets: Game
- Category: Independent reconstruction cases
- Relationship: Independent reconstruction project
- Sources reviewed: 2026-11-06
- Added to the catalog: 2026-11-09
- Original resource: <https://github.com/snesrev/smw>
- Primary source: <https://github.com/snesrev/smw/blob/eae20c65c58930c8b62c76188d259579ad4130f1/README.md>
- Catalog page: <https://awesomerea.org/resources/smw-case/>
- Record JSON: <https://awesomerea.org/resources/smw-case/record.json>
- Chinese version: [简体中文](https://awesomerea.org/zh/resources/smw-case/index.md)

## Requirements & limits

- **Prerequisites:** A user-provided USA Super Mario World ROM named smw.sfc is required to extract resources.
- **Prerequisites:** The documented Windows build uses Python, TCC, and SDL2; other platform instructions are provided separately.
- **License:** MIT License.

## Primary sources

1. <https://github.com/snesrev/smw/blob/eae20c65c58930c8b62c76188d259579ad4130f1/README.md>
2. <https://github.com/snesrev/smw/blob/eae20c65c58930c8b62c76188d259579ad4130f1/LICENSE.txt>

## More in Games

- [Snowball War: a bounded REA-assisted minigame reconstruction](https://awesomerea.org/resources/snowball-war-rea-case/index.md) · Case study
- [Sourcehold: reimplementing the Stronghold game engine](https://awesomerea.org/resources/sourcehold/index.md) · Case study
- [steins-gate: reimplementing the Steins;Gate visual novel](https://awesomerea.org/resources/steins-gate-case/index.md) · Case study
- [Street Rod: a DOS game reconstructed in C for SDL3](https://awesomerea.org/resources/street-rod-sdl3-case/index.md) · Case study
- [Subway Runner 3D: rebuilding Subway Surfers movement rules](https://awesomerea.org/resources/subway-runner-3d-case/index.md) · Case study
- [Super Mario Bros Remastered: Godot recreations of four Mario games](https://awesomerea.org/resources/super-mario-bros-remastered-case/index.md) · Case study

## About this entry

The description was reviewed against primary sources.
Original editorial content: MIT. Linked projects, papers and assets retain their own rights and licenses.
