League of Legend

De 33system wiki
Saltar a: navegación, buscar

<< Informatica

Instalación League of Legends en UBUNTU

League Of Legends
Instalacion en Ubuntu
Fin

League of Legends (LOL)

League of Legends es un videojuego de campo de batalla multijugador en Internet (MOBA, por sus siglas en inglés Multiplayer Online Battle Arena)1 2 editado y desarrollado por Riot Games para Microsoft Windows.3 Anteriormente los servidores estaban alojados en la empresa GOA, pero actualmente lo mantiene Riot Games, que hace poco anunció su venta a Tencent, una empresa China. Se anunció por primera vez el 7 de octubre de 2008 y su lanzamiento ha sido programado para septiembre de 2009.4 El juego ha estado en proceso de Beta cerrada desde el 10 de abril de 2009.5 Para jugar solo es necesario tener descargado el cliente, y obtener una cuenta.6 Dos de los diseñadores principales del popular mapa personalizado de Warcraft III, Defense of the Ancients: Allstars (abreviado normalmente con las siglas DotA), Steve "Guinsoo" Feak y Steve "Pendragon" Mescon, han colaborado con Riot Games en la creación de League of Legends: Clash of Fates.7 Guinsoo creó DotA: Allstars a partir del DotA original de Eul, añadiendo sus propios contenidos: más de 40 héroes, numerosos objetos y varios cambios en la experiencia de juego. Más tarde se lo pasó al que hoy en día es su desarrollador, Icefrog. Pendragon, que es el director del departamento de Relaciones con la comunidad en Riot Games, ayudó en la creación del sitio web de DotA: Allstars y de sus foros, y en la actualidad sigue trabajando en League of Legends: Clash of Fates.

Instalacion en Ubuntu

#!/bin/sh
#This script will compile and config WINE for running League of Legends on Ubuntu.
#Will install WINE 1.3.6 with its own prefix and console command. (wine-1.3.6)
#Tested on Ubuntu 10.10 (Maverik Meekrat)
#Tested with Wine version 1.3.6 built from source
#Updated 06/11/2010 (DD/MM/YYYY)
 
 
 
 
#First we download Wine Source Code for development version 1.3.6, in which LoL is tested to work.
 
wget http://ibiblio.org/pub/linux/system/emulators/wine/wine-1.3.6.tar.bz2
 
#Untar and switch to the extracted dir. Make sure the cd to the extracted folder is performed, all the following commands are meant to run in said folder.
 
tar xvf wine-1.3.6.tar.bz2
cd wine-1.3.6.tar.bz2
 
#Now we download libraries needed to complie Wine. After this command however, there may be still dependencies missing, and they need to be installed through aptitude or synaptic.
 
apt-get build-dep wine
 
#There is a patch for wine that needs to be downloaded and installed.
 
wget http://bugs2.winehq.org/attachment.cgi?id=25672 -O wine1.patch
 
patch -p1 < wine1.patch
 
 
#From here on, parts were taken from the following address, this script is modified to install wine 1.3.6 alongside any other wine version you may have. -> http://jeffhoogland.blogspot.com/2009/12/howto-install-multiple-wine-versions-on.html
 
#Info for building in 64bit enviroments was added from http://wiki.winehq.org/WineOn64bit. Uncomment the following if you are in a 64bit eviroment without Nvidia chipset.
 
#mkdir -p ./lib32
#ln -s /usr/lib32/mesa/libGL.so.1 ./lib32/libGL.so
 
#If you are on a 64bit enviroment and have a Nvidia, use this instead:
 
#mkdir -p ./lib32
#ln -s /usr/lib32/nvidia-current/libGL.so.1 ./lib32/libGL.so
 
 
#We run cunfigure using the --prefix parameter to install it in a specific place of our system.
 
./configure --prefix=/usr/local/bin/wine-1.3.6 && make depend && make
 
#This for 64bits
 
#./configure --prefix=/usr/local/bin/wine-1.3.6 LDFLAGS="-L./lib32" && make depend && make
 
#Now we install it
 
sudo make install
 
#Create symbolic links so the new wine can be run automatically from terminal using "wine-1.3.6" instead of "wine". Will ask for password.
 
sudo ln -s /usr/local/bin/wine-1.3.6/bin/wine /usr/bin/wine-1.3.6
sudo ln -s /usr/local/bin/wine-1.3.6/bin/wine /usr/local/bin/wine-1.3.6/bin/wine-1.3.6
 
#Now we create small scripts so winecfg and regedit from 1.3.6 can also be executed directly from the terminal. (as in "winecfg-1.3.6" instead of just "winecfg")
 
echo "/usr/local/bin/wine-1.3.6/bin/winecfg" > /usr/bin/winecfg-1.3.6
sudo chmod +x /usr/bin/winecfg-1.3.6
 
echo "/usr/local/bin/wine-1.3.6/bin/regedit" > /usr/bin/regedit-1.3.6
sudo chmod +x /usr/bin/regedit-1.3.6
 
 
#Create a Prefix named "wine-1.3.6" as hidden folder in home.
 
export WINEPREFIX=$HOME/.wine-1.3.6
 
#Config it.
 
WINEPREFIX=$HOME/.wine-1.3.6 winecfg-1.3.6
 
#Some DLLs and apps must be installed using winetricks for LoL to work.
 
#We download winetricks
 
wget http://www.kegel.com/wine/winetricks
 
#Make it executable.
 
sudo chmod +x ~/wine-1.3.6 winetricks
 
#Run winetricks in our new prefix and install the required packages, this will bring some popup windows, everything there should be installed correctly before proceding.
 
WINEPREFIX=$HOME/.wine-1.3.6 ./winetricks gecko
 
WINEPREFIX=$HOME/.wine-1.3.6 ./winetricks d3dx9
WINEPREFIX=$HOME/.wine-1.3.6 ./winetricks vcrun2005
WINEPREFIX=$HOME/.wine-1.3.6 ./winetricks adobeair
WINEPREFIX=$HOME/.wine-1.3.6 ./winetricks ie6
WINEPREFIX=/.wine-1.3.6 ./winetricks win2k
 
WINEPREFIX=$HOME/.wine-1.3.6 ./winetricks wininet
 
#Now our new WINE is ready. LoL installer should be ran this way: "WINEPREFIX=$HOME/.wine-1.3.6 wine-1.3.6 ./setup.exe" (note that this will not actually work if not ran in the dir with the downloaded files)
 
#For those interested, this is the launcher i made. It uses the WINEDEBUG=-all option in order to make it run a bit faster. Note that this should only be used after you are sure it works, else you will get no info from wine on the terminal if something is broken.
 
#[Desktop Entry]
#Name=Play League of Legends
#Exec=env WINEPREFIX="$HOME/.wine-1.3.6" WINEDEBUG=-all wine-1.3.6 "~/.wine-1.3.6/dosdevices/c:/Riot Games/League of Legends/lol.launcher.exe"
#Type=Application
#StartupNotify=true
#Path=~/.wine-1.3.6/dosdevices/c:/Riot Games/League of Legends
#Icon=C35B_lol.launcher.0
 
#Except for shop (i.e. where you buy heroes, runes, skins, etc.) everything works fine for me; sound, video, even updating.
 
#I did make some adjustments to Game.cfg to fix some video issues.

Inicio