Quantcast

Ruby on Rails, Io, Lisp, JavaScript, Dynamic Languages, Prototype-based programming and more...

Technoblog reader special: $10 off web hosting by FatCow!

Thursday, June 08, 2006

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.steike.com/code/java-reverse-engineering/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

Enjoy!

You should follow me on twitter here.

Technoblog reader special: click here to get $10 off web hosting by FatCow!

29 Comments:

Anonymous James ODonnell said...

You mention Myst iv in your post. I can get it to install fine on an intel mac, but myst iv wont launch. Any tips?

8:08 AM, June 28, 2006

 
Anonymous Greg W said...

I am with James. I just got a MacBook Pro and my son and I picked up Myst IV hoping to play it this weekend on the 'book. Istall went fint but I get a blue scren and the a sudden quit when I try to launch. Any help for Myst IV people?

11:20 AM, July 02, 2006

 
Anonymous me said...

Hi:

The "60f3b48b952a00f915ae4b48fe453c29" does not appear within the support folder? Are we looking in the incorrect place?

12:12 AM, July 04, 2006

 
Anonymous zib redlektab said...

yeah im having this problem too, the folder with the really long name (the md5, i guess) is not there. is this because it is actually the md5 of a file on the disc and is different for everyone?

12:25 PM, July 10, 2006

 
Anonymous zib redlektab said...

actually i figured it out. when you get to sudo cp -r /Volumes/Myst\ V\ EOA/setup/60f3b48b952a00f915ae4b48fe453c29/md5 60f3b48b952a00f915ae4b48fe453c29, you should be in the myst5 directory. type ls and look for a similar-looking name. select and copy this, paste it in textEdit. copy the command that was causing the error before, and replace the 60f3b48b952a00f915ae4b48fe453c29 with the long number/letter combination you copied before. there should be two places this is replaced. run the command, and it should work.

12:47 PM, July 10, 2006

 
Anonymous zib said...

me again. (blogger needs to get editable comments...) I just felt that I should say this method created a binary which did not work. if this happens to you to, uninstall the non-working one and launch the installer from the disc. because of the java fix we did it works anyway.

also, there is another patch available here. I'd read other stuff in that post, too.

9:07 AM, July 11, 2006

 
Anonymous Anonymous said...

Hi there,
I'm a bit confused with your entry. I have a mac mini with intel and wish to play Myst 5. When you say to look for the public String[] getPartitionNames() in the terminal, I have no idea where to look. I know what the terminal is and have been using all kinds of camands on it, but don't know where to find this particular one.

Hope to hear from you

-Robert

1:07 AM, August 20, 2006

 
Anonymous Reg said...

PLEASE PLEASE PLEASE... help me play Myst IV on my intel macbook pro!!!!!!!!!!!!!!!!!!!!!!

4:57 PM, September 06, 2006

 
Anonymous reg said...

Oops... I meant macbook (I WISH I had a macbook pro....) But yes... same begging comment and that is I would be SO THRILLED if I could play Myst IV on my macbook.

5:53 PM, September 15, 2006

 
Anonymous Anonymous said...

Same thing here, with both Myst IV and V versus a Mac Mini Core Duo.

Myst IV
- Installation seems ok
- Upgrade to 1.0.3 seems ok but MystIV.app version is still 1.0
- Game crashes when launched

Myst V
- Patching the installer with official patch "myst5_mac_intel_installer.dmg" takes forever then reports an Apple Script error

now I'll try the tricky solution fot MystV, but please help us with MystIV!!!

HELP
thanks
nexus

5:05 PM, September 22, 2006

 
Anonymous Anonymous said...

Robert,

when it says *look for public String[] getPartitionNames()*

I think he means that the Terminal command
"open -t PureJavaFileServiceImpl.jad"
will open the file where to look for that string

Hope it helps
nexus

5:09 PM, September 22, 2006

 
Anonymous Anonymous said...

"Robert,

when it says *look for public String[] getPartitionNames()*

I think he means that the Terminal command
"open -t PureJavaFileServiceImpl.jad"
will open the file where to look for that string

Hope it helps
nexus"

No - there is no file, where one could look. Rather strange..

10:34 AM, October 19, 2006

 
Anonymous Anonymous said...

i just reran the installer and it worked on my mbp 17 10.4.8

2:14 PM, October 20, 2006

 
Blogger carl said...

Great! Installed Myst V without flaws. Thank you!

/Carl

10:34 AM, March 28, 2007

 
Blogger Brad23ans said...

Hey I have a macbook Pro & really want to play Myst IV...Both CDs install properly. When I click to play the game nothing happens.... my log reads "
(Apr 11, 2007 4:55:10 PM), Install, com.installshield.product.service.product.PureJavaProductServiceImpl$DiskSpaceCheck, wrn, Checking required disk space requires file service native support.

I have 40Go free & am not amazingly computer literate...please help

8:10 AM, April 11, 2007

 
Anonymous Jeff Geerling said...

Worked for me - MBP 2.4 GHz... Thanks for posting this!

12:32 AM, June 17, 2007

 
Anonymous Drew said...

You don't happen to have a similar tip for making RealMyst run properly on an Intel iMac? Anything that's supposed to be transparent is opaque and bright pink. :P

3:09 PM, October 25, 2007

 
Anonymous Andre from London said...

Thanks Lucas, great work! MYST is my one and only game as well....

Just to confirm that it works on a MacBookPro 2.33 GHz with MAC OS X 10.5

Cheers :)

3:58 PM, November 03, 2007

 
Blogger Legit said...

Thanks for this. But i am still having a problem with the above instructions. I get to the "java run" command and the Myst V installer opens... Is it supposed to and should I ignore it here? If I try to complete the install from here it gives me an error.

SO, onto the next step...

"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. "

Which library would this be?

" go back to the command line, type cd and then the spacebar."

Do I start a new Terminal window or do I continue from where I was after running the "java run" command?

"Now find the Myst V program and drag it into the Terminal window and press return. Now type:"

...erm, where do I find it? On the DVD, in the newly created MystV folder? What is the file name? Any pointers?

Again, thank you so much.
If anyone can help I'd be very greatful!

Cheers
Legit

11:45 PM, November 17, 2007

 
Blogger Legit said...

Here's the error I am now getting in the Terminal window, after the "java run" command has opened the installer window...

Johns-MacBook-2:myst5 john$ java run
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.installshield.event.ActionSequenceEngine$ActionTask.invokeJavaMethod(Unknown Source)
at com.installshield.event.ActionSequenceEngine$ActionTask.executeAction(Unknown Source)
at com.installshield.event.ActionSequenceEngine$ActionTask.run(Unknown Source)
at com.installshield.event.ThreadPool.run(Unknown Source)
at java.lang.Thread.run(Thread.java:613)
Caused by: java.lang.Error
at com.installshield.project_28.event.dialog.swing.PanelDestination.showErrorMsg(PanelDestination.java:354)
at com.installshield.project_28.event.dialog.swing.PanelDestination.validateDestination(PanelDestination.java:289)
at com.installshield.project_28.event.dialog.swing.PanelDestination.queryExitDestination(PanelDestination.java:121)
... 9 more

6:38 AM, November 18, 2007

 
Anonymous Lennart R Svensson said...

Hi!
Great that you can fix how to play Myst V on a MacBook Pro.
I am not a computer guy and can not manipulate inside of my Mac.
Is tere any hope for me to play my Myst V on my MacBook Pro with Loepard.
I have tried the patch from Ubi/megafiles and it dosent work.
I am very thankful for help.
Lennart R Svensson in Sweden

1:42 AM, November 26, 2007

 
Anonymous marlwin said...

Thanks, it did not work at first time but I managed to install the game.

However when I click the last of the 4 books in the game I get a black freezing screen.

Am I the only one ?

1:52 PM, December 09, 2007

 
Anonymous marlwin said...

Thanks, it did not work at first time but I managed to install the game.

However when I click the last of the 4 books in the game I get a black freezing screen.

Am I the only one ?

1:53 PM, December 09, 2007

 
Anonymous Tomaz Cavalcante - Brazil said...

Thanks a lot, Lucas. Its incredible that such simple detail is not corrected by the makers of Myst V. Shame on you, Cyan & cia!

3:11 PM, March 11, 2008

 
OpenID okookichat said...

I managed to install Myst V following the above instructions. Unfortunately the app doesn't start. Can anyone help? I was so pleased to finally get it on my mac and ready to start playing....

3:06 PM, April 05, 2008

 
OpenID elliottcable said...

I'm no Java fan, or even that I understand it very much, but javac seems to blarch when compiling the changed file - here's my output: pastied output.

I ignored it and continued, but I was just wondering whether you knew if this was something that changed with the latest version of Leopard, or whatnot.

Also, shouts out from a fellow Ruby lover - use GitHub, by any chance? You can check out some of the code that I bother to pop upstream on mine; feel free to add me and fork some of that fun stuff d-:

5:00 AM, June 07, 2008

 
Blogger Kristen said...

I am having a similar problem. javac seems to be having a fit and I don't know enough about it to figure out what's going on. My output is almost identical to elliottcable.

Any ideas? I am running OSX 10.5 I know enough about messing with my mac to be dangerous. That's about it ;)
help!
thanks,
~Weldergeek

11:26 PM, July 04, 2008

 
Blogger rokn elbeet said...

اليك خدمات منزلية متقدمة تساعدنا علي الارتقاء بشركة ركن البيت في مدينة الدمام من خلال اعمالها المتميزة التي تقدمها في مجال النظافة والقضاء علي الحشرات فخدماتنا متنوعة مثل شركة تنظيف بالدمام التي تكون متخصصة في اعمال النظافة العامة التي تتمثل في المنشأت الكبيرة والصغيرة بجميع انواع واليك خدمة متميزة ايضا وهي شركة تنظيف فلل بالدمام التي تكون لديها كل الامكانيات المثالية التي تساعدنا في تنفيذ خدمات نظافة الفلل المستعملة والمفروشة بواسطة فريق فني لديه كل الامكانيات التي تساعده في تقديم ذلك ولديك خدمة ايضا نظافة الشقق بواسطة شركة تنظيف شقق بالدمام وعمل التنظيف اللازم لها بواسطة فريق لديه اعمال التميز والتنفيذ في تقديم الخدمات المخصصة في اعمال النظافة واليك خدمة مثالية نقدمها في القضاء علي الحشرات الصغيرة بواسطة مبيدات طبيعة تساعدنا في ذلك فتعاملك مع شركة مكافحة حشرات بالدمام لديها امكانيات متميزة تساعدك علي ان تخلصك من الحشرات لان تجد كل ذلك الا من خلال ركن البيت التي لديها كل الامكانيات في البحث عن شركة رش مبيدات بالدمام التي تقوم بالرش بواسطة فني مختص معه الادوات اللازمة للقيام بذلك وعطائك الضمانات اللازمة علي ذلك واليك خدمة نقل اثاث منزلية تساعدك في الوصول الي مكانك الجديد بواسطة شركة نقل اثاث بالدمام التي لديها كل الامكانيات والسيارات التي تساعدك علي تحقيق ذلك

8:30 AM, July 15, 2016

 
Blogger Hua Cai said...

fitflops sale
ugg outlet
mulberry handbags sale
true religion outlet
michael kors outlet clearance
true religion jeans
new balance outlet
michael kors outlet clearance
ferragamo outlet
christian louboutin shoes
links of london
michael kors wholesale
tory burch outlet online
prada sneakers
true religion outlet
swarovski outlet
jordan pas cher
nike air force 1
calvin klein underwear
louis vuitton pas cher
true religion jeans
ferragamo outlet
ferragamo shoes sale
louis vuitton outlet store
tiffany and co
coach outlet store
gucci outlet
louis vuitton outlet
oakley sunglasses uk
true religion jeans
michael kors outlet online
mulberry outlet
nike free 5
celine outlet online
louis vuitton bags
20160804caihuali

10:43 PM, August 03, 2016

 

Post a Comment

Subscribe to Post Comments [Atom]

<< Home

 

If you like this blog, you might also like top photography schools.