frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Decompiling and rewriting a 2003 game from its binary in two weeks

https://banteg.xyz/posts/crimsonland/
42•banteg•2d ago

Comments

banteg•2d 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•1h 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?
Tiberium•2d 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.
alberto-m•1d 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•2h ago
Using LLM's in an "agentic loop" is indeed a game changer. Give it a try in a sandbox.
galangalalgol•8m ago
Is the idea that once you isolate a function it decompiles it and then iterates changes until either the recompiled asm matches?
rdmuser•1h 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

cheschire•1h 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...

metalcrow•1h 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•58m 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.
tombert•27m 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...

alexpotato•23m 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

dahjelle•3m ago
If you ever do, I’d like to try it out! I don’t game much, but I played Bolo a bit once and enjoyed it.

Lessons learned shipping 500 units of my first hardware product

https://www.simonberens.com/p/lessons-learned-shipping-500-units
366•sberens•2d ago•185 comments

Data centers in space makes no sense

https://civai.org/blog/space-data-centers
301•ajyoon•7h ago•428 comments

Show HN: Craftplan – I built my wife a production management tool for her bakery

https://github.com/puemos/craftplan
127•deofoo•2d ago•12 comments

Deno Sandbox

https://deno.com/blog/introducing-deno-sandbox
349•johnspurlock•9h ago•121 comments

Xcode 26.3 – Developers can leverage coding agents directly in Xcode

https://www.apple.com/newsroom/2026/02/xcode-26-point-3-unlocks-the-power-of-agentic-coding/
250•davidbarker•9h ago•211 comments

The Largest Zip Tie Is Nearly 4 Feet Long and $75

https://www.thedrive.com/news/youll-have-that-on-those-big-jobs-the-worlds-largest-zip-tie-is-nea...
17•PaulHoule•5d ago•0 comments

AliSQL: Alibaba's open-source MySQL with vector and DuckDB engines

https://github.com/alibaba/AliSQL
157•baotiao•8h ago•21 comments

Decompiling and rewriting a 2003 game from its binary in two weeks

https://banteg.xyz/posts/crimsonland/
42•banteg•2d ago•14 comments

Agent Skills

https://agentskills.io/home
390•mooreds•13h ago•215 comments

221 Cannon is Not For Sale

https://fredbenenson.com/blog/2026/02/03/221-cannon-is-not-for-sale/
197•mecredis•10h ago•151 comments

FlashAttention-T: Towards Tensorized Attention

https://dl.acm.org/doi/10.1145/3774934.3786425
80•matt_d•6h ago•43 comments

New York’s budget bill would require “blocking technology” on all 3D printers

https://blog.adafruit.com/2026/02/03/new-york-wants-to-ctrlaltdelete-your-3d-printer/
257•ptorrone•11h ago•307 comments

Prek: A better, faster, drop-in pre-commit replacement, engineered in Rust

https://github.com/j178/prek
200•fortuitous-frog•10h ago•100 comments

Notepad++ supply chain attack breakdown

https://securelist.com/notepad-supply-chain-attack/118708/
200•natebc•4h ago•89 comments

Qwen3-Coder-Next

https://qwen.ai/blog?id=qwen3-coder-next
588•danielhanchen•11h ago•367 comments

1,400-year-old tomb featuring giant owl sculpture discovered in Mexico

https://www.cnn.com/2026/01/29/science/zapotec-tomb-mexico-scli-intl
64•breve•4d ago•6 comments

Y Combinator will let founders receive funds in stablecoins

https://fortune.com/2026/02/03/famed-startup-incubator-y-combinator-to-let-founders-receive-funds...
84•shscs911•8h ago•116 comments

France dumps Zoom and Teams as Europe seeks digital autonomy from the US

https://apnews.com/article/europe-digital-sovereignty-big-tech-9f5388b68a0648514cebc8d92f682060
812•AareyBaba•10h ago•445 comments

Reference Target: having your encapsulation and eating it too

https://blogs.igalia.com/alice/reference-target-having-your-encapsulation-and-eating-it-too/
6•todsacerdoti•3d ago•0 comments

Puget Systems Most Reliable Hardware of 2025

https://www.pugetsystems.com/labs/articles/puget-systems-most-reliable-hardware-of-2025/
96•zdw•3d ago•37 comments

X offices raided in France as UK opens fresh investigation into Grok

https://www.bbc.com/news/articles/ce3ex92557jo
235•vikaveri•17h ago•440 comments

Bunny Database

https://bunny.net/blog/meet-bunny-database-the-sql-service-that-just-works/
251•dabinat•15h ago•106 comments

Heritability of intrinsic human life span is about 50%

https://www.science.org/doi/10.1126/science.adz1187
143•XzetaU8•2d ago•93 comments

1 kilobyte is precisely 1000 bytes?

https://waspdev.com/articles/2026-01-11/kilobyte-is-1000-bytes
73•surprisetalk•10h ago•238 comments

Launch HN: Modelence (YC S25) – App Builder with TypeScript / MongoDB Framework

66•eduardpi•11h ago•38 comments

Flying Around the World in under 80 Days

https://pinchito.es/2026/avis-lxxx
41•alexfernandez•2d ago•9 comments

China Moon Mission: Aiming for 2030 lunar landing

https://spectrum.ieee.org/china-moon-mission-mengzhou-artemis
109•rbanffy•7h ago•124 comments

The Everdeck: A Universal Card System (2019)

https://thewrongtools.wordpress.com/2019/10/10/the-everdeck/
109•surprisetalk•6d ago•33 comments

GitHub Browser Plugin for AI Contribution Blame in Pull Requests

https://blog.rbby.dev/posts/github-ai-contribution-blame-for-pull-requests/
58•rbbydotdev•12h ago•30 comments

Show HN: Octosphere, a tool to decentralise scientific publishing

https://octosphere.social/
50•crimsoneer•10h ago•18 comments