News for hackers. Stuff that matters.
Re:Duke Nukem: Zero Hour N64 ROM Reverse-Engineering Project... by userbinator on Monday October 20, 2025 @01:28AM (#45640359)
With things like Ghidra now freely available, "100% decompiled to C" really isn't that high of a bar anymore.
Re:Duke Nukem: Zero Hour N64 ROM Reverse-Engineering Project... by chii on Monday October 20, 2025 @01:41AM (#45640408)
i think this sort of scenario is where an ai code comb through is going to add value - get an ai to guess the likely name of variables/functions based on usage and context etc. It'd make a great starting point for manually labelling each variable correctly.
Re:Duke Nukem: Zero Hour N64 ROM Reverse-Engineering Project... by skerit on Monday October 20, 2025 @05:08AM (#45641639)
I'm using Ghidra with Claude-Code to reverse engineer an old transportation-sim game, and Claude is very good at figuring out what a function does and what it and its variables should be named.
Re:Duke Nukem: Zero Hour N64 ROM Reverse-Engineering Project... by jonhohle on Monday October 20, 2025 @07:44AM (#45642809)
I’d argue using AI to provide that input is no longer a creative work and puts the output in the realm of being not transformative. Those are two of the main reasons these projects are not violating copyright and all of the legal risk that comes with decompiling.
Re:Duke Nukem: Zero Hour N64 ROM Reverse-Engineering Project... by chii on Monday October 20, 2025 @10:42PM (#45651890)
It's currently legally grey as to what ai output constitutes.

I'd argue that copyright should not be affected by the tools being used. If the project would've been compliant with copyright (ala, fair use) had it used human hands, then using an ai tool makes zero difference.

Re:Duke Nukem: Zero Hour N64 ROM Reverse-Engineering Project... by jonhohle on Tuesday October 21, 2025 @01:31AM (#45652762)
USCO disagrees. Output of an LLM is not considered a new, original work. https://www.insidetechlaw.com/blog/2024/05/generative-ai-how...
Re:Duke Nukem: Zero Hour N64 ROM Reverse-Engineering Project... by dlcarrier on Monday October 20, 2025 @03:27AM (#45640865)
Usually it means it has bit-perfect recompilation, which can take a lot of work.
Re:Duke Nukem: Zero Hour N64 ROM Reverse-Engineering Project... by foldor on Monday October 20, 2025 @09:40AM (#45643801)
This is very wrong. Ghidra might decompile to some C code, but this is a completely different, and very high bar. This is 100% matching C code that compiles to the exact binary the game shipped with. This means it's able to be modified, tweaked and upgraded. Ghidra is helpful to do some research, but it won't compile.
Re:Duke Nukem: Zero Hour N64 ROM Reverse-Engineering Project... by userbinator on Monday October 20, 2025 @10:31PM (#45651819)
That's not what the parent comment said: "100% decompiled to C, but not fully labelled yet".

Getting the exact same binary is definitely something else. Figuring out the exact compiler version and options, libraries, etc. is itself nontrivial.