# SM64 Scratch: rebuilding selected Super Mario 64 gameplay in Scratch

> SM64 Scratch builds a playable Scratch version of selected Super Mario 64 scenes from a user's USA ROM. Python decoders reconstruct textures, models, animations, collisions, and audio using recorded ROM offsets and conversion recipes; Scratch block patches implement gameplay based on the public decompilation. The initial beta includes the castle grounds, part of the castle interior, and Bob-omb Battlefield.

- 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/naegoxdev/sm64-scratch>
- Primary source: <https://github.com/naegoxdev/sm64-scratch/blob/b953d524a0af9d0f5a053e7cf1201252fbaa326c/README.md>
- Catalog page: <https://awesomerea.org/resources/sm64-scratch-case/>
- Record JSON: <https://awesomerea.org/resources/sm64-scratch-case/record.json>
- Chinese version: [简体中文](https://awesomerea.org/zh/resources/sm64-scratch-case/index.md)

## Requirements & limits

- **Prerequisites:** Python 3.10+, the packages in requirements.txt, and a compatible Super Mario 64 USA ROM are required.
- **Prerequisites:** The normalized ROM must have SHA-1 9bef1128717f958171a4afac3ed78ee2bb4e86ce; .z64, .n64, and .v64 byte orders are supported.
- **Prerequisites:** TurboWarp is the intended player for the generated .sb3 project.
- **Limits:** The beta has four obtainable Power Stars; other courses, the King Bob-omb fight, and persistent saving are unfinished.
- **License:** No licence file in the repository.

## Primary sources

1. <https://github.com/naegoxdev/sm64-scratch/blob/b953d524a0af9d0f5a053e7cf1201252fbaa326c/README.md>
2. <https://github.com/naegoxdev/sm64-scratch/blob/b953d524a0af9d0f5a053e7cf1201252fbaa326c/docs/architecture.md>

## More in Games

- [sm64-gba: Super Mario 64 movement and collision on GBA](https://awesomerea.org/resources/sm64-gba-physics-port-case/index.md) · Case study
- [sm64ex: an enhanced Super Mario 64 PC port from the decompilation](https://awesomerea.org/resources/sm64ex-pc-port-case/index.md) · Case study
- [sm64synth: Rust port of the Super Mario 64 audio engine](https://awesomerea.org/resources/sm64synth-case/index.md) · Case study
- [Smash 64 DS Port: bringing Super Smash Bros. 64 logic to Nintendo DS](https://awesomerea.org/resources/smash-64-ds-port-case/index.md) · Case study
- [SMG-3DS: an unfinished Super Mario Galaxy port to New 3DS](https://awesomerea.org/resources/smg-new-3ds-native-port-case/index.md) · Case study
- [SMW: a PS4 port of Super Mario Bros. Wonder](https://awesomerea.org/resources/smw-ps4-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.
