Загрузка видео...
Не удалось загрузить видео
I used Fable 5 to port Command & Conquer: Generals Zero Hour to the iPhone and iPad! This is the actual 2003 engine compiled for ARM64 natively, no emulator. Campaign, skirmish, Generals Challenge all work with touch controls built for an RTS. Open sourcing it all below!
2,011,178 просмотров • 2 месяцев назад •via X (Twitter)
Комментарии: 57

Full guide on how you can get it running on your own devices and fun bug stories in the archive if you want to read about the roller coaster that this was!

Wow this is incredible! What a classic. Need to port the Red Alert games now haha

Oh man loved the Red Alert games

@aesopsolo You can play red alert 2 natively on browser already

@ammaar You’re the real MVP

🤯

You’re a lunatic Can you do age of empires next Ammaar?

Can I have some shoes?

Ahahah a real one

wtfffff broo General "Anvil" Shin Fai approves you

ahahah

i need to port my fave game Sid Meier’s Alpha Centauri over!!!

omg a classic!!!

need this for aoe2

Why why why! Red Alert 2 is a much better game.

I LOVE red alert 2, sadly EA lost the source code for it

When can we expect sth like fable from Deepmind?

i just installed it and it’s working great! ty

Enjoy!

I just want to get mine working on an old computer and OpenAI codex told me to get steam.

Point codex to this repo and tell it to get the Mac version running!

commits were from way before fable, were you working on this from before?

I forked an old repo that had an early engine working on macOS and used that to bring it to iOS hence you're seeing the mix of dates.

@richkuo7 So the main effort here was just to add touch controls? Had the community already done the hard part of getting it compile on ARM and render on Metal?

The division of labor is the top question, so worth being precise. GeneralsX (credited in the README’s second sentence) solved: compiling EA’s source on macOS/Linux, the DXVK-native renderer on desktop, OpenAL/FFmpeg substitution. What it had zero of, because nobody had done it: an arm64-ios cross-build of the engine or any dependency; DXVK built for iPhoneOS (including a loader patch: iOS confines dlopen to the app bundle, so DXVK can’t find MoltenVK without one); read-only-bundle asset/config handling; iOS lifecycle management around the Metal drawable (resign-active fires without backgrounding; touch the drawable then and you crash on resume); the signing/packaging pipeline; and the touch interaction layer. Plus root-causing bugs that upstream has on all platforms (the radar alpha-fallback and a streamed-speech stop-detection bug), with fixes heading back upstream. The repo history and docs/port/ log show exactly which is which. I’d rather over-credit GeneralsX than under-credit them, but “added touch controls” describes about a sixth of the work. Then I’ve got a Renegade port working too, and that had no prior art and a very different setup than Generals X, so the model is definitely more than capable!

My buddy and I played this on LAN while deployed when we were off duty.

That’s sick. Such a fun game for LAN

Dude what about red alert 2?? That’s my dream plz plz plz plz

love this game. this is nostalgic. lets make a web version of this Ammaar

“I build for China”

🫡 I see you

Loving the fact that we are using AI to open sourcing legacy stuff.

@ChrisPirillo Fuck yes

Haha this is epic. Growing up command and conquer tiberian sun was one of my favorite games. i can still hear the "sir yes sir" when i think about the game

Dude, so good. They’ll never not be nostalgic.

"Affirmative" 😂

Wtf goated

My God! I never expected that someone would try to port one of my favorite games to a handheld. As a GLA fan, I can only say one thing: AK-47 for everyone!

Really nice. I rewrote in Rust + wgpu but never finished (need more tokens). Got 80% done.

No way!! Def share! I’ll help.

Here it goes. I started in July of last year! Went through every major AI agent. I can give you push access if you want.

C&C Red Alert 2 was my jam

I hope gemini 3.5 pro can do this

omg no way, i love this game !!!

Do Red Alert 2 next + Yuri’s Revenge

brave, sir!

do red alert 2 next

waow singularity is fun

A Google employee promoting Claude over Gemini! that's a problem.

Neat! I haven't played this one, you should port Rise of Nations! with a voice + touch spin! :D btw how long did it take and what was the total token burn on Fable for this port?

Oh dude rise of nations was so good! Unsure on token burn but I did fully exhaust a Claude max sub in 2 days

🔥wow that is a gas guzzling hummer :D

EA has no excuse to remaster Red Alert 2

Any love for android?

I’ll give it a go when my quota resets 😅

Oh okay okay I will work.

I hope you got them better shoes
