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
(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'
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.
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.
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"
(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.
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...)
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.
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.
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
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.
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.
Created attachment 80235 [details] NWN Platinum DVD file list I saw the req
Are there any updates? And is this related to bug 118446?
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.
when installing from Diamond dvd premium modules can be installed too ... p7zip can extract files from KingmakerSetup.exe
*** Bug 145308 has been marked as a duplicate of this bug. ***
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).
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. =]
I almost have this done, now. I think I have a working Diamond setup, but will need someone to test it once time permits.
latest nwn-data claims to support the platinum dvd. seems fixed.