diff --git a/games/LoL/linux/README.md b/games/LoL/linux/README.md index eccd73f..bdc8fc4 100644 --- a/games/LoL/linux/README.md +++ b/games/LoL/linux/README.md @@ -13,7 +13,11 @@ chmod +x sulaunchhelper2.py syscall_check.sh curl -OL https://gitlab.com/tretrauit/scripts/-/raw/main/games/LoL/linux/sulaunchhelper2.sh chmod +x sulaunchhelper2.sh ``` -+ After that, copy all these files to the game prefix you want to use, then set pre-launch script in Lutris to where `sulaunchhelper2.sh` is located. ++ After that, copy all these files to the game prefix you want to use, then in Lutris: + - Set pre-launch script in Lutris to where `sulaunchhelper2.sh` is located. + - Disable **Wait for pre-launch script completion** + - Enable **Disable Lutris Runtime** +> Failure to do above steps will result in Zenity can't show necessary messages dialog so LoL UI can't launch properly. + Enjoy your LoL experience :P ## `garena_wrapper.sh` This script automates the launching of [lol.py](https://github.com/nhubaotruong/league-of-legends-linux-garena-script) (LoL in Garena client) so you don't have to manually do it ;) @@ -30,5 +34,9 @@ chmod +x sulaunchhelper2.py syscall_check.sh curl -OL https://gitlab.com/tretrauit/scripts/-/raw/main/games/LoL/linux/garena_wrapper.sh chmod +x garena_wrapper.sh ``` -+ After that, copy all these files to the game prefix you want to use, then set pre-launch script in Lutris to where `sulaunchhelper2.sh` is located. ++ After that, copy all these files to the game prefix you want to use, then in Lutris: + - Set pre-launch script in Lutris to where `garena_wrapper.sh` is located. + - Disable **Wait for pre-launch script completion** + - Enable **Disable Lutris Runtime** +> Failure to do above steps will result in Zenity can't show necessary messages dialog so LoL UI may not launch properly (it'll still launch if you use `sulaunchhelper2.sh` and have installed it correctly). + Enjoy your Garena LoL experience :P diff --git a/games/LoL/linux/sulaunchhelper2.sh b/games/LoL/linux/sulaunchhelper2.sh index e71eee4..cada89e 100755 --- a/games/LoL/linux/sulaunchhelper2.sh +++ b/games/LoL/linux/sulaunchhelper2.sh @@ -18,7 +18,7 @@ else sh "${own_dir}/${SCC_SH}" fi - +echo "Trying to check for Frida kernel argument..." if [ "$(cat /proc/sys/kernel/yama/ptrace_scope)" -ne 0 ]; then once="Change setting until next reboot" persist="Change setting and persist after reboot"