summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-12-30 09:06:24 +0000
committerMike Frysinger <vapier@gentoo.org>2004-12-30 09:06:24 +0000
commitb0032e80e36337a79d1b812becadf06961cb3725 (patch)
treec4750a14a447fa347501a04ea39adb7bbd99a8f8 /games-rpg/nwn/files
parentversion bump. (Manifest recommit) (diff)
downloadgentoo-2-b0032e80e36337a79d1b812becadf06961cb3725.tar.gz
gentoo-2-b0032e80e36337a79d1b812becadf06961cb3725.tar.bz2
gentoo-2-b0032e80e36337a79d1b812becadf06961cb3725.zip
Version bump #74871 by Francois Guimond et al.
Diffstat (limited to 'games-rpg/nwn/files')
-rw-r--r--games-rpg/nwn/files/digest-nwn-1.623
-rw-r--r--games-rpg/nwn/files/digest-nwn-1.654
-rw-r--r--games-rpg/nwn/files/nwn-1.30-fixinstall91
-rw-r--r--games-rpg/nwn/files/nwn-1.32-fixinstall93
-rw-r--r--games-rpg/nwn/files/nwn-1.61-fixinstall93
-rw-r--r--games-rpg/nwn/files/nwn-1.62-fixinstall93
-rwxr-xr-xgames-rpg/nwn/files/nwn-1.65-fixinstall105
7 files changed, 109 insertions, 373 deletions
diff --git a/games-rpg/nwn/files/digest-nwn-1.62 b/games-rpg/nwn/files/digest-nwn-1.62
deleted file mode 100644
index f3c87c41e4e0..000000000000
--- a/games-rpg/nwn/files/digest-nwn-1.62
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 73c6515fd6aa5f860802098a55000ae8 nwclient129.tar.gz 5504342
-MD5 89f373e0a5e0042912a3a214ebf4436b linuxclientupdate129to162eng.tar.gz 71917130
-MD5 8222401efe25235b56d01b38ae880b5b nwresources129.tar.gz 1212356127
diff --git a/games-rpg/nwn/files/digest-nwn-1.65 b/games-rpg/nwn/files/digest-nwn-1.65
new file mode 100644
index 000000000000..c3408ca1a59e
--- /dev/null
+++ b/games-rpg/nwn/files/digest-nwn-1.65
@@ -0,0 +1,4 @@
+MD5 73c6515fd6aa5f860802098a55000ae8 nwclient129.tar.gz 5504342
+MD5 8222401efe25235b56d01b38ae880b5b nwresources129.tar.gz 1212356127
+MD5 920e498efc0763b6a4f03d22ad689db7 linuxclientupdate1xxto165eng.tar.gz 80623755
+MD5 7564b803aad04595058f3351e8606139 NWNEnglish1.65dialog.zip 3180152
diff --git a/games-rpg/nwn/files/nwn-1.30-fixinstall b/games-rpg/nwn/files/nwn-1.30-fixinstall
deleted file mode 100644
index 44a67423b87b..000000000000
--- a/games-rpg/nwn/files/nwn-1.30-fixinstall
+++ /dev/null
@@ -1,91 +0,0 @@
-#!/bin/bash
-# Initial version by Bioware
-# Modified to match the gentoo setup
-# 03/27/2003 phoen][x <phoenix@gentoo.org>
-
-FaRequiredDirs=(ambient data music override miles nwm)
-aRequiredFiles=(chitin.key dialog.tlk nwmain patch.key)
-aLCDirs=(ambient data dmvault hak localvault music override portraits)
-aProblemFiles=()
-
-printf "\nFixing case\n\n"
-
-if [ -f dialog.TLK ]
-then
- mv dialog.TLK dialog.tlk
-fi
-
-if [ -f dialogF.TLK ]
-then
- mv dialogF.TLK dialogf.tlk
-fi
-
-printf "Checking for required files\n\n"
-
-for d in ${aRequiredDirs[@]}
-do
- if [ -d $d ]
- then
- printf "PASSED: $d directory exists\n"
- else
- printf "FAILED: $d directory missing\n"
- exit
- fi
-done
-
-for f in ${aRequiredFiles[@]}
-do
- if [ -f $f ]
- then
- printf "PASSED: $f exists\n"
- else
- printf "FAILED: $f missing\n"
- exit
- fi
-done
-
-printf "\nFixing case\n\n"
-
-for d in ${aLCDirs[@]}
-do
- if [ -d $d ]
- then
- printf "$d\n"
-
- cd $d
-
- for f in $(find *.*)
- do
- lcf=$(echo $f | tr [:upper:] [:lower:])
- if [ $f != $lcf ]
- then
- if [ -f $f ]
- then
- mv $f $(echo $f | tr [:upper:] [:lower:])
- fi
- fi
- printf .
- done
-
- cd ..
-
- printf "\n"
- fi
-done
-
-printf "\nChecking for problem files\n\n"
-
-for f in ${aProblemFiles[@]}
-do
- if [ -f $f ]
- then
- printf "WARNING: $f exists, deleting this file is recommended\n"
- fi
-done
-
-printf "\nFixing permissions\n\n"
-
-chown GENTOO_USER:GENTOO_GROUP GENTOO_DIR/nwn/ -R
-chmod g+rwX GENTOO_DIR/nwn/ -R
-
-printf "\nYou are ready to run Neverwinter Nights.\n\n"
diff --git a/games-rpg/nwn/files/nwn-1.32-fixinstall b/games-rpg/nwn/files/nwn-1.32-fixinstall
deleted file mode 100644
index 15ae08d872fc..000000000000
--- a/games-rpg/nwn/files/nwn-1.32-fixinstall
+++ /dev/null
@@ -1,93 +0,0 @@
-#!/bin/bash
-# Initial version by Bioware
-# Modified to match the gentoo setup
-# 03/27/2003 phoen][x <phoenix@gentoo.org>
-
-cd GAMES_PREFIX_OPT/nwn
-
-FaRequiredDirs=(ambient data music override miles nwm)
-aRequiredFiles=(chitin.key dialog.tlk nwmain patch.key)
-aLCDirs=(ambient data dmvault hak localvault music override portraits)
-aProblemFiles=()
-
-printf "\nFixing case\n\n"
-
-if [ -f dialog.TLK ]
-then
- mv dialog.TLK dialog.tlk
-fi
-
-if [ -f dialogF.TLK ]
-then
- mv dialogF.TLK dialogf.tlk
-fi
-
-printf "Checking for required files\n\n"
-
-for d in ${aRequiredDirs[@]}
-do
- if [ -d $d ]
- then
- printf "PASSED: $d directory exists\n"
- else
- printf "FAILED: $d directory missing\n"
- exit
- fi
-done
-
-for f in ${aRequiredFiles[@]}
-do
- if [ -f $f ]
- then
- printf "PASSED: $f exists\n"
- else
- printf "FAILED: $f missing\n"
- exit
- fi
-done
-
-printf "\nFixing case\n\n"
-
-for d in ${aLCDirs[@]}
-do
- if [ -d $d ]
- then
- printf "$d\n"
-
- cd $d
-
- for f in $(find *.*)
- do
- lcf=$(echo $f | tr [:upper:] [:lower:])
- if [ $f != $lcf ]
- then
- if [ -f $f ]
- then
- mv $f $(echo $f | tr [:upper:] [:lower:])
- fi
- fi
- printf .
- done
-
- cd ..
-
- printf "\n"
- fi
-done
-
-printf "\nChecking for problem files\n\n"
-
-for f in ${aProblemFiles[@]}
-do
- if [ -f $f ]
- then
- printf "WARNING: $f exists, deleting this file is recommended\n"
- fi
-done
-
-printf "\nFixing permissions\n\n"
-
-chown GENTOO_USER:GENTOO_GROUP GENTOO_DIR/nwn/ -R
-chmod g+rwX GENTOO_DIR/nwn/ -R
-
-printf "\nYou are ready to run Neverwinter Nights.\n\n"
diff --git a/games-rpg/nwn/files/nwn-1.61-fixinstall b/games-rpg/nwn/files/nwn-1.61-fixinstall
deleted file mode 100644
index a1e6063df9b6..000000000000
--- a/games-rpg/nwn/files/nwn-1.61-fixinstall
+++ /dev/null
@@ -1,93 +0,0 @@
-#!/bin/bash
-# Initial version by Bioware
-# Modified to match the gentoo setup
-# 03/27/2003 phoen][x <phoenix@gentoo.org>
-
-cd GENTOO_DIR/nwn
-
-FaRequiredDirs=(ambient data music override miles nwm)
-aRequiredFiles=(chitin.key dialog.tlk nwmain patch.key)
-aLCDirs=(ambient data dmvault hak localvault music override portraits)
-aProblemFiles=()
-
-printf "\nFixing case\n\n"
-
-if [ -f dialog.TLK ]
-then
- mv dialog.TLK dialog.tlk
-fi
-
-if [ -f dialogF.TLK ]
-then
- mv dialogF.TLK dialogf.tlk
-fi
-
-printf "Checking for required files\n\n"
-
-for d in ${aRequiredDirs[@]}
-do
- if [ -d $d ]
- then
- printf "PASSED: $d directory exists\n"
- else
- printf "FAILED: $d directory missing\n"
- exit
- fi
-done
-
-for f in ${aRequiredFiles[@]}
-do
- if [ -f $f ]
- then
- printf "PASSED: $f exists\n"
- else
- printf "FAILED: $f missing\n"
- exit
- fi
-done
-
-printf "\nFixing case\n\n"
-
-for d in ${aLCDirs[@]}
-do
- if [ -d $d ]
- then
- printf "$d\n"
-
- cd $d
-
- for f in $(find *.*)
- do
- lcf=$(echo $f | tr [:upper:] [:lower:])
- if [ $f != $lcf ]
- then
- if [ -f $f ]
- then
- mv $f $(echo $f | tr [:upper:] [:lower:])
- fi
- fi
- printf .
- done
-
- cd ..
-
- printf "\n"
- fi
-done
-
-printf "\nChecking for problem files\n\n"
-
-for f in ${aProblemFiles[@]}
-do
- if [ -f $f ]
- then
- printf "WARNING: $f exists, deleting this file is recommended\n"
- fi
-done
-
-printf "\nFixing permissions\n\n"
-
-chown GENTOO_USER:GENTOO_GROUP GENTOO_DIR/nwn/ -R
-chmod g+rwX GENTOO_DIR/nwn/ -R
-
-printf "\nYou are ready to run Neverwinter Nights.\n\n"
diff --git a/games-rpg/nwn/files/nwn-1.62-fixinstall b/games-rpg/nwn/files/nwn-1.62-fixinstall
deleted file mode 100644
index a1e6063df9b6..000000000000
--- a/games-rpg/nwn/files/nwn-1.62-fixinstall
+++ /dev/null
@@ -1,93 +0,0 @@
-#!/bin/bash
-# Initial version by Bioware
-# Modified to match the gentoo setup
-# 03/27/2003 phoen][x <phoenix@gentoo.org>
-
-cd GENTOO_DIR/nwn
-
-FaRequiredDirs=(ambient data music override miles nwm)
-aRequiredFiles=(chitin.key dialog.tlk nwmain patch.key)
-aLCDirs=(ambient data dmvault hak localvault music override portraits)
-aProblemFiles=()
-
-printf "\nFixing case\n\n"
-
-if [ -f dialog.TLK ]
-then
- mv dialog.TLK dialog.tlk
-fi
-
-if [ -f dialogF.TLK ]
-then
- mv dialogF.TLK dialogf.tlk
-fi
-
-printf "Checking for required files\n\n"
-
-for d in ${aRequiredDirs[@]}
-do
- if [ -d $d ]
- then
- printf "PASSED: $d directory exists\n"
- else
- printf "FAILED: $d directory missing\n"
- exit
- fi
-done
-
-for f in ${aRequiredFiles[@]}
-do
- if [ -f $f ]
- then
- printf "PASSED: $f exists\n"
- else
- printf "FAILED: $f missing\n"
- exit
- fi
-done
-
-printf "\nFixing case\n\n"
-
-for d in ${aLCDirs[@]}
-do
- if [ -d $d ]
- then
- printf "$d\n"
-
- cd $d
-
- for f in $(find *.*)
- do
- lcf=$(echo $f | tr [:upper:] [:lower:])
- if [ $f != $lcf ]
- then
- if [ -f $f ]
- then
- mv $f $(echo $f | tr [:upper:] [:lower:])
- fi
- fi
- printf .
- done
-
- cd ..
-
- printf "\n"
- fi
-done
-
-printf "\nChecking for problem files\n\n"
-
-for f in ${aProblemFiles[@]}
-do
- if [ -f $f ]
- then
- printf "WARNING: $f exists, deleting this file is recommended\n"
- fi
-done
-
-printf "\nFixing permissions\n\n"
-
-chown GENTOO_USER:GENTOO_GROUP GENTOO_DIR/nwn/ -R
-chmod g+rwX GENTOO_DIR/nwn/ -R
-
-printf "\nYou are ready to run Neverwinter Nights.\n\n"
diff --git a/games-rpg/nwn/files/nwn-1.65-fixinstall b/games-rpg/nwn/files/nwn-1.65-fixinstall
new file mode 100755
index 000000000000..d0d7a4c80315
--- /dev/null
+++ b/games-rpg/nwn/files/nwn-1.65-fixinstall
@@ -0,0 +1,105 @@
+#!/bin/bash
+# Initial version by Bioware
+# Modified to match the gentoo setup
+# 03/27/2003 phoen][x <phoenix@gentoo.org>
+
+cd GENTOO_DIR/nwn || exit 1
+
+aRequiredDirs=(ambient data music override miles nwm)
+aRequiredFiles=(chitin.key dialog.tlk nwmain)
+aLCDirs=(ambient data dmvault hak localvault music override portraits)
+aProblemFiles=()
+aWritables=(nwn.ini nwnplayer.ini nwncdkey.ini saves localvault tempclient currentgame dmvault)
+
+printf "Checking for required files\n\n"
+
+for d in ${aRequiredDirs[@]} ; do
+ if [[ -d $d ]] ; then
+ printf "PASSED: $d directory exists\n"
+ else
+ printf "FAILED: $d directory missing\n"
+ exit 1
+ fi
+done
+
+for f in ${aRequiredFiles[@]} ; do
+ if [[ -f $f ]] ; then
+ printf "PASSED: $f exists\n"
+ else
+ printf "FAILED: $f missing\n"
+ exit 1
+ fi
+done
+
+printf "\nFixing case\n\n"
+
+if [[ -f dialog.TLK ]] ; then
+ mv dialog.TLK dialog.tlk
+fi
+
+if [[ -f dialogF.TLK ]] ; then
+ mv dialogF.TLK dialogf.tlk
+fi
+
+for d in ${aLCDirs[@]} ; do
+ if [[ -d $d ]] ; then
+ printf "$d\n"
+ cd $d
+
+ for f in $(find . -name '*.*') ; do
+ lcf=$(echo $f | tr [:upper:] [:lower:])
+ if [[ $f != $lcf ]] && [[ -f $f ]] ; then
+ mv $f $(echo $f | tr [:upper:] [:lower:])
+ fi
+ printf .
+ done
+
+ cd ..
+ printf "\n"
+ fi
+done
+
+defIFS=$IFS
+IFS='|'
+
+if [[ -d saves ]] ; then
+ cd saves
+ for d in $(find . -name '* - *' -type d -printf "%f|") ; do
+ printf "saves/$d\n"
+ cd "$d"
+
+ [[ -f Portrait.tga ]] && mv Portrait.tga portrait.tga
+ [[ -f Screen.tga ]] && mv Screen.tga screen.tga
+
+ cd ..
+ done
+ cd ..
+fi
+
+IFS=$defIFS
+
+printf "\nChecking for problem files\n\n"
+
+for f in ${aProblemFiles[@]} ; do
+ if [[ -e $f ]] ; then
+ printf "WARNING: $f exists, deleting this file is recommended\n"
+ fi
+done
+
+printf "\nFixing permissions\n\n"
+
+chown GENTOO_USER:GENTOO_GROUP GENTOO_DIR/nwn/ -R
+chmod g+rwX GENTOO_DIR/nwn/ -R
+
+# 1.65-specific fixes to permissions
+chmod a-x GENTOO_DIR/nwn/data/patch.bif
+chmod a-x GENTOO_DIR/nwn/nwm/Chapter1.nwm
+chmod a-x GENTOO_DIR/nwn/nwm/Chapter1E.nwm
+chmod a-x GENTOO_DIR/nwn/nwm/Chapter2.nwm
+chmod a-x GENTOO_DIR/nwn/nwm/Chapter2E.nwm
+chmod a-x GENTOO_DIR/nwn/nwm/Chapter3.nwm
+chmod a-x GENTOO_DIR/nwn/nwm/Chapter4.nwm
+chmod a-x GENTOO_DIR/nwn/nwm/Prelude.nwm
+chmod a-x GENTOO_DIR/nwn/patch.key
+
+printf "\nYou are ready to run Neverwinter Nights.\n\n"