News for hackers. Stuff that matters.
Re:Spider-Man (Neversoft) Decompilation Project Progress Che... by foxtacles on Friday May 10, 2024 @04:02PM (#40323259)
I've been working on a similar project (LEGO Island decompilation). We've developed an extensive set of annotations and corresponding tools that facilitate matching the assembly/binary:

https://github.com/isledecomp/isle/tree/master/tools

We've been considering creating a separate project/repository for the tools since they might be interesting for other projects such as yours as well.

Re:Spider-Man (Neversoft) Decompilation Project Progress Che... by bee_rider on Friday May 10, 2024 @04:15PM (#40323362)
I loved that game growing up. Now the brick-by-brick song is stuck in my head.

It really captured the open ended nonsense feeling of sitting down and playing with legos.

Re:Spider-Man (Neversoft) Decompilation Project Progress Che... by tnetenbaa on Friday May 10, 2024 @04:25PM (#40323441)
Is this Mr.MattKC himself on HN?!
Re:Spider-Man (Neversoft) Decompilation Project Progress Che... by rzzzt on Friday May 10, 2024 @04:56PM (#40323712)
The profile picture tells me it's a different person, unless he is also a master of disguise.
Re:Spider-Man (Neversoft) Decompilation Project Progress Che... by foxtacles on Friday May 10, 2024 @04:58PM (#40323725)
Yeah I'm not Matt :) No idea if he is on HN
Re:Spider-Man (Neversoft) Decompilation Project Progress Che... by krystalgamer on Friday May 10, 2024 @04:30PM (#40323487)
> We've been considering creating a separate project/repository for the tools since they might be interesting for other projects such as yours as well.

Happy to use anything that makes my life easier! I myself also started to prototype some tools - https://github.com/krystalgamer/spidey-decomp/tree/master/to... - but didn't get much far. I see there's quite a bit of overlap so I might integrate them on my workflow

Curious to know about `patch_c2.py` it mentions a bugged warning. Is that patch just to remove the warning or something deeper?

Re:Spider-Man (Neversoft) Decompilation Project Progress Che... by foxtacles on Friday May 10, 2024 @04:39PM (#40323563)
It just removes the warning, which is impossible to get rid of otherwise. This bug has persisted all the way into MSVC 6.0:

https://web.archive.org/web/20000519112833/https://support.m...

Since the warning is relatively useless we opted to fix C2.EXE so that it is never emitted. It generates a lot of noise during compilation otherwise (if you are using templates).

Re:Spider-Man (Neversoft) Decompilation Project Progress Che... by jchw on Friday May 10, 2024 @05:38PM (#40324037)
As someone who is very interested in decompiling old Windows executables, this is very relevant to my interests. Thanks for the link!