mmtrt / leagueoflegends

Unofficial league of legends snap repo
https://snapcraft.io/leagueoflegends
GNU Lesser General Public License v2.1
221 stars 27 forks source link

League client doesn't start. #223

Closed colonnezi closed 1 year ago

colonnezi commented 1 year ago

When i've installed it took 2 or 3 tries to open the game but now only the riot client starts. the league client does not, it show the league of legends icon and then closes itself.

mmtrt commented 1 year ago

update snap and retry again.

sfxworks commented 1 year ago

snaps are updated and same issue

snap list                                                                                                    ✔  3s   base  
Name                     Version          Rev    Tracking          Publisher   Notes
bare                     1.0              5      latest/stable     canonical✓  base
core18                   20230307         2708   latest/stable     canonical✓  base
core20                   20230207         1828   latest/stable     canonical✓  base
gtk-common-themes        0.1-81-g442e511  1535   latest/stable     canonical✓  -
leagueoflegends          1.0              137    latest/edge       mmtrt       devmode
snapd                    2.58.2           18357  latest/stable     canonical✓  snapd
wine-platform-5-staging  5.18             36     latest/candidate  mmtrt       -
wine-platform-runtime    v1.0             332    latest/beta       mmtrt       -
mmtrt commented 1 year ago

current rev of league snap is 142 you have old rev, it needs to be manually upgraded by user.

sfxworks commented 1 year ago

Where do I find the latest revision manually? If this is manual updating: https://snapcraft.io/docs/keeping-snaps-up-to-date then I get nothing new

snap refresh
All snaps up to date.
mmtrt commented 1 year ago

snap refresh leagueoflegends --devmode

sfxworks commented 1 year ago

Ah thank you

ReverseSage commented 1 year ago

it takes about 8 or 9 iterations for the client to start for me

colonnezi commented 1 year ago

yeah i'm not get consistency on launching.

ReverseSage commented 1 year ago

@mmtrt can we fix that ?

yeah i'm not get consistency on launching.

it takes about 8 or 9 iterations for the client to start for me

mmtrt commented 1 year ago

Test new version, before launching game do below steps,

snap refresh leagueoflegends --devmode --beta

cd ~/snap/leagueoflegends/common/.wine/drive_c/

mv "Riot Games" ~/

cd ~/snap ; rm -rf leagueoflegends

cd $HOME ; mv "Riot Games" "~/snap/leagueoflegends/common/.wine/drive_c"

Then play as usual.

if any issues then try installing dxvk with this command leagueoflegends.winetricks dxvk

ReverseSage commented 1 year ago

Tried all of that but the in game still doesn't work

Test new version, before launching game do below steps,

snap refresh leagueoflegends --devmode --beta

  • Now we have to rebuild wineprefix b/c of new wine version, we move game folder to home directory this step saves time of redownloading game again,

cd ~/snap/leagueoflegends/common/.wine/drive_c/

mv "Riot Games" ~/

cd ~/snap ; rm -rf leagueoflegends

  • now run snap with snap run leagueoflegends wait till region selection dialog shows then close it and move game folder that we moved in home back to wineprefix

cd $HOME ; mv "Riot Games" "~/snap/leagueoflegends/common/.wine/drive_c"

Then play as usual.

if any issues then try installing dxvk with this command leagueoflegends.winetricks dxvk

colonnezi commented 1 year ago

Tried all of that but the in game still doesn't work

Test new version, before launching game do below steps, snap refresh leagueoflegends --devmode --beta

  • Now we have to rebuild wineprefix b/c of new wine version, we move game folder to home directory this step saves time of redownloading game again,

cd ~/snap/leagueoflegends/common/.wine/drive_c/ mv "Riot Games" ~/ cd ~/snap ; rm -rf leagueoflegends

  • now run snap with snap run leagueoflegends wait till region selection dialog shows then close it and move game folder that we moved in home back to wineprefix

cd $HOME ; mv "Riot Games" "~/snap/leagueoflegends/common/.wine/drive_c" Then play as usual. if any issues then try installing dxvk with this command leagueoflegends.winetricks dxvk

Done all that and got a new error. image


Ok i don't really know what's goin on as i'm newbie on linux but wtf after the error i've showcased client opened as normal and with the icon on linux bar

colonnezi commented 1 year ago

New error: Client opens but ingame no more. Ok, client opens as a black screen as showcased above. As i have muscle memory of login screen i'm able to log on and then riot client works as intended. Client apparently is opening in first attempt, but now the match doesnt load. The game window doesn't open. update: client is working as intended on nvidia optimus launcher, but ingame window still doesn't load

sfxworks commented 1 year ago

As of today im also experiencing this. I can't launch league of legends after the initial client and hitting play.

sfxworks commented 1 year ago

I tried

snap refresh leagueoflegends --devmode --beta
snap refresh --candidate wine-platform-7-staging-core20

And now I don't even get a client

sfxworks commented 1 year ago
Test new version, before launching game do below steps,

snap refresh leagueoflegends --devmode --beta

Now we have to rebuild wineprefix b/c of new wine version, we move game folder to home directory this step saves time of redownloading game again,
cd ~/snap/leagueoflegends/common/.wine/drive_c/

mv "Riot Games" ~/ 

cd ~/snap ; rm -rf leagueoflegends

now run snap with snap run leagueoflegends wait till region selection dialog shows then close it and move game folder that we moved in home back to wineprefix
cd $HOME ; mv mv Riot\ Games ~/snap/leagueoflegends/common/.wine/drive_c

Then play as usual.

if any issues then try installing dxvk with this command leagueoflegends.winetricks dxvk

this gets me a working launcher and client

colonnezi commented 1 year ago
Test new version, before launching game do below steps,

snap refresh leagueoflegends --devmode --beta

Now we have to rebuild wineprefix b/c of new wine version, we move game folder to home directory this step saves time of redownloading game again,
cd ~/snap/leagueoflegends/common/.wine/drive_c/

mv "Riot Games" ~/ 

cd ~/snap ; rm -rf leagueoflegends

now run snap with snap run leagueoflegends wait till region selection dialog shows then close it and move game folder that we moved in home back to wineprefix
cd $HOME ; mv mv Riot\ Games ~/snap/leagueoflegends/common/.wine/drive_c

Then play as usual.

if any issues then try installing dxvk with this command leagueoflegends.winetricks dxvk

this gets me a working launcher and client

you mean ingame? game loads?

mmtrt commented 1 year ago

@colonnezi @sfxworks found fix for ingame issue is that I forgot to remove lavapipe icds causing vulkan loading issue from actual driver icds from runtime core20 snap that I did on older runtime snap ~I remember this today but sadly my HDD died again today had login export of snapcraft so without that runtime core20 snap upload is failing due to that.~

mmtrt commented 1 year ago

@sfxworks @colonnezi Try again with updating runtime snap refresh wine-platform-runtime-core20 should fix ingame issue.

colonnezi commented 1 year ago

Terminal is reporting that it doesn't have available updates

mmtrt commented 1 year ago

Terminal is reporting that it doesn't have available updates

my bad used wrong snap name check post now.

check snap info if rev is 57 then try game again

snap info wine-platform-runtime-core20

colonnezi commented 1 year ago

image I think is the 56, i'll try to update again and report

colonnezi commented 1 year ago

Game's still not working; Client starting flawlessly.

mmtrt commented 1 year ago

send log snap run leagueoflegends

colonnezi commented 1 year ago

https://paste.myself5.de/iyafaquzal.yaml

mmtrt commented 1 year ago

you have broken install same issue as @MagdyA had

colonnezi commented 1 year ago

lol, how do i make a clean reinstall then?

mmtrt commented 1 year ago

try repairing client if that not works then snap remove --purge leagueoflegends

ReverseSage commented 1 year ago

you have broken install same issue as @MagdyA had

Since the patch you made worked I haven't updated and afraid to do so.

colonnezi commented 1 year ago

try repairing client if that not works then snap remove --purge leagueoflegends

i've purged the files and will try to reinstall. should i purge also the wine platforms?

mmtrt commented 1 year ago

no they don't retain any userdata.

colonnezi commented 1 year ago

ok the game is back to running again, but i think i've moved back to square one as the riot icon is not appearing on the ubuntu bar and client is taking a long time opening

mmtrt commented 1 year ago

did you install league snap from edge again?

colonnezi commented 1 year ago

i've used snap install --edge leagueoflegends

mmtrt commented 1 year ago

you installed old version of league snap that uses wine staging 5 with lolfix wait script. Currently testing version is in beta branch

colonnezi commented 1 year ago

ok i'll try to update to beta version with snap refresh leagueoflegends --devmode --beta and report back

colonnezi commented 1 year ago

after update client is not launching anymore. Here's the log

https://paste.myself5.de/ewiquzixok.sql

mmtrt commented 1 year ago

needs new wineprefix see https://github.com/mmtrt/leagueoflegends/issues/223#issuecomment-1466186383

colonnezi commented 1 year ago

needs new wineprefix see #223 (comment)

i'll try again but after this that my game started not opening

mmtrt commented 1 year ago

idk why its not working for you, try clean install again with beta now.

colonnezi commented 1 year ago

so i got the same error i've got last try: tito@SIVRAJ-V0:~/snap$ cd $HOME ; mv "Riot Games" "~/snap/leagueoflegends/common/.wine/drive_c" mv: não foi possível mover 'Riot Games' para '~/snap/leagueoflegends/common/.wine/drive_c': Arquivo ou diretório inexistente It's portuguese for file or directory nonexistent. when i've did this last try, i've moved the folder manually

colonnezi commented 1 year ago

Here's full log of terminal: https://paste.myself5.de/eyagosazim.coffeescript

mmtrt commented 1 year ago

maybe you are doing steps wrong, use clean install with beta I'll suggest that or just use old version if not working for you. I'm out of ideas now.

colonnezi commented 1 year ago

i'll try downloading the game again and report back.

colonnezi commented 1 year ago

ok, re-downloading from 0 worked. Thank you all for your patience.