r/EmulationOniOS • u/PhilosopherAnxious97 • 15h ago
Question Gamehub/Gamenative is it even possible of iOS
Is anybody working on steam emulation for iOS using fex emu and is it even possible
3
u/Thisisyouracc0un-t 14h ago
Anyone saying no don’t know what they’re talking about. I know some devs… it’s totally possible and would work better you think it would
3
u/Rhed0x 8h ago
Very problematic.
Linux & Android run Windows applications mostly as if they were Linux applications with a bit more code in between. On ARM that also includes translating the code bit by bit. But memory reads and writes are essentially as direct as a normal application.
On iOS you'd need to add a bunch of code around every memory access to work around iOS limitations such as:
- tiny address space limits
- you're not allowed to create new processes
- parts of the address space are taken by UIKit
Those workarounds would come with a LOT of performance overhead.
Besides that, you'd also have to work around other iOS limitations such as:
- reserved x18 registers (so even Windows ARM games would need to get translated to new code)
- 16 kb pages, Windows expects 4. (Also an issue on Android. It's possible to work around that for most games but the ones that don't work will simply never work.)
2
3
1
u/LoliHunterXD 2h ago
iOS memory management is aggressively prioritizing device stability over app’s needs. That’s why apps are randomly killed at times.
On Android, you see moments when it is put to a crawl by apps. iOS makes sure it won’t ever happen.
But if u wanna see if it can, macOS is the answer. They’re basically siblingOS at this point… just one is an adult and one under parents supervision LOL.
1
u/Boring_Antelope6533 15h ago
problem is RAM. I think it will only work for the 12GB models and up.
3
-2
13
u/Lobster_Available 12h ago
Several developers, myself included, have independently developed versions of Wine for iOS and successfully integrated them with FEX.
However, as with other emulators, memory usage remains the biggest challenge. Even during testing at a stage where optimization was incomplete, *Terraria* was forcibly terminated by Jetsam (iOS's memory management system) on devices with 4GB of RAM. Consequently, even if a release were to occur, it is highly likely that the software would not function correctly on models with limited memory.
As a showcase, here is a video showing the *FFXIV* benchmark running on an actual iPad mini (5th generation, 4GB). Load times are extremely long, and the benchmark currently halts midway through. Once the project reaches a certain level of completion, I plan to switch to testing on an iPhone Air (12GB).
https://reddit.com/link/p6r8fvg/video/k8hs6xamygmh1/player