Mario Kart 64 got finally decompiled! (github.com)
from MazonnaCara89@lemmy.ml to games@lemmy.world on 13 May 18:15
https://lemmy.ml/post/30052626

#games

threaded - newest

Vitaly@feddit.uk on 13 May 19:44 next collapse

Amazing!

Gullible@sh.itjust.works on 13 May 19:23 next collapse

It’s not a stretch to say that n64 romhacks are often of similar gameplay quality to modern titles, albeit with far lower graphical fidelity. With a racer like Mario kart, I’m curious how they’ll go about modernizing it. It seems too fundamentally janky with its controls and visuals to compete with anything within the last 20 years, but I’ve been nothing if not surprised by the ingenuity of romhackers.

4am@lemm.ee on 13 May 23:14 collapse

This is not a romhack or a tool for romhacking. This lets the game run natively, on current PC hardware.

Gullible@sh.itjust.works on 13 May 23:25 next collapse

Decomp projects accelerate the rate that romhacks come out through new or improved tools and fresh information about the inner workings of the game. Particularly when there was little experimentation previous to the decomp, as is the case here, to allow romhackers find the game’s kinks. It absolutely is not a romhack or romhacking tool, you are correct. It’s better!

Ganbat@lemmy.dbzer0.com on 14 May 04:53 collapse

Doesn’t look like this is quite that, yet. The decomp is just the first step towards native porting. Banjo-Kazooie’s been fully decompiled for somewhere around a year at this point, and there’s still no ports afaik.

Laser@feddit.org on 14 May 11:20 collapse

Some say this is for the better

Trashboat@lemmy.blahaj.zone on 13 May 19:48 next collapse

Mario Kart 2^6^

Endymion_Mallorn@kbin.melroy.org on 13 May 20:24 next collapse

So we don't know who it is. All we know is, he's the ToadStig.

DoucheBagMcSwag@lemmy.dbzer0.com on 13 May 20:27 collapse

Good. Leave them nameless

Mister_Hangman@lemmy.world on 14 May 04:37 collapse

Kid… you’re killing me.

Hey I nominate this guys new moniker to be Private Slow.

KindaABigDyl@programming.dev on 13 May 20:41 next collapse

Good. Maybe now someone can mod it so it isn’t the worst Mario Kart in the series

Lost_My_Mind@lemmy.world on 13 May 21:11 next collapse

comforts you

Hey, it’s ok buddy. It’s alright to have bad opinions sometimes…doesn’t make you a bad person.

SomethingBurger@jlai.lu on 13 May 21:20 next collapse

You should play MK7 if you think 64 is bad.

KindaABigDyl@programming.dev on 13 May 22:23 next collapse

They can both be bad

SomethingBurger@jlai.lu on 13 May 22:55 collapse

True, but 7 is worse.

4am@lemm.ee on 13 May 23:26 collapse

7 is one of the best wdym

SomethingBurger@jlai.lu on 14 May 08:37 collapse

What? The best are Wii, DD and 8DX. Even for a handheld game, 7 is terrible. It’s nowhere near as good as DS and has less content than SC. 64 and SMK aren’t much better but at least are not significantly worse than what came before.

Obviously they are all bad compared to CTR or Sega Racing Transformed but that’s another discussion.

mp3@lemmy.ca on 13 May 21:45 next collapse

You take that back.

KindaABigDyl@programming.dev on 13 May 22:23 collapse

no

Glytch@lemmy.world on 13 May 22:00 next collapse

Wii, Super Circuit, and 7 exist, so your argument doesn’t hold water.

Sure it isn’t Double Dash, but it’s definitely not the worst.

KindaABigDyl@programming.dev on 13 May 22:23 collapse

Wii is one of the best.

Super Circuit is still better.

I’ll give you 7. It’s down there

But the driving is terrible and so is the AI and so are the tracks

Tim_Bisley@piefed.social on 13 May 23:03 next collapse

No co-op championship made it DOA for me. Maybe someone can mod that in at some point.

Glytch@lemmy.world on 14 May 06:32 collapse

But the driving is terrible and so is the AI and so are the tracks

That’s my opinion of Wii, but Wii also introduced bikes which have also stained each subsequent entry so it gets my vote for the worst in the series.

ILikeBoobies@lemmy.ca on 13 May 22:00 next collapse

I know the driving is bad, the ai is bad, and it’s full of glitches but worse than Super Mario Kart and Mario Super Circuit?

KindaABigDyl@programming.dev on 13 May 22:22 next collapse

I think so

4am@lemm.ee on 13 May 23:25 collapse

Never played super circuit

OG Super Mario Kart is a banger all day long and you know it

SomethingBurger@jlai.lu on 15 May 13:41 collapse

Super Circuit is basically SMK but better. It even includes all tracks from SMK.

wh0_cares@lemmy.blahaj.zone on 13 May 22:22 collapse

I’m probably gonna get flack for this, but, based take, no clue what everyone else is on about. Must just be nostalgia bias, I remember the whole internet singing the praises of MK64 a decade ago, but like, it is really ass compared to any other game in the franchise.

For anyone who thinks 64 is better than SMK and SC, check out this video and then come back to me. (granted, video doesn’t talk about SC, but like, SC is just an improved version of SMK)

For anyone who thinks 64 is better than Tour… fair point, but like, the only reason Tour is so bad is cause Mobile. Outside of that, it’s not that bad.

For anyone who thinks 64 is better than 7… why? The only thing bad with 7 is it’s lack of a single player VS mode. Outside of that, 7 is a pretty good game, although outshined by 8 in every way.

For anyone who thinks 64 is better than World, chill out, World ain’t even out yet, ok.

For anyone who thinks 64 is better than DD, DS, Wii, 8, or 8DX, I know you’re trolling at that point.

Even still, 64 is still not that bad, and I can probably come up with at least half a dozen worse racing games off the top of my head. I’m really excited to see how people use this decomp to actually make 64 a good game.

KindaABigDyl@programming.dev on 13 May 22:24 next collapse

It’s def nostalgia bias. It is truly terrible.

4am@lemm.ee on 13 May 23:24 collapse

I hated on it for so long, but i eventually came around and i kinda like it now.

It is still the worst In the Series lol

LovableSidekick@lemmy.world on 13 May 22:41 next collapse

Now that the code is available, anybody who wants to can mod it and create new version of Mario Kart. Without paying whoever produced Mario Kart. But playing devil’s advocate, isn’t that what people are calling AI evil for doing? So why am I not seeing outrage?

panchzila@lemmy.world on 13 May 23:06 next collapse

I guess because its not for profit.

4am@lemm.ee on 13 May 23:15 next collapse

That was already possible. This lets the game run natively on a modern PC, as long as you supply your legally backed up rom image of your N64 cartridge of the game.

Also, if they trained AI on programming books which they licensed in perpetuity and free college courses and it became better than people at programming, then maybe vibe coding would be questionably good. But they didnt. In a system designed to exploit labor, they took the fruit of that labor without compensating those who deserved it (a crime that, as you elude to in your comment, is not socially acceptable), then they sold their snake oil which is NOT as good at the job it proposes to eliminate as the human worker, to a company which will pay for the privilege of exploiting that technology at the expense of the humans they will replace with it, while it does a worse job and generally makes life shitter for everyone in that entire supply chain, except for the Sam Altmans. Who, as we’ve seen in recent times, want to build tech bro kingdoms where they can exploit people further.

The problem isn’t the neural network, it’s the exploitation.

LovableSidekick@lemmy.world on 14 May 18:13 next collapse

Oh I see. I only took a brief glance at the code on github but it looks like the full game is there - did the devs add the cartridge check to avoid IP trouble? Because if you know what you’re doing you could always disable that.

LovableSidekick@lemmy.world on 14 May 18:18 collapse

Enough with the AI moralizing. As a software developer I spent my whole career looking at examples of other people’s work and incorporating their coding techniques into my own work without ever hunting any of them down and paying them. Possibly other people have done the same with my code. Bottom line, I don’t care, it’s always been common practice. And I don’t see anything wrong with a human being writing code to automate that process - that’s the whole idea of coding.

ChairmanMeow@programming.dev on 14 May 11:35 collapse

You can’t do what you say, because the original ROM is required to get the assets. Just this repo gets you nowhere w. running the game.

LovableSidekick@lemmy.world on 14 May 18:04 collapse

The assets folder in the github repository seems to contain the assets - unless you’re talking about different assets.

ChairmanMeow@programming.dev on 14 May 23:16 collapse

Those are the references to where the assets are located in the original ROM (that’s the data inside those json files). There’s no actual asset in there.

LovableSidekick@lemmy.world on 14 May 23:21 collapse

Oh I see. So to play the game using this code do you need hardware to physically connect the cartridge so the PC can read the assets, or does it read a dump of the ROM?

ChairmanMeow@programming.dev on 15 May 05:18 collapse

It will read a dump from the ROM. The project obviously can’t be held responsible for how you may have obtained that ROM.

Blaster_M@lemmy.world on 13 May 22:47 next collapse

It was alright, MK64, but my only real gripe is the handling. When you start your turn in, the kart strafes opposite of the direction you are turning, which makes small adjustments difficult at best.

Drbreen@sh.itjust.works on 13 May 23:34 next collapse

Skill issue

chunkystyles@sopuli.xyz on 14 May 03:47 next collapse

And in this one, if you move the stick back and forth wrong, you can spin out.

It’s pretty janky, but you can get used to it.

Species5218@sh.itjust.works on 14 May 07:58 collapse

How did you get it to run? I got it to compile, but I cant find a file that I can actually run.

Ansis100@lemmy.world on 14 May 10:06 next collapse

I haven’t even looked at it, but don’t you need an emulator to run it?

Robust_Mirror@aussie.zone on 14 May 11:11 next collapse

Usually these decompiled projects run natively as an exe. I haven’t tried this one yet though.

Species5218@sh.itjust.works on 14 May 12:50 collapse

I was under the impression it would run nativly.

This is the same thing I already had, but with extra steps lol

domi@lemmy.secnd.me on 14 May 11:26 collapse

Are you trying to run it on PC?

This is only the decompilation of the original for N64, the binaries it produces are for the N64 or an emulator. Making a PC port is the next step.

Species5218@sh.itjust.works on 14 May 12:48 collapse

Yeah, I thought this was able to be built for PC. If that explains why there was just N64 roms in the build folder.

I’m not sure what good this is. It takes a mk64 rom and turns it into a mk64 rom?

Does the new rom run better or something?

Idk what we’ve gained here

domi@lemmy.secnd.me on 14 May 15:15 next collapse

There is now source code for the ROM, which makes creating ports and mods significantly easier.

The initial goal of most decompilations is to produce a 1:1 match of the original ROM. That’s how they know they’ve got a perfect representation of the original code.

jacecomix@sh.itjust.works on 14 May 15:15 collapse

The end goal is probably a native PC version of the game.
Imagine if someone handed you a burnt cake and said “make this exact cake, but not burnt.”
If you can perfectly recreate the burnt cake, you’ve at least verified your ingredient list. The next step is to just bake it right.

demizerone@lemmy.world on 14 May 01:16 next collapse

Eat shell Nintendo.

Matriks404@lemmy.world on 14 May 09:39 next collapse

I won’t say if that project is legal or not, but expect it (and many others) to be taken down by Nintendo soon. Make a local copy if you want to preserve it.

ChairmanMeow@programming.dev on 14 May 11:32 next collapse

Decomps are legal because no copyrighted material is being distributed. They typically require the original ROM to run (eg for assets).

Matriks404@lemmy.world on 14 May 12:38 next collapse

The code itself is also copyrighted. Decompiled code is a derivative work.

GamingChairModel@lemmy.world on 14 May 13:20 next collapse

Yeah, that’s why all the IBM clones had to write their BIOS firmware in clean room implementations of new software that implemented the same functionality as IBM’s own documentation described.

Functionality can’t be copyrighted, but code can be. So the easiest way to prove that you made something without the copyrighted code is to mimic the functionality through your own implementation, not by transforming the existing copyrighted code, through decompilation or anything like that.

Matriks404@lemmy.world on 15 May 00:11 collapse

Exactly. But somehow I got downvoted heavily for saying the obvious.

GamingChairModel@lemmy.world on 16 May 00:20 collapse

Some people struggle with the difference between arguing about descriptive statements, about what things are, and arguing about normative statements, about what things should be. And these topics are nuanced.

Decompiling to learn functionality is fair use (because like I said in my previous comment, functionality can’t be copyrighted), but actually using and redistributing code (whether the original source code, the compiled binary derived from the source code, or decompiled code derived from the binary) is pretty risky from a legal standpoint. I’d advise against trying to build a business around the practice.

DoPeopleLookHere@sh.itjust.works on 14 May 13:57 collapse

Decompiling doesn’t give you the code like you’d expect.

It gives you the instructions the code generates.

There’s a Lego island decomp documentary on YouTube that is recomend for more details.

But the actual source code used doesn’t get piped out. Instead you get the machine instructions and you make code that generates the same instructions.

Meaning your still writing the game yourself, meaning you own the copyright

Matriks404@lemmy.world on 15 May 00:04 collapse

No one says that the actual source code (C or whatever) is “piped out”. The machine instructions (in form of a binary) you have before decompiling is the code that is executed by the machine/emulator is copyrighted like any other data on the disc/cartridge. You are not writing the game yourself if you are decompiling it. And it’s logically a derivative work. The fact that the resulting “instructions” is not the source code that developers wrote is as expected. It won’t create it from thin air.

I don’t understand what kind of mental gymnastics you need to do to think that you are doing something original here.

DoPeopleLookHere@sh.itjust.works on 15 May 01:07 collapse

I’m wrong about why,

But it’s been ruled as fair use

jsomae@lemmy.ml on 15 May 01:50 collapse

That says reverse engineering is ok – not sharing RE’d code.

DoPeopleLookHere@sh.itjust.works on 15 May 03:34 collapse

AFAIK fair use means you can redistribute.

jsomae@lemmy.ml on 15 May 03:53 collapse

Fair use means legally using a copyrighted material without requiring permission of the copyright holder. It does not mean you can redistribute in general, though some forms of redistribution are fair use, such as using an excerpt from a book in your essay.

Reverse engineering code is also fair use, but that doesn’t mean it’s fair use to share the code you’ve reversed.

phx@lemmy.ca on 15 May 03:51 collapse

Yeah but Nintendo doesn’t always seem to give a shit just because something is legal. They’ll still play the “but our legal department has more money than YOU” card

ipkpjersi@lemmy.ml on 14 May 12:47 collapse

Why expect this to be taken down if other decomps haven’t been taken down already? Why expect other decomps to be taken down?

Matriks404@lemmy.world on 15 May 00:26 collapse

They will eventually be all taken down. That’s the point. They have no legal framework to exist, and Nintendo could strike any time they want, like Rockstar did with the re3 project.

They also have valid reasons to think that these projects are causing them to lose money, since they give alternative (and technically better) solutions to play their old games, without buying any Nintendo hardware or software (unless you dump your games, but let’s be honest. You don’t).

ipkpjersi@lemmy.ml on 15 May 02:54 collapse

You could say that about Pokemon MMOs too, and yet I’m playing PokeMMO in 2025 on my PokeMMO account I created back in 2013.

There are some things Nintendo don’t go after, and there are other things that they do go after. Decomps don’t appear to be something they go after, which is good because then we can get cool ports of older games too.

Matriks404@lemmy.world on 18 May 12:48 collapse

Pokemon MMO’s are the entire different thing. I am not 100% sure how they developed them, but they seem to be just reimplementations of original game mechanics, but while reusing original assets.

And yet I don’t understand why you say they are not taken down by Nintendo. Couple of them were already closed down because of copyright infringement, and they made big news about that.

ipkpjersi@lemmy.ml on 18 May 15:14 collapse

Pokemon MMOs literally use Pokemon assets as well as trademarked data too, and they’re literally using Nintendo’s intellectual property. It’s not too different from decomps.

I say Pokemon MMOs haven’t been taken down, because, I’m playing PokeMMO in 2025 on my PokeMMO account I created back in 2013. PokeMMO has been around for over a decade, Pokemon World Online has been around since like 2007, Pokemon Revolution Online has also been around for a decade, etc.

Do you have any proof of any Pokemon MMOs that have been taken down by Nintendo? I’m looking for Pokemon MMOs that have been shut down and I’m not finding any, I’m just finding Pokemon MMOs that have been around for years without being shut down.

muusemuuse@lemm.ee on 14 May 13:03 next collapse

I’m seeing more of these decompilations lately but never for playstation titles. some things just never emulate quite right with the playstation titles and they are still fun to play. Is anyone working on decompiling original playstation games?

jacecomix@sh.itjust.works on 14 May 15:18 next collapse

Not claiming to be an expert, but I watched this video a while back. www.youtube.com/watch?v=OmKjVpVdHDQ
The impression I got is that PS1 emulation is actually pretty good, and N64 emulation is more like that Homer Simpson meme with all the clothespins on his back.

InverseParallax@lemmy.world on 14 May 18:05 collapse

Ps1 is great because it’s a mips core, a funky 3d engine and the main weirdness is the spu.

The n64 is all weird (albeit with a similar but 64bit mips core).

Cort@lemmy.world on 14 May 18:22 next collapse

Don’t forget the rdram in the N64 that Sony didn’t use until PS2/3

kadup@lemmy.world on 14 May 23:31 collapse

The PlayStation hardware is barely capable of 3D at all.

Sure, it can accelerate some polygon math, but that’s about it. No texture mapping, no Z depth, no floating point precision, no anti-aliasing, no shading.

twice_hatch@midwest.social on 15 May 05:32 next collapse

It does texture mapping, it’s just not perspective correct. And floating point isn’t a precision

kadup@lemmy.world on 15 May 10:08 collapse

and floating point isn’t a precision

Floating point precision does not mean I’m saying “floating point is a precision”, whatever that sentence means.

The PlayStation can’t use anything but integers to place points in 3D space.

InverseParallax@lemmy.world on 15 May 08:10 collapse

It does texture mapping but that’s all. I think it does very limited, basically gouraud shading.

You have to clip your triangles, basically clip everything.

MazonnaCara89@lemmy.ml on 14 May 19:44 next collapse

Yes there is some work for ps1 games for example the crash team racing demp

github.com/CTR-tools/CTR-ModSDK This is the link, tho the repo is being used for ctr mod tools too.

muusemuuse@lemm.ee on 14 May 20:16 collapse

CTR?! YESSSSS!

SomethingBurger@jlai.lu on 15 May 13:36 collapse

Activision is sitting on free money by not porting Nitro Fueled to PC.

weirdbeardgame@lemmy.world on 14 May 23:44 collapse

There’s an entire community for PS1 and PS2 discord.gg/TzRYk7X3zw

glitchdx@lemmy.world on 14 May 20:21 next collapse

so, custom tracks and racers when?

BigPotato@lemmy.world on 14 May 23:55 next collapse

There’s already ROM hacks for MK64.

SuperCub@sh.itjust.works on 15 May 00:15 collapse

MarioKart Vs Diddy Kong Racing

finitebanjo@lemmy.world on 15 May 00:32 next collapse

Wow that took a while…

kazerniel@lemmy.world on 15 May 10:14 collapse

had to look it up, 1996, damn that’s an old game xd

MyNameIsAtticus@lemmy.world on 15 May 08:49 collapse

Man, i hope this results in a PC port like with SoH. I’d kill for a native PC version of 64 with a bunch of fancy features. It’s my favorite Mario Kart