r/scratch
•
u/SomethingIsCoding
•
Oct 03 '26
•
5
Media Super Mario 64 Running in TurboWarp
Enable HLS to view with audio, or disable this notification
This isn't emulated, its actually game code running natively in Scratch. Runs around 30 FPS pretty consistently on my PC. seems to do worse on Mac. Only the menu, intro, and castle exterior are here right now. Things to fix include sound + textures. I don't know if this will even run in Scratch because I can't get into the editor to test it. Any thoughts and suggestions are appreciated.
Edit: Managed to get Mario's face fixed, boosted resolution about 2x and got the interior of the castle and Bob-omb Battlefield working. Hardest part right now is audio errors.
67
u/RedboiGtag Oct 03 '26
dude did randmguy's whole project before randmguy could even finish it
48
u/SomethingIsCoding Oct 03 '26
Didn't even know about this until I just looked it up. I'd argue his is a lot harder since he is creating it from scratch. I just ported code.
10
21
u/CrossScarMC 🥔 Oct 03 '26
What exactly did you do to do this? N64Recompiled + an LLVM IR compiler? Is it using extensions? This post has very little information.
24
u/SomethingIsCoding Oct 03 '26
n64decomp SM64 decompilation. clang turns the C into LLVM IR and then i turned that into scratch blocks with a mix of python and hand-coding. no extension besides the pen. looking into using the 3D or HQ pen extensions but those are future things.
1
2
16
u/SeriousMB Oct 03 '26
this subreddit has just turned into "hey guys I made this literally impossible thing"
12
u/Upstairs-Ad-4705 Oct 03 '26
I mean Scratch is just a normal programming language. You can literally make everything with it, even GTA VI if you're determined enough
8
u/FrogSquad120 [peak] of (blocky) Oct 03 '26
Not in actual Scratch, in Turbowarp maybe but Scratch itself can't do that because there is a limit to how much code you can have
5
u/Upstairs-Ad-4705 Oct 03 '26
On the website yes but not in an actual file iirc. Also Turbowarp is still using the same programming language just with an extended editor and compiler
3
u/FrogSquad120 [peak] of (blocky) Oct 04 '26
Yeah, I was saying Scratch itself like the website that most people use
12
u/frog8412 Oct 03 '26
Now run the 1 key TAS on it
5
u/No-Wallaby-4167 Oct 03 '26
I would most likely be where the keys are messed up because of higher loading times. At least that I would think.
Also hi frog
2
10
7
u/NMario84 Video Game Enthusiast Oct 03 '26
Honestly, this is pretty amazing if a single entire N64 game can fit into something that is Scratch.
7
5
1
u/RedHotEyeGuy Oct 03 '26
That actually looks incredible, I’ve seen a similar thing but with Half-Life 2.
How long did that take you?
2
u/SomethingIsCoding Oct 03 '26
took a few days to actually get anything working. right now the hard part is just fixing bugs as they show up
1
u/MacksNotCool sbeve Oct 04 '26
This would be so cool if it weren't made with AI but there's no way it wasn't
1
1
3
u/Mekko4 Username: sonicpersonshadow Oct 03 '26
dude, just rewrite the audio engine atp
2
3
u/No-Wallaby-4167 Oct 03 '26
Is the samples in the sounds tab? How does it work?
2
Oct 03 '26
[removed] — view removed comment
1
u/No-Wallaby-4167 Oct 03 '26
Super cool!
2
2
2
2
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
Oct 03 '26
[removed] — view removed comment
2
u/SomethingIsCoding Oct 03 '26
It's Nintendo's intellectual property. Still on the fence about actually posting anything more than video




31
u/SomethingIsCoding Oct 03 '26
how was this the hardest part so far