Posted by : 紹斌 2012年5月24日 星期四

1.Install Proprietary drivers for your graphics card
2.Install wine
Download wine source
http://sourceforge.net/projects/wine/files/Source/

Download wine 1.5.4 D3 fix path 
wget http://source.winehq.org/patches/data/86102
wget http://source.winehq.org/patches/data/86103
wget http://source.winehq.org/patches/data/86104

wget http://source.winehq.org/patches/data/86105
Download wine 1.5.4 D3D error on game video setting change/restart path
http://bugs.winehq.org/attachment.cgi?id=39565

Install wine
cd wine-1.5.4
patch -p1 < ../86102
patch -p1 < ../86103
patch -p1 < ../86104

patch -p1 < ../86105
patch -p1 < ../reset.patch
./tools/make_requests


./configure
Download wine dependent program like: flex and bison ...... install it
http://prdownloads.sourceforge.net/flex/flex-2.5.35.tar.gz?download

......

make -j 4
make install
 


3.Install winetricks

  • rm -f winetricks
  • wget http://winetricks.org/winetricks
  • sudo cp winetricks /usr/bin
  • sudo chmod +x /usr/bin/winetricks

4.Download  msxml3.msi
  • http://download.cnet.com/Microsoft-XML-Parser-MSXML-3-0-Service-Pack-7-SP7/3000-7241_4-10731613.html
  • cp msxml3.msi /root/.cache/winetricks/msxml3
  • winetricks vcrun2008 (or winetricks vcrun2010)

5.install D3
sudo umount /dev/sr0
sudo mkdir /media/Diablo3
sudo mount /dev/sr0 /media/Diablo3 -o unhide,unhide,uid=$(id -g)
wine /media/Diablo3/Diablo\ III\ Setup.exe -launch

6,Play D3
wine Diablo\ III.exe -w -launch -auroraaddress
the -w parameter is not necessary and you can avoid it. It loads your game into free-transform window mode instead of fullscreen. If you want fullscreen gameplay remove this command ( -w ).
or 
wine explorer /desktop=Diablo,1820x1024 ./Diablo\ III.exe -launch

If you are having issues logging in, try the following magic:
echo 0|sudo tee /proc/sys/kernel/yama/ptrace_scope

other note:
http://appdb.winehq.org/objectManager.php?sClass=version&iId=25953




Translate

關於我

我的相片
台北市, Taiwan
主要工作領域於Linux、IBM System i/ P 的系統管理維護, (認證:CISA、RHCE)

Donate Check_AS400

OR - Click Sponsored advertising

Labels

ShaoPin網誌. 技術提供:Blogger.

- Copyright © Shao Pin Cheng (Bruce) - Powered by Blogger