diff options
author | Chris Gianelloni <wolf31o2@gentoo.org> | 2007-08-18 01:12:00 +0000 |
---|---|---|
committer | Chris Gianelloni <wolf31o2@gentoo.org> | 2007-08-18 01:12:00 +0000 |
commit | e38ce43226cbfd7a709f12fa0255f164694d02d1 (patch) | |
tree | 9d72b64849fb5428e50c9fa8a1ddae7a76e3bb43 /games-rpg | |
parent | Removed downloading of additional dialog files per bug #183344. (diff) | |
download | gentoo-2-e38ce43226cbfd7a709f12fa0255f164694d02d1.tar.gz gentoo-2-e38ce43226cbfd7a709f12fa0255f164694d02d1.tar.bz2 gentoo-2-e38ce43226cbfd7a709f12fa0255f164694d02d1.zip |
Added NWN Gold support via a patch from Ian Leonard <antonlacon@gmail.com>. Closing bug #61990 and bug #183344.
(Portage version: 2.1.3.6)
Diffstat (limited to 'games-rpg')
-rw-r--r-- | games-rpg/nwn-data/ChangeLog | 7 | ||||
-rw-r--r-- | games-rpg/nwn-data/files/digest-nwn-data-1.29 | 2 | ||||
-rw-r--r-- | games-rpg/nwn-data/files/digest-nwn-data-1.29-r1 | 2 | ||||
-rw-r--r-- | games-rpg/nwn-data/nwn-data-1.29-r1.ebuild | 69 |
4 files changed, 75 insertions, 5 deletions
diff --git a/games-rpg/nwn-data/ChangeLog b/games-rpg/nwn-data/ChangeLog index 62983038968f..93c7b2a17b5a 100644 --- a/games-rpg/nwn-data/ChangeLog +++ b/games-rpg/nwn-data/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for games-rpg/nwn-data # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-rpg/nwn-data/ChangeLog,v 1.28 2007/03/12 13:16:10 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-rpg/nwn-data/ChangeLog,v 1.29 2007/08/18 01:12:00 wolf31o2 Exp $ + + 18 Aug 2007; Chris Gianelloni <wolf31o2@gentoo.org> + nwn-data-1.29-r1.ebuild: + Added NWN Gold support via a patch from Ian Leonard <antonlacon@gmail.com>. + Closing bug #61990 and bug #183344. 12 Mar 2007; Chris Gianelloni <wolf31o2@gentoo.org> nwn-data-1.29-r1.ebuild: diff --git a/games-rpg/nwn-data/files/digest-nwn-data-1.29 b/games-rpg/nwn-data/files/digest-nwn-data-1.29 index 9ce40b83369b..d5a6db8ee134 100644 --- a/games-rpg/nwn-data/files/digest-nwn-data-1.29 +++ b/games-rpg/nwn-data/files/digest-nwn-data-1.29 @@ -15,7 +15,7 @@ RMD160 958ed2051e91b0ab5f7ae8892c8ed3012cfe3900 nwn.png 4296 SHA256 9703cb47b32d6bf0202198ab490395046d2ef4ffdde22dca91748a966134e139 nwn.png 4296 MD5 8222401efe25235b56d01b38ae880b5b nwresources129.tar.gz 1212356127 RMD160 1a986d12bc3153ff7646053e60d610155944b5ac nwresources129.tar.gz 1212356127 -SHA256 40e7bb8aebae931c2ce05f199ed15714845b403c4a6d9fab88092e784214bee2 nwresources129.tar.gz 1212356127 +SHA256 4da35c38c63d7cbe40047833103fe0d56f417d1895fb572d52c23a873619f537 nwresources129.tar.gz 1212356127 MD5 920d4fdcf5d8d0ff583f236ae7f3f6d4 nwspanish129.tar.gz 3912516 RMD160 8fd2592cfc92246c64be2930a5a4032fe8c07ed1 nwspanish129.tar.gz 3912516 SHA256 100833e91e3f729a473de3372019e1086aac444f3c90c799af43d16833b7a1ed nwspanish129.tar.gz 3912516 diff --git a/games-rpg/nwn-data/files/digest-nwn-data-1.29-r1 b/games-rpg/nwn-data/files/digest-nwn-data-1.29-r1 index 9ce40b83369b..d5a6db8ee134 100644 --- a/games-rpg/nwn-data/files/digest-nwn-data-1.29-r1 +++ b/games-rpg/nwn-data/files/digest-nwn-data-1.29-r1 @@ -15,7 +15,7 @@ RMD160 958ed2051e91b0ab5f7ae8892c8ed3012cfe3900 nwn.png 4296 SHA256 9703cb47b32d6bf0202198ab490395046d2ef4ffdde22dca91748a966134e139 nwn.png 4296 MD5 8222401efe25235b56d01b38ae880b5b nwresources129.tar.gz 1212356127 RMD160 1a986d12bc3153ff7646053e60d610155944b5ac nwresources129.tar.gz 1212356127 -SHA256 40e7bb8aebae931c2ce05f199ed15714845b403c4a6d9fab88092e784214bee2 nwresources129.tar.gz 1212356127 +SHA256 4da35c38c63d7cbe40047833103fe0d56f417d1895fb572d52c23a873619f537 nwresources129.tar.gz 1212356127 MD5 920d4fdcf5d8d0ff583f236ae7f3f6d4 nwspanish129.tar.gz 3912516 RMD160 8fd2592cfc92246c64be2930a5a4032fe8c07ed1 nwspanish129.tar.gz 3912516 SHA256 100833e91e3f729a473de3372019e1086aac444f3c90c799af43d16833b7a1ed nwspanish129.tar.gz 3912516 diff --git a/games-rpg/nwn-data/nwn-data-1.29-r1.ebuild b/games-rpg/nwn-data/nwn-data-1.29-r1.ebuild index c620339f8483..d5d6e7a9551c 100644 --- a/games-rpg/nwn-data/nwn-data-1.29-r1.ebuild +++ b/games-rpg/nwn-data/nwn-data-1.29-r1.ebuild @@ -1,13 +1,13 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-rpg/nwn-data/nwn-data-1.29-r1.ebuild,v 1.12 2007/03/12 13:16:10 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-rpg/nwn-data/nwn-data-1.29-r1.ebuild,v 1.13 2007/08/18 01:12:00 wolf31o2 Exp $ inherit eutils games # Diamond DVD - NWN, SoU, HotU (1 disk) # Platinum CD/DVD - NWN, SoU, HotU (4 disks/1 disk) # Deluxe CD - NWN, SoU, HotU (5 disks) -# Gold CD - NWN, SoU +# Gold CD - NWN, SoU (4 disks) # Original CD - NWN (1 disk) LANGUAGES="linguas_fr linguas_it linguas_es linguas_de linguas_en" @@ -82,6 +82,10 @@ get_nwn_set() { then NWN_SET="platinum_cd" einfo "Neverwinter Nights Platinum DVD/CD set found..." + elif [[ -f "${CD_ROOT}"/ArcadeInstallNWNXP1_12d.EXE ]] + then + NWN_SET="gold_cd" + einfo "Neverwinter Nights Gold CD set found..." elif [[ -f "${CD_ROOT}"/ArcadeInstallNWN109.exe ]] then NWN_SET="original_cd" @@ -99,6 +103,10 @@ get_nwn_set() { then NWN_SET="platinum_cd" einfo "Neverwinter Nights Platinum DVD/CD set found..." + elif [[ -f "${CD_ROOT_1}"/ArcadeInstallNWNXP1_12d.EXE ]] + then + NWN_SET="gold_cd" + einfo "Neverwinter Nights Gold CD set found..." elif [[ -f "${CD_ROOT_1}"/ArcadeInstallNWN109.exe ]] then NWN_SET="original_cd" @@ -118,6 +126,10 @@ get_nwn_set() { then NWN_SET="platinum_cd" einfo "Neverwinter Nights Platinum DVD/CD set found..." + elif [[ -f "${mline}"/ArcadeInstallNWNXP1_12d.EXE ]] + then + NWN_SET="gold_cd" + einfo "Neverwinter Nights Gold CD set found..." elif [[ -f "${mline}"/ArcadeInstallNWN109.exe ]] then NWN_SET="original_cd" @@ -156,6 +168,24 @@ get_cd_set() { cdrom_get_cds ArcadeInstallNWNXP213f.EXE \ disk2.zip disk3.zip disk4.zip ;; + gold_cd) + einfo "Shadow of Undrentide will be installed from your CDS along" + einfo "with the original Neverwinter Nights. If you have the" + einfo "Hordes of the Underdark expansion, it will be installed after." + touch .metadata/orig || die "touch orig" + touch .metadata/sou || die "touch sou" + export CDROM_NAME_4="CD4" + if use hou + then + einfo "You will also need the HoU CDs for this installation." + export CDROM_NAME_5="HoU" + cdrom_get_cds ArcadeInstallNWNXP1_12d.EXE disk2.zip \ + disk3.zip disk4.zip ArcadeInstallNWNXP213f.EXE + else + cdrom_get_cds ArcadeInstallNWNXP1_12d.EXE disk2.zip \ + disk3.zip disk4.zip + fi + ;; original_cd) einfo "We will be installing the original Neverwinter Nights. If" einfo "you also have the Shadows of Undrentide or Hordes of the" @@ -261,6 +291,41 @@ src_unpack() { unzip -qo "${CDROM_ROOT}"/xp1_data.zip || die "unpacking" fi ;; + gold_cd) + # Variety of ZIP's off 4 CD's + mkdir -p "${S}" + cd "${S}" + einfo "Unpacking files..." + einfo "Copying files from CD1" + cp "${CDROM_ROOT}"/Data_Shared.zip . || die "unpacking" + cp "${CDROM_ROOT}"/Language_data.zip . || die "unpacking" + cp "${CDROM_ROOT}"/Language_update.zip . || die "unpacking" + # Yay cd switching + cdrom_load_next_cd + unzip -qo "${CDROM_ROOT}"/disk2.zip || die "unpacking" + cdrom_load_next_cd + unzip -qo "${CDROM_ROOT}"/disk3.zip || die "unpacking" + cdrom_load_next_cd + unzip -qo "${CDROM_ROOT}"/disk4.zip || die "unpacking" + # Amazingly enough, the order of operations matter. + unzip -qo "${S}"/Data_Shared.zip || die "unpacking" + unzip -qo "${S}"/Language_data.zip || die "unpacking" + unzip -qo "${S}"/Language_update.zip || die "unpacking" + rm -f Data_Shared.zip + rm -f Language_data.zip + rm -f Language_update.zip + # Expansion pack + if use hou + then + rm -f xp1patch.key data/xp1patch.bif override/* + cdrom_load_next_cd + einfo "Unpacking files..." + unzip -qo "${CDROM_ROOT}"/Data_Shared.zip || die "unpacking" + unzip -qo "${CDROM_ROOT}"/Language_data.zip || die "unpacking" + unzip -qo "${CDROM_ROOT}"/Language_update.zip || die "unpacking" + touch .metadata/hou || die "touching hou" + fi + ;; original_cd) # Now, we need to create our directories, since we know we'll end up # needing them for our install. |