nhubaotruong / league-of-legends-linux-garena-script

85 stars 11 forks source link

Download LOL stuck at 89% #19

Closed tienbuigia closed 2 years ago

tienbuigia commented 2 years ago

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%)

tienbuigia commented 2 years ago

Oh I read the reddit post. I'll wait. I'll be patient!

lequangtri20 commented 2 years ago

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!

tienbuigia commented 2 years ago

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)

nhubaotruong commented 2 years ago

Hi @lequangtri20 and @tienbuigia, can you help me verify the old method:

lequangtri20 commented 2 years ago

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.

nhubaotruong commented 2 years ago

I think you didn't install LOL from lutris to get the environment, Please check this section

lequangtri20 commented 2 years ago

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 
nhubaotruong commented 2 years ago

Yeah, We install LOL via Garena client to play, and LOL from lutris to get the environment

nhubaotruong commented 2 years ago

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

lequangtri20 commented 2 years ago

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

nhubaotruong commented 2 years ago

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

lequangtri20 commented 2 years ago

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
nhubaotruong commented 2 years ago

Do you have Discord, can we do a call, I think I just realized a very important detail

lequangtri20 commented 2 years ago

yeah, add me bananapie#9765

WasteOfO2 commented 2 years ago

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?

lequangtri20 commented 2 years ago

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 :(