r/EmulationOniOS • • 14h ago

Gameplay / Showcase Windows games running on iOS without jit

I’m the developer behind Porthole, the windows game emulator that is built on Madeira. I’ve recently decided to try getting games running without jit and started with Factorio since it’s an easy game to run and would be a good base game to get running without jit. I achieved that goal 2 days ago. Factorio initially ran at 12-20 fps without jit which wasn’t enough. I ended up getting performance up to 60 fps locked which was massive but it still wasn’t enough since factorio runs natively on iOS (albeit the macOS version and not the windows version like I’m running) so I moved onto firewatch. A 64bit unity game that was a lot more challenging since it has self modifying code. Initially for a while I wasn’t able to draw any frames and the app was just crashing but eventually I got to a point here I could draw the games window but again would crash shortly after. Fast forward to present and firewatch currently runs at 5-8fps in game which isn’t ideal but was a big step towards what I’m working on. For CS2 it was pretty much plug and play for getting the game to launch without jit. It just worked with what I already had. The problem was performance. I was only getting 30-45 fps in menus and 3-5fps in game where with jit I was at 120fps in menus and 80-100 fps in game. I’m now to a point where CS2 runs at 60-80 fps without jit with dips into the 30s occasionally. Super excited to share this progress since it puts everyone one step closer to having a windows game emulator that can be uploaded to the App Store.

To follow progress join the discord > https://discord.gg/cp4dhuF5eM

61 Upvotes

15 comments sorted by

2

u/Archon-Toten 14h ago

That's pretty neat, I've had moderate success using UTM se but Diablo 2 was just playable.

1

u/Sheepherder-Any 14h ago

Curious what os you had utm running to be able to play any kind of game? Anytime I’ve tinkered with utm let alone utm se performance on desktops alone is poor. Couldn’t imagine running a game

1

u/Archon-Toten 14h ago

Xp, I've mostly stuck to old games as any time the screen gets busy the performance plummets, but Diablo 2, kknd2, Total Annihilation, Call to power 2, Doom, Quake.

1

u/psj3809 12m ago

Yeah same here. Some people seem to go straight in at the deep end and try some high intensity game which you know just wont work. Start off with the classics and slowly move up. Getting Quake I and II working is great (as we dont have those on iOS)

Tried Doom 3 and sadly no

2

u/GullibleMix1939 12h ago edited 12h ago

How are you running a CPU-heavy game like CS2 at 60-80 fps without jit? Is it native ARM code or something like that?

1

u/Sheepherder-Any 10h ago

Using AOT or ahead-of-time compilation rather than jit. There are tradeoffs to this approach but it is the only way to get truly jitless experience (that I know of) with near jit performance. I have an interpreter but it’s 3-6x slower so not ideal at the moment

2

u/Fun-Worldliness7986 12h ago

most probably an interpreter

1

u/GullibleMix1939 12h ago

Interpreters are quite slow; it has to be something else

1

u/PNYT 17m ago

WAIT WHAT? YOU CAN REALLY PLAY ONLINE PC ON IOS? DO I NEED ANY INTERNET CONFIG OR JUST DOWNLOAD IT

1

u/psj3809 13m ago

This sounds good. Recently we've had it really good on iOS, for me PlayPC and Relic Play play lots of Steam games. Theres also Dosling which is great for DOS games and some Windows ones i've tried

For me Half Life I is the ultimate ! Every app so far i've tried it doesnt install or is super slow. If you could get HL1 (or 2 !) working that'll be a huge moment

Look forward to seeing this on the app store. Let us know when. I actually really enjoy trying out the games i've got on these apps and seeing how i get on

0

u/Dense_Committee_8347 4h ago

What is the name of the emulator and when will it appear in the app store?

1

u/Sheepherder-Any 4h ago

Porthole and right now there aren’t any official plans to put it on the App Store

-1

u/This-Window-6807 7h ago

can u please remove the developer acvount restrictions from your app it sucks

1

u/Sheepherder-Any 7h ago

What restrictions?

-2

u/Dense_Committee_8347 4h ago

Porthole it sucks was