Closed tienbuigia closed 2 years ago
Oh I read the reddit post. I'll wait. I'll be patient!
Hi there, I'm stuck at 89% too. Did it finish installing? It would be nice of you if you can share me the reddit post mentioned!
ah We can't play right now! that's what the reddit post about. You can bypass the 89% too by doing the "Alternative Method For Installing LoL" in this git. Still can't play anyway (just install)
Hi @lequangtri20 and @tienbuigia, can you help me verify the old method:
lutris -i garena.json
lutris-ge-lol-6.16-2
lol.py
script, included in the guide above
{
"count": 1,
"next": null,
"previous": null,
"results": [
{
"id": 18124,
"game_id": 25042,
"game_slug": "garena",
"name": "Garena",
"year": 2017,
"user": "jccultima123",
"runner": "wine",
"slug": "garena-20",
"version": "2.0",
"description": "Garena for all",
"notes": "Don't use VN/SG/PH executables",
"created_at": "2020-01-29T14:07:47.501000Z",
"updated_at": "2021-09-16T09:32:28.266781Z",
"draft": false,
"published": true,
"published_by": 55808,
"rating": "",
"steamid": null,
"gogid": null,
"gogslug": "",
"humbleid": "",
"humblestoreid": "",
"humblestoreid_real": "",
"script": {
"files": [
{
"installer": "http://cdn.gxx.garenanow.com/gxx/pc/installer/Garena-v2.0.exe"
}
],
"game": {
"exe": "$GAMEDIR/drive_c/Program Files (x86)/Garena/Garena/Garena.exe",
"prefix": "$GAMEDIR"
},
"installer": [
{
"task": {
"description": "Creating Wine prefix",
"name": "create_prefix",
"prefix": "$GAMEDIR"
}
},
{
"task": {
"args": "$installer",
"description": "Do not log in during installation, just close the installation client once it will finish downloading 2.1 Go.",
"executable": "$GAMEDIR/drive_c/windows/explorer.exe",
"include_processes": "explorer.exe",
"name": "wineexec"
}
},
{
"task": {
"name": "winekill",
"prefix": "$GAMEDIR"
}
},
{
"task": {
"key": "GrabFullScreen",
"name": "set_regedit",
"path": "HKEY_CURRENT_USER\\Software\\Wine\\X11 Driver",
"prefix": "$GAMEDIR",
"value": "Y"
}
},
{
"task": {
"key": "UseXVidMode",
"name": "set_regedit",
"path": "HKEY_CURRENT_USER\\Software\\Wine\\X11 Driver",
"prefix": "$GAMEDIR",
"value": "N"
}
},
{
"task": {
"key": "background",
"name": "set_regedit",
"path": "HKEY_CURRENT_USER\\Control Panel\\Colors\\",
"prefix": "$GAMEDIR",
"type": "REG_SZ",
"value": "40 40 40"
}
}
],
"require-binaries": "zenity, openssl",
"system": {
"disable_compositor": false,
"env": {
"DXVK_LOG_LEVEL": "none",
"DXVK_STATE_CACHE_PATH": "$GAMEDIR",
"STAGING_SHARED_MEMORY": 1,
"WINE_LARGE_ADDRESS_AWARE": 1,
"__GL_SHADER_DISK_CACHE": 1,
"__GL_SHADER_DISK_CACHE_PATH": "$GAMEDIR",
"__GL_THREADED_OPTIMIZATIONS": 1
}
},
"wine": {
"MouseWarpOverride": "enable",
"version": "lutris-6.14-4-x86_64"
}
}
}
]
}
Hello @nhubaotruong,
I've just tried your solution. It still stops at 89%, but "Play" button appears after about 5 minutes (doesn't reach 100%). The game is not shown in lutris library though. I tried to ran lol.py
and press "Play" button afterward but the error below occured :( :
new 1.txt
Cheers.
I think you didn't install LOL from lutris to get the environment, Please check this section
Oh I thought you mean that I should install it via Garena client. Let me try again... So when I install LoL via lutris, it should be like below directory right?
(base) tom@tom-G7-7500:~/Games$ ls
garena lol
Yeah, We install LOL via Garena client to play, and LOL from lutris to get the environment
Oh I thought you mean that I should install it via Garena client. Let me try again... So when I install LoL via lutris, it should be like below directory right?
Well actually you can install it in whatever folder you want, as long as it has the same slug league-of-legends
, I check the lutris db file to get the install location
I chose yes for anticheat and enter user's password when the prompt was up up but the game was not up :( here is the log after I press Play in terminal:
(base) tom@tom-G7-7500:~/Desktop/lol_launcher/league-of-legends-linux-garena-script$ python3 lol.py
The script will wait for a RiotClientServices.exe process to show up to get it's token. So go to the Garena client and press Play
Garena token got from RiotClientServices.exe: --garena-plus-token=Lf38sUXMe+EQPpX5O5p8dRIDVN3hmN/Cbe46gXEHfuH9mqDvPHeaTmBMplVcLVInFVDCd524w6ddKAVZaVDWj89z//uMCzC3LKGBSqOd+UTj9CPGnztPLOQvy8awoGERdLBuYMVL/uuVDmN8KRi/f9cMjUqBJnN/lnU2svSkZgv1t2PTdWBU51zKgeXtc0GFq8Bq1bhlqeN3I2sQlvO4rxEbvPjC1sCPq4Smnea0j2NJGWKbTD649quTVlsrpKbfxgi98/cKa3BrPnzkLb8R2Gu6SIKnrAspn9RjU8MAzw+j2aV5ZCn6bs2CcM6W7Inhqt+TWQrYiwHNgLLNaZABbQ== --region=VN -- --locale=en_US --landing-token=4338db00071d786d9dd3b84c7b4935a4e600fdabdca5fd87adbf2a33bd54671e --servers.chat.chat_host=vn1.chat.si.riotgames.com --servers.lcds.lcds_host=prodvn1.lol.garenanow.com --servers.lcds.login_queue_url=https://lqvn1.lol.garenanow.com/login-queue/rest/queues/lol --region=VN --parent-client=GarenaPC
Starting game with current config:
- Wine version: lutris-ge-lol-6.16-3-x86_64
- Executable: /home/tom/Games/garena/drive_c/Garena/Games/32787/Riot Client/RiotClientServices.exe
- Wineprefix: /home/tom/Games/league-of-legends
If this is your first time running LOL since reboot, a pop up will appear, chose the first or second option then enter your password
It's a workaround by the lutris community
Ignore the lines below, they are not actually error
EDIT: I'm using an external monitor, not sure if it has anything to do with this...
Nothing seems wrong here, when starting the game, can you open lutris log for LOL and wait a little longer, it takes a long time to start
Can you tell me how to retrieve the log for LoL? Sorry I'm not familiar with lustris...
EDIT: found it
Started initial process 5665 from /home/tom/.local/share/lutris/runners/wine/lutris-ge-lol-6.16-3-x86_64/bin/wine /home/tom/Games/garena/drive_c/Garena/Games/32787/Riot Client/RiotClientServices.exe --garena-plus-token=L0ekt7lau8EMHdlhgZ80O95iGCv84dwakluZLyGaK561z2KT8rCuiQsSTV79wMFMWWe0IKB1jORpA2yM1ggWOipt1p1Nxcu+KxBGAYKGlpBHtZrf/WhJIky+alkJxqIMsUWBWcKjgNDhS2WlsyPHgvJ233r3qtOyrNKfaGFwdgyhRqDNxQV0VYm+QMywQsO5sKOExLgOVT1v+iV+ie16TN5R0dPRw/Y9bHo6hcknPE9I10eXtspoEpLwhDc4RebMEGegHrOBbcBsTmZ+9euf0DDqCiNTxVVK39hW7YMBWHulL4PYQLmn1ke3w6ivfkdrc5Dd3FZ4FRF6PBMGZ2myRA== --region=VN -- --locale=en_US --landing-token=a1739361e58d18cfbdda36e396083f82cf48f4f8da02ec2f6a255d79e3134801 --servers.chat.chat_host=vn1.chat.si.riotgames.com --servers.lcds.lcds_host=prodvn1.lol.garenanow.com --servers.lcds.login_queue_url=https://lqvn1.lol.garenanow.com/login-queue/rest/queues/lol --region=VN --parent-client=GarenaPC
Start monitoring process.
esync: up and running.
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
X Error of failed request: GLXBadContext
Major opcode of failed request: 152 (GLX)
Minor opcode of failed request: 6 (X_GLXIsDirect)
Serial number of failed request: 328
Current serial number in output stream: 327
Monitored process exited.
Initial process has exited (return code: 0)
Exit with return code 0
Do you have Discord, can we do a call, I think I just realized a very important detail
yeah, add me bananapie#9765
Can you tell me how to retrieve the log for LoL? Sorry I'm not familiar with lustris...
EDIT: found it
Started initial process 5665 from /home/tom/.local/share/lutris/runners/wine/lutris-ge-lol-6.16-3-x86_64/bin/wine /home/tom/Games/garena/drive_c/Garena/Games/32787/Riot Client/RiotClientServices.exe --garena-plus-token=L0ekt7lau8EMHdlhgZ80O95iGCv84dwakluZLyGaK561z2KT8rCuiQsSTV79wMFMWWe0IKB1jORpA2yM1ggWOipt1p1Nxcu+KxBGAYKGlpBHtZrf/WhJIky+alkJxqIMsUWBWcKjgNDhS2WlsyPHgvJ233r3qtOyrNKfaGFwdgyhRqDNxQV0VYm+QMywQsO5sKOExLgOVT1v+iV+ie16TN5R0dPRw/Y9bHo6hcknPE9I10eXtspoEpLwhDc4RebMEGegHrOBbcBsTmZ+9euf0DDqCiNTxVVK39hW7YMBWHulL4PYQLmn1ke3w6ivfkdrc5Dd3FZ4FRF6PBMGZ2myRA== --region=VN -- --locale=en_US --landing-token=a1739361e58d18cfbdda36e396083f82cf48f4f8da02ec2f6a255d79e3134801 --servers.chat.chat_host=vn1.chat.si.riotgames.com --servers.lcds.lcds_host=prodvn1.lol.garenanow.com --servers.lcds.login_queue_url=https://lqvn1.lol.garenanow.com/login-queue/rest/queues/lol --region=VN --parent-client=GarenaPC Start monitoring process. esync: up and running. libGL error: No matching fbConfigs or visuals found libGL error: failed to load driver: swrast X Error of failed request: GLXBadContext Major opcode of failed request: 152 (GLX) Minor opcode of failed request: 6 (X_GLXIsDirect) Serial number of failed request: 328 Current serial number in output stream: 327 Monitored process exited. Initial process has exited (return code: 0) Exit with return code 0
Have u tried connecting only a single monitor and playing from there?
If single monitor works, that can possibly imply that smth is off in ur x11/wayland config
Edit: wait, has the issue been fixed yet?
I and @nhubaotruong made a call to try to fix this. I got in the league UI but only a black screen came up when I tried matchmaking. NVIDIA's drivers are pain in the ass :(
I've been playing LOL on linux before (with your script) Now I'm trying to install this game again but it's stuck when I download LOL through garena (89%)