Skip to content

Commit

Permalink
Initial add.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed May 30, 2004
1 parent 63adf73 commit e7852f7
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions build-patchfile.sh
@@ -0,0 +1,38 @@
#!/bin/sh

# Just die if anything fails.
set -e

rm -f ~/Desktop/nwn.mojopatch

./MojoPatch.app/Contents/MacOS/mojopatch --create --alwaysadd --zliblevel 1 \
--product "Neverwinter Nights Dedicated Server" --identifier "nwserver.icns" \
--version "0.0.1d1" --newversion "1.62" --replace --append --quietonsuccess \
--titlebar "Neverwinter Nights Dedicated Server 1.62 patch" \
"/Users/icculus/Desktop/nwn.mojopatch" \
"/Users/icculus/Desktop/Neverwinter Nights orig/Dedicated Server.app" \
"/Users/icculus/Desktop/nwn162/Dedicated Server.app"

./MojoPatch.app/Contents/MacOS/mojopatch --create --alwaysadd --zliblevel 1 \
--product "Neverwinter Nights Main Game Icon" --identifier "nwmain.icns" \
--version "0.0.1d1" --newversion "1.62" --replace --append --quietonsuccess \
--titlebar "Neverwinter Nights 1.62 patch" \
"/Users/icculus/Desktop/nwn.mojopatch" \
"/Users/icculus/Desktop/Neverwinter Nights orig/Neverwinter Nights.app" \
"/Users/icculus/Desktop/nwn162/Neverwinter Nights.app"

# Just a blank dir, so everything in the patch dir is added in the patch...
mkdir -p tmp

./MojoPatch.app/Contents/MacOS/mojopatch --create --alwaysadd --zliblevel 1 \
--product "Neverwinter Nights base folder" \
--version "Neverwinter Nights.app" --replace --append \
--titlebar "NWN Shadows of Undrentide Expansion Pack" \
"/Users/icculus/Desktop/nwn.mojopatch" \
"./tmp" \
"/Users/icculus/Desktop/XP1/XP1-1.62.8047e"

rmdir tmp

exit 0;

0 comments on commit e7852f7

Please sign in to comment.