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

Further improve Roblox experience #79

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

SilentException
Copy link
Contributor

  • by default, use libndk_fixer.so for running com.roblox.client package from shortcut (Android_Waydroid_Cage.sh)
  • allow user to explicitly set this behavior - by default it is AUTO (Waydroid-Toolbox.sh)
  • add a new script for setting waydroid properties, can be further extended in the future (waydroid-set-properties)
  • improve cage kill command by allowing it to shutdown gracefully (Android_Waydroid_Cage.sh)
  • couple of tiny changes to package launch commands - makes things more reliable for me (Android_Waydroid_Cage.sh)

- by default, use libndk_fixer.so for running com.roblox.client package from shortcut (Android_Waydroid_Cage.sh)
- allow user to explicitly set this behavior - by default it is AUTO (Waydroid-Toolbox.sh)
- add a new script for setting waydroid properties, can be further extended in the future (waydroid-set-properties)
- improve cage kill command by allowing it to shutdown gracefully (Android_Waydroid_Cage.sh)
- couple of tiny changes to package launch commands - makes things more reliable for me (Android_Waydroid_Cage.sh)
@ryanrudolfoba
Copy link
Owner

This looks nice although i'll need to wrap my head how it works. I didn't set libndk_fixer as the default as based on my testing Mantis Gamepad Pro force closes if using libndk_fixer.

Once i get a wrap how this works i'll merge it. Quick glance i might be able to use same technique to change resolutions.

@SilentException
Copy link
Contributor Author

SilentException commented May 2, 2024

It's simple, if you are running Roblox using Steam shortcut Android_Waydroid_Cage.sh com.roblox.client, then it will set libndk_fixer automatically and if not, it will reset to libndk_translation.

But if you decide to use the Toolbox and explicitly set libndk, that one will be used all the time. This is the behavior the scripts had from earlier but it means you need to use Toolbox to switch libndk frequently.

In new version, if you don't manually set libndk in Toolbox, the proper version will be used for Roblox shortcut automatically (libndk_fixer). You will not be able to run Roblox from the Android desktop since that shortcut doesn't run Roblox and Waydroid is started using libndk_translation.

@SilentException
Copy link
Contributor Author

About resolutions. You can maybe use this to set it dynamically in the script:

X=$(xdpyinfo -display :0 | awk '/dimensions/{print $2}' | cut -d 'x' -f1)
Y=$(xdpyinfo -display :0 | awk '/dimensions/{print $2}' | cut -d 'x' -f2)
...
cage -- bash -c 'wlr-randr --output X11-1 --custom-mode ${X}x${Y}@60Hz ; \
...

@SilentException
Copy link
Contributor Author

@ryanrudolfoba ping for reminder :)

@TheCorruptCat
Copy link

how did you get roblox to work?

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.

None yet

3 participants