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.
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.steike.com/code/java-reverse-engineering/jadap158.zip
mv jadap158/* .
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()
String as = new String;
as = "/";
as = "/Volumes/Myst V EOA";
Save and close the file. Back to the command line.
cp PureJavaFileServiceImpl.class com/installshield/wizard/service/file/
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
You should follow me on twitter here.
Technoblog reader special: click here to get $10 off web hosting by FatCow!