Live data from Hacker News

Super Mario 64 has been decompiled

github.com

151–160 of 180 posts

Re: Super Mario 64 has been decompiled

#151
Always a little humbling to remember the developers are just like you and I.

https://github.com/n64decomp/sm64/blob/master/src/game/camer...

https://github.com/n64decomp/sm64/blob/4b46247686fd0e1ee691b...

https://github.com/n64decomp/sm64/blob/4b46247686fd0e1ee691b...

https://github.com/n64decomp/sm64/blob/4b46247686fd0e1ee691b...

https://github.com/n64decomp/sm64/blob/4b46247686fd0e1ee691b...

Re: Super Mario 64 has been decompiled

#152
post #151

Always a little humbling to remember the developers are just like you and I. https://github.com/n64decomp/sm64/blob/master/src/game/camer... https://github.com/n64decomp/sm64/blob/4b46247686fd0e1ee691b... https://github.com/n64decomp/sm64/blob/4b46247686fd0e1ee691b... https://github.com/n64decomp/sm64/blob/4b46247686fd0e1ee691b... https://github.com/n64decomp/sm64/blob/4b46247686fd0e1ee691b...

It's a decompiled result, it's incredibly unlikely the comments are from the original code, rather they'll have been placed there by the people doing the decompile.

Re: Super Mario 64 has been decompiled

#153
post #152
post #151

Always a little humbling to remember the developers are just like you and I. https://github.com/n64decomp/sm64/blob/master/src/game/camer... https://github.com/n64decomp/sm64/blob/4b46247686fd0e1ee691b... https://github.com/n64decomp/sm64/blob/4b46247686fd0e1ee691b... https://github.com/n64decomp/sm64/blob/4b46247686fd0e1ee691b... https://github.com/n64decomp/sm64/blob/4b46247686fd0e1ee691b...

It's a decompiled result, it's incredibly unlikely the comments are from the original code, rather they'll have been placed there by the people doing the decompile.

Ah, I wasn't aware of that. I thought it might include those.

That's a shame!

Re: Super Mario 64 has been decompiled

#154
It's interesting there are bits of code that don't have a purpose, and may have been there to support a second player. For example here:

    > This is evidence of a removed second player, likely Luigi.
    > This variable lies in memory just after the gMarioObject and
    > has the same type of shadow that Mario does. The `isLuigi`
    > variable is never 1 in the game. Note that since this was a
    > switch-case, not an if-statement, the programmers possibly
    > intended there to be even more than 2 characters.
https://github.com/n64decomp/sm64/blob/4b46247686fd0e1ee691b...

And more results when searching for "luigi":

https://github.com/n64decomp/sm64/search?q=luigi&unscoped_q=...

Re: Super Mario 64 has been decompiled

#155

Earlier quoted context omitted.

I have an SGI rotting in my garage, what's amazing about them is the quality of the monitor. For CRT displays, the best damn monitor I ever experienced, just CRISP. The Nintendo 64 had a MIPS R4300 chip, the SGI Indigio also used the MIPS Rchip, the early one had R4000/R4400 chip, the later ones R8000+ chips. I can only speculate that by using SGI, you could run some of your non specific N64 code locally and debug fa…

Was FreeBSD really a requirement? I used to have a Sony Net Yaroze that allowed me to build PSX executables on my PC, using Sony's custom GCC-based toolchain. It didn't require FreeBSD.

I worked at a company that did PSX dev on Windows PCs.

Re: Super Mario 64 has been decompiled

#156
post #131

Earlier quoted context omitted.

"Unix. Not an acronym." Sorta. "In 1970, the group coined the name Unics for Uniplexed Information and Computing Service (pronounced "eunuchs"), as a pun on Multics, which stood for Multiplexed Information and Computer Services."

Uniplexed sounds like a joke word.

It was. They were poking fun at Multics being too bloated and complex.

Re: Super Mario 64 has been decompiled

#157
Is there a usb compatible n64 controller?

Part of what makes this game such a watershed moment for 3d gaming is how the controller was designed to maximize it's potential.

To this day Mario 64 is one of the best games ever made.

Re: Super Mario 64 has been decompiled

#158
post #68

Earlier quoted context omitted.

IRIX [1] was the version of SVR4 UNIX which ran on SGI [2] computers. QEMU [3] is an emulator used to run programs for one machine on another. N64 [4] is the Nintendo 64 games console. SGI Indy [5] was a desktop SGI workstation from 1993. [1] https://en.wikipedia.org/wiki/IRIX [2] https://en.wikipedia.org/wiki/Silicon_Graphics [3] https://www.qemu.org/ [4] https://en.wikipedia.org/wiki/Nintendo_64 [5] https://en.wiki…

> QEMU [3] is an emulator used to run programs for one machine on another. More specifically one processor architecture to another. E.g. running on your desktop (usually an x86 based architecture) a Linux Operating System designed and compiled for a Raspberry Pi (ARM based architecture) and it's incompatible architecture. In this case they're running software designed for the same processor that the Nintendo 64 was t…

[deleted]

Re: Super Mario 64 has been decompiled

#159
post #107

This is cool and illegal. What makes me envy of the West (or countries other than Japan in general) is that this kind of attempt is somewhat condoned and praised, while in Japan there would be a vocal outcry and finger-pointing campaign (with some media exposure) to the point where the author would be forced to shut down the project. It's a blessing that people can pursue things like this, and it's a huge shame that…

Yeah and the way the author hedged this risk is by releasing it all at once. Nintendo may shut it down or even bring the author to court but the project is already complete. As long as just one person keeps a copy it will continue to exist and Nintendo can't do anything against it.

Re: Super Mario 64 has been decompiled

#160
post #68

Earlier quoted context omitted.

I honestly love coming to HN to see posts like this and comments like yours. It is always so neat to see the other sides of software engineering. You listed 4 acronyms and I have no idea what any of them are or how they fit into this story but all I want to do is deep dive into each one. It is also awesome to see people so interested in things that I've never even encountered before.

IRIX [1] was the version of SVR4 UNIX which ran on SGI [2] computers. QEMU [3] is an emulator used to run programs for one machine on another. N64 [4] is the Nintendo 64 games console. SGI Indy [5] was a desktop SGI workstation from 1993. [1] https://en.wikipedia.org/wiki/IRIX [2] https://en.wikipedia.org/wiki/Silicon_Graphics [3] https://www.qemu.org/ [4] https://en.wikipedia.org/wiki/Nintendo_64 [5] https://en.wiki…

[5] Often referred to as 'the pizzabox' IIRC

edit: oh, says it right there in the Wiki

Post reply on HN