然后,我们再执行一下
Code: Select all
WINEPREFIX=~/LOL/.wine WINEARCH=win32 $WINEVERPATH/bin/winecfg
确保此时Windows版本是Windows xp
三、安装LOL
好,接下来安装红警2,
Code: Select all
在WINEVERPATH/bin/目录下打开终端
wget http://“红警2下载链接地址”
WINEPREFIX=~/红警2/.wine $WINEVERPATH/bin/wine 17173_LOL_V3.0.7.9_FULL.exe
四、运行游戏
运行游戏时,切换到游戏目录下,执行
Code: Select all
WINEPREFIX=~/红警2/.wine $WINEVERPATH/bin/wine ra2.exe
我们可以自建一个desktop文件,这里假设您wine是安装到/opt/红警2-wine,
Code: Select all
[Desktop Entry]
Name=League of Legends
Name[zh_CN]=红色警戒2
Exec=WINEVERPATH="$HOME/tools/红警2-wine-1.4.1" PATH="$WINEVERPATH/bin:$PATH" WINESERVER="$WINEVERPATH/bin/wineserver" WINELOADER="$WINEVERPATH/bin/wine" WINEDLLPATH="$WINEVERPATH/lib/wine/ra2" LD_LIBRARY_PATH="$WINEVERPATH/lib:$LD_LIBRARY_PATH" WINEPREFIX=$HOME/.红警2-wine $WINEVERPATH/bin/wine ~/红警2/ra2.exe
Type=Application
ok,完工。