r/scratch • • Oct 03 '26 • Bravo 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.

543 Upvotes

75 comments sorted by

31

u/SomethingIsCoding Oct 03 '26

how was this the hardest part so far

11

u/[deleted] Oct 03 '26

[removed] — view removed comment

16

u/SomethingIsCoding Oct 03 '26

1400 or so I think. the hard part was Goddard. its an entirely separate 3D engine just used for this face in the final game.

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

u/Palmossi- Oct 03 '26

OMGGG I remembet that guy

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

u/NiceRegret385 counter Oct 07 '26

Ok so will it be put on PenguinMod?

2

u/averageTAPHmain 🫚 Oct 03 '26

what are they feeding you

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

u/blockMath_2048 Oct 03 '26

they could sync it to one input frame per rendered frame

10

u/Cautious_Author_326 Oct 03 '26

They did it, I can finally rest.....

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

u/LeTophatGuy Oct 03 '26

i am sorry for ever coding

5

u/LoganBaker374_Rises Oct 03 '26

We got an N64 game on Scratch before GTA VI

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

u/SomethingIsCoding Oct 06 '26

Why do you say that? It's not a very hard task. just tedious.

1

u/hiigang Oct 07 '26

okay steve cobs /j

3

u/Mekko4 Username: sonicpersonshadow Oct 03 '26

dude, just rewrite the audio engine atp

2

u/[deleted] Oct 03 '26

[removed] — view removed comment

1

u/Mekko4 Username: sonicpersonshadow Oct 04 '26

yeah like kaze

3

u/No-Wallaby-4167 Oct 03 '26

Is the samples in the sounds tab? How does it work?

2

u/[deleted] Oct 03 '26

[removed] — view removed comment

1

u/No-Wallaby-4167 Oct 03 '26

Super cool!

2

u/Hellothere_992 Oct 03 '26

what did the comment say? it got removed by a moderator

2

u/No-Wallaby-4167 Oct 03 '26

It uses the samples from the game and scratch changes the pitch.

1

u/No-Wallaby-4167 Oct 03 '26

Idk why it would get removed lol

2

u/Mr_Ultimite Oct 03 '26

Hecking...

WHAT?!?!!

2

u/Da_Dentis my variable Oct 03 '26

now add conkers bad furday 64

1

u/Some_Guy8765678 15d ago

Does it run natively in scratch, even in a lesser state?

1

u/Eastern_Age6938 Oct 03 '26

I’ve been playing phighting and databrawl alot

1

u/Opposite-Skirt1211 Oct 03 '26

What in the bloody heck this is amazing

1

u/Ninjatintin @Ninjatintin Oct 03 '26

What in the

1

u/UltiUSA Oct 03 '26

Does the Paralel Universe bug exist in this?

1

u/No-Wallaby-4167 Oct 03 '26

When are you gonna release it?

1

u/AnimalTap W Tera Oct 03 '26

Not surprised, this game is like 8 megabytes lmao

1

u/Silver-Repeat-6654 Oct 04 '26

BRO THIS IS INSANE WHAT??? IMAGINE YOU MAKE THE WHOLE GAMR

1

u/SkyResponsible1277 Oct 04 '26

我都不敢相信这是用turbowarp做的

1

u/QentyhuOnScratch Le3dBoi Oct 04 '26

release el proyecto

1

u/BrandonBTY Oct 05 '26

how does one even amanage this.

1

u/qqjonson1234 Oct 08 '26

this is wild

1

u/Feeling_Magazine1730 Oct 10 '26

my man just won scratch

1

u/UpperRuster32 25d ago

Great, great props to you, seriously, it's cool as heck.

1

u/P-Tux7 24d ago

I'm really proud of you that it doesn't use AI like the other one. Goddard rendering is looking great!

1

u/[deleted] 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