ubutnu14.04 教你如何play on linux 下安装炉石传说Hearthstone

Wine、Cedega、CrossOver 等配置
回复
头像
Archer123
帖子: 146
注册时间: 2008-05-18 10:16

ubutnu14.04 教你如何play on linux 下安装炉石传说Hearthstone

#1

帖子 Archer123 » 2014-08-13 10:57

http://wenku.baidu.com/link?url=1OcSNqY ... 6I2PPxQuky

这是基本参考贴

安装好wine1.7和 playonlinux 按照教程和步骤来的话很顺利就打开了playonlinux 建议先安装wine1.7 我是按照
http://www.linuxidc.com/Linux/2014-08/105091.htm
添加PPA的方式安装好的,直接只用wine1.7 也弄过炉石 很多问题。

然后我才找到了这个 http://www.playonlinux.com/en/download.html 根据官方帮助安装
Ubuntu
Deb files:

PlayOnLinux: PlayOnLinux_4.2.4.deb

Ubuntu Precise (and superior) users : You must install the package wine:i386 to get PlayOnLinux working
For the Trusty version

Type the following commands:
wget -q "http://deb.playonlinux.com/public.gpg" -O- | sudo apt-key add -
sudo wget http://deb.playonlinux.com/playonlinux_trusty.list -O /etc/apt/sources.list.d/playonlinux.list
sudo apt-get update
sudo apt-get install playonlinux

然后如下

1 先工具 --》管理wine版本 中分别安装X86 和 X64平台下得最新wine
如图 分别下载安装好
工具 wine版本.png
2 配置如图
- 和 default 是默认安装直接生成得 app32 和app64 是配置中新建的 分别选的是不同得32位和64位 同时分别是上步骤新装得最新wine32 和wine64版本
配置.png
2 然后根据教程 在app32 下安装炉石官网下载好的Hearthstone-Beta-Setup-zhCN.exe

乱码详见教程参考 我弄了但好像还是乱码 不过游戏内不是就可以了 最后到该步骤 安装炉石
安装炉石.png


3再根据教程添加快捷方式
如图
添加快捷方式后.png
4 点排除故障运行炉石
如图 看到其实和直接命令行运行炉石 wine Hearthstone.exe 中的运行日志是一样得
点排除故障运行.png


可见playonlinux 还是很方便和强大得 内置得install中也可直接安装一些常见win下应用和游戏。
头像
Archer123
帖子: 146
注册时间: 2008-05-18 10:16

Re: ubutnu14.04 教你如何play on linux 下安装炉石传说Hearthstone

#2

帖子 Archer123 » 2014-08-13 16:23

sorry 空惊喜一场 这样的安装 最后进入游戏 会一直提示 设备通信断开连接 要求你重新什么什么 无法进行游戏得

无奈 查看日志 google 没弄好。。。

然后我看了下playonlinux中 安装里搜索hearthstone 发现有自带得支持安装
尝试下吧 安装过程中 有一步 提示安装wine1.7.15 那就安装吧 应该是32位的下的。
然后 再下一步 又提示安装 flashplayer 那继续按指示自动下载安装吧。
然后 就是选择你需要安装hearthstone 哪个语言版本的 有几个选项还是乱码 试了几个 发现倒数第二个是zhtw 可惜全试了没有zhcn的。

后来想了下。 还是安装--》安装未在列表中的程序 去安装自己下好的Hearthstone-Beta-Setup-zhCN.exe 吧 剩下得配置参照上边得
先工具--》管理wine版本里 安装个x86的wine1.7.15 然后配置立 新建立个虚拟磁盘取名就叫hearthstone 然后配置该虚拟磁盘 安装内容 中找到 Flash Player 安装之。

最后 就是 安装未在列表中的程序 去安装自己下好的Hearthstone-Beta-Setup-zhCN.exe吧 。然后再一步一步 安装战网 安装炉石主程序。

最后 终于成功进入了游戏 。

可惜 声卡 alsa应该是声卡在报错。如图
进入游戏.png


google该错误 找到了一些解决方案
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred

This problem (if it occurs) happens to kick in when you try to switch to windowed mode or change video resolutions. In my case on Manjaro the solution was to install the ‘pulseaudio-alsa’ package and reboot my system. (Note: This issue is probably specific to arch and gentoo (and derivatives, like manjaro and funtoo). For gentoo users who use PulseAudio, if you run into this issue, make sure PA is built with USE="alsa" and if not rebuild it with the alsa useflag enabled - and a word to the wise: only set USE="-alsa" for those programs that support pulseaudio and have an "alsa" useflag - setting USE="-alsa" globally can cause problems, like no sound in some apps).

Set the correct video memory size in the Registry.

Wine doesn’t usually input your video memory size correctly. To take advantage of your video memory you can set the amount yourself with winetricks.

1gb = 1024 (change to your video memory size).

Note: winetricks only suports video memory sizes of 512M, 1024M (1G), and 2048M (2G). If your card doesn't have one of those memory sizes (i.e. 128M, 256M, 768M, 1536M/1.5G, or >2048M/2G), you'll have to set this by hand. See http://wiki.winehq.org/UsefulRegistryKeys for how to do this.

$ winetricks videomemorysize=1024


于是跑到
~/.PlayOnLinux/wineprefix/Hearthstone/drive_c/Program Files/Hearthstone$ winetricks videomemorysize=1024
------------------------------------------------------
You are using a 64-bit WINEPREFIX. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
Executing w_do_call videomemorysize=1024
Executing load_videomemorysize 1024
Setting video memory size to 1024
Executing winetricks_early_wine regedit C:\windows\Temp\_videomemorysize=1024\set-video.reg
You opted in, so reporting 'videomemorysize=1024 ' to the winetricks maintainer so he knows which winetricks verbs get used and which don't. Use --optout to disable future reports.


执行后 再用调试模式开启炉石 结果还是报错 声音爆音得厉害。。。

google全球 也没个好得解决方案。。

继续思考 怒删除该虚拟磁盘 继续想了下 这样弄下 一会儿看看效果
头像
Archer123
帖子: 146
注册时间: 2008-05-18 10:16

Re: ubutnu14.04 教你如何play on linux 下安装炉石传说Hearthstone

#3

帖子 Archer123 » 2014-08-13 18:30

这次这样 还是用最新的32位 下的 1.7.15的wine

新建虚拟磁盘Hearthstone 用32位的 wine用的1.7.15

如图
wine1.7.15配置虚拟磁盘.png
然后在这里 安装内容里找到Flash Player 安装之。

然后获取字体文件 simsun.ttc
从现有的 Windows 系统(目录c:/windows/fonts/)或网上下载获得字体文件 simsun.ttc,将这个文件复制到你刚刚新建的虚拟磁盘驱动器下的 drive_c/windows/Fonts/ 目录下。

为正确指向该目录,可以从 PlayOnLinux 的 "Configure" 进入,选定正确的驱动器,然后选择"Miscellaneous"页,如下图,点击"Open virtual drive's directory" 即可打开相应的驱动器根目录,再按"drive_c/windows/Fonts/"这个路径依次找到该文件夹。
然后配置里注册表编辑器修改注册表

[HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows NT\\CurrentVersion\\FontSubstitutes]
## 修改:
MS Shell Dlg = SimSun
MS Shell Dlg 2 = SimSun
这样安装过程里就都是中文界面了。


然后去 安装里 安装不在列表的程序 安装本地下载的Hearthstone-Beta-Setup-zhCN.exe

最后比较完美 不报声卡错误了
游戏中.png
toono
帖子: 2
注册时间: 2014-11-13 15:14
系统: Ubuntu14.04

Re: ubutnu14.04 教你如何play on linux 下安装炉石传说Hearthstone

#4

帖子 toono » 2014-11-14 3:39

好棒! :em11
回复