Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add argument parsing to Android_Waydroid_Cage.sh #172

Closed
wants to merge 1 commit into from

Conversation

Alistair1231
Copy link

Hi, thanks for sharing your work!
I added argument parsing to Android_Waydroid_Cage.sh:

Usage: ./Android_Waydroid_Cage.sh [OPTIONS]
Options:
  -h, --help        Show this help message
  -m, --mode        Set the mode (default: 1280x800@60Hz)
  -p, --package     Specify the package to launch

With this change, you can run this e.g. ./Android_Waydroid_Cage.sh -p "com.google.android.youtube" -m "1920x1080@60Hz"
This makes adding custom shortcuts to steam easier, especially when trying to support multiple resolutions.

I also changed the heredoc to be quoted, so the content doesn't have to be escaped. (i.e. "EOF" instead of EOF)

@ryanrudolfoba
Copy link
Owner

i'll test this later today before i do some overhaul to support Android 13 images in the future.

@mrvictory1
Copy link

i'll test this later today before i do some overhaul to support Android 13 images in the future.

can you boot any games on Android 13? afaik libndk crashes on Android 13 when loading anything 3D and libhoudini doesn't even initialize.

@ryanrudolfoba
Copy link
Owner

i'll test this later today before i do some overhaul to support Android 13 images in the future.

can you boot any games on Android 13? afaik libndk crashes on Android 13 when loading anything 3D and libhoudini doesn't even initialize.

Its a mixed bag for me some games work like Roblox as it has x86 apk. Clash of Clans work also maybe it uses x86 apk.

LIBNDK installs fine on A13, while LIBHOUDINI doesnt as the waydroid_script doesnt have it - although its there but the script has it commented. I haven't tried uncommenting for A13 LIBHOUDINI.

I've commented here for any ideas how to troubleshoot A13 LIBNDK-

Benjamin-Loison/waydroid#16 (comment)

My next plan is to build A13 image on my own and see if it has same behavior wIth LIBNDK.

@ryanrudolfoba
Copy link
Owner

This breaks APKs added to Game Mode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants