Image: reddit.com · Video still: I used Claude to port an open-source game engine (MW2’s IW4L, written in Rust) to iPhone. Here’s what worked and what didn’t
Modern Warfare 2 engine port to iPhone, partly working
Claude worked through a Linux server and macOS CI runners to port the IW4L Rust engine to iOS; menus and a PS4 controller work but map loading runs out of memory.
Credits
Earliest dated source:
The full story
The poster tried to get IW4L, an open-source Rust/Bevy engine that runs Modern Warfare 2 from your own game files, running natively on an iPhone. With no Mac, Claude read the repo, wrote fixes and debugged, using GitHub Actions macOS runners to build unsigned IPAs that were sideloaded with SideStore and the logs sent back.
Claude gated off the unsupported file picker crate, fixed a Metal surface panic off the main thread, and wrote a bridge to Apple's GameController framework so a PS4 controller works. Menus load, but loading a match map gets the app killed for using around 3 GB of memory, and the cause was still being hunted.
How it was done
Tools
Themes
Loading themes…
Sources
From a short post by the maker, so the details are as they tell them.
- Reddit: I used Claude to port an open-source game engine (MW2’s IW4L, written in Rust) to iPhone. Here’s whaReddit poster: MarcoSelaPosted
The maker's post on r/ClaudeAI.
If it disappears: archived copy of Reddit: I used Claude to port an open-source game engine (MW2’s IW4L, written in Rust) to iPhone. Here’s wha (opens in a new tab)
- The code: github.comRepository account: vladtrc
The IW4L engine on GitHub.