Original Summary

I&#x27;ve used LLMs to decompile Civ 1 and put the reconstructed C source on GitHub, along with a technical book and story.<p>The reconstructed source builds with what i&#x27;m pretty sure is the original Microsoft C compiler and toolchain. It produces a byte-for-byte match with the original executable, aside from a four-byte correction for what appears to be a patch applied after linking. So it should be pretty close to how the original game was made; although it can&#x27;t be said that this is the &quot;original source code&quot;.<p>I&#x27;ve also used that source to create a modern build of the game, in the reciv repository.<p>Like most people, I&#x27;m in two minds about the benefits and downsides of LLMs. This work also builds on OpenCiv1, which probably deserves most of the credit - not only did I direct the LLM to use that work; but it was almost certainly in the training data.<p>Qualms aside - I couldn&#x27;t resist having a look inside one of my all-time favourite games. There&#x27;s a few attempts at Civ 1 including recent LLM ones. But i&#x27;m not aware of any that publicise the resulting source code.


  • 情报分类:技术学习与提效
  • 分类依据:内容涉及技术、AI、软件工具或工程实践
  • 信息来源:Hacker News 新项目
  • 发布时间:2026/10/20 17:05:58