跳到正文
原文
ammaar· @ammaar · X·· 2026-08-09AI 评分59

Ammaar Reshi 开源 RedAlert 项目:用 Swift 壳在 iOS 上跑红警2

AI 导读

Ammaar Reshi 公开 github.com/ammaarreshi/RedAlert 仓库,将红警2尤里的复仇移植到 iOS,基于 Alexandru Ciucă 用 TypeScript 从零重写的 Chrono Divide 引擎(约 127k 行非本人代码)。

正文 · 原文

github.com/ammaarreshi/RedAl…

RA2's source was never released so there's nothing to compile. This runs on Chrono Divide, which is Alexandru Ciucă's rebuild of the game from scratch in TypeScript. He's been at it for years. It's proprietary and he's never open sourced it, so I asked him before putting any of this out.

I came to it through a Chinese fork, which is why the entire UI was in Chinese when I started.

About 127k lines of the engine aren't mine. What I did: the Swift/WKWebView shell, the English pass, Yuri's Revenge, touch controls, and the AI, which builds on Supalosa's bot.

Fable 5 did the long agentic runs. Gemini 3.6 Flash can drive a computer, so I had it play skirmishes for hours and report back. That's how most of the AI bugs surfaced. It also got through 9,690 strings of translation. GPT-5.6 Sol rebuilt the AI off EA's released RA1 and Generals source.

Non-commercial and unaffiliated with EA. You need your own copy of the game :) - hope it brings back some childhood memories!

来源:ammaar · x.com