Package Details: nwn-gog 2.0.0.15-4

Git Clone URL: https://aur.archlinux.org/nwn-gog.git (read-only)
Package Base: nwn-gog
Description: Neverwinter Nights is an RPG from Bioware. This requires the GOG version.
Upstream URL: http://nwn.bioware.com/
Licenses: custom
Conflicts: nwn
Provides: nwn
Submitter: jdarch
Maintainer: nexero
Last Packager: jdarch
Votes: 3
Popularity: 0.055480
First Submitted: 2015-09-09 22:49
Last Updated: 2015-09-09 22:52

Required by (0)

Sources (13)

Latest Comments

smls commented on 2016-07-24 12:54

@nexero:

You shouldn't use the outdated 'if [ "$CARCH" = "x86_64" ]' method for architecture-specific sources, anymore, as it can cause problems for the AUR database and AUR helpers.

Instead, use:

depends=(...)
depends_i686=(...)
depends_x86_64=(...)

smls commented on 2016-07-24 12:44

@JinksonFox:
What are you talking about?
Using the gog:// protocol in the source array is the proper way to do it.

It has zero disadvantages compared to using no protocol at all. With no protocol, you would *have* to manually copy the source files into the PKGBUILD directory, and with the protocol you can still do that.

But what you can *also* do now, is to define a custom DLAGENT in /etc/makepkg.conf.
You could define a dlagent that uses lgogdownloader for such URLs, but personally I prefer to use the following dlagent for hib:// and gog:// URLs which finds the files in my ~/download folder and subdirectories thereof: http://pastebin.com/raw/Brz8THUG

JinksonFox commented on 2016-07-11 02:28

cybrid:

I also attempted to try to see if I could do anything with the gog:// URIs to no avail. What I eventually ended up doing was using lgogdownloader just to download the neverwinter_nights_diamond_edition folder to my system, I put a quick and dirty HTTP server up (nginx), and then I moved that folder into the HTTP directory, modified the PKGBUILD to point to the local http sources, and then it got me on my way. I ran a makepkg on that modified PKGBUILD and installed with sudo pacman -U.

Whoever decided to use the gog:// URI for source files created a world of headache for anyone attempting to use this package. Luckily, it's still less of a headache than trying to set up NWN for native linux without something like this.

cybrid commented on 2016-06-18 00:45

I've been trying to install this via yaourt.
I'm getting the following error:

==> Building and installing package
==> Making package: nwn-gog 2.0.0.15-4 (Fri Jun 17 19:42:26 CDT 2016)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
==> ERROR: Unknown download protocol: gog
Aborting...
==> ERROR: Makepkg was unable to build nwn-gog.
==> Restart building nwn-gog ? [y/N]

I have installed lgogdownloader, but this doesn't seem to have helped.

abbradar commented on 2015-11-12 13:01

Hi, thanks you very much for this work! I have ported your package to Nix package manager: https://github.com/NixOS/nixpkgs/pull/10981. Some improvements you may want to take back:

1. https://github.com/abbradar/nixpkgs/commit/4280ca3c306d4db5b9ca3a0347c162887db764c4#diff-45aff6716b2938a16657fb52cbb27449R12 (-m option to avoid extracting tmp/)
2. https://github.com/abbradar/nixpkgs/commit/4280ca3c306d4db5b9ca3a0347c162887db764c4#diff-45aff6716b2938a16657fb52cbb27449R74 (bigger list of things to remove)
3. https://github.com/abbradar/nixpkgs/commit/4280ca3c306d4db5b9ca3a0347c162887db764c4#diff-b184132934e6bdd2abad00398ba25aabR20 (video scaling by default, overridable)