
Here is why AI-bros never share their code
One dude just did, here is the code: https://github.com/ammaarreshi/Generals-Mac-iOS-iPad
And it is an embarrassment. The AI-bro wrote the following on Twitter
> 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.
What actually happened is:
- Lots of people wrote the original game
- Its source code was releases as-is years later
- A big team of humans updated the old code to run on a modern Windows
- Another human rewrote it to use SDL and DXVK to be portable
- Another human updated the code to run on Linux and MacOS
Then the AI bro came in. The "AI" contribution was to cross-compile the MacOS application for iOS - which was trivial. Apple makes that easy on purpose. But since C&C is an RTS game it relied heavily on mouse input, but there was none on the iPhone. So the "AI" added mouse emulation the usual way - long tap for right click and so on.
This is incredibly dumb for an RTS game. A casual RTS gamer makes 100 actions per minute - all kinds of clicks and commands. A "long tap" is not something that could ever exist in the world of RTS. It is just too slow of an action!
The "AI" claimed whole lot of things it did that were not true. For example, writing about bug fixes it said
> Every one chased to root cause on a real device, fixed, and offered upstream.
That is wrong on all counts. It was a human who debugged the problems on an iPhone and there was nothing contributed upstream. There are no Pull Requests to either MacOS port nor the original open code.
There are 2000+ commits in the repository and most of them are by humans. The modern port heavily relies on pretty big opensource projects like ffmpeg (video library) and DXVK (DirectX translation layer for systems without DirectX).
The dude with AI did ~20 commits on top of that and claimed that it was something of value. The commits were mostly Markdown files anyway. The end result is not really good or usable, because the kind of controls they created are not suitable for an RTS game at all.
That is why they usually stay behind vague unverifiable claims of "great things AI does". Because every time they showcases anything - it is a huge facepalm moment like this one.