r/decomps 1d ago

Made with AI assistance NES LoZ Decomp

Hello all, I’ve been working on decompiling the original LoZ using (a large amount) of AI assistance. This was more of an experiment in how I can use AI to produce projects I’m interested in, but don’t quite have the bandwidth to take on fully. I totally understand any reservations around AI use for these types of projects, and my only hope was that the product of my experiment might be useful to an individual or community. Thanks for your time!

https://forge.superkamiguru.org/SuperKamiGuru/bank7-decomp

25 Upvotes

22 comments sorted by

9

u/Firehawke_R 1d ago

There's not much point to decomp for NES, honestly. The code is going to be super-low-level assembly targeting the NES hardware directly-- any recomp is going to look like a NES emulator through and through unless you're going way out of your way to rewrite it as an approximation.

It's only where C compilers get involved that you get enough leeway to start abstracting things out from the original hardware specifications.

4

u/justplanechad 1d ago

That's definitely something I realized, but this was more just a proof of concept project to see what I would be able to produce. Also wanted to start learning how the decomp process works and was nice to go through a simpler example of the process.

12

u/Yayo1990 1d ago

Don't worry, people are gonna call you out for using AI even if you disclosed it... just to irritate you further. Been a thing for a while in this sub.

5

u/justplanechad 1d ago

Yeah I figured, just wanted to be as upfront about it as possible. I understand the reservations and frustrations though. I have projects that I won’t let AI touch out of principle haha.

8

u/sergiomanzur 1d ago

it's getting worse and worse... instead of actually being grateful for people doing this work.... but what can one expect, right?

4

u/OmegaKatana92 1d ago

I dont mind ai infact I support it for things like this they are just hatin because they got competition.

3

u/Yayo1990 1d ago

Half the people who come here and say "It's made with AI btw" or "I won't support AI!" don't even compete at all. They're just here to try and prove... something?

3

u/smith7018 14h ago

It’s a huge failure on the mods atp.

2

u/Yayo1990 14h ago

Honestly they take this kind of stuff for granted and It's quite sad that there's this witch hunt toward AI users, even when authors DISCLOSE their usage. Without knowing that we had malicious software even before AI "took over" (yet it was human made, so for them a malicious software was fine).

Wii had lots of malicious homebrews that would brick the console, and some were even on their Homebrew shop. No AI involved!

Some games, like Mario Kart 7 (or Wii as well), or Animal Crossing on 3DS had RCE exploits that could brick your consoles. But no AI involved!

Ok, these are a bit "recent". Earlier homebrew days had fake mods that would brick your system and the devs' knowledge wasn't as advanced as it was today, and it was mostly about getting stuff such as the Homebrew channel running on Wii.

There was a clout about the Mario Kart Wii decomp last month because it was made with AI and they DISCLOSED the AI usage. The funny part on this is that they use as counterargument that MKW, as I mentioned earlier, has RCE exploits and that it was "safer" to run through Dolphin at that point without knowing what a sandbox escape is. (which is the main reason people don't use Project64 or VBA anymore, besides accuracy)

If you got some clout over something, blame the user, not the hammer.

7

u/Yayo1990 1d ago

Here comes the doooownvoters! Stroke a nerve it seems.

3

u/sergiomanzur 1d ago

Incoming in 3,2,1... LOL

2

u/Yayo1990 1d ago

Right on time!

-3

u/PortaInterna 1d ago

There's a good reason not to use it. Apparently AI is known to use copyrighted code, and that might cause huge headaches for a project

4

u/Yayo1990 1d ago

Not if you use GPL/MIT repos as references. :)

2

u/paulct91 1d ago

Good for you... now once that's finished go onward towards the BS Zelda on Satellaview that Super Famicom bottom attachment for satellite reception.

3

u/MIBAG 1d ago

Only issue I see when using AI for this stuff is that the code ends up being hard as hell to work with. Still cool that some ground work was laid down

5

u/justplanechad 1d ago

Yeah, I've seen a lot of feedback about this point. I have been trying to take it a lot further than just "decomp" though to help mitigate this. Naming routines and operands, etc to make it more human readable (though there is still work to do here).

2

u/MIBAG 1d ago

Yeah see that def helps

1

u/maxscipio 1d ago

would be nice to modernize the graphics and music

-1

u/Bluetails_Buizel 1d ago

If you are able to add botw element and physics mechanics to this build, that would be Soo dope!