r/EmulationOniOS • u/Icy_Stop_6042 • 18d ago
Gameplay / Showcase FH2 recomp on ios (with touch controls)!
I ported FH2 Recompiled (Gabrick75's static recompilation of Forza Horizon 2) to iOS. It runs as a native iPhone app: the Xbox 360's PowerPC code is translated to ARM64 ahead of time, so there's no CPU emulation and no JIT, and it works on a stock, non-jailbroken iPhone.
This is a recompilation, not an emulator. The game's code was converted into a real iPhone app. Only the 360's GPU is emulated (on Metal), which is why it can hit ~30 fps on a phone.
What works
- Boots, intro videos, menus, free roam and races
- Around 30 fps in races on my iPhone (same as the original 360 version). It dips when the phone gets hot
- Metal graphics through MoltenVK (the 360's GPU is emulated on top of it)
- Touch controls made for racing: steering stick, gas/brake pedals, ABXY, D-pad, swipe camera, haptics. Controllers work too
- FPS counter and a mute button in game
What you need
- Your own copy of FH2 for Xbox 360 (USA disc) dumped to an ISO
- A Mac with Xcode to build it. There's no prebuilt app: the repo has zero game files, and the game's code is generated from your copy when you build
- A free Apple ID works (re-sign every 7 days)
Known issues
- Only tested on one iPhone so far (iPhone Duo). If you try it on another device, please open an issue with your model and how it ran
- Frame rate drops after long sessions as the phone heats up
- Upstream's known issues apply too (collision isn't perfect yet)
Repo: https://github.com/oChobani/fh2-recompiled-ios
Credits: all the actual recompilation work is Gabrick75's FH2 Recompiled, built on the ReXGlue SDK (Tom Clay) and Xenia. The Theft4 GTA IV iPhone port was a big reference. My part is the iOS port: build system, Metal/MoltenVK fixes, memory and threading changes for iOS, and the touch controls.
•
u/AutoModerator 18d ago
Free Apple accounts are limited to 3 active sideloaded apps.
One common workaround is LiveContainer, which allows you to run additional apps inside a container and reduce how often apps need to be reinstalled.
Typical method:
LiveContainer may also need to be uninstalled and reinstalled before the entitlement works correctly.
LiveContainer can also install two additional LiveContainers (for a total of three). This setup can further reduce the need to constantly add/remove sideloaded apps, but it is more advanced and may not work reliably for everyone.
LiveContainer is not always officially supported by emulator developers and can sometimes cause unexpected issues. If something breaks while using LiveContainer, try reproducing the issue without it before asking for support.
Do not ask for or share paid certificates, piracy tools, or bypass services here.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/thiagorosapereira 18d ago
👏🏻👏🏻👏🏻👏🏻👏🏻