84,85c84,91 < NWN_SET="platinum_cd" < einfo "Neverwinter Nights Platinum DVD/CD set found..." --- > if [ -f "${CD_ROOT}"/data2.cab ] > then > NWN_SET="platinum_dvd" > einfo "Neverwinter Nights Platinum DVD found..." > else > NWN_SET="platinum_cd" > einfo "Neverwinter Nights Platinum CD set found..." > fi 145,146c151,158 < touch .metadata/sou || die "touch sou" < touch .metadata/hou || die "touch hou" --- > if use sou > then > touch .metadata/sou || die "touch sou" > fi > if use hou > then > touch .metadata/hou || die "touch hou" > fi 197a210,224 > platinum_dvd) > einfo "Both shadows of the Undertide and Hordes of the Underdark will" > einfo "be installed from your DVD along with Neverwinter Nights" > if use sou > then > touch .metadata/sou || die "touch sou" > einfo "Shadows of the Undertide will be installed as well." > fi > if use hou > then > touch .metadata/hou || die "touch hou" > fi > touch .metadata/orig || die "touch orig" > cdrom_get_cds ArcadeInstallNWNXP213f.EXE > ;; 331a359,380 > platinum_dvd) > # The directory structure is created when unzipping > # but the unshielded data2.cab files have to be moved. > mkdir -p "${S}" > cd "${S}" > 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" > if use sou || use hou > then > unshield x ${CDROM_ROOT}/data2.cab || die "unpacking" > fi > rm -rf _* > mv NWN_Platinum/Miles/* miles/ > mv NWN_Platinum/ambient/*.wav ambient/ > mv NWN_Platinum/docs . > mv NWN_Platinum/modules . > mv NWN_Platinum/nwm . > mv NWN_Platinum/utils/nwupdateskins/*.bmp utils/nwupdateskins/ > rm -rf NWN_Platinum/ > ;;