PDA

View Full Version : how to patch the OSX Version ?


iRichard
January 12th, 2004, 10:16 PM
Hi.

I just downloaded the patch.
I de-tgzed it.
I launched the obtained file 'dominions2'.
I launched dom2
Well, no change it says "Version 2.02".

Did I miss a step ?

Johan K
January 13th, 2004, 12:09 AM
Seems like some instructions are missing. http://forum.shrapnelgames.com/images/smilies/rolleyes.gif

You have to replace the old dominions files with the respective new ones from the new dominions app bundle.

iRichard
January 13th, 2004, 11:49 AM
Well, I hope for you that the "keep things user-friendly" commando from apple don't have your address.

Thanks for the answer

Johan K
January 13th, 2004, 12:54 PM
I'm not an OSX user, so feel free to instruct in how to do it the proper way!

iRichard
January 13th, 2004, 05:00 PM
Here is a little scipt which should work (it worked for me)

I'm assuming that the old dom2 installation is inside a folder named "oldDom". oldDom, dominions2*, and the patch should be in the same folder.

*dominions2 : file obtained after decompressing the patch "dompatch206_osx.tar.gz"
</font><blockquote><font size="1" face="sans-serif, arial, verdana">code:</font><hr /><pre style="font-size:x-small; font-family: monospace;">
#!/bin/bash

#THIS SCRIPT ISN'T PROVIDED BY SHARPNEL GAMES OR ILLWINTER USE IT AT YOUR OWN RISK

DOM_PATH=&quot;./oldDom/dominions2.app/Contents&quot;
PATCH_PATH=&quot;./dominions2.app/Contents&quot;

#echo &quot;$DOM_PATH&quot;
#echo &quot;$PATCH_PATH&quot;

sudo cp $PATCH_PATH/MacOS/dominions2 $DOM_PATH/MacOS/
sudo chmod 755 $DOM_PATH/MacOS/dominions2

sudo cp $PATCH_PATH/Resources/*trs $DOM_PATH/Resources/
sudo cp $PATCH_PATH/Resources/maps/*map $DOM_PATH/Resources/maps

exit 0</pre><hr /></blockquote><font size="2" face="sans-serif, arial, verdana">note : this script will ask for the password and it must be launched as an administator (wheel group in OSX)

[ January 13, 2004, 15:01: Message edited by: iRichard ]