ryanrudolfoba / SteamOS-Waydroid-Installer

Script to easily install / uninstall Android via Waydroid on the Steam Deck running on SteamOS.
https://www.youtube.com/watch?v=06T-h-jPVx8
306 stars 18 forks source link

Further improve Roblox experience #79

Open SilentException opened 2 months ago

SilentException commented 2 months ago
ryanrudolfoba commented 2 months ago

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 commented 2 months ago

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 commented 2 months ago

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 commented 1 month ago

@ryanrudolfoba ping for reminder :)

TheCorruptCat commented 3 weeks ago

how did you get roblox to work?