League of Legends Installation... compiling never ends?

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
DanAlucard
Level 2
Level 2
Posts: 21
Joined: Thu Nov 01, 2012 7:30 am

Re: League of Legends Installation... compiling never ends?

Post by DanAlucard »

sigh...
my fault again... I'm not good copy-pasting my own code anymore...

replace the Play_LoL.sh content by this one:

Code: Select all

#!/bin/bash

export WINEPREFIX=$HOME/LoL_wine-1.5.5/LoL_Prefix  #wineprefix location
WINE=$HOME/LoL_wine-1.5.5/bin/wine                 #location of wine executable

cd $WINEPREFIX/drive_c/Riot\ Games/League\ of\ Legends/RADS/system/
$WINE "rads_user_kernel.exe" run lol_launcher $(ls ../projects/lol_launcher/releases/) LoLLauncher.exe &

loltask_instance=$(ps -A | grep loltask)
if [ ! "$loltask_instance" ]; then

        gksu loltask &

else
        echo "loltask is already started. You do not want it to be started again."
fi

as you may notice, I've just removed some backslashes... now it HAS to work xD
IceNekromant
Level 2
Level 2
Posts: 36
Joined: Tue Jan 24, 2012 12:08 pm

Re: League of Legends Installation... compiling never ends?

Post by IceNekromant »

Yes, it has to work. But see it realistic: we are working with Linux. There ARE problems. Always...

Thats now the error report:

Code: Select all

./Play_LoL.sh
./Play_LoL.sh: line 6: cd: /home/LoL_wine-1.5.5/LoL_Prefix/drive_c/Riot Games/League of Legends/RADS/system/: file or directory not founded
ls: access to ../projects/lol_launcher/releases/ not possible: file or directory not founded
wine: cannot find L"C:\\windows\\system32\\rads_user_kernel.exe"
So, now, he wants to find the League of Legends folder in my home-file AND my drive_c-file? Why?
He needs something like "/projects/lol_launcher/releases/"? I haven't this file. o.O
And he needs "rads_user_kernel.exe". Where I can get this? I didn't found it with winetricks.

So, can you help me please again? It's Linux. :D

Greetz
IceNekromant
DanAlucard
Level 2
Level 2
Posts: 21
Joined: Thu Nov 01, 2012 7:30 am

Re: League of Legends Installation... compiling never ends?

Post by DanAlucard »

first of all, where do you have the LoL_Prefix folder? (I'm assuming you successfuly installed LoL)
search for it on your homedir

This is really annoying. I don't know why you have your home directly into /home/ and not into /home/your_username/

Well... the drive C thing is wine internal. Wine takes WINEPREFIX/drive_c as his C:\ drive. In your case that should be in /home/LoL_wine-1.5.5/LoL_Prefix/drive_c but i'm not sure bcs of the errors that the launcher found :(

Again, search for the LoL_Prefix folder and see if inside it you have a drive_c folder and inside that, u have a "Riot Games" folder.
IceNekromant
Level 2
Level 2
Posts: 36
Joined: Tue Jan 24, 2012 12:08 pm

Re: League of Legends Installation... compiling never ends?

Post by IceNekromant »

Ok, step by step:

1. My LoL_Prefix-folder is in home/my-username/LoL_wine-1.5.5.

2. I have my home directory in home/my-name... I just deleted always the step with myusername. I thought, my name isn't important.
But yes, all is in home/myname/... .

3. I have:

home/myname/LoL_wine-1.5.5/LoL_Prefix/drive_c

But there isn't the "Riot Games" folder inside.
But this is strange. If I use "Wine File" to see all in "Wine"-view I see: C:\Riot Games.
Why this folder isn't in my

home/myname/LoL_wine-1.5.5/LoL_Prefix/dive_c - folder?

So, the Riot Games-file must be in there? How can I fix it?

Greetz
IceNekromant
DanAlucard
Level 2
Level 2
Posts: 21
Joined: Thu Nov 01, 2012 7:30 am

Re: League of Legends Installation... compiling never ends?

Post by DanAlucard »

well... i don't know why, but it seems that you have installed LoL into your default wineprefix instead of LoL_Prefix.

This can be easily fixed by doing this:

1st: check if you have installed it in you default wineprefix:

Code: Select all

ls ~/.wine/drive_c/Riot\ Games
2nd: if the previous line worked, just do this:

Code: Select all

mv ~/.wine/drive_c/Riot\ Games ~/LoL_wine-1.5.5/LoL_Prefix/dive_c/
this will move the folder from the default prefix to your custom prefix. Now the launcher will work.
Again I don't know how this happened xD
IceNekromant
Level 2
Level 2
Posts: 36
Joined: Tue Jan 24, 2012 12:08 pm

Re: League of Legends Installation... compiling never ends?

Post by IceNekromant »

Okay, thanks for this commands.

Now I have the file home/myusername/LoL_wine-1.5.5/LoL_Prefix/drive_c/Riot Games/LeagueofLegends.

And now happens much more: I saw the League of Legend start icon, but just a little time.

There comes now this error:

Code: Select all

 ./Play_LoL.sh
ls: access to ../projects/lol_launcher/releases/ not possible: file or directory not founded
(  DEBUG)[21:06:42.384] RADS::Common::RegistryHelp::RegKeyValueString::RegKeyValueString: (Software\Riot Games\RADS, LocalRootFolder, c:\rads)
(  ERROR)[21:06:42.625] RADS::User::PandoManager::start: StartPMB failed, returned error 6
(  ERROR)[21:06:42.627] RADS::UserKernel::UserCommandThread::ThreadProc: Invalid command line.
(  ERROR)[21:06:42.630] RADS::UserKernel::NamedPipe::ConnectionThread::ThreadProc: The handle that was passed to the API has been either invalidated or closed.
(  ERROR)[21:06:42.630] RADS::UserKernel::NamedPipe::ConnectionThread::ThreadProc: ConnectNamedPipe failed.
(  ERROR)[21:06:42.662] RADS::Common::HTTPConnection::GetFile: perform request failed with code 7
(  ERROR)[21:06:42.662] RADS::Common::HTTPConnection::GetFile: Failed on /rest/getToken?format=xml&ClientID=PMB_Client
(  ERROR)[21:06:42.671] RADS::Common::HTTPConnection::GetFile: perform request failed with code 7
(  ERROR)[21:06:42.672] RADS::Common::HTTPConnection::GetFile: Failed on /rest/getToken?format=xml&ClientID=PMB_Client
(  ERROR)[21:06:42.696] RADS::Common::HTTPConnection::GetFile: perform request failed with code 7
(  ERROR)[21:06:42.696] RADS::Common::HTTPConnection::GetFile: Failed on /rest/shutdown?format=xml&netToken=
So, now comes a pretty big error code...

Can you read this and tell me where is the problem? Then I can fixx it.

Thanks for the last commands. Just "only" this errors. :D

Greetz
IceNekromant
DanAlucard
Level 2
Level 2
Posts: 21
Joined: Thu Nov 01, 2012 7:30 am

Re: League of Legends Installation... compiling never ends?

Post by DanAlucard »

try this:

Code: Select all

ls $HOME/LoL_wine-1.5.5/LoL_Prefix/drive_c/Riot\ Games/League\ of\ Legends/RADS/projects
if that folder don't exist, create it by doing:

Code: Select all

mkdir $HOME/LoL_wine-1.5.5/LoL_Prefix/drive_c/Riot\ Games/League\ of\ Legends/RADS/projects
now, do this:

Code: Select all

cd $HOME/LoL_wine-1.5.5/LoL_Prefix/drive_c/Riot\ Games/League\ of\ Legends/RADS/projects
wget http://dl.dropbox.com/u/83834440/lol_launcher.tar.gz
tar -xzf  lol_launcher.tar.gz
rm lol_launcher.tar.gz
and try to run the launcher again. I'm testing here, so it isn't assured to work xD
IceNekromant
Level 2
Level 2
Posts: 36
Joined: Tue Jan 24, 2012 12:08 pm

Re: League of Legends Installation... compiling never ends?

Post by IceNekromant »

Wow. Finally, it worked. Yes, it worked.

With your last commands, the launcher has opened and LoL patched.

I clicked on "play" and there was the login window. First, I closed it.

Now I click on the run script and there comes this:

Code: Select all

./Play_LoL.sh
(  DEBUG)[18:18:07.356] RADS::Common::RegistryHelp::RegKeyValueString::RegKeyValueString: (Software\Riot Games\RADS, LocalRootFolder, c:\rads)
There comes the starting picture "League of Legends" but then there comes also a new window of Wine with the error:

"The launcher is already running. Should it be stopped?

Ok Cancel"

In any case, if I click "Ok" or "Cancel" or just the "X" it stops and nothing happens.
Why? I just click on time on the script. But why she tell THIS to me? Yes, the launcher is running, but why he wants to close it?

Hope, you help me with the final steps. :)

Greetz
IceNekromant

P.S.: Information, that MAYBE could help: I haven't the loltask script of you... if this could be the problem...
DanAlucard
Level 2
Level 2
Posts: 21
Joined: Thu Nov 01, 2012 7:30 am

Re: League of Legends Installation... compiling never ends?

Post by DanAlucard »

loltask isn't the problem (I recommend it but it's up to you)

sometimes, you will need to kill all processes. Create this script (whatever name you want, like kill_LoL.sh or so...):

Code: Select all

#!/bin/bash

echo "to also kill loltask, run this in a terminal as root."

killall jugar_LoL.sh
killall LoLLauncher.exe
killall loltask
PID=$(pidof "League of Legen")
if [ $PID ]; then
kill $PID
fi
killall rads_user_kernel.exe
killall LolClient.exe
killall wineserver
killall winedevice.exe
killall plugplay.exe
killall services.exe
killall explorer.exe

run it whenever you want/need to kill all LoL procs. This will kill all LoL and wine related processes.

After our "dirty patch" the game may be corrupted. Try to repair it:

open the launcher.
On the first screen (when you are supposed to click play) go to the top and click the gears.
disable "peer to peer transfer" and click on "Repair".

Note: that will take a loooooooong time but can fix your LoL if something went wrong with patching (sometimes happens, not my fault xD)

Hope you have good luck :D
IceNekromant
Level 2
Level 2
Posts: 36
Joined: Tue Jan 24, 2012 12:08 pm

Re: League of Legends Installation... compiling never ends?

Post by IceNekromant »

Hmm... I think you didn't understand where is the problem.
I don't come to the window where I can click on "Play".
The problem comes a few seconds after clicking on the "Play_LoL.sh"-Script.

Here a screen:

Image

You see, what I mean? Where is the problem?

Greetz
IceNekromant
DanAlucard
Level 2
Level 2
Posts: 21
Joined: Thu Nov 01, 2012 7:30 am

Re: League of Legends Installation... compiling never ends?

Post by DanAlucard »

exactly. Kill all LoL related processes and try to run the launcher again.
Then, repair the installation :D
IceNekromant
Level 2
Level 2
Posts: 36
Joined: Tue Jan 24, 2012 12:08 pm

Re: League of Legends Installation... compiling never ends?

Post by IceNekromant »

Yes, now it works. I click on the kill-script and then on the play-script and all works.
The launcher, where I can click on play and the login-window.

The following question is in no relation to you, but maybe you can help me also here because you're also playing LoL on Linux:

I try to login, but he always says that there is an connection error and he can't connect. But the servers are online, I checked it.

I tried to stop my firewall. This didn't help anything. On the contrary, with stopped firewall I can't come to the login-window.
So... any ports I should open? Or other settings I have to change?

Maybe you can help here? If not, no problem.

Greetz
IceNekromant
DanAlucard
Level 2
Level 2
Posts: 21
Joined: Thu Nov 01, 2012 7:30 am

Re: League of Legends Installation... compiling never ends?

Post by DanAlucard »

I haven't had to manually open any port to play LoL...

anyways, the required ports are:

5000 - UDP 5500: League of Legends client
8393 - TCP 8400: Maestro and version installer
TCP 2099: PVP.Net
TCP 5223: PVP.Net
TCP 5222: PVP.Net
TCP 80: HTTP connections
TCP 443: HTTPS connections

run the Play-LeagueofLegends script into a terminal and watch for net-related output. It will give you some advice on what is wrong.
:D
IceNekromant
Level 2
Level 2
Posts: 36
Joined: Tue Jan 24, 2012 12:08 pm

Re: League of Legends Installation... compiling never ends?

Post by IceNekromant »

Well, this is the first time I understand NOTHING of all that code.
Hope, you can tell me the problem.
Here is the code:

Code: Select all

 ./Play_LoL.sh.
(  DEBUG)[17:09:59.309] RADS::Common::RegistryHelp::RegKeyValueString::RegKeyValueString: (Software\Riot Games\RADS, LocalRootFolder, c:\rads)
(WARNING)[17:09:59.310] RADS::Common::CiderUser32::CiderUser32: Failed to load TGIsFullscreen, CiderUser32 not running 
(WARNING)[17:09:59.318] RADS::Common::CiderUser32::Create: Failed to startup CiderUser32, not on a Mac
(  ERROR)[17:09:59.695] RADS::User::PandoManager::start: StartPMB failed, returned error 6
fixme:win:EnumDisplayDevicesW ((null),0,0x33f918,0x00000000), stub!
fixme:d3d9:Direct3DShaderValidatorCreate9 stub
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
err:secur32:SECUR32_initSchannelSP TLS library not found, SSL connections will fail
err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
fixme:lsa:LsaGetLogonSessionData 0x82e8f8 0x82e908 stub
err:mmdevapi:DllGetClassObject Driver initialization failed
err:ole:apartment_getclassobject DllGetClassObject returned error 0x80004005
err:ole:CoGetClassObject no class object {bcde0395-e52f-467c-8e3d-c4579291692e} could be created for context 0x1
fixme:win:EnumDisplayDevicesW ((null),0,0x82ef98,0x00000000), stub!
fixme:winsock:WSAIoctl -> SIO_ADDRESS_LIST_CHANGE request: stub
fixme:winsock:WSAIoctl -> SIO_ADDRESS_LIST_CHANGE request: stub
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
err:mmdevapi:DllGetClassObject Driver initialization failed
err:ole:apartment_getclassobject DllGetClassObject returned error 0x80004005
err:ole:CoGetClassObject no class object {bcde0395-e52f-467c-8e3d-c4579291692e} could be created for context 0x1
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
err:mmdevapi:DllGetClassObject Driver initialization failed
err:ole:apartment_getclassobject DllGetClassObject returned error 0x80004005
err:ole:CoGetClassObject no class object {bcde0395-e52f-467c-8e3d-c4579291692e} could be created for context 0x1
fixme:imm:ImmReleaseContext (0x1007e, 0x56968b0): stub
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
err:mmdevapi:DllGetClassObject Driver initialization failed
err:ole:apartment_getclassobject DllGetClassObject returned error 0x80004005
err:ole:CoGetClassObject no class object {bcde0395-e52f-467c-8e3d-c4579291692e} could be created for context 0x1
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
err:mmdevapi:DllGetClassObject Driver initialization failed
err:ole:apartment_getclassobject DllGetClassObject returned error 0x80004005
err:ole:CoGetClassObject no class object {bcde0395-e52f-467c-8e3d-c4579291692e} could be created for context 0x1
fixme:ras:RasEnumConnectionsW (0x12dca8,0xf7cd290,0x76c623e4),stub!
fixme:ras:RasEnumConnectionsW RAS support is not implemented! Configure program to use LAN connection/winsock instead!
fixme:service:EnumServicesStatusW resume handle not supported
fixme:ras:RasEnumEntriesW ((nil),(null),0x8407da0,0xf7cdac0,0x83dac14),stub!
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
err:mmdevapi:DllGetClassObject Driver initialization failed
err:ole:apartment_getclassobject DllGetClassObject returned error 0x80004005
err:ole:CoGetClassObject no class object {bcde0395-e52f-467c-8e3d-c4579291692e} could be created for context 0x1
fixme:urlmon:SecManagerImpl_ProcessUrlAction Unsupported arguments
fixme:ras:RasEnumConnectionsW (0x12dca8,0x12c2d4e4,0x76c623e4),stub!
fixme:ras:RasEnumConnectionsW RAS support is not implemented! Configure program to use LAN connection/winsock instead!
fixme:service:EnumServicesStatusW resume handle not supported
^C
So... what is the problem?
This is a big code, hope you can see something. :wink:

Greetz
IceNekromant
DanAlucard
Level 2
Level 2
Posts: 21
Joined: Thu Nov 01, 2012 7:30 am

Re: League of Legends Installation... compiling never ends?

Post by DanAlucard »

yep, i can see lots of things, but mostly related to d3d (directX) but nothing about sound.

do this:

Code: Select all

export WINEPREFIX=$HOME/LoL_wine-1.5.5/LoL_Prefix
WINE=$HOME/LoL_wine-1.5.5/bin/wine
cd $HOME/LoL_wine-1.5.5
wget "http://winetricks.org/winetricks"
chmod +x ./winetricks
./winetricks winxp d3dx9 vcrun2005 vcrun2008 wininet
$HOME/LoL_wine-1.5.5/bin/wineboot
./winetricks corefonts ie6 win7
to make sure all dll overrides are properly installed.

Then try to run the game again.
IceNekromant
Level 2
Level 2
Posts: 36
Joined: Tue Jan 24, 2012 12:08 pm

Re: League of Legends Installation... compiling never ends?

Post by IceNekromant »

Ok, I ran all these commands.
It looked like all is well.

But there is still the problem with the connection...
And there is another problem, too...

I can't run the "Play_LoL.sh"-script with terminal...

When I click on it, all is well and I can click on the launcher "Play".
When I run run it with the terminal, there comes an eternal:

"Updating: 0% complete
Step 1/2: calculating differences"

So, now, I can't give you an error report...

You know, where could the problem be?

Greetz
IceNekromant

I have to say, that I ran some commands of you twice and more... maybe here is the problem?
DanAlucard
Level 2
Level 2
Posts: 21
Joined: Thu Nov 01, 2012 7:30 am

Re: League of Legends Installation... compiling never ends?

Post by DanAlucard »

I dont think that running those commands more than once could make poblems.

Have you tried killing proccesses before running the "Play_LoL.sh" script on a terminal?
try to do so and tell me if it persists. Remember to have "peer to peer" disabled on the launcher.
IceNekromant
Level 2
Level 2
Posts: 36
Joined: Tue Jan 24, 2012 12:08 pm

Re: League of Legends Installation... compiling never ends?

Post by IceNekromant »

Yes, I always use the kill-script after closed LoL-Windows.

Well, the problems are the same:

Click on script and run this way -> all is well(not the login, of course)
Run script with terminal -> eternal updating...

Here, this is the code starting the script and ending the programm clicking on the launchers "X" right up on the window:

Code: Select all

 ./Play_LoL.sh
(  DEBUG)[22:31:40.791] RADS::Common::RegistryHelp::RegKeyValueString::RegKeyValueString: Failed to load TGIsFullscreen, CiderUser32 not running 
(WARNING)[22:31:40.796] RADS::Common::CiderUser32::Create: Failed to startup CiderUser32, not on a Mac
(  DEBUG)[22:31:40.791] RADS::Common::RegistryHelp::RegKeyValueString::RegKeyValueString: (Software\Riot Games\RADS, LocalRootFolder, c:\rads)
(  ERROR)[22:31:40.967] RADS::User::PandoManager::start: StartPMB failed, returned error 6
fixme:win:EnumDisplayDevicesW ((null),0,0x33f918,0x00000000), stub!
fixme:d3d9:Direct3DShaderValidatorCreate9 stub
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
(  ERROR)[22:32:29.954] RADS::UserKernel::NamedPipe::ConnectionThread::ThreadProc: The handle that was passed to the API has been either invalidated or closed.
(  ERROR)[22:32:29.955] RADS::UserKernel::NamedPipe::ConnectionThread::ThreadProc: ConnectNamedPipe failed.
(  ERROR)[22:32:29.975] RADS::Common::HTTPConnection::GetFile: perform request failed with code 7
(  ERROR)[22:32:29.976] RADS::Common::HTTPConnection::GetFile: Failed on /rest/getToken?format=xml&ClientID=PMB_Client
(  ERROR)[22:32:29.987] RADS::Common::HTTPConnection::GetFile: perform request failed with code 7
(  ERROR)[22:32:29.988] RADS::Common::HTTPConnection::GetFile: Failed on /rest/getToken?format=xml&ClientID=PMB_Client
(  ERROR)[22:32:29.997] RADS::Common::HTTPConnection::GetFile: perform request failed with code 7
(  ERROR)[22:32:29.997] RADS::Common::HTTPConnection::GetFile: Failed on /rest/shutdown?format=xml&netToken=
^C
Maybe this could help.
I have a backup of the LoL_wine.1.5.5 - folder. Maybe I have to delete the folder I have and try this installations again with the old folder? Where I didn't run you commands?

Greetz
IceNekromant
IceNekromant
Level 2
Level 2
Posts: 36
Joined: Tue Jan 24, 2012 12:08 pm

Re: League of Legends Installation... compiling never ends?

Post by IceNekromant »

Another question, that could be the solution:

On the website there is written: "Our servers are online. You can login and play every time."

But now I founded on this site:

https://support.leagueoflegends.com/ent ... n?locale=8

the IP from the "login from west europe".
So I do in my terminal:

Code: Select all

ping 64.7.194.221
to check if the server answers me.
Nothing happens. All packages are lost.

Maybe THIS could be the problem?

Greetz
IceNekromant
DanAlucard
Level 2
Level 2
Posts: 21
Joined: Thu Nov 01, 2012 7:30 am

Re: League of Legends Installation... compiling never ends?

Post by DanAlucard »

nope, the servers are configured to reject ping.
The same happens with NA server but I can login without problems.

have you tried opening the ports I mentioned before on your router/firewall? (those weren't commands btw)
here they are again:

5000 - UDP 5500: League of Legends client
8393 - TCP 8400: Maestro and version installer
TCP 2099: PVP.Net
TCP 5223: PVP.Net
TCP 5222: PVP.Net
TCP 80: HTTP connections
TCP 443: HTTPS connections
IceNekromant
Level 2
Level 2
Posts: 36
Joined: Tue Jan 24, 2012 12:08 pm

Re: League of Legends Installation... compiling never ends?

Post by IceNekromant »

I wrote you a PM with questions.
They are in no relation to wine.

Greetz
IceNekromant
Locked