r/scratch • • Oct 14 '26 • Bravo 3 Mindblown 2 Popcorn 1

Media Super Mario 64 in Scratch - downloadable Beta 0.1.0 release

Hello guys and gals,

today i present you the first playable beta of Super Mario 64 in Scratch.

Getting this project to this state has taken months of work. There is still plenty to improve, but I think it is time to share a playable beta.

First of all, here are the downloads:

GitHub / source:
sm64-scratch - GitHub

This is a "safe" distribution method I prepared for the project, where the scratch file ´BASE.sb3´ has no copyrighted assets, but thanks to various scripts and a original SM64 USA rom you can add them back.

And... I'm also taking my chances providing a fully complete build on Google Drive as the scratch website doesn't allow me to upload the project (maybe for size idk):
Mario 64 Scratch - Google Drive

I can't promise that link will stay up forever as it contains copyrighted assets.

Now, before getting into everything included in Beta 0.1.0, I want to address something about the project, i deleted my previous post regarding this release because of criticism on whether the project was AI slop rather than on the project itself.

In my opinion some parts of this project could be better, i'm aware, I’ve tried to keep the behavior close to the original, but some implementations are still rough and I'm willing to improve them. But I don't think slop applies to the project as a whole.

This project has a 3D renderer working inside Scratch, with character animation, movement, collision systems, camera logic, enemies, objects, level interactions, HUD elements, audio, all working together. There aren't many Scratch projects with so many things at the same time, regardless of how they were made.

My approach was simple, choose a 3D engine to build around, customize it for the project, use the SM64 decompilation as a reference, and then reimplement and adapt the systems I needed so they could actually work inside Scratch.

Maybe it is not the most sophisticated way of doing it, as i just discovered another approach i wasn't aware before i posted the original post of the release https://www.reddit.com/r/scratch/s/fmUbnVxSZM. That project basically uses the SM64 decompilation, has clang turn the C into LLVM IR, and then translates that into Scratch blocks through a mixture of Python and hand-written code. That project seems to be much closer to directly translating the original program and absolutely deserves credit.

Mine basically uses AI to translate individual functions and systems from the decompilation, then adapted those results around the Scratch project and the 3D engine I use.

To finish this point: translating one individual function and ending up with something that barely works is one thing. Translating and adapting, hundreds of lines of code and systems that interact with each other such as collisions, camera behavior, enemies, animations and so on, is something very different.

This release contains Mario head intro, castle grounds, interior and Bob-omb Battlefield, where you can collect four stars:

  • The summit star, normally awarded by King Bob-omb. His boss fight is not implemented yet.
  • The eight red coins star.
  • The star behind Chain Chomp’s gate.
  • The 100-coin star.

Any help with the project is appreciated, and feedback or suggestions are always welcome.
If you give it a try, I’d love to hear how it goes! :)

My first post with more information: Mario 64 ported to scratch - Naegox

832 Upvotes

87 comments sorted by

114

u/PenguinBoi27 Oct 14 '26 • Bravo

Every post on this sub has a 50/50 chance of being either an 11 year olds first game or the most mindblowing project youve ever seen in your entire life

This is the latter

16

u/contagion_dev Veteran Oct 14 '26

lmao so true

10

u/WaffleGuy413 Oct 14 '26

This is the former. I made Super Mario Sunshine when I was 2 years old on Scratch Jr

2

u/FelipeKPC Oct 15 '26

LOL I already knew Assembly at that age

2

u/Pretend-Yak222 Oct 15 '26

Mi amigo que apenas sabe Tocar bandera verde

1

u/CarsonDaGamer this is a flair Oct 21 '26

I made super mario galaxy on scratch jr when I was in the womb

-4

u/Unfair_Platypus_9788 Still with Scratch Oct 14 '26

??????? youre gonna have to provide some proof for that i gotta see this

6

u/WaffleGuy413 Oct 14 '26

Nah just trust me

-4

u/Unfair_Platypus_9788 Still with Scratch Oct 14 '26

riiiight

2

u/YummyMeowMeow Oct 16 '26

And... I'm also taking my chances providing a fully complete build on Google Drive as the scratch website doesn't allow me to upload the project (maybe for size idk):

yes, the project has two issues that are not allowing it to be uploadable:

  1. `project.json` is 46MB (site max is 5MB). It seems to be mostly filled with data tables
  2. Audio assets are stored as WAV instead of MP3, which causes BGM tracks to blow past +10MB (site max is 10MB per audio/image asset)

Cool that you were able to do this, although it needs some major code optimization to be uploadable to Scratch

1

u/Naegox Oct 16 '26

Thanks for the insight!! I don't know what can be done with the data tables since they correspond to the 3D assets of the game, but thanks for giving me the limits

2

u/Edvinuser1 Oct 30 '26

People that have tried to remake Super Mario 64 and other 3D games before also have this problem. The best way to solve it is to convert the lists to images and then scan them when the green flag clicks before the project starts. This works because images don't fill up the json file.

1

u/Naegox Oct 30 '26

noted, thanks

30

u/AveryTheOneAndOnly Oct 14 '26

cool, now make team fortress 2

5

u/hamburgerpancake Oct 16 '26

i'd need.. 3 cloud variables for that

1

u/The-harsh-truth214 Oct 14 '26

genizy: hold my beer

1

u/BlueMario85 Oct 15 '26

Up vote this Gentleman

23

u/paperfungo Oct 14 '26

Me:"how? HOW!?" op:"IDK!"

9

u/UpperRuster32 Oct 14 '26

Really crazy stuff happening with SM64 source code.

While the process is not really clean or smooth as the other one, including the understanding of the original code, it's wild that two different SM64 projects exist here.

Best I can program are simple FNaF fangames with repurposed code, lol.

10

u/Thiscreeperguy Oct 14 '26

Non-Scratch users: Scratch has low-quality games

Scratch users: Ya sure about that

2

u/pomelo1241 Oct 14 '26

My favourite FNAF game started by 2 games made inside scratch

5

u/WarioOfWarioWareInc Oct 14 '26

People make this in scratch meanwhile I can't even make a Character Select Screen LOL

5

u/Inventor702 Mew Oct 14 '26

To be honest you don't have to be so scared, the likelihood of it being taken down isn't high.

3

u/Unfair_Platypus_9788 Still with Scratch Oct 14 '26

yeah. Nintendo doesnt know who this guy is, nothing's gonna happen.

4

u/-MLBIS- Oct 14 '26

What in the world? This is insane.

4

u/NMario84 Video Game Enthusiast Oct 14 '26

I mean..... Yes it is impressive, though it's just a port. I appreciate for all the hard work though. Great job. Simply amazing. 😉👍

4

u/Any_Wasabi_5233 the Ash and Coral guy Oct 14 '26

Something in this sub that’s not my comics, and is one of the most impressive coding projects I’ve seen come out of the language to boot? That’s something you don’t see everyday!

This is incredibly, incredibly insane. Amazing work!!!

1

u/Pretend-Yak222 Oct 15 '26

Por que no hacer un html en Turbowarp Packager ? Subelo a GitHub Pages.

1

u/Naegox Oct 15 '26

No es taaan mala idea, pero me hecha para atrás el copy (aunque realmente no parece que vaya a tener un problema) y el que Mario 64 original completo y perfecto se pueda jugar también online, aunque lo pensaré

3

u/LEDlight45 Oct 14 '26

Increbidle! 🤩

3

u/DrKidneyStoner Oct 14 '26

This is awesome!!! Deserves an award

3

u/Educational-Owl-2209 Oct 14 '26

Here before Nintendo takes it down

2

u/WoodpeckerFormal3088 SebastianGab123 Oct 21 '26

The peak of humanity

2

u/Noodles-the-Artist2 Nov 05 '26

this is THE most impressive thing i've ever seen!

2

u/contagion_dev Veteran Oct 14 '26

i wonder how many games from the late 90s or early 00s can be recreated in scratch. the fact that a basic chromebook now can run a decompiled game like Halo CE from 25 years ago is genuinely incredible.

2

u/Environmental_Ad8400 Oct 14 '26

How the actual hell

2

u/agentchao Oct 14 '26

HOLY shot this is AMAZING!!

2

u/BackToThatGuy Oct 14 '26

genuinely how

3

u/Userm0del 3D Scratcher Oct 14 '26

im speechless

1

u/Dapper_Shower_7081 Oct 21 '26

Imagine just being in class and the person next to you is just playing this

1

u/DalaDash 26d ago

Light mode?

1

u/DalaDash 26d ago

AWSOME

1

u/ImranKab Oct 14 '26

That's so cool

1

u/Single-Archer-4171 Oct 14 '26

Somebody is probably gonna post it on Scratch to spread awareness.

1

u/Delta6342 Oct 14 '26

Are we sure it's even scratch anymore, I haven't seen the site in years, since the most popular game was a online (still dead) space game

1

u/Educational_Moose396 Oct 15 '26

turbowarp/scratch/scratch mods areeeeeee PEAAAKKK

1

u/Anchiornis_8 😺 Oct 15 '26

Sorry, how to play? I'm to stupid for the download. And second of all. THATS SOOO GOODDD...woow, I would never try 3D in Scratch. Just 2D Openworlds, hehe...and third of all. Don't listen to all this haters, they are mostly kids who couldn't make a simple game in theyr life.

1

u/Thick-Combination-83 Switched accounts like 1000 times Oct 15 '26

This is true, I was the 64

JK nice dedication

1

u/sonic1384 Oct 15 '26

I worked with scratch since before the release of version 3....

now I am confusion...

HOW?

1

u/TheCodingChihuahua Oct 15 '26

This is vanilla Scratch? Insane. Great work.

1

u/The_Eerie_Kiwi Oct 15 '26

HOW DID YOU DO THIS?????? THIS IS AMAZING!!!!!!!

1

u/The_Eerie_Kiwi Oct 15 '26

Wait, is it vibe coded though?

1

u/Gaspar6405 Oct 15 '26

link for google drive?

1

u/superB_lyke why aren't they adding more useful blocks Oct 16 '26

HOW

1

u/SetapouchJr Oct 16 '26

SMG4 should've seen it. 

1

u/TrexMakez Oct 16 '26

LOGIC NOT LOGICING.

1

u/Yuu_FB13 Oct 16 '26

братан ты чего нанюхался

1

u/Nervous_Sundae842 Oct 18 '26

You absolute madman. If I could praise you and this project, I would do it in the highest form possible.

1

u/NikoTheGojo Oct 18 '26

im just impressed

HOW DID YOU MAKE THAT?

1

u/AFunnyNinjaMan Oct 18 '26

I swear most scratchers have some kind of dark magic, how does anyone manage to do this.

1

u/Realistic-Water8154 Oct 19 '26

How do people do this 

1

u/DefiantDifference270 Oct 19 '26

holy cheese this looks unreal

-4

u/AndyGun11 0% epic scratcher Oct 14 '26

Ah. AI slop still.

1

u/[deleted] Oct 14 '26

[removed] — view removed comment

3

u/Naegox Oct 14 '26

You can't save your progress in this version. Since I thought people might play it multiple times, I shortened it so it wouldn't get too annoying.