League of Legends

hey guys

ok so basically , with ubuntu i followed this guide

and after following the guide, the game ran just fine, installed and went well, but without it, its impossable

League of legends requires wine to be compiled from source with a special bug patch which is menchoned in this guide

Now what im wondering, is how do i do this exact guide, and apply this patch and compile wine from source in opensuse 11.4

Enter the Terminal

Go to Applications -> Accessories -> Terminal

Compile Wine from Source

Use aptitude to install wine dependencies used to compile the Ubuntu Binaries

sudo apt-get build-dep wine1.2

Change to Documents Directory to avoid permissions issues

cd Documents

Create wine Directory

sudo mkdir wine

Download Latest Wine source with wget

wget http://puzzle.dl.sourceforge.net/pro...1.3.14.tar.bz2

Extract source code with tar options xfvj

wine-1.3.14.tar.bz2 tar xfvj

Enter the new Directory

cd wine-1.3.14

Download a patch file needed to install API’s not normally used in a wine build

This API is used to allow the LoL installer to run

wget http://bugs.winehq.org/attachment.cgi?id=25672 -O ./ole-force-inproc-instead-of-local.patch

Install the patch file

patch -p1 < ole-force-inproc-instead-of-local.patch

Run Configuration to determine if you have all necessary dependencies

./configure

On my install OpenCL dev files and gstreamer files were missing. You shouldn’t need OpenCL as it’s

not open source yet but you can install the gstreamer stuff.

sudo aptitude install libgstreamer-plugins-base0.10-dev
sudo aptitude install libgstreamer0.10-dev

Re-Run configuration after you have everything you need

./configure

If configure checks out go ahead and build the program

Figure out how many processor cores your computer has

grep -c ^processor /proc/cpuinfo

Set the compiler to use the correct number of cores

IE CONCURRENCY_LEVEL= However many cores you have

I’m compiling on a dual core so…

export CONCURRENCY_LEVEL=2

And finally compile the install file:

make depend && make

Once this is finished, you can go ahead and install the newly created binary

sudo make install

Install some other needed stuff

Now that you have wine installed a few other things will be needed

Mainly Internet Explorer, Visual C++, DirectX9 (things you would have to install on a windows

computer for the game to work) and Adobe Air.

Install winetricks

This is basically just a package/script that makes installing all the windows stuff really easy

sudo aptitude install winetricks

You will be asked to agree to the license agreement for some microsoft fonts

Go ahead and agree

Then use winetricks to install the above mentioned programs

Accept the license agreements, and go with all the default settings when asked

winetricks d3dx9 vcrun2005 ie6 adobeair

Download and Install League of Legends

  1. Head to leagueoflegends.com, Download the installer someplace and double click on the icon
    it should automatically run via Wine.

  2. After it’s finished downloading all the files, accept the license agreements and choose full install

  3. When the installation completes uncheck the box to start the game and hit finish (we don’t want the
    game to run yet)

  4. Now open the wine configuration program. Applications -> Wine -> Configure Wine

  5. Under the applications tab, change the Windows version to Windows 2000

  6. Now go to the libraries tab, add a new override for the mmdevapi library.

  7. Select the new override, hit edit, and then set the load order to disable.

  8. Hit ok and the game should be ready to run.

The first time league of legends is run, it will update itself. Once it finishes downloading and

installing the updates you have to click on the invisible (don’t know how to fix that one) ok button
on the bottom right corner of the update window. It will bring up one final license agreement and
the game should be fully playable.

Yeah, well, it looks fine, everything should be the same, except for the apt-get part. So instead of ‘apt-get build-dep wine’ you should run:

zypper in -D wine

as root.

You could eventually open a bug report on bugzilla.novell.com and submit the information. Markus Meissner (one of openSUSE contributors and member of openSUSE Security Team) is one of the persons that can make it happen, as he’s one of the wine developers.

I’ll send him a ping regarding this thread :slight_smile:

You also try to use wine from the development repository:

http://download.opensuse.org/repositories/Emulators:/Wine/openSUSE_11.4/

Hi again,

I’ve had a small talk with Marcus about that patch, and it’s more of a simple hack than a real patch itself and might bring aditional problems for other supported games. It’s really something you should use only to play that game.

Of course this doesn’t answer the original question, so I would just follow the the instructions here[1] and rebuild it with the patch.

Before going into building the software you should do the following (required dependencies to build wine):

 zypper in audiofile cups-devel freeglut-devel libpng-devel libxslt-devel openldap2-devel prelink libgphoto2 libxml2-devel pkgconfig libjpeg-devel bison flex ncurses-devel openssl-devel gnutls-devel liblcms-devel freetype2-devel update-desktop-files capi4linux alsa-devel fontconfig-devel desktop-file-utils giflib-devel hal-devel xorg-x11-devel Mesa-devel jack-devel libtiff-devel valgrind-devel libgphoto2-devel libgsm-devel libv4l-devel openal-soft-devel 

[1] - WineHQ - League of Legends 1.0.0.x

This is the only game that keeps me from removing windows forever from my pc :frowning:
I tried playing it with compiled wine but the performance was just awful.

@ketheriel
Is there a chance that future wine versions will include the stuff needed to play LoL?
Shame that there is no native client for this… I heard they were making client for mac, not sure what happened with that.

The support for that game is silver… which is bad… I can’t really say about the future, but that patch is just the very own tip of a huge iceberg… someone needs to work it out… I have no clue.
The only games I play are based on Emulators from 80’s/90’s arcade machines and Genesis/SNES RPG’s. Besides that Neverwinter Nights, but it has a native linux client.

When i still ran Ubuntu I played LoL via wine. It really wasn’t that horrible. You couldn’t get a decent FPS with to much turned on, but with moderate settings you could play the game fine. The biggest issue folks had was the inability to use the Store, which allows you to purchase runes and new champions as you gain points from playing.

I have been trying to find another Dota style game outside of LoL & HoN. HoN has a native linux client, but I just can’t get into it. I am actually shocked there isn’t something open source or web based utilizing this game style.

I need to learn how to program =P

I have a problem with this tutorial. When i try to install adobeair with winetricks I get the following message → Executing w_do_call adobeair Executing load_adobeair Executing mkdir -p /home/ - Pastebin.com

…and this error screen:

http://img137.imageshack.us/img137/6563/crashqo.jpg](http://img137.imageshack.us/i/crashqo.jpg/)

If I try to start the game:

crismon@linux-ve8c:~/Scaricati> env WINEPREFIX="/home/crismon/.wine" wine C:\\windows\\command\\start.exe /Unix /home/crismon/.wine/dosdevices/c:/users/Public/Desktop/Play\ League\ of\ Legends.lnk
fixme:exec:SHELL_execute flags ignored: 0x00000100
fixme:exec:SHELL_execute flags ignored: 0x00004100
crismon@linux-ve8c:~/Scaricati> (  ERROR)[13:14:38.312] RADS::Common::RegistryHelp::RegKeyValueString::RegKeyValueString: Failed to find registry value "ProgramW6432Dir" (2).
wine: cannot find L"C:\\windows\\system32\\BugSplatHD.exe"
err:ntdll:RtlpWaitForCriticalSection section 0x5439e8 "?" wait timed out in thread 0084, blocked by 0083, retrying (60 sec)
err:ntdll:RtlpWaitForCriticalSection section 0x5439e8 "?" wait timed out in thread 0084, blocked by 0083, retrying (60 sec)

and the game freezes on this screen:

http://img543.imageshack.us/img543/4944/lolqs.jpg](http://img543.imageshack.us/i/lolqs.jpg/)

I try to click on the invisible button, but perhaps the box does not appear