North America - English

League of Legends Community

League of Legends Community > League of Legends > Help & Support
Configuring LoL in WINE?

First Riot Post
 
Comment below rating threshold, click here to show it.
DrCarter ?? Member
07-28-2010

Quote:
Originally Posted by TokPhobia View Post
Fellow Linux users, I ask for your help.

I've managed to get my chat to work after a day of tinkering with native Windows DLLs, .ini files and other stuff. After completely messing up my WINE, I reinstalled it, copied over LoL and the registry files, and to my complete surprise the chat now works.

The problem with my completely "scientific" method is that I've had trouble replicating the fix. At the moment, what seems to be causing the chat to work are my registry settings, which you can find here:

http://www.mediafire.com/?rxxyg72t3ziejd0

I'd like to ask you guys to replace your registry files (system.reg, user.reg and userdef.reg, found in ~/.wine/) with the my files, join a tutorial/practice game, try chatting and then let me know whether it works for you as well or not. Worse case scenario, I'll just create a 1.6 GB archive of my whole .wine directory and put that as a torrent, however I'd like to single out what's causing the chat to work.

Very important If you apply this fix, you'd be replacing your Registry with mine, which means that if you're using WINE for other software as well, it might stop working. Before replacing those three files, make sure you backup yours. Backing up your entire .wine folder might be even safer, although possibly overkill.
IT WORKS!!! Chat works flawlessly now on my machine. Great work man!

I am attaching a copy of my old registry files, so maybe you can compare the new to the old? This fix pretty much means all *gameplay* issues in the game are now solved (leaving just the store to be fixed). I'll try to compare both of the files too but I'm sure you'll better know what's up than myself.

http://www.mediafire.com/?82j7c967hxq8law

PS: I love you.

 
Comment below rating threshold, click here to show it.
Bundeswehr ?? Junior Member
This user has accepted the summoners code, click for more information
07-29-2010

First off TY DR CARTER, but after comparing your working registry to my broken one I found out what you must have done to get it to work in the first place and also developed a registry fix to patch on my current broken one to make it work as well. First off, this is my guess at what you did different when you had luck getting it to work

Code:
winetricks win2k
yes, thats right, you simply set it to windows 2000! something that simple.. if you want to get your current installation working you still have to set it to windows 2000 mode using either winetricks win2k or you can use winecfg and set it to windows 2000 mode there, they both do the same thing and thats change wine to win2k mode, but this is the missing link, paste this into a .reg file and regedit it to apply it or manually browse there and do it yourself
Code:
REGEDIT4

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion]
"CurrentVersion"="5.0"
let me know how things turn out for everyone with this! I found the best way to test was just going into a tutorial and testing it there.
P.S. I fixed my video resolution issue by emulating a 1920x1080 desktop

 
Comment below rating threshold, click here to show it.
Featherhat ?? Senior Member
This user has accepted the summoners code, click for more information
07-30-2010

Really? Win2k? LOL!

Who'd have thought.

 
Comment below rating threshold, click here to show it.
Panet it Comedet ?? Senior Member
This user has accepted the summoners code, click for more information
07-31-2010

I guees the torrent with the full setup would still be nice.

 
Comment below rating threshold, click here to show it.
exrcpn ?? Junior Member
08-01-2010

I don't think Riot would allow that. Still, a full tutorial on how to set it up would be awesome. Starting with my post to all the work that you guys have put into it. Thanks, by the way. This is a further example on how strong our community is.

 
Comment below rating threshold, click here to show it.
DrCarter ?? Member
08-01-2010

This is what I have so far stored in a txt file. Granted, it's edited slightly for Ubuntu users who want to have multiple versions of WINE (keep the repository one for other functions). Here we go...

Edit: And I second what exrcpn said:

Quote:
Thanks, by the way. This is a further example on how strong our community is.
Kudos to all the help people have given and contributed. Linux will prevail!

Code:
tar xvf wine-1.2-rc7.tar.bz2
cd wine-1.2-rc7

apt-get build-dep wine

wget http://bugs2.winehq.org/attachment.cgi?id=25672 -O up1.patch
wget http://bugs2.winehq.org/attachment.cgi?id=27672 -O up2.patch

patch -p1 < up1.patch
patch -p1 < up2.patch

#http://jeffhoogland.blogspot.com/2009/12/howto-install-multiple-wine-versions-on.html ->

./configure --prefix=/usr/local/bin/wine-1.2-rc7 && make depend && make

sudo make install

sudo ln -s /usr/local/bin/wine-1.2-rc7/bin/wine /usr/bin/wine-1.2-rc7
sudo ln -s /usr/local/bin/wine-1.2-rc7/bin/wine /usr/local/bin/wine-1.2-rc7/bin/wine-1.2-rc7

#Open your favorite text editor as super user (example: gksudo gedit)
#Enter the following as the only line: /usr/local/bin/wine-1.2-rc7/bin/winecfg
#Save the file to /usr/bin/winecfg-1.2-rc7
#Make the file executable with the following command: sudo chmod +x /usr/bin/winecfg-1.2-rc7
#Repeat the above four steps only replace winecfg with regedit


export WINEPREFIX=$HOME/.wine-1.2-rc7

WINEPREFIX=$HOME/.wine-1.2-rc7 winecfg-1.2-rc7

wget http://www.kegel.com/wine/winetricks
sudo chmod +x ~/wine-1.2-rc7 winetricks

WINEPREFIX=$HOME/.wine-1.2-rc7 ./winetricks gecko

WINEPREFIX=$HOME/.wine-1.2-rc7 ./winetricks d3dx9
WINEPREFIX=$HOME/.wine-1.2-rc7 ./winetricks vcrun2005
WINEPREFIX=$HOME/.wine-1.2-rc7 ./winetricks adobeair
WINEPREFIX=$HOME/.wine-1.2-rc7 ./winetricks ie6
WINEPREFIX=$HOME/.wine-1.2-rc7 ./winetricks win2k

WINEPREFIX=$HOME/.wine-1.2-rc7 ./winetricks wininet

#Although not a real fix, a temporary solution for the ugly shadows under champion names is to disable them. Since there's no GUI option to do this, you need to edit one of the configuration .ini files. 

#Open "Game.cfg" (found in "/League of Legends/game/DATA/CFG/defaults/") and edit in each of the sections [FriendlyNameTag], [EnemyNameTag] and [PlayerNameTag] the Glow key to 0 (by default it is 2). That will disable the shadows under the champion/player names.

#To fix this, once again open "Game.cfg" (found in "/League of Legends/game/DATA/CFG/defaults/"), find [MouseOverEffect] and set "Style" to 0 (it should be 2 now). 

#This will disable all the glows. A style of 1 will still show a glow but won't animate it. FPS however still drop, even when not animated. 

WINEPREFIX=$HOME/.wine-1.2-rc7 wine-1.2-rc7 "C:/Program Files/League of Legends/lol.launcher.exe"

 
Comment below rating threshold, click here to show it.
DrCarter ?? Member
08-01-2010

Quote:
Originally Posted by Panet it Comedet View Post
I guess the torrent with the full setup would still be nice.
I will try to put up a torrent of my installation in a ~10 days when I return home. I don't think Riot would have a problem with this because they put out unofficial standalones and even one mod puts out his own modified unofficial standalone. The game itself is free after all.

However, in the meantime, and/or people who want to use the store function, (I doubt it would be hard to find a version of Windows XP or 7 online) merely install Windows in Virtualbox and use that as your little League of Legends updater and/or store-shopping client. (PS: Unfortunately League of Legends gameplay does not work in Virtualbox, as they do not have Shader 2.0 support in Directx so far, so it is a bit of a doozie in terms of space, but oh well)

 
Comment below rating threshold, click here to show it.
DrCarter ?? Member
08-01-2010

By the way (looks like I'm spamming today!), does experience either of these graphical errors?

1. When you disconnect and reconnect, units from the point at which you disconnected from remain where they were when you disconnected, you just can't target them and they don't have healthbars. However they do show up on the minimap and it "looks" like the "ghost" allied units that were present upon disconnecting reveal the fog of war.

2. Which brings me to my second error: fog of war. For me, there is a certain lighter terrain associated with the lack of fog of war, etc. Now, while I still of course have the same fog of war as everyone else, I can see units I should and can't see units I shouldn't, the graphic for fog of war behaves very strangely. If I stand somewhere, with no units around me, there is a line straight up on my screen that is shown as the "lighter, non-fog of war terrain". To the left and right, and below my champion, are all shaded as if they are in the fog of war (but I of course can see units around me). This is the same with any allied units, they shoot up beams of lighted terrain "north" of where their location is, but not any other direction. The minimap has the same error, I just get streaks of lighter terrain higher up on the minimap than the units. It isn't game-breaking, just a bit weird looking. If you have this error, you'll know what I'm talking about. If not, I can try to post a screenshot.

 
Comment below rating threshold, click here to show it.
hohums hohums's Avatar ?? Software Engineer
This user has accepted the summoners code, click for more information
8 of 10 Riot Posts
08-01-2010

Quote:
Originally Posted by DrCarter View Post
I will try to put up a torrent of my installation in a ~10 days when I return home. I don't think Riot would have a problem with this because they put out unofficial standalones and even one mod puts out his own modified unofficial standalone. The game itself is free after all.
We don't have a problem with people distributing however they wish. We just warn that torrents may potentially contain key-loggers to steal your account so make sure you getting the files some one you trust. Never download any torrent that promise increased IP. Those contain keyloggers.

Anyways great work on figuring this out!

 
Comment below rating threshold, click here to show it.
hohums hohums's Avatar ?? Software Engineer
This user has accepted the summoners code, click for more information
9 of 10 Riot Posts
08-01-2010

Quote:
Originally Posted by DrCarter View Post
By the way (looks like I'm spamming today!), does experience either of these graphical errors?

1. When you disconnect and reconnect, units from the point at which you disconnected from remain where they were when you disconnected, you just can't target them and they don't have healthbars. However they do show up on the minimap and it "looks" like the "ghost" allied units that were present upon disconnecting reveal the fog of war.
This is a bug that occurs sometimes in the windows version as well.

Quote:
Originally Posted by DrCarter View Post
2. Which brings me to my second error: fog of war. For me, there is a certain lighter terrain associated with the lack of fog of war, etc. Now, while I still of course have the same fog of war as everyone else, I can see units I should and can't see units I shouldn't, the graphic for fog of war behaves very strangely. If I stand somewhere, with no units around me, there is a line straight up on my screen that is shown as the "lighter, non-fog of war terrain". To the left and right, and below my champion, are all shaded as if they are in the fog of war (but I of course can see units around me). This is the same with any allied units, they shoot up beams of lighted terrain "north" of where their location is, but not any other direction. The minimap has the same error, I just get streaks of lighter terrain higher up on the minimap than the units. It isn't game-breaking, just a bit weird looking. If you have this error, you'll know what I'm talking about. If not, I can try to post a screenshot.
I can't promise that we'll fix this but I'd still love to see a screenshot.