diff options
Diffstat (limited to 'bg1/install-patch-baldurdash-text.sh')
-rwxr-xr-x | bg1/install-patch-baldurdash-text.sh | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/bg1/install-patch-baldurdash-text.sh b/bg1/install-patch-baldurdash-text.sh index 7eeee3b..11d7969 100755 --- a/bg1/install-patch-baldurdash-text.sh +++ b/bg1/install-patch-baldurdash-text.sh @@ -14,7 +14,14 @@ # See <http://www.gnu.org/licenses/> for a copy of the GNU General # Public License. # -# BG1 Baldurdash text pack +# BG1 Baldurdash text pack v1.0 +# +# info : http://www.baldurdash.org/BG1/bg1fixes.html +# size : 1.1 MB +# date : 7/07/01 + +patch_url="http://www.baldurdash.org/LargeDownloads/BG1NoTOSCGameTextUpdate10.exe" +patch_name="$(basename $patch_url)" scriptdir="$(dirname $0)"/.. source "${scriptdir}/includes/generic-includes.sh" @@ -31,11 +38,11 @@ checkforbin unzip wget setuptmp -getpatch http://www.baldurdash.org/LargeDownloads/BG1NoTOSCGameTextUpdate10.exe +getpatch $patch_url # unzip complains unnecessarily about skipping non-zip # part so don't print errors or die on failure -unzip -L "${TMPDIR}/BG1NoTOSCGameTextUpdate10.exe" -d "$TMPDIR" 2>/dev/null +unzip -L "${TMPDIR}/${patch_url}.exe" -d "$TMPDIR" 2>/dev/null cp "${TMPDIR}/dialog.tlk" "${TARGETDIR}/" || diesoftly cleanuptmp |