casualsnek / waydroid_script

Python Script to add OpenGapps, Magisk, libhoudini translation library and libndk translation library to waydroid !
GNU General Public License v3.0
1.9k stars 170 forks source link

Libhoudini not able to fully run a game #116

Closed d-s-dc closed 1 year ago

d-s-dc commented 1 year ago

I am able to install libhoudini on the waydroid using the script, thanks for that. I am trying to run an arm based game which I installed from the gapps. The game is stuck at an age prompt. On mobile it opens a tab to select month and year but is not doing on waydroid. The waydroid is running fine except from getting stuck at that.

image

Is there any way to do something, any log files I can look for? The waydroid.log file didn't show anything skeptical (to my knowledge). I also tried lidndk and faced the same thing. I am running Android 11 GAPPS version of waydroid.

ayasa520 commented 1 year ago

It's not "stuck", it's because click event was not responded correctly. And fake_touch doesn't work for every app. You can use Scrcpy for touch simulation.

image

d-s-dc commented 1 year ago

Thanks for that, I am able to proceed in the game. But now in waydroid, I have to do everything with the mouse, is there any way to control things with the keyboard?

ayasa520 commented 1 year ago

Thanks for that, I am able to proceed in the game. But now in waydroid, I have to do everything with the mouse, is there any way to control things with the keyboard?

For games that don't directly support keyboards, you can use QtScrcpy for keyboard mapping.

d-s-dc commented 1 year ago

I have connected waydroid with QtScrcpy and the resolution is fine but the frames drop while playing the game. Is there anything else?

d-s-dc commented 1 year ago

At the end, I am using a script from stackoverflow to catch keyboard and ydotool to simulate mouse movements. It's not smooth but is fine. I really hope some proper solution to run these ARM based games comes out. Since my original problem has been resolved (using scrcpy), I am closing this.

Thanks for all the help!