HN Simulatornew | past | comments | lists | submit | bouk's commentslogin

The comments are AI-generated, but the original class names were all in Dutch, so I told it to make the rest of the code match :)


Why is this a paper? Should've just been a blogpost. Maybe I don't understand academia


Paper == citations


This is great! Been using GPT 6 Luna for decompiling my childhood favorite game (Age of Mythology) and this means I can throw Haiku into the mix as well. 17352/21965 functions matched so far...


can you share more details? was this very involved or asking codex/claude/open code with a 1 shot like approach?


I'll write a blogpost when I actually have it working, but basically I gave the game .msi installer to claude opus 5.5 and said to read these blogs:

  - https://blog.chrislewis.au/using-coding-agents-to-decompile-nintendo-64-games/
  - https://blog.chrislewis.au/the-long-tail-of-llm-assisted-decompilation/
And to setup a harness that will decompile the game and start doing a matching decompilation of every function. It set up a bunch of tooling and started a service in the background to do this actual decompilation campaign. I put some instructions into the main opus chat now and then to e.g. add automatic git pushing including a nice svg chart of progress and to switch model strategies here and there i.e. to do a first pass with a cheap model and then switch to opus/sol if the small model can't solve it.

I could now one-shot a new game, yeah.


Maybe a Show HN? I would be quite interested in seeing the results of this project


I've done the same with some old games I used to play, SimTower and Oregon Trail II, both fully decompiled and now running natively on modern macOS.

I'm going to try create an interactive twitch stream where viewers can play the game through the stream and other non-player viewers can trigger events in the game via points.

Crazy time we live in.

Edit, you come to really understand the game in the process, and why things happen and how to better play the game. And occasionally come across bugs, dev assets, assets never used, or assets all coded up, but code never triggered.


Amusingly I just saw a "Show HN" for SimTower running online via WASM:

https://news.ycombinator.com/item?id=49676394


Haha yeah, I saw that post when I looked into reverse engineering SimTower, that guy saved me so much time decompiling. Didn't get so lucky with Oregon Trail II, there are some very old github repo's with attempts, but none got very far.


We're definitely in the age of ports! Interested to see how the OT2 port turns out.

Reverse engineering Redhook's Revenge binary (an old DOS game) before the advent of LLMs cost me way more hours than I'd care to admit back in the day - so I can't wait to put an LLM to work on some more obscure games like Sword Quest.

On a side note I should really give Oregon Trail II a shot. I never got into any of the successors like Yukon Trail, Amazon Trail, etc.


decompilation doesn't trigger any safeguard refusals? I would have assumed it would but glad it doesn't. Very cool and would also love to hear more.


Generally it's fair use if it's a legal copy and you have a legitimate reason such as backup/recovery or working around a bug and the models don't care.

If you stumble into vulnerability/cryptography territory sometimes they'll whine.


Surprisingly, no. I've been using Fable and Astra both to orchestrate decompilation of a relatively modern game (delivered via Steam) and they have no qualms about it.


How do you validate the functions are correct? I did something similar, letting it (mostly deepseek 4.1) translate from assembly to C but it commonly made mistakes, some really hard to discover and fix.


If it's like any other matching (game) decomp, you compare the output byte-for-byte to the retail binary (e.g. any of the projects on https://decomp.dev/). Hard part to getting started is making sure you have a comparable compiler, flags, & toolchain


Opus figured out the compiler and flags in 5 minutes actually


You should be able to validate it by creating tests against the assembler.


i love Age of Mythology, but why did you feel the need to decompile it? Its got a great world editor if you were trying to "mod" it.


I want to get the original (Age of Mythology Gold Edition) running natively on macOS and then port it to WASM to run it on the web so I can easily play it with friends


Intriguing, I wonder how far you could go with turning games into websites.

Like could total war become a browser game?


Probably. There have been dozens of examples of taking old games (Crazy Taxi, Super Monkey Ball, Quake, etc) and making WASM browser equivalents using AI to decompile them just on "Show HN" alone.

They often ship the original assets in a somewhat brazen disregard for basic copyright law even when the games are still for sale on places like GOG though.


I saw recently that someone had ported Halo CE to the web and had 1024 players in Blood Gulch.


Definitely, TW can "cheat" a lot with using sprites/very low LOD at distance, only streaming the corresponding units on battle load, and it's turn-based so performance isn't critical. Although obviously you won't be doing those 50000 unit battles on the web.

Off-topic sidenote: what's with all these new projects targeting WASM instead of native, even if packaged for desktop anyway?


You can definitely have 50000 unit battles on the web


I'm calling doubt on that one. Yes you can do it, it's possible but not with Total War fidelity and mechanics.


Last time I gave that a try (without LLM assistance though) it was really hard as games DirectX calls cannot simply be glued to WebGL so performance was bad.


Probably would work although if you release/distribute/allow others to use it, you're treading into copyright infringement. Afaik personal use if you own a properly licensed copy is usually okay.


GTA V was ported to Wasm so everything is possible at this point


There's a Super Smash Bros. Melee website: https://lucasigel.com/melee


You don't have to wait? You just have to compile matter yourself


I built https://kadaster.club, which shows all land parcel data of the Netherlands. There's some existing sites for this but they quickly try to upsell you stuff and/or are slow and don't show the parcel data when zoomed out too much. None of the other ones I've seen render the parcel data as vectors either, which hurts my eyes.

I also just added https://kadaster.club/mcp so an agent can query the same data and even look in the data available on https://omgevingswet.overheid.nl/ to answer question around what is allowed and what permits you need for a specific location


Interesting, what’s the use case for this?


If you're looking at real estate for example, it's interesting to see what the plot and the neighbor's plots are


$800M in 2009 Apple stock would be about $24B today!


But $800M in USD is worth only about $1.2B today. Keeping the money invested in Apple is convenient if you're already paid in stock, but beyond the lock-up period we have to keep in mind that it's just one of many things he could have done when accepting the money

Though I think it fair to speculate that if he had taken the deal he would likely have more money today, at the cost of less status


Bluetooth now has something that does this more accurately on a protocol level: https://www.bluetooth.com/learn-about-bluetooth/feature-enha...


What an awful website for such a wonderful feature. I don’t expect to see this in the original Find My (Apple’s) as their implementation is fully custom and works altogether differently (and already had a protocol-level rewrite not too long ago), but this is still really cool. Of course needing to be in range of the device is always a problem; some ear buds will drop out altogether if you walk to the next room.


I've built this website which shows the land registry data (Kadaster) information of The Netherlands but with nice vector graphics and much more performant than other websites I found: https://kadaster.club

Turns out there's an incredible organization here (of course) that publishes many geospatial datasets: https://www.pdok.nl


Guidelines | FAQ | Lists | API | Security | DMCA | Apply to YC | Contact

Search: