Live data from Hacker News

Super Mario 64 has been decompiled

github.com

31–40 of 180 posts

Re: Super Mario 64 has been decompiled

#31

Earlier quoted context omitted.

> I highly recommend trying mario 64 on dolphin EMU Wrong console?

There was a virtual console release for Mario 64, so it's still applicable

Would this help improve the Virtual Console release?

Re: Super Mario 64 has been decompiled

#32

Earlier quoted context omitted.

Same as any other impractical-but-fun project that gets featured on HN. It's weird to me that people keep being surprised.

It's more an indicator that apparently either not many meaningful things happen (which I doubt) or somehow people use this a some retro-wanking where they imagine "Uh yeah back in high school I was also working on stuff like this, those were the days". What I am saying is that it doesn't surprise me people do these projects, what surprises me is that enough people care about them for it to make the front page of HN.

On the contrary, I feel like these kinds of projects are exactly what should be making the front page of Hacker News.

Re: Super Mario 64 has been decompiled

#33
post #5
post #3

Nintendo will request a takedown the second they see this, no?

What for? There's no copyrighted material in this repo.

Obviously IANAL, but my understanding was that conversion and translation is deemed to be under the same copyright as the source.

Re: Super Mario 64 has been decompiled

#34
post #23

Earlier quoted context omitted.

the team working on this effort also implemented IRIX userland support for QEMU What does this mean? I think of QEMU as emulating hardware... What exactly is being emulated here?

It means they managed to get irix running in qemu. Presumably on an x86 cpu. Notable because the sgi indigo had a MIPS R3000A CPU. https://en.m.wikipedia.org/wiki/SGI_Indigo

No - qemu supports "userland" emulation where the processor ISA is emulated but syscalls and memory are translated to the host OS. The IRIX kernel and OS doesn't run in this scenario.

Re: Super Mario 64 has been decompiled

#35
post #4

As an amusing side-effect, the team working on this effort also implemented IRIX userland support for QEMU since the original N64 toolchain ran on IRIX on the SGI Indy, and they need the original compilers to verify functional equivalence of their source: https://github.com/n64decomp/qemu-irix .

the team working on this effort also implemented IRIX userland support for QEMU What does this mean? I think of QEMU as emulating hardware... What exactly is being emulated here?

QEMU is thought of as a hardware emulator, but supports "userland" emulation where the processor ISA is emulated but syscalls and memory are translated to the host OS.

Re: Super Mario 64 has been decompiled

#36

Earlier quoted context omitted.

Same as any other impractical-but-fun project that gets featured on HN. It's weird to me that people keep being surprised.

It's more an indicator that apparently either not many meaningful things happen (which I doubt) or somehow people use this a some retro-wanking where they imagine "Uh yeah back in high school I was also working on stuff like this, those were the days". What I am saying is that it doesn't surprise me people do these projects, what surprises me is that enough people care about them for it to make the front page of HN.

It's an indicator that different people are interested in different things. I'm not sure why you're determined to spin this into a personal failing.

Re: Super Mario 64 has been decompiled

#37
post #21

Earlier quoted context omitted.

I meant where the source code does not exist anymore, anywhere. Nintendo still has the source to SM64.

Maybe I misunderstood you. I’m saying this same decompile process could indeed be done to any released game where the source code is lost, because that is effectively what happened in this case.

I think you misunderstood what the parent was saying.

On the technical level, you are correct in that in both scenarios the end result would be the same, as you are going from compiled code to decompiled code.

What I believe the parent is saying, is that applying this to Panzer Dragoon accomplishes more (on the human level), because devs of that game don't have the original source code anymore, while Super Mario 64 devs do.

Re: Super Mario 64 has been decompiled

#38

Earlier quoted context omitted.

Same as any other impractical-but-fun project that gets featured on HN. It's weird to me that people keep being surprised.

It's more an indicator that apparently either not many meaningful things happen (which I doubt) or somehow people use this a some retro-wanking where they imagine "Uh yeah back in high school I was also working on stuff like this, those were the days". What I am saying is that it doesn't surprise me people do these projects, what surprises me is that enough people care about them for it to make the front page of HN.

yes, clearly a site called 'hacker news' should have no such articles.

Re: Super Mario 64 has been decompiled

#39
post #9

One thing I've always been curious about: is there any sort of clear continuity of architecture or design patterns between the games in the Super Mario series? Yes, they're probably all from-scratch rewrites of the engine, but could each successive engine be said to be a "descendant" of a previous one, on a design level? One thing I know (and can be seen in this repo) is that SM64 emulates a version of the NES/SNES "…

There is probably an amount of code that is copies over to the new project that isn't game-specific.

Re: Super Mario 64 has been decompiled

#40
post #13

It would be great if this could be done for games where the source code was lost. Like Panzer Dragoon Saga.

This decompile was done without the original source code, just the released game, which is effectively the same as being ‘lost’.

The reversed SM64 binary was compiled without optim IIRC though.

Of couse you can reverse an optimized binary, just launch IDA and start to have fun to get an idea of the work. Doable, but of course harder.

Post reply on HN