mmtrt / leagueoflegends

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

DLL libraries not found #157

Closed ghost closed 3 months ago

ghost commented 3 years ago
$ leagueoflegends
000b:err:wineboot:process_run_key Error running cmd L"C:\\windows\\system32\\winemenubuilder.exe -r" (2).
Fontconfig warning: "/etc/fonts/conf.avail/05-reset-dirs-sample.conf", line 6: unknown element "reset-dirs"
Fontconfig warning: "/etc/fonts/conf.avail/05-reset-dirs-sample.conf", line 6: unknown element "reset-dirs"
0009:err:module:import_dll Library MSVCP140.dll (which is needed by L"C:\\Riot Games\\League of Legends\\LeagueClient.exe") not found
0009:err:module:import_dll Library MSVCP140.dll (which is needed by L"C:\\Riot Games\\League of Legends\\GCloudVoice.dll") not found
0009:err:module:import_dll Library GCloudVoice.dll (which is needed by L"C:\\Riot Games\\League of Legends\\LeagueClient.exe") not found
0009:err:module:import_dll Library vivoxsdk.dll (which is needed by L"C:\\Riot Games\\League of Legends\\LeagueClient.exe") not found
0009:err:module:LdrInitializeThunk Importing dlls for L"C:\\Riot Games\\League of Legends\\LeagueClient.exe" failed, status c0000135

Not much to say. I'm trying to install this snap for a month or two, looking everywhere I can (issues here and posts on Reddit) to resolve all the issues I stumble upon, but can't seem to make it work (almost did one day, but after one IA game, my friend list broke, and reinstalling the snap did broke the entire thing).

It's very pleasant to have someones knowing how to make this thing (talking about the game itself) work on Linux though

mmtrt commented 3 years ago

That could be broken install thats why missing dll files, try clean install after complete remove snap remove --purge leagueoflegends

ghost commented 3 years ago

I tried snap install --edge leagueoflegends as it's written in the "INSTALL" part of the readme but snap is telling me I must use --devmode or --jailmode so I used snap install --devmode --edge leagueoflegends

I let the game install itself until after the new launcher downloaded 2.1GB, it tried to start the client, I got the League of Legends logo and then it disappeared leaving me alone with this :

Fontconfig warning: "/etc/fonts/conf.avail/05-reset-dirs-sample.conf", line 6: unknown element "reset-dirs"
Fontconfig warning: "/etc/fonts/conf.avail/05-reset-dirs-sample.conf", line 6: unknown element "reset-dirs"
Fontconfig warning: "/etc/fonts/conf.avail/05-reset-dirs-sample.conf", line 6: unknown element "reset-dirs"
/usr/share/libdrm/amdgpu.ids: No such file or directory
Fontconfig warning: "/etc/fonts/conf.avail/05-reset-dirs-sample.conf", line 6: unknown element "reset-dirs"
/usr/share/libdrm/amdgpu.ids: No such file or directory
ALSA lib conf.c:3816:(config_file_open) cannot access file /etc/alsa/conf.d/10-samplerate.conf
ALSA lib conf.c:3736:(snd_config_hooks_call) function snd_config_hook_load returned error: No such file or directory
ALSA lib conf.c:4190:(snd_config_update_r) hooks failed, removing configuration
0040:err:winediag:MIDIMAP_drvOpen No software synthesizer midi port found, Midi sound output probably won't work.
00be:err:ole:CoUninitialize Mismatched CoUninitialize

If I remember well, I should delete the RiotClient directory, but if I do that, and start the old launcher, I got a Unable to connect to the authentication service. error.

PS : Should I make a new issue ? As it doesn't seem to be linked to my previous one.