Top
Best
New

Posted by knackers 15 hours ago

Decompiling a Nintendo 64 game in 84 days(blog.chrislewis.au)
207 points | 129 commentspage 2
globi 12 hours ago|
LLMs are truly amazing and I hope those decomp will keep coming! I am currently watching the Test Drive Unlimited decompilation project, which seems to use a mix of LLM decomp and actual engine improvement (porting the game to Vulkan and a new physics engine instead of Havok): https://github.com/opentestdriveunlimited/OpenTestDriveUnlim...
rjrjrjrj 11 hours ago||
I don’t remember this game at all - and there weren’t many N64 games, especially in the first couple of years.
Jach 6 hours ago||
Watching bits of videos from this guy's series on beating every N64 game (including JP-only releases) is a fun way to find out about interesting games I missed from back then. https://www.youtube.com/playlist?list=PLrwJXOVKrLbIDAiT9b4Lk...
Larrikin 11 hours ago||
It and the sequel were among two of the best multiplayer games on the system. It was so sad to see the series die when it went portable instead of continuing to be a ton of fun.
rjrjrjrj 10 hours ago||
Interesting.

For me it was Goldeneye (of course) and Diddy Kong Racing.

ThrowawayTestr 13 hours ago||
Awesome. Hopefully AI will allow more games to be decompiled in the future. Anyone working on a decomp of Perfect Dark?
QuantumNomad_ 13 hours ago|
https://github.com/n64decomp/perfect_dark claims to be “a complete decompilation of Perfect Dark for the Nintendo 64”. And: “When a matching decompilation is compiled with the same compiler that the original developers used, the output will be exactly the same as the retail game, byte for byte.”

Relatedly, https://github.com/perfect-dark-pc-port/perfect_dark forked from the above describes itself as “a work-in-progress port of the Perfect Dark decompilation to modern platforms”. Further: “The game is in a mostly functional state, with both singleplayer and split-screen multiplayer modes fully working. There are minor graphics- and gameplay-related issues, and possibly occasional crashes.”

beepbooptheory 9 hours ago||
Does decompiling a game made by a certain development team help decompile others made by the same people? Because you might know what patterns to look for?
qingcharles 7 hours ago||
No, not at all. I know where I worked there was zero code reuse across teams and games.

Games of this generation had code that wasn't intended to be supported or managed after release (no patches for those consoles) and so the code tended to be fairly horrible.

hn773746483 6 hours ago||
It varies. Nintendo for example has plenty of different teams and internal frameworks, but not every game uses them.
sota_pop 3 hours ago||
- super smash bros

- LoZelda Ocarina of time& majora’s mask

- starfox 64

- Mario party

- extreme G racing

- jet force Gemini

- golden eye

- conkers bad fur day

- Mario 64

- Tony hawk

Man… so much nostalgia

jdw64 12 hours ago||
I love the game Monster Hunter2 so much that I once practiced decompiling it. I worked on it for about two months and got maybe 5% done. Sometimes I really admire people who do this kind of decompilation work.
minimaxir 12 hours ago||
It's especially annoying that LLMs/agents are a logical starting point for decompiling old games but there is a significant backlash against it as the gaming community is very anti-AI and consumers of the benefits decompiling offers tend to be noncoders who don't believe that AI can do more than slop. I've seen takes such as "they're too lazy to learn C++" and accepting a PR from someone using Claude taints the project irrevocably.
fizwidget 8 hours ago||
I think the backlash isn’t necessarily against the decomp itself, but rather the sloppy/buggy PC ports that often come from it.

In my mind using an LLM to assist with decompiling is fine, as the output is provably correct. It either compiles to the original binary or it doesn’t.

Turning that into a playable PC game with controls that feel good, etc, is a different story. That requires human taste & judgement.

ndiddy 6 hours ago||
Yeah the problem isn't people using AI, it's the flood of lazy "native ports" that have no meaningful improvement over playing the game in an emulator and often crash or glitch out a level or two in because unsurprisingly a lot of the people who leave all the work to Claude don't feel like testing the game themselves. LLMs are a godsend for RE work when they're used properly, but a lot of these projects just waste everybody's time.
trelbutate 12 hours ago|||
to be fair much of the fun in decompiling/RE is the puzzle solving, it's like a giant crossword puzzle that you fill in bit by bit, slowly figuring out how things work. Having an LLM do large parts of that for you is probably kinda boring for many.
spijdar 11 hours ago||
The problem isn't that people consider it boring, it's that the use of LLMs is considered essentially sacrilegious, and whatever end-result that's created is considered tainted, often regardless of the extent of LLM usage.

Which does kind of suck. Yeah, it's not nearly as cool to say "I prompted a probabilistic pile of tensors and it did the hard work for me", and I think it majorly adjusts how "impressive" projects are. There's no point pretending like decompiling a game by hand and using GPT-6.7 to do it are remotely comparable.

The suck-y part is that if you do the decomp with GPT-6.7 and produce, say, a PC port of an early 2000s console game, a large number of people will refuse to touch it and treat it as if you have committed a cardinal sin. Maybe that's justified? I dunno. It definitely goes beyond people just saying it isn't as fun.

miladyincontrol 11 hours ago||
Its curious the cultural differences you see in some places too, a not too uncommon Japanese one I've seen is where the cardinal sin is "stealing" other people's creative works, rather than anything specifically involving LLMs.

Meanwhile so many westerners see LLMs as "stealing IP", it becomes a bit paradoxical where the lines get drawn.

SpecialistK 10 hours ago||
Even Japanese attitudes towards IP are not that clear cut. One of the reasons the MiniDisc format was so popular in Japan vs the rest of the world was that physical media in Japan is expensive, so there are stores which rent out CDs. Those CDs would often be copied to MD (or later to PCs.)
userbinator 3 hours ago|||
The backlash will soon die out once the majority see the results.

(Of course there will always be the annoying "never AI" virtue-signalers, but the same can be said about anything.)

fzeroracer 10 hours ago|||
The backlash has only been growing as the result of a significant number of incredibly sloppy decomps, either creating unreadable codebases or outright being so buggy/inaccurate as to be useless. Every day I see another decomp pop up that exists solely for the cred of being the first to do so, which is then promptly abandoned by the developer because it doesn't fucking work.
doctorpangloss 12 hours ago||
on the flip side retro games are almost completely and entirely an aesthetic experience. like if something totally subjective and personal like nostalgia is not just a valid reason, but the #1 reason, to be engaged with retro gaming, why isn't some random condition about the process of resurrecting the games also valid?

i think you agree that there is. but it should change your language about this idea of "consumers" and "benefits" - like this is the difference between making code and making a product. nobody NEEDS retro games. in my opinion, they aren't even that good! they are completely and utterly an aesthetic experience. the process IS the product.

Levitz 11 hours ago||
If the process is the product, then anyone who is not involved with the process has no right to say anything about the product.

Not to mention, there's a lot of stuff beyond an "aesthetic experience". Videogames have historical value, and they have relevancy at the very least as a testament of the state of the industry at any given point.

Legend of Dragoon, for example, integrated QTE-like controls in its attacks, even as a turn-based game. FFVIII, released the same year, implemented interaction in a somewhat similar way. These two are very early predecessors to mechanics Clair Obscur: Expedition 33 much more recently used. That has value.

If anyone wants to establish random conditions as to why they consider a work to be worthy or not, they may have those. But then they should keep them to themselves, rather than pretending people shouldn't care about something because of the way it was done. It's like the classic situation of someone complaining about how some open source project doesn't do something exactly in the way they like. I have nothing but contempt and despise for that sort of people, and it's a whole order of magnitude worse here, where the "problem" stems from their political stance, which nobody with a pulse should give a crap about.

doctorpangloss 11 hours ago||
[left hand emoji] you have very strong feelings about something, you're sharing it with others on a public forum

[right hand emoji] "their political stance"... "they should keep them to themselves"

throwaway613746 10 hours ago||
[dead]
VCFundedGenYer 11 hours ago|
Unfortunately, the community will not accept an AI-assisted decomp. Gotta do it for real.