chore: add necessary note for Lutris

This commit is contained in:
tretrauit 2022-05-31 00:39:25 +07:00
parent 0771263a01
commit 8832024604
No known key found for this signature in database
GPG Key ID: 862760FF1903319E
2 changed files with 11 additions and 3 deletions

View File

@ -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

View File

@ -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"