Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 323395 - =games-rpg/nwn-data-1.29-r4 - fix the 3in1_dvd installation
Summary: =games-rpg/nwn-data-1.29-r4 - fix the 3in1_dvd installation
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Games
URL: http://nwn.bioware.com/forums/viewcod...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-10 07:34 UTC by Fab
Modified: 2012-10-07 11:40 UTC (History)
1 user (show)

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


Attachments
3in1_DVD.patch (nwn-data_3in1_DVD.patch,934 bytes, patch)
2010-06-10 07:39 UTC, Fab
Details | Diff
list of files in the cab archive (unshield_list,21.48 KB, text/plain)
2010-06-10 07:40 UTC, Fab
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fab 2010-06-10 07:34:49 UTC
Hi,

I tried to install nwn and nwn-data-1.29-r4 from the 3in1 DVD.

Trying to fix the install as explained at the end of the nwn emerge by running the _fixinstall_ script failed. Once this problem solved, trying to run the game fails with segfault, because a lot of files were not copied from the dvd. There is also some minor problems, I will detail these errors and attach a patch.


First, running /opt/nwn/fixinstall at the end of games-rpg/nwn emerge fails like following :
> # /opt/nwn/fixinstall
> Checking for required files
> 
> PASSED: ambient directory exists
> PASSED: data directory exists
> FAILED: music directory missing

We must also copy the music/ folder from the cab archive on the dvd.


Second, nwn is crashing with segfault, because it misses a lot of data/*.bif files. Instead of copying the data/xp*.bif files, we should copy the entire data/ folder.


Third, from the ambient/ folder you're copying all the *.wav files :
> mv -f App_Executables/ambient/*.wav ambient/

But, listing the cab archive on the DVD shows that there's also some *.WAV files. They will probably miss during the game. So we should also copy the entire ambient/ folder. Note that these *.WAV files will be renamed to *.wav at the end of the src_install phase by the for loop.


Finally, near the end of the src_unpack() function, you do this :

> # These files aren't needed and come from the patches (games-rpg/nwn)
> rm -f data/patch.bif patch.key

But in the installation guide from the bioware forums (see URL) we can read :

> 5. With Both Expansion Packs (or NWN Gold with HotU installed)
>
> You should also make sure there are no obsolete Original NWN or
> SoU patch files present by running this command:
>
> user @ host nwn $ rm -f patch.key xp1patch.key data/patch.bif data/xp1patch.bif


I think you should add :
> rm -f data/xp1patch.bif xp1patch.key


I will attach the patch, and the list of files in the cab archive from the DVD.

Thanks.

Reproducible: Always
Comment 1 Fab 2010-06-10 07:39:06 UTC
Created attachment 234825 [details, diff]
3in1_DVD.patch

With this patch, the fixinstall script and the game works well.
Comment 2 Fab 2010-06-10 07:40:24 UTC
Created attachment 234827 [details]
list of files in the cab archive

list of files in the cab archive on the DVD.
Comment 3 Pacho Ramos gentoo-dev 2012-10-07 11:40:34 UTC
+*nwn-data-1.29-r5 (07 Oct 2012)
+
+  07 Oct 2012; Pacho Ramos <pacho@gentoo.org> +nwn-data-1.29-r5.ebuild,
+  metadata.xml:
+  Fix important bug #323395 (by Fab) and #394227 (by Agostino Sarubbo), also
+  change metadata a bit to get bugs assigned to most active maintainer and
+  prevent problems to be ignored for a long time.
+