NHacker Next
login
▲Decompiling and rewriting a 2003 game from its binary in two weeksbanteg.xyz
38 points by banteg 3 days ago | 11 comments
Loading comments...
alexpotato 6 minutes ago [-]
I'm a big fan of the old Macintosh game Bolo [0]

There used to be a Linux version but apparently it hasn't been updated to be added to or even compiled on modern Linux kernels and distros.

Someone I know tried to resurrect it a few years back but now I'm wondering if couldn't use OpenCode etc to get it up and running again.

(I did find a recent-ish clone [1] so may start with that)

0 - https://en.wikipedia.org/wiki/Bolo_(1987_video_game)

1 - https://github.com/stephank/orona

tombert 10 minutes ago [-]
I don't know anything about reverse engineering, but I have wanted to reverse engineer/decompile the Disney Animation Studio [1] for DOS for years.

I found the software at a thrift store in 2009, when I was eighteen, and I was immediately impressed. This was actually very intuitive, easy-to-use animation software that was very powerful, years before FutureSplash/Flash was released.

There's not a ton of info available on the internet now, but I have been trying to remedy that a bit [2] by uploading the manual. I reached out to Disney to ask if I could potentially buy and release the source code off of them, and they politely told me "no". I reached out to the creators in the credits on LinkedIn to see if there there was any way I could look at the code or if they could at least answer some questions, and they never got back to me.

I think the only way we're going to get the source code to The Animation Studio will be if I learn how to use Ghidra (or something similar) and decompile it myself.

[1] https://en.wikipedia.org/wiki/The_Animation_Studio

[2] https://archive.org/details/disney_beginner_guide_2/disney_b...

metalcrow 60 minutes ago [-]
As an active reverse engineer, I'm really curious how you used agetic AI for this! Did you just have them going through the code and labeling stuff? Or were they also responsible for writing the reimplementation? This overview is super interesting, I would love to see details about the pipeline itself.
fabiensanglard 42 minutes ago [-]
There are many ghidra plugin, like GhidrAssist, you can use to connect to a LLM. They will automatically put a name on each function and variable. It is far from perfect but it is way faster than doing it by hand in my experience.
rdmuser 2 hours ago [-]
10tons tends to make smaller scale games and you feel it sometimes but I've had a great time with quite a few of their other shooters too. You used to be able to get this bundle for cheap from fanatical sometimes, not sure if that is still the case. They are best known in the modern era for Tesla vs Lovecraft which doesn't show up in this bundle. https://store.steampowered.com/bundle/428/10tons_Shooters/

There have been a few attempts to make open source versions of Crimsonland and I had a good time with Violetland https://github.com/ooxi/violetland

alberto-m 2 days ago [-]
I really need to start familiarizing with these new tools, I'm only using LLMs in interactive, “question and answer”, mode and it feels like using a typewriter when everyone is switching to computer word processors.

Thanks for sharing, it's a really interesting writeup and project!

klipklop 2 hours ago [-]
Using LLM's in an "agentic loop" is indeed a game changer. Give it a try in a sandbox.
banteg 3 days ago [-]
Crimsonland (2003) is a top-down shooter that shipped as a stripped DirectX 8 binary with zero symbols. I decompiled it with Ghidra, validated behavior with WinDbg and Frida, and rewrote it from scratch in Python/Raylib — 46,800 lines matching the original behavior faithfully. The write-up covers static and runtime analysis, reverse engineering custom asset formats, and the full rewrite process. Code is on GitHub and it's playable now via uvx crimsonland@latest
zamadatix 50 minutes ago [-]
Very fun use of an agentic loop :). Do you have any info/data about how many tokens this ended up consuming in that time?
cheschire 1 hours ago [-]
I still find myself wasting a few hours per year on this game since it’s on PS4/5

https://store.playstation.com/en-us/product/UP4403-PPSA02752...

Tiberium 3 days ago [-]
Very impressive, makes one wonder what do some companies have in private compared to public tools that we stitch together. E.g. you can combine LLMs with statical analysis/proving to get much better results.
huflungdung 1 hours ago [-]
[dead]