243750496
2013-05-29 16:37 deepin
its all there, everything installed and in proper places.
yesterday after digging little deeper (like config.log duh!) i found error about missing glAccum symbol in libosmesa test. i checked libosmesa.so for exported symbol and surely it is not there. some more reading made me think that libosmesa used to contain glAccum but later it was split from libGL or something like that. dont remember any more what made me think that.. so i did nasty hack in configure script to make it compile.
replaced:用
Code:
LIBS="-lOSMesa $X_LIBS $X_PRE_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
with:这个替换
Code:
LIBS="-lOSMesa -lGLU -lGL $X_LIBS $X_PRE_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
before first instance of:在此之前
Code:
if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
inserted:插入
Code:
ac_cv_lib_soname_OSMesa=libOSMesa.so
no idea why script failed to pick up libOSMesa.so name, but it was a new error after linking with gl libs. after that project could be compiled. i am not sure this solution is correct either, someone who knows more about these things should verify.
为什么这样就行了
yesterday after digging little deeper (like config.log duh!) i found error about missing glAccum symbol in libosmesa test. i checked libosmesa.so for exported symbol and surely it is not there. some more reading made me think that libosmesa used to contain glAccum but later it was split from libGL or something like that. dont remember any more what made me think that.. so i did nasty hack in configure script to make it compile.
replaced:用
Code:
LIBS="-lOSMesa $X_LIBS $X_PRE_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
with:这个替换
Code:
LIBS="-lOSMesa -lGLU -lGL $X_LIBS $X_PRE_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
before first instance of:在此之前
Code:
if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
inserted:插入
Code:
ac_cv_lib_soname_OSMesa=libOSMesa.so
no idea why script failed to pick up libOSMesa.so name, but it was a new error after linking with gl libs. after that project could be compiled. i am not sure this solution is correct either, someone who knows more about these things should verify.
为什么这样就行了
Reply Like 0 View the author
网络上随处都可以搜到wine美服LOL的教程,但腾讯运营的国服客户端跟美服原版相差比较大,按照美服的方式不能搞起国服LOL,由于宿舍文化,这几天我专注于wine一个国服LOL,对照winehq网站上的LOL相关的bug列表和美服的配置方法,试了各种patch,最后得到了满意的结果。
大家来看!!
OS: Fedora 19
Arch: x86
CPU: Intel(R) Core(TM)2 Duo CPU T5870 @2.00GHz
VideoCard: Nvidia GForce G105M
Memory: 4G
[color=#BF0000:23xr9fys]需要[/color:23xr9fys]:
[color=#BF0000:23xr9fys]打过补丁的wine、LOL国服完整安装包、winetricks、反TP补丁[/color:23xr9fys]
(在我以前的教程里,是需要打两个补丁的,LOL更新到3.0.9.x以后,使用打了第一个补丁的wine会经常出现“因为未知原因,无法登陆”的错误,而对于1.5.29之前的wine,若不打这第一个补丁,又肯定会崩溃,所以我更新了教程,使用最新的开发版wine。)
我使用的wine版本是1.6-rc2,这里需要加上补丁重新编译,补丁主要解决以下问题:
1、游戏中点击商店崩溃。
0001-HACK-Disallow-block-based-textures-with-sub-block-si-1.6-rc2.txt
下面详细讲一下操作过程。
[color=#FF0000:23xr9fys]一、给wine打补丁,并编译[/color:23xr9fys]
首先咱们编译wine,(如果您觉得编译太麻烦,可以直接用我编译好的wine,看帖子最底下,不过,自己编译的应该还是比较适合自己的系统)
[color=#FF0000:23xr9fys]对于64位的ubuntu系统,编译wine实在太麻烦,本人没用过ubuntu,不敢做过多讲解,有朋友在折腾后给出了详细的教程,见http://forum.ubuntu.org.cn/viewtopic.php?f=121&t=443064,感谢243750496朋友。[/color:23xr9fys]
先下载wine的源码,解压出来
[color=#FF0000:23xr9fys]二、配置wine环境[/color:23xr9fys]
接着,到http://winetricks.org/winetricks 下载最新的winetricks(如果网页打开的是winetricks的源代码,可以右键点击另存为),当然,发行版有提供也行啦,只不过发行版上提供的可能会比较老,下载一些DLL时会有404错误。
把下载的winetricks放到/usr/bin下,并加上可执行权限。
配置wine,这里我是定义另一个WINEPREFIX,以跟本机上原来的wine配置分开,
我们先执行
接着再来
然后,我们再执行一下
[color=#FF0000:23xr9fys]三、安装LOL[/color:23xr9fys]
好,接下来安装LOL,大家自行到官网去下载安装包,我用的是从17173上下的完整安装包:
[color=#FF0000:23xr9fys]四、应用反TP补丁(重要!)[/color:23xr9fys]
安装完成以后,找到游戏目录下的Game/League of Legends.exe,备份好后用反TP补丁替换,反TP补丁主要是解决选好英雄后进入游戏时崩溃,反TP补丁见
帖子下方。
[color=#FF0000:23xr9fys]注意,每次更新LOL后都要检查一下League of Legends.exe文件有没有变化,如果没变,咱就继续L吧,如果有,去看一下反TP补丁有没有更新!![/color:23xr9fys]
[color=#FF0000:23xr9fys]五、运行游戏[/color:23xr9fys]
运行游戏时,切换到游戏目录下的TCLS/目录,执行
我们可以自建一个desktop文件,这里假设您wine是安装到/opt/lol-wine,
lol.png
然后,双击桌面的英雄联盟就可以开始游戏啦。
好,接下来就好好享受LOL之旅吧!!
深度截图20130320131126.png
深度截图20130320131249.png
深度截图20130320131336.png
深度截图20130320131355.png
深度截图20130320131423.png
深度截图20130320131636.png
[color=#FF0000:23xr9fys]反tp补丁下载:[/color:23xr9fys]
3.0.9.4版本:League of Legends.exe(版本号3.8.1.228)
[color=#FF0000:23xr9fys]预编译lol-wine下载:[/color:23xr9fys]
有朋友反映说编译麻烦,我这里将我编译好的包发上来,分32位和64位,是分别在Fedora 19 x86和Gentoo amd64编译的,大家试着用一下吧,如果有问题,再发帖讨论。
lol-wine_32bit.tar.bz2
lol-wine_64bit.tar.bz2
如果您希望跟帖子里说的配置一样,根据自己的系统下相应的压缩包,解压到/opt/,
接下来,您就可以跳过上面的“第一步”,直接从“第二步、配置wine环境”开始了
2013年4月2日:
如果您使用的是Intel的核显,您需要安装libtxc_dxtn这个包,它在不同发行版的命名有些不同,在Ubuntu/Deepin应该是libtxc-dxtn-s2tc0。我用过的发行版比较少,大家可以先搜索一下这个包,用相应的命令安装。
2013年4月7日:
提高游戏fps的技巧(转自LOL论坛):
1、更改注册表
HKEY_CURRENT_USER>Software>Wine>Direct3D
没有的话就新建一个,然后新建几个"字符串值",DirectDrawRenderer、Multisampling、OffscreenRenderingMode、RenderTargetLockMode、UseGLSL,设定它们的值分别是gdi、disabled、fbo、disabled、disabled;根据自己的显卡情况,还可建一个“字符串值”VideoMemorySize,将它的值设为自己显存大小,像我就设为512
2、选完英雄进入游戏后,打开终端,用top找到League of Legends.exe这个进程的PID,假设为11732,然后,用taskset命令将它设为只用一个cpu核
相关链接: http://www.linuxdeepin.com/forum/24/14706?p=62277