Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 88521 - Neverwinter Nights Platinum DVD Installer Instructions
Summary: Neverwinter Nights Platinum DVD Installer Instructions
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
: 145308 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-04-09 15:40 UTC by Lee Trager
Modified: 2009-07-28 21:59 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Install resources from Platinum CDs (nwn-data-1.29.ebuild.patch,1.86 KB, patch)
2005-11-01 19:52 UTC, Marvin
Details | Diff
NWN Diamond Pack file list (nwndiamonddvd,2.34 KB, text/plain)
2005-11-29 17:05 UTC, Raymond Lewis Rebbeck
Details
NWN Platinum CD List (nwn_plat_cd_list.txt,1.67 KB, text/plain)
2005-12-24 16:22 UTC, Marvin
Details
NWN Platinum DVD file list (NWN_Plat_DVD.lst,1.35 KB, text/plain)
2006-02-19 19:54 UTC, Franklin Moody
Details
nwn-data-1.29.ebuild.diff (nwn-data-1.29.ebuild.diff,837 bytes, patch)
2006-09-01 15:51 UTC, Ryan Hill (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Lee Trager 2005-04-09 15:40:28 UTC
I picked up the nwn platinum dvd and realized when I emerged nwn that it had no instructions for getting the game data off the disc. I did some research and found out how. Anyway I wrote a script that does it for me that should be mentioned in the ebuild.

Reproducible: Always
Steps to Reproduce:




echo "Neverwinter Nights Platinum DVD Linux Installer"
echo "Please make sure the Neverwinter Nights Platinum DVD is mounted at /mnt/cdrom"
echo "Installing DVD Game Packs..."
unzip /mnt/cdrom/Data_Shared.zip -d /opt/nwn
unzip /mnt/cdrom/Language_data.zip -d /opt/nwn
unzip /mnt/cdrom/Language_update.zip -d /opt/nwn
echo "Installing Extras..."
mkdir /tmp/nwn
unshield x -d /tmp/nwn /mnt/cdrom/data1.cab
mv /tmp/nwn/NWN_Platinum/ambient/* /opt/nwn/ambient
mv /tmp/nwn/NWN_Platinum/docs /opt/nwn
mv /tmp/nwn/NWN_Platinum/modules /opt/nwn
mv /tmp/nwn/NWN_Platinum/nwm/* /opt/nwn/nwm
rm -rf /tmp/nwn
echo "Setting up game so users can play..."
chown -R root:games /opt/nwn
chmod -R g+rwX /opt/nwn
rm -rf /opt/nwn/lib
Comment 1 cowb0y 2005-05-23 21:54:02 UTC
(In reply to comment #0)    
Thanks for the script. A couple comments/changes:    
 
remove the x from the unshield call;   
remove  NWN_Platinum/ from the second set of paths; 
remove the final temp dir deletion, in case something goes wrong; 
removing the nwn/lib dir causes nwmain to fail on [can't find libSDL.x.x.x], 
and I wasn't able to get it to use my installed libSDL, not sure why (at any 
rate, see /opt/nwn/nwn script for LD_LIBRARY_PATH to change to drop nwn/lib 
(./lib) from ldd path); 
  
Modified version follows (sorry for dumbnesses, am bleary-eyed): 
 
echo 'Neverwinter Nights Platinum DVD Linux Installer' 
echo 'Please make sure the Neverwinter Nights Platinum DVD is mounted 
at /mnt/cdrom' 
echo 'Installing DVD Game Packs...' 
unzip /mnt/cdrom/Data_Shared.zip -d /opt/nwn 
unzip /mnt/cdrom/Language_data.zip -d /opt/nwn 
unzip /mnt/cdrom/Language_update.zip -d /opt/nwn 
echo 'Installing Extras...' 
mkdir /tmp/nwn 
unshield -d /tmp/nwn /mnt/cdrom/data1.cab 
mv /tmp/nwn/ambient/* /opt/nwn/ambient 
mv /tmp/nwn/docs /opt/nwn 
mv /tmp/nwn/modules /opt/nwn 
mv /tmp/nwn/nwm/* /opt/nwn/nwm 
echo 'rm -rf /tmp/nwn to remove temp dir' 
echo 'Setting up game so users can play...' 
chown -R root:games /opt/nwn 
chmod -R g+rwX /opt/nwn 
# rm -rf /opt/nwn/lib //MAY CAUSE LDD ERROR 
echo 'try removing ./lib from LD_LIBRARY_PATH in /opt/nwn/nwn script to not 
use bundled libSDL' 
Comment 2 Lee Trager 2005-05-23 22:09:21 UTC
Your script seems great. The reason I had to use -e in unshield was because I
had to use an old version of unshield, newer versions wouldn't compile on AMD64.
Ive had no problems using system SDL libs but you should keep it if people are
having problems. Hopefully this will be included in the ebuild soon.
Comment 3 Chris Gianelloni (RETIRED) gentoo-dev 2005-09-27 06:44:53 UTC
Is there some file on the DVD for the Platinum Edition that is different from
the standard CD?  I would need some way of detecting which disc I am using to be
able to include this support in the ebuild.
Comment 4 Lee Trager 2005-10-08 19:32:14 UTC
In AUTORUN.INF you see this

[autorun]
OPEN=autorun.exe
ICON=nwn.ICO
[Disk]
Disk=1
Flavour=Platinum DVD
Label1=Neverwinter Nights: Platinum Edition
[Messages]
LabelInstall=Install
LabelExit=Exit
DeterminFail=Sorry, we could not identify which version of Neverwinter is
installed, please re-install.
InsertInstall=Unable to locate the installer, please insert the Neverwinter
Nights: Platinum Edition DVD.
Language=0

I dont know if there is a CD version of the Platinum Edition but I would just
check for the string "Platinum Edition DVD"
Comment 5 Marvin 2005-11-01 17:51:17 UTC
(In reply to comment #4)
> I dont know if there is a CD version of the Platinum Edition but I would just
> check for the string "Platinum Edition DVD"

I picked up a Platinum Edition, after getting it, realized it was a CD version
(4 CDs).  I'll have to do more research, but it has 3 CD keys (one for
NeverWinter Nights, one for SOU, and one for HOU).  Unfortunately, nwn-1.66-r1
ebuild doesn't detect them files.  I'll do some more exploring and see what
steps need to be done.
Comment 6 Marvin 2005-11-01 19:52:04 UTC
Created attachment 71908 [details, diff]
Install resources from Platinum CDs

Using only the new plat USE flag, this emerges (=nwn-1.66-r1) and initially
works.	It pulls all the resources off of the four platinum CDs, so the only
downloads are the linuxclient (potentially unnecessary) and updates in the nwn
ebuild.  Also, the information posted due to not using the nowin flag doesn't
apply in this situation. 

Will have to test it more fully. ;) (An excuse to play...)
Comment 7 Chris Gianelloni (RETIRED) gentoo-dev 2005-11-02 06:56:11 UTC
Could you attach a list fo the contents of each CD, and preferably, list which
CD is labelled as what?  I know that HoU needs to go after Sou, and since I
don't own this media, I cannot verify any of this myself.
Comment 8 Raymond Lewis Rebbeck 2005-11-29 17:05:05 UTC
Created attachment 73821 [details]
NWN Diamond Pack file list

This is the file list for the recently released Diamond Pack DVD, I suspect it
is similar, if not the same as the Platinum DVD file list, considering that it
still has the Platinum readme file. The only difference should be the inclusion
of the premium kingmaker modules.
Comment 9 Raymond Lewis Rebbeck 2005-11-30 10:44:12 UTC
I successfully installed using the NWN Diamond Pack DVD by following the 
instructions here: 
http://nwn.bioware.com/forums/viewtopic.html?topic=457407&forum=72 
Comment 10 Marvin 2005-12-24 16:22:09 UTC
Created attachment 75474 [details]
NWN Platinum CD List

Sorry for not responding earlier.  This is the file list of the NWN Platinum CD Edition (all CDs included).  I followed the instructions on NWN forums to install these while adding to the ebuild.
Comment 11 Chris Gianelloni (RETIRED) gentoo-dev 2006-01-06 13:55:41 UTC
Can someone post a file listing from the actual Platinum DVD for me?  I really want to make sure that I have support for all of the media that I possibly can in the ebuilds when I unmask them.
Comment 12 Franklin Moody 2006-02-19 19:54:52 UTC
Created attachment 80235 [details]
NWN Platinum DVD file list

I saw the req
Comment 13 patrick 2006-08-09 07:21:46 UTC
Are there any updates?

And is this related to bug 118446?
Comment 14 Chris Gianelloni (RETIRED) gentoo-dev 2006-08-11 13:42:39 UTC
http://www.gentoo.org/proj/en/desktop/games/#doc_chap5_sect10

Related, yes... duplicate, no...

Updates... not really...

This honestly is not much of a priority for me.  I've begun work on something to support this, but it is a serious PITA.  To do it properly, the system needs to determine which CD/DVD set that is being used to install, and install the proper files based on that.

It isn't pretty... at all.

It also isn't a very high priority, since it is quite complex, and only affects such a small subset of users.  Also, I'm the only developer with the game, so I pretty much have to support it compeltely, and right now my time is best spent elsewhere, like making better Gentoo releases.
Comment 15 Anton Romanov 2006-08-19 10:28:18 UTC
when installing from Diamond dvd premium modules can be installed too ...
p7zip can extract files from KingmakerSetup.exe
Comment 16 Ryan Hill (RETIRED) gentoo-dev 2006-09-01 15:47:47 UTC
*** Bug 145308 has been marked as a duplicate of this bug. ***
Comment 17 Ryan Hill (RETIRED) gentoo-dev 2006-09-01 15:51:36 UTC
Created attachment 95691 [details, diff]
nwn-data-1.29.ebuild.diff

this is a diff of the changes i made to the ebuild to get the Diamond DVD to install without problems.  it shouldn't affect CD installs.

i also found that USE="hou -sou" was broken (see bug #145308).
Comment 18 Chris Gianelloni (RETIRED) gentoo-dev 2006-09-06 14:47:23 UTC
Ryan, while that "works" per se, it causes the same files to be extracted a coupel times.  What I'm trying to do is to instead detect the proper CD/DVD and only perform the unpacking once.  However, your patch definitely helps me to let me know what I can do to make this work much easier.  Thanks for it.  =]
Comment 19 Chris Gianelloni (RETIRED) gentoo-dev 2006-11-14 12:08:18 UTC
I almost have this done, now.  I think I have a working Diamond setup, but will need someone to test it once time permits.
Comment 20 Mr. Bones. (RETIRED) gentoo-dev 2009-07-28 21:59:23 UTC
latest nwn-data claims to support the platinum dvd.  seems fixed.