Lines 82-87
Link Here
|
82 |
then |
83 |
then |
83 |
NWN_SET="platinum_cd" |
84 |
NWN_SET="platinum_cd" |
84 |
einfo "Neverwinter Nights Platinum DVD/CD set found..." |
85 |
einfo "Neverwinter Nights Platinum DVD/CD set found..." |
|
|
86 |
elif [[ -f "${CD_ROOT}"/ArcadeInstallNWNXP1_12d.EXE ]] |
87 |
then |
88 |
NWN_SET="gold_cd" |
89 |
einfo "Neverwinter Nights Gold CD set found..." |
85 |
elif [[ -f "${CD_ROOT}"/ArcadeInstallNWN109.exe ]] |
90 |
elif [[ -f "${CD_ROOT}"/ArcadeInstallNWN109.exe ]] |
86 |
then |
91 |
then |
87 |
NWN_SET="original_cd" |
92 |
NWN_SET="original_cd" |
Lines 99-104
Link Here
|
99 |
then |
104 |
then |
100 |
NWN_SET="platinum_cd" |
105 |
NWN_SET="platinum_cd" |
101 |
einfo "Neverwinter Nights Platinum DVD/CD set found..." |
106 |
einfo "Neverwinter Nights Platinum DVD/CD set found..." |
|
|
107 |
elif [[ -f "${CD_ROOT_1}"/ArcadeInstallNWNXP1_12d.EXE ]] |
108 |
then |
109 |
NWN_SET="gold_cd" |
110 |
einfo "Neverwinter Nights Gold CD set found..." |
102 |
elif [[ -f "${CD_ROOT_1}"/ArcadeInstallNWN109.exe ]] |
111 |
elif [[ -f "${CD_ROOT_1}"/ArcadeInstallNWN109.exe ]] |
103 |
then |
112 |
then |
104 |
NWN_SET="original_cd" |
113 |
NWN_SET="original_cd" |
Lines 118-123
Link Here
|
118 |
then |
127 |
then |
119 |
NWN_SET="platinum_cd" |
128 |
NWN_SET="platinum_cd" |
120 |
einfo "Neverwinter Nights Platinum DVD/CD set found..." |
129 |
einfo "Neverwinter Nights Platinum DVD/CD set found..." |
|
|
130 |
elif [[ -f "${mline}"/ArcadeInstallNWNXP1_12d.EXE ]] |
131 |
then |
132 |
NWN_SET="gold_cd" |
133 |
einfo "Neverwinter Nights Gold CD set found..." |
121 |
elif [[ -f "${mline}"/ArcadeInstallNWN109.exe ]] |
134 |
elif [[ -f "${mline}"/ArcadeInstallNWN109.exe ]] |
122 |
then |
135 |
then |
123 |
NWN_SET="original_cd" |
136 |
NWN_SET="original_cd" |
Lines 156-161
Link Here
|
156 |
cdrom_get_cds ArcadeInstallNWNXP213f.EXE \ |
169 |
cdrom_get_cds ArcadeInstallNWNXP213f.EXE \ |
157 |
disk2.zip disk3.zip disk4.zip |
170 |
disk2.zip disk3.zip disk4.zip |
158 |
;; |
171 |
;; |
|
|
172 |
gold_cd) |
173 |
einfo "Shadow of Undrentide will be installed from your CDS along" |
174 |
einfo "with the original Neverwinter Nights. If you have the" |
175 |
einfo "Hordes of the Underdark expansion, it will be installed after." |
176 |
touch .metadata/orig || die "touch orig" |
177 |
touch .metadata/sou || die "touch sou" |
178 |
export CDROM_NAME_4="CD4" |
179 |
if use hou |
180 |
then |
181 |
einfo "You will also need the HoU CDs for this installation." |
182 |
export CDROM_NAME_5="HoU" |
183 |
cdrom_get_cds ArcadeInstallNWNXP1_12d.EXE disk2.zip \ |
184 |
disk3.zip disk4.zip ArcadeInstallNWNXP213f.EXE |
185 |
else |
186 |
cdrom_get_cds ArcadeInstallNWNXP1_12d.EXE disk2.zip \ |
187 |
disk3.zip disk4.zip |
188 |
fi |
189 |
;; |
159 |
original_cd) |
190 |
original_cd) |
160 |
einfo "We will be installing the original Neverwinter Nights. If" |
191 |
einfo "We will be installing the original Neverwinter Nights. If" |
161 |
einfo "you also have the Shadows of Undrentide or Hordes of the" |
192 |
einfo "you also have the Shadows of Undrentide or Hordes of the" |
Lines 261-266
Link Here
|
261 |
unzip -qo "${CDROM_ROOT}"/xp1_data.zip || die "unpacking" |
292 |
unzip -qo "${CDROM_ROOT}"/xp1_data.zip || die "unpacking" |
262 |
fi |
293 |
fi |
263 |
;; |
294 |
;; |
|
|
295 |
gold_cd) |
296 |
# Variety of ZIP's off 4 CD's |
297 |
mkdir -p "${S}" |
298 |
cd "${S}" |
299 |
einfo "Unpacking files..." |
300 |
einfo "Copying files from CD1" |
301 |
unzip -qo "${CDROM_ROOT}"/Data_Shared.zip || die "unpacking" |
302 |
unzip -qo "${CDROM_ROOT}"/Language_data.zip || die "unpacking" |
303 |
unzip -qo "${CDROM_ROOT}"/Language_update.zip || die "unpacking" |
304 |
# Yay cd switching |
305 |
cdrom_load_next_cd |
306 |
unzip -qo "${CDROM_ROOT}"/disk2.zip || die "unpacking" |
307 |
cdrom_load_next_cd |
308 |
unzip -qo "${CDROM_ROOT}"/disk3.zip || die "unpacking" |
309 |
cdrom_load_next_cd |
310 |
unzip -qo "${CDROM_ROOT}"/disk4.zip || die "unpacking" |
311 |
# Expansion pack |
312 |
if use hou |
313 |
then |
314 |
rm -f xp1patch.key data/xp1patch.bif override/* |
315 |
cdrom_load_next_cd |
316 |
einfo "Unpacking files..." |
317 |
unzip -qo "${CDROM_ROOT}"/Data_Shared.zip || die "unpacking" |
318 |
unzip -qo "${CDROM_ROOT}"/Language_data.zip || die "unpacking" |
319 |
unzip -qo "${CDROM_ROOT}"/Language_update.zip || die "unpacking" |
320 |
touch .metadata/hou || die "touching hou" |
321 |
fi |
322 |
;; |
264 |
original_cd) |
323 |
original_cd) |
265 |
# Now, we need to create our directories, since we know we'll end up |
324 |
# Now, we need to create our directories, since we know we'll end up |
266 |
# needing them for our install. |
325 |
# needing them for our install. |