当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 10 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : HOWTO: Warcraft III with wine
帖子发表于 : 2005-06-30 17:09 
头像

注册: 2005-03-26 9:38
帖子: 521
送出感谢: 0 次
接收感谢: 0 次
Hi,
I was considering getting a Cedega subscription, since they claim that Warcraft III works well, and then was reading around on the net and saw it mentioned that it actually works under wine just as well. So I thought I'd give it a shot first; it worked well for me, so I thought I'd share my procedure with other Ubuntu users. Here's what to do:
Add the wine repository to your sources list:
deb http://wine.sourceforge.net/apt/ binary/
either via Synaptic or just add the line to /etc/apt/sources.list

Refresh your package list:
sudo apt-get update (or click update in Synaptic)

Install winetools (this will install wine also):
sudo apt-get install winetools
or in synaptic search for winetools and install

In a terminal, run 'winetools', it should give you a message about wine not having been configured yet, if it doesn't then you probably have a .wine/ directory in your home folder and you might want to delete that to make sure you're starting from scratch here.
Click QK until you get to the "WineTools" screen. Select the Base setup and press ok. From the Base Setup, Create a fake windows drive; make sure to select the correct mount point for your cdrom drive (probably /media/cdrom0). Next install TrueType Font Arial. Finally, install DCOM98.

Exit winetools and open the wine config file that was created in a text editor (eg nano .wine/config). Look
for '[Version]' and under that where it says:
"Windows" = "win98"
change it to:
"Windows" = "winxp"
then save the file and exit.

Now it is time to install Warcraft. Put your cd in the drive and type:
wine /media/cdrom0/install.exe
(asssuming that's where your cdrom is mounted)
install as you usually would (I changed the path to C:\Games\Warcraft III, but that's just a personal preference). Exit the installer when you are finished.

Unfortunately wine will not play the movies (though apparently you can watch them in xine or something) so it's best to move them so the game can not find them:
cd .wine/fake_windows/Games/Warcraft\ III/
mv Movies/ Moviez/

Then you can start warcraft with:

wine "Warcraft III.exe" -opengl
Note: after upgrading to 1.18 warcraft would not run until I turn on '"HardwareAcceleration" = "Emulation"' in the [dsound] section of my wine config file; there was an error and message telling me to do so in my terminal when it failed to run.

Let me know if any of this is unclear, I hope it helps.

Bjorn


页首
 用户资料  
 
2 楼 
 文章标题 :
帖子发表于 : 2005-06-30 20:40 
头像

注册: 2005-04-08 14:54
帖子: 310
送出感谢: 0 次
接收感谢: 0 次
我来。


页首
 用户资料  
 
3 楼 
 文章标题 :
帖子发表于 : 2005-06-30 20:47 
头像

注册: 2005-04-08 14:54
帖子: 310
送出感谢: 0 次
接收感谢: 0 次
Hi,
我原打算买个Cedega,因为他们公司说Warcraft III在上面运行得很好,于是我就在网上看资料,发现有人提到W3在wine上面同样也能运行。我试了一下,还不错。我想我的操作过程也许能帮到其它Ubuntu用户。下面是具体过程:
在源里加上wine库:
deb http://wine.sourceforge.net/apt/ binary/
可以通过Synaptic或是在/etc/apt/sources.list里加上上面这行。

刷新一下:
sudo apt-get update (或是在Synaptic里点“刷新”)

安装winetools(会同时安装wine):
sudo apt-get install winetools
也可以用synaptic。

在终端里运行“winetools”。程序会告诉你“wine还没配置好”,如果你的家目录里已经有一个“.wine/”,你应当把它删掉,从头配置一下。
出现“WineTools”界面后点“OK”,选“Base setup”再次“ok”。从Base Setup里,建立一个“fake windows”盘,要保证为光驱选择正确的挂载点(一般是/media/cdrom0)。然后安装TrueType Font Arial,最后安装DCOM98。

退出winetools,编辑wine配置文件config(如:nano .wine/config)。
找到“[Version]”,把它下面的:
"Windows" = "win98"
改成:
"Windows" = "winxp"
存盘退出。

现在该装Warcraft了。把cd塞进去,键入:
wine /media/cdrom0/install.exe
(假定这是你cdrom的挂载点)
按常规安装游戏(我把目录改成了C:\Games\Warcraft III这不过是个人爱好)。

可惜wine不能放电影(虽然你可以用xine),所以最好是把它移到游戏找不到的地方:
cd .wine/fake_windows/Games/Warcraft\ III/
mv Movies/ Moviez/

然后就可以启动w3了:
wine "Warcraft III.exe" -opengl
注:升级到1.18后,warcraft必需在wine配置文件的“[dsound]”段用'"HardwareAcceleration"' = "Emulation"'打开硬件加速。

如果有什么看不明白的,可以找我,希望对大家有所帮助。

Bjorn


页首
 用户资料  
 
4 楼 
 文章标题 :
帖子发表于 : 2005-06-30 22:06 
头像

注册: 2005-04-10 16:54
帖子: 2625
地址: 温州大学
送出感谢: 0 次
接收感谢: 1
好东东,赞一个


_________________
我心无畏,源自于我心无知。
图片


页首
 用户资料  
 
5 楼 
 文章标题 :
帖子发表于 : 2005-07-18 14:36 
论坛管理员

注册: 2005-03-27 0:06
帖子: 10116
系统: Ubuntu 12.04
送出感谢: 7
接收感谢: 128
http://www.ubuntu.org.cn/support/docume ... r/warcraft


_________________
当净其意如虚空,远离妄想及诸取,令心所向皆无碍


页首
 用户资料  
 
6 楼 
 文章标题 :
帖子发表于 : 2005-07-18 16:45 
头像

注册: 2005-04-10 16:54
帖子: 2625
地址: 温州大学
送出感谢: 0 次
接收感谢: 1
Wine官方站点都有了For Ubuntu的包,为什么Ubuntu官方的源中还没有呢?


_________________
我心无畏,源自于我心无知。
图片


页首
 用户资料  
 
7 楼 
 文章标题 :
帖子发表于 : 2005-07-18 17:12 
论坛管理员

注册: 2005-03-27 0:06
帖子: 10116
系统: Ubuntu 12.04
送出感谢: 7
接收感谢: 128
$ apt-cache show wine
Package: wine
Version: 0.0.20050419-1~5.04ubp1
Priority: optional
Section: otherosfs
Maintainer: Ove Kaaven <ovek@arcticnet.no>
Depends: debconf (>= 1.2.0), libwine (= 0.0.20050419-1~5.04ubp1), xbase-clients (>= 4.0) | xcontrib
Suggests: wine-doc, wine-utils, msttcorefonts, binfmt-support
Conflicts: binfmt-support (<< 1.1.2)
Replaces: libwine (<< 0.0.20010216), wine-utils (<< 0.0.20050419)
Architecture: i386
Filename: dists/hoary-backports/universe/binary-i386/wine_0.0.20050419-1~5.04ubp1_i386.deb
Size: 1392856
MD5sum: 38cb60e045d1349972e7235972b765e0
Description: Windows Emulator (Binary Emulator)
This is an ALPHA release of Wine, the MS-Windows emulator. This is
still a developers release and many applications may still not work.
.
This package consists of the emulator program for running windows executables.
.
Wine is often updated.
installed-size: 2917

Package: wine
Priority: optional
Section: universe/otherosfs
Installed-Size: 2596
Maintainer: Ove Kaaven <ovek@arcticnet.no>
Architecture: i386
Version: 0.0.20050310-1.1
Replaces: libwine (<< 0.0.20010216)
Depends: debconf (>= 1.2.0), libwine (= 0.0.20050310-1.1), xbase-clients (>= 4.0) | xcontrib
Suggests: wine-doc, wine-utils, msttcorefonts, binfmt-support
Conflicts: binfmt-support (<< 1.1.2)
Filename: pool/universe/w/wine/wine_0.0.20050310-1.1_i386.deb
Size: 1278602
MD5sum: a10ea904145934703305bfbbf3c782f0
Description: Windows Emulator (Binary Emulator)
This is an ALPHA release of Wine, the MS-Windows emulator. This is
still a developers release and many applications may still not work.
.
This package consists of the emulator program for running windows executables.
.
Wine is often updated.
Bugs: mailto:ubuntu-users@lists.ubuntu.com
Origin: Ubuntu

Package: wine
Version: 0.0.20050310-1~5.04ubp1
Priority: optional
Section: otherosfs
Maintainer: Scott Ritchie <scott@open-vote.org>
Suggests: msttcorefonts
Conflicts: binfmt-support (<< 1.1.2), winesetuptk, wine-doc, wine-utils, libwine-alsa, libwine-arts, libwine-capi, libwine-jack, libwine-nas, libwine-print, libwine-twain
Replaces: winesetuptk, wine-doc, wine-utils, libwine-alsa, libwine-arts, libwine-capi, libwine-jack, libwine-nas, libwine-print, libwine-twain, libwine, libwine-dev
Architecture: i386
Filename: dists/hoary-backports/main/binary-i386/wine_0.0.20050310-1~5.04ubp1_i386.deb
Size: 14296370
MD5sum: ecb4a04cad14f76dcda721db281d3dd4
Description: Microsoft Windows Compatibility Layer (Binary Emulator and Library) While Wine is usually thought of as a Microsoft Windows emulator, the Wine
developers would prefer that users thought of Wine as a Windows compatibility
layer for Linux. Wine does not require MS Windows, but it can use native system dll files in place of its own if they are available.
.
This package includes a program loader, which allows unmodified Windows
binaries to run under compatible hardware. This package also includes the
library that implements the Wine project's free version of the Windows API,
allowing successful running of programs ported directly from Windows.
installed-size: 53029

ubuntu有啊.


_________________
当净其意如虚空,远离妄想及诸取,令心所向皆无碍


页首
 用户资料  
 
8 楼 
 文章标题 :
帖子发表于 : 2005-07-18 20:01 
头像

注册: 2005-04-10 16:54
帖子: 2625
地址: 温州大学
送出感谢: 0 次
接收感谢: 1
我说的是最新的wine_0.0.20050628版,我在本站看到的是http://archive.ubuntu.org.cn/ubuntu/pool/universe/w/wine/wine_0.0.20050628.orig.tar.gz,这是原始包!但即然for Ubuntu的deb包都已经在官方出现,为什么在Ubuntu站点中却没有呢,而只有它的原始包。


_________________
我心无畏,源自于我心无知。
图片


页首
 用户资料  
 
9 楼 
 文章标题 :
帖子发表于 : 2005-07-18 20:50 
论坛管理员

注册: 2005-03-27 0:06
帖子: 10116
系统: Ubuntu 12.04
送出感谢: 7
接收感谢: 128
真没有。估计没有做吧,奇怪了。


_________________
当净其意如虚空,远离妄想及诸取,令心所向皆无碍


页首
 用户资料  
 
10 楼 
 文章标题 :
帖子发表于 : 2005-07-19 12:50 
头像

注册: 2005-04-10 16:54
帖子: 2625
地址: 温州大学
送出感谢: 0 次
接收感谢: 1
难道又是什么版权问题?


_________________
我心无畏,源自于我心无知。
图片


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 10 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 3 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译