Skip to content

使用Wineskin告别虚拟机

转自:https://www.peachis.me/fix-the-games-which-use-wineskin-on-ei-capitan/

现在WS9Wine最新版本已经是2.6;Wineskin已经是2.6.2

此前苹果发布了 OS X 的新版本 EI Capitan,系统有更新当然是立马进行升级享受新鲜事物带来的快感了,但前几天想玩耍一局 Pro Evolution Soccer(实况足球)的时候,发现我深爱的游戏再也启动不起来了,和同样爱玩儿实况的同事交流之后发现情况大致有如下两种:

  1. 双击 .app 文件,程序是可以打开的,但是窗口始终无法显示(我的电脑);
  2. 双击 .app 文件,程序无法打开,系统提示 X11 无法打开,截图如下(同事的):

无法在绿茵场上尽情驰骋,这种事显然不能忍,立马去 Wineskin 官网看了看,发现有一条关于 OS X EI Capitan 的新闻:

Wineskin does not currently work correctly on El Capitan. The issue is being looked into, but I have no ETA for a fix. I’ll get a fix out as soon as I can.

Some people have been able to upgrade to the latest version of XQuartz, and change their wrappers to use XQuartz and not WineskinX11 and have gotten wrappers to work, but this method has not worked for everyone.

Please add to the discussion here if you are helping find a solution.

又看到有一条新版本发布的新闻:

I’ve released an update for Wineskin… version 2.6.1.

I think I’ve fixed all the El Capitan bugs and it should work fine on 10.6 – 10.11 now.

*important point. This has to change how an engine is installed in a wrapper slightly. If you update a wrapper to 2.6.1 and it does not work right, please reinstall the engine in the wrapper. You can just use Change Engine and install the same one back in, but it will install it correctly for 2.6.1 and then things should work right. Newly made wrappers should have no issues.

这说明官方发布的最新的 2.6.1 版本已经解决了该问题,那么剩下的问题就简单多了,我们只需要将 Wineskin Wrapper 给替换成官方发布的最新版本即可。

解决办法

  1. 在应用程序中找到需要修复的游戏,右键选择 显示包内容
  2. 打开 Wineskin.app,选择 advance,记录下引擎版本号:
  3. 下载最新版本的 Wineskin Winery
  4. 打开 Wineskin Winery,添加一个新的 engine,版本号最好与之前记录的版本号一致:
  5. 更新 Wrapper Version 至最新版,只要在 2.6.1 以上即代表已经使用了官方修复 OS X EI Capitan 问题的 Wrapper
  6. 选择 Create New Blank Wrapper,填写游戏名称并选择 Create。如果有提示需要安装东西,都可以选择 Cancel
  7. 创建成功后,Wineskin Winery 会提示你 Wrapper 创建成功的位置,默认是在 ~/Applications/Wineskin 文件夹中;
  8. 找到上一步中创建成功的 Wrapper,将原游戏 .app 文件包内容中Content/Resources/driver_c 文件夹以及 Content/Resources/system.regContent/Resources/user.regContent/Resources/userdef.reg 这三个文件覆盖到新创建的 Wrapper 文件包内容中Content/Resources/ 文件夹中,它们分别相当于 Windows 系统中的 C 盘和注册表;
  9. 再打开我们新创建的 Wrapper 文件包内容中的 ‘Wineskin.app’,选择 advanced,然后选择程序的启动路径,即刚刚覆盖的 driver_c 文件夹中我们想要启动的 exe 程序:
  10. 退回到我们在第 7 步中生成新 Wineskin Wrapper 的目录,当然现在它已经是一个完整的游戏程序了,双击运行它,然后 enjoy it!

 

Published inDiary

Be First to Comment

Leave a Reply

Your email address will not be published. Required fields are marked *

http://next.sh/wp-content/smilies/icon_confused.gif 
http://next.sh/wp-content/smilies/icon_cool.gif 
http://next.sh/wp-content/smilies/icon_cry.gif 
http://next.sh/wp-content/smilies/icon_eek.gif 
http://next.sh/wp-content/smilies/icon_evil.gif 
http://next.sh/wp-content/smilies/icon_exclaim.gif 
http://next.sh/wp-content/smilies/icon_idea.gif 
http://next.sh/wp-content/smilies/icon_mad.gif 
http://next.sh/wp-content/smilies/icon_mrgreen.gif 
http://next.sh/wp-content/smilies/icon_neutral.gif 
http://next.sh/wp-content/smilies/icon_question.gif 
http://next.sh/wp-content/smilies/icon_razz.gif 
http://next.sh/wp-content/smilies/icon_redface.gif 
http://next.sh/wp-content/smilies/icon_rolleyes.gif 
http://next.sh/wp-content/smilies/icon_sad.gif 
http://next.sh/wp-content/smilies/icon_smile.gif 
http://next.sh/wp-content/smilies/icon_arrow.gif 
http://next.sh/wp-content/smilies/icon_biggrin.gif 
http://next.sh/wp-content/smilies/icon_surprised.gif 
http://next.sh/wp-content/smilies/icon_twisted.gif 
http://next.sh/wp-content/smilies/10.gif 
http://next.sh/wp-content/smilies/102.gif 
http://next.sh/wp-content/smilies/103.gif 
http://next.sh/wp-content/smilies/106.gif 
http://next.sh/wp-content/smilies/108.gif 
http://next.sh/wp-content/smilies/20.gif 
http://next.sh/wp-content/smilies/26.gif 
http://next.sh/wp-content/smilies/37.gif 
http://next.sh/wp-content/smilies/99.gif