Show HN: Black Ops II statically recompiled to native ARM64 macOS
I grew up with Black Ops 2 and wanted to see if I could make it work on my 2020 MacBook Pro. So I used Claude Opus 5.5 to create a tool that converts your copy of the game (from Steam) to a native ARM64 Mac app, with almost 60fps in all areas. The whole game is statically recompilated ahead-of-time (AOT) and does not use any emulator whatsoever, be it Wine, Crossover or Rosetta. The best thing is the performance, although some heat issues are still to fix. You get to play the whole Campaign, local Multiplayer (with bots) and local Zombies (all DLCs maps; you need to have them in your Steam library obviously) at about 60fps. Split-screen was not in the PC version, but I've been working on it lately; it's coming soon! LAN mode is on the roadmap for later too :)
Discussion Highlights (17 comments)
phaser
what was your workflow for creating this? there's now extra guardrails around decompiling / reverse engineering, do you think this is still possible to do or were you just lucky enough to do it before the guardrails?
Benard-dev
This is great, I also grew up on Black Ops 2. How big is the recompiled binary compared to original?
cedws
How does it actually recompile, does it use an existing tool? I can’t imagine the agent combs through every routine and hand translates the assembly.
baalimago
Stuff like this makes me really happy about AI. The convenience that AAA lacks, or that they intentionally withhold, is now within reach.
alanfranz
The README is very much AI slop. Why don't you people write by yourself at least your READMEs? Explain the why? Explain the advantages? You can still ask AI for reviews. Almost every paragraph makes me want to ask: "so what?" > There is no Wine and no JIT: the game runs as native code, in one process > the campaign runs at 51–60 frames per second So what? Is it a matter of running the game in itself? Was the game not running on Apple M-series in any way, so you're unlocking something that was impossible before? Or does the game just ran faster (more FPS), load quicker, render better, what? There's no comparison to how the game runs on x86, or how it runs on M-series with translation layers (IF it runs). This is an exact manifestation of the AI slop problem. A lot of details. A lot of "how". A lot of "what". So little "why" - you need to read a lot and in the end your questions are never answered, and you don't understand if the project makes sense at all or is just something "we did it because we could". I'm perfectly happy to read AI generated text if it's properly and clearly written and answers the right questions.
scronkfinkle
> does not use any emulator whatsoever, be it Wine, Crossover or Rosetta Not sure about the other two, but WINE Is Not an Emulator. It's in the name :)
cornedor
I've used to same technique to get Fallout: New Vegas running on Asahi Linux on MacOS. Its quite a step, but https://github.com/doitsujin/dxvk makes it possible to skip a lot of work and get the game running in day. You can then make any changes you want, so I'm running fallout nv on a wide display in native resolution and some graphical improvements. Realtime whole world shadow maps, SSAO, tonemap + color grading, FXAA and Hor+ FOV. Gives me a solid 60fps most of the time, with only the occasianal bug here and there that is often fixed in no time. Luckily i've added 10min auto save quite quickly, so that it does not cause that big of a problem. Aside from the fun of both getting the game to work on this machine, and the fun of actually being able to play the game, it is a great way to find creative ways to work with LLM. Building out dev tools on the way that works for an LLM etc.
klaussilveira
Somewhat related: https://lwss.github.io/Kisak-Black/
stmw
This is impressive. Besides personal use gaming, it has a lot of interesting opportunities... Elsewhere OP said it was 4 months of Claude, which is very fas for something this complicated.
HelloUsername
Now do MW (2007) and MW2 (2009) :)
nicman23
i want someone to make a co op mod for cod 4 :C
pipes
Two of the best games of all time waverace 64 and 1080 snowboarding for the n64 have been statically recomped. I've been playing them on my steamdeck. Unfortunately I think the party will end soon as anthropic are already preventing reimplementing games in there system prompts.
Limonero
Now do Age of Empires II please. :)
vanillax
Why cant someone do a REA and fix anti cheat so we can finally play real games on Linux? So tired of Anti-Cheat only working on WinBlows (tm)
gspr
How on earth can you possibly bring yourself to using the words "hand written" in your GH about section? Please, I'm losing my mind here. Words mean something.
balsampershen
Playing Black Ops 2 on Apple Silicon without any emulation layer in sight is wild. Fallback to a small x86 interpreter for whatever the translation missed instead of crashing is a nice tradeoff, speed over stability. Been playing Bo2 since it came out, never expected to play it on a Mac.
ddkbs
That's exactly what I love Agentic Coding for!