New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Neverwinter Nights: add the game #10981
Conversation
AFAIK there's some general opposition against packages needing |
One notable difference from #10006 is that this derivation uses only resources from Windows packages (extracting them). However, it does use cc @edolstra : what's your opinion on this? |
(triage) |
No, we should not add more |
I think this PR can be closed then. |
@edolstra Not really warez -- this package works with an official GOG version, how would you get it is on your conscience (I have it bought, for example). 👍 for closing this. |
If someone still has an interest for this, I have created a small repo for native games like this one which need non-free (in both senses of word) data but also non-trivial packaging to be playable: https://github.com/abbradar/nixpkgs-nonfree |
This adds a native Linux version of Neverwinter Nights, with data files extracted from the GOG distribution and Linux client taken from official BioWare server. The packaging script was greatly inspired by https://aur.archlinux.org/packages/nwn-gog/ , but changed to patch necessary things for NixOS and also to improve several things.
NWN also requires
binkplayer
which was added too. Unfortunately, RAD Game Tools disallowed redistribution or automated download of the player (via e-mail), so a user needs to download it by himself.The main concern of this (so this is a PR) is that this package may be too specific for Nixpkgs. On one hand, it's a native Linux (albeit proprietary) application with a very non-trivial building script. On the other, it's an old game which may be needed by only a few people, of not only by myself. What policy do we have to decide whether a particular package is suited for Nixpkgs?
P.S.: The build sequence is indeed very non-trivial, with very few documentation from BioWare on how actually to build a native distribution. Also the work done by the author of
nwmovies
,nwuser
etc is enormous, he does a lot of binary patching of the game in memory, dynamically searching for key places using a disassembler library (!). Both the authors of those binary patches and of the sourcenwn-gog
AUR package deserve credits ^_^.