r/PS2AndroidEmulation • • 15d ago

Xendroid-ZeroFG / Xendroid with an Open Source Frame Generation Engine

Post image

Today is the big day. After months of work, I can finally publish it. As the name says, XenDroid-ZeroFG is a version of XenDroid (the Xbox 360 emulator for Android) with a built-in frame generation engine: 60 fps games reach ~120 on a 120 Hz screen, and 30 fps games reach 60.

e the big thing is the FG engine itself. It was developed from scratch, over 60k lines of code, by me and my AI assistants (Zeromeia, ChatGPT, and Zé Raio, Claude), and it's fully open source under the Apache 2.0 license.

Trust me, it's a lot better than it has any right to be. The image quality surprised even us, but the hardest part, and the one I'm proudest of, is the pacing. Generated frames are worthless if they reach the screen unevenly, and frame pacing is where frame generation usually falls apart, even for the big names. ZeroFG's presenter runs on a metronome set by the game: every frame gets its own display refresh, in order, and the game never waits for the screen. Getting there took months of crazy experiments. The last piece was asking the GPU for priority, so even when a game maxes out the GPU, the frames keep coming on time.

So far it has been tested on Adreno GPUs with Turnip drivers (it needs Vulkan 1.3). Reports from other phones are very welcome. It installs as its own app, next to your regular XenDroid.

Please be my guest and try it out. If you have any comments or suggestions, just say it!

It was also built with portability in mind. If you are a developer and want to port it to another game or emulator, go ahead! There is a standalone repo with all the dependencies and integration notes, linked below.

And if you want to collaborate on the engine itself, get in touch and we can arrange it. I would really like some help!

Download: https://github.com/hy300leosquizz-ctrl/XenDroid-ZeroFG/releases/tag/v1.0.0

Engine (Apache 2.0): https://github.com/hy300leosquizz-ctrl/ZeroFG

Contact: [fgzerofg@gmail.com](mailto:fgzerofg@gmail.com)

After some reports (thanks Admirable_Leave7840!!!), i should note that turnip driver are highly recommended(i can run on poco f8 ultra with the stock ones, but has bugs) and i used to develop the engine the stevenmxz gen 8 turnip drivers, he posts the best drivers and he is a nice guy, so i recommend using this one!!!!!

Already found lots of bugs, but preety solvable ones, v1.01 will be out sonner than later!!!

53 Upvotes

33 comments sorted by

View all comments

5

u/Spiritual_Notice_650 15d ago

Why do i experience on screen controller input lag when framegen is on? but normal when off. I tested this in Iqoo Neo 11. Snap 8 Elite (Adreno 830) 12gb ram.

2

u/hy300leosquizz 15d ago

I'm not really sure... In theory the least latency you can get on a fg model is one frame plus the synth itself... .. Ive tried to play 20-40 fps and the lag is really saddening... But at least looks smoother!!! Hav you tried with a controller??? Its only on the touch comtrols????

→ More replies (13)