发新话题
打印

紧急求救 技术问题 神秘岛如何安装到 intel mac

紧急求救 技术问题 神秘岛如何安装到 intel mac

各位 ,我买的还是正版啊,神秘岛五 完全没法安装,在网上下载了ubisoft出的myst v for intel mac patch,还是不行,每次到一半就自动提示出问题,然后光碟自动弹出
还发现另外一个方法,但是我确不知道该怎么做
大家看看吧
Guide to Installing Myst V on Mac OS X Intel

I am not a gamer. For some reason it is not in my DNA. However I love Myst. I have every game in the series, and those are about the only games I own. Today was my birthday and my brother got me the 5th Myst in the series. I also just purchased a MacBook Pro, so to my astonishment I found myself unable to install with an error.

"Ah," I said to myself, "a challenge."

The following information is not to be used by anyone because the EULA might prevent you from doing so. It is for informational purposes only and mainly takes place on the command line within the Terminal.

cd ~
mkdir myst5 && cd myst5
jar xfv /Volumes/Myst\ V\ EOA/setup.jar
sudo cp -r /Volumes/Myst\ V\ EOA/support .
sudo cp -r /Volumes/Myst\ V\ EOA/setup/60f3b48b952a00f915ae4b48fe453c29/md5 60f3b48b952a00f915ae4b48fe453c29
curl -O http://www.kpdus.com/jad/macosx/jadap158.zip
open jadap158.zip
mv jadap158/* .
./jad com/installshield/wizard/service/file/PureJavaFileServiceImpl.class
open -t PureJavaFileServiceImpl.jad

Look for public String[] getPartitionNames(). This is the place that caused the pesky error. What happened is that Intel Macs currently are missing a Java library that will provide the installer with a list of partitions for the computer. All we have to do is hard code that list and we are home free. Change it to look as follows.

public String[] getPartitionNames()
        throws ServiceException
    {
        String as[] = new String[2];
    as[0] = "/";
    as[1] = "/Volumes/Myst V EOA";
    return as;
    }

Save and close the file. Back to the command line.

mv PureJavaFileServiceImpl.ja{d,va}
javac PureJavaFileServiceImpl.java
cp PureJavaFileServiceImpl.class com/installshield/wizard/service/file/
java run

Voila! Now it is time for all the Intel Apple-heads to enjoy the Myst V installer like a first class citizen.

There is one more thing though. The same library that gives the installer access to a list of partitions is the one that allows you to set applications as executable. This is why you need to do a little hack to get Myst IV running on Intel Macs too. To fix it, go back to the command line, type cd and then the spacebar. Now find the Myst V program and drag it into the Terminal window and press return. Now type:
chmod +x Contents/MacOS/Myst\ V\ End\ of\ Ages

按照他的方法,我把第一栏的在终端里面运行了,这里是我的结果chen-tangmaodemacbook:~ MAO$ cd ~chen-tangmaodemacbook:~ MAO$ mkdir myst5 && cd myst5chen-tangmaodemacbook:myst5 MAO$ jar xfv /Volumes/Myst\ V\ EOA/setup.jarjava.io.FileNotFoundException: /Volumes/Myst V EOA/setup.jar (No such file or directory)        at java.io.FileInputStream.open(Native Method)        at java.io.FileInputStream.<init>(FileInputStream.java:106)        at java.io.FileInputStream.<init>(FileInputStream.java:66)        at sun.tools.jar.Main.run(Main.java:185)        at sun.tools.jar.Main.main(Main.java:925)chen-tangmaodemacbook:myst5 MAO$ cp -r /Volumes/Myst\ V\ EOA/support .cp: /Volumes/Myst V EOA/support: No such file or directorychen-tangmaodemacbook:myst5 MAO$ cp -r /Volumes/Myst\ V\ EOA/setup/60f3b48b952a00f915ae4b48fe453c29/md5 60f3b48b952a00f915ae4b48fe453c29cp: /Volumes/Myst V EOA/setup/60f3b48b952a00f915ae4b48fe453c29/md5: No such file or directorychen-tangmaodemacbook:myst5 MAO$ curl -O http://www.kpdus.com/jad/macosx/jadap158.zip  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current                                 Dload  Upload   Total   Spent    Left  Speed100  260k  100  260k    0     0  99558      0  0:00:02  0:00:02 --:--:--  155kchen-tangmaodemacbook:myst5 MAO$ unzip jadap158.zipArchive:  jadap158.zip  inflating: jad                       inflating: Readme.txt              chen-tangmaodemacbook:myst5 MAO$ ./jad com/installshield/wizard/service/file/PureJavaFileServiceImpl.class-bash: ./jad: Permission deniedchen-tangmaodemacbook:myst5 MAO$ open -t PureJavaFileServiceImpl.jadThe file /Users/MAO/myst5/PureJavaFileServiceImpl.jad does not exist.为什么会permission denied???而且还不存在?
气死我了


然后第2个栏里面是叫你去找


    public String[] getPartitionNames()    throws ServiceException    {
        String as[] = new String[2];
    as[0] = "/";
    as[1] = "/Volumes/Myst V EOA";
    return as;
    }
我应该在什么地方找呢?谢谢各位了
神秘岛4就更离谱了,安装上了,但是没法运行,图标跳一下就不动了,,,,

TOP

发新话题