Dev used AI agents and more than 500 billion tokens to rebuild Call of Duty: Modern Warfare 2's source code

4 hours ago 5
A soldier in white snow camouflage and goggles runs across an icy airfield as black smoke rises from a fire behind a parked fighter jet, with more soldiers following. (Image credit: Activision)

Developer Maurice Heumann details in his blog how AI agents were able to decompile Call of Duty: Modern Warfare 2 (2009), which the post calls only “a popular first-person shooter,” in an effort to rebuild its source code in C++, taking three months and over 500 billion tokens. The agents originally attempted to cheat a byte-for-byte check added after the first month of code ran, but it was “semantically wrong,” and now 99% of the game’s functions are present, with 83% matching the original.

Heumann’s goal since the beginning has been to produce an “accurate, stable and feature-complete recreation,” and he wrote on X less than two weeks ago that the game was fully playable. By his estimate, the project consumed 600–700 billion tokens. In another X post, he said he doesn’t pay for his own tokens but put the cost at about €1,200 with subscriptions or $200,000–$250,000 with API tokens.

Get Tom's Hardware's best news and in-depth reviews, straight to your inbox.

Shane Downing is a Contributing Writer for Tom’s Hardware, covering consumer storage, PC hardware, and AI.

Read Entire Article