Bug 252747 - games/linux-nwnclient: Replace (fix) movie viewing and more
Summary: games/linux-nwnclient: Replace (fix) movie viewing and more
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks: 247219
  Show dependency tree / graph
 
Reported: 2021-01-16 18:20 UTC by Sean Farley
Modified: 2026-03-25 17:24 UTC (History)
1 user (show)

See Also:


Attachments
Patch to games/linux-nwnclient (21.55 KB, patch)
2021-01-16 18:20 UTC, Sean Farley
no flags Details | Diff
Patch to games/linux-nwnclient (22.01 KB, patch)
2025-03-06 04:01 UTC, Mark Linimon
no flags Details | Diff
Update port and rebase to latest HEAD (19.96 KB, patch)
2025-04-26 17:01 UTC, Sean Farley
no flags Details | Diff
Update port and rebase to latest HEAD (20.53 KB, patch)
2026-01-13 00:30 UTC, Sean Farley
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sean Farley freebsd_committer freebsd_triage 2021-01-16 18:20:59 UTC
Created attachment 221638 [details]
Patch to games/linux-nwnclient

This has a lot of changes but mostly centered around playing in-game movies.

- Switch from using the Linux Bink movie player to using a script that calls `multimedia/mpv`.  The script is called by the nwmovies.so library loaded by the game.
- A big thank you to David to get the needed features into nwmovies.so for FreeBSD.  See https://github.com/nwnlinux/nwmovies.
- Add FETCH_DEPENDS and BUILD_DEPENDS to allow building via poudriere since the games/linux-nwnclient port configures itself differently based upon the version of games/nwndata installed.
- Delint port.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2025-03-06 04:01:58 UTC
Created attachment 258331 [details]
Patch to games/linux-nwnclient

^Triage: rebase patch.
Comment 2 Sean Farley freebsd_committer freebsd_triage 2025-03-08 17:05:42 UTC
(In reply to Mark Linimon from comment #1)
Thank you for the rebase!

Note for users of this port:  There is a game startup issue I am experiencing.  Hopefully, I will have it fixed around the time when rl9 is made the default Linux base.
Comment 3 Mark Linimon freebsd_committer freebsd_triage 2025-03-10 03:00:27 UTC
(In reply to Sean Farley from comment #2)
Actually, the rebased patch does not apply, either.

Unfortunately, I don't have the cycles to track this down.
Comment 4 Sean Farley freebsd_committer freebsd_triage 2025-04-26 17:01:08 UTC
Created attachment 259892 [details]
Update port and rebase to latest HEAD

I rebased the port to a recent HEAD.  In addition to the list of changes mentioned already:

- Update pkg-message with troubleshooting for display issues.
- Use GH_* options to fetch files for the NWMOVIES option.
- Disable xrandr by default to prevent the game from showing only a black screen.
- Tested against linux_base-rl9.
Comment 5 Mark Linimon freebsd_committer freebsd_triage 2025-11-30 04:38:18 UTC
^Triage: assign to current maintainer.
Comment 6 Po-Chuan Hsieh freebsd_committer freebsd_triage 2025-11-30 07:33:48 UTC
(In reply to Mark Linimon from comment #5)

I'm not the maintainer. :)
Assign this PR to Sean as the correct maintainer.

% grep MAINTAINER /usr/ports/games/linux-nwnclient/Makefile
MAINTAINER=     scf@FreeBSD.org
Comment 7 Sean Farley freebsd_committer freebsd_triage 2025-11-30 19:19:01 UTC
I am an alumni without a commit bit, so it will have to be someone else that commits it.

However, I need to revisit this patch.  The WWW site is now a parked domain.  https://nwn.fandom.com/wiki/Neverwinter_Nights may be a replacement.  I will check if everything still works too.
Comment 8 Mark Linimon freebsd_committer freebsd_triage 2025-12-01 06:49:09 UTC
^Triage: hmm.  Since scf no longer has a current commit bit, perhaps we should
reassign this to ports-bugs@.
Comment 9 Sean Farley freebsd_committer freebsd_triage 2026-01-13 00:30:31 UTC
Created attachment 267097 [details]
Update port and rebase to latest HEAD

Latest update to the port.  WWW is now https://nwn.fandom.com/wiki/Neverwinter_Nights, unless, someone finds a better alternative.
Comment 10 commit-hook freebsd_committer freebsd_triage 2026-03-25 14:44:56 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3603c997dc20aec53b372619c74416f4d80d7700

commit 3603c997dc20aec53b372619c74416f4d80d7700
Author:     Torsten Zuehlsdorff <tz@FreeBSD.org>
AuthorDate: 2026-03-23 21:20:29 +0000
Commit:     Torsten Zuehlsdorff <tz@FreeBSD.org>
CommitDate: 2026-03-25 14:43:01 +0000

    games/linux-nwnclient: update, add movie playback via mpv

    Add nwmovies support using mpv, fix xrandr issues, update for
    linux_base-rl9. WWW updated to nwn.fandom.com.

    PR:             252747
    Submitted by:   scf@FreeBSD.org

 games/linux-nwnclient/Makefile                   |  77 +++++++-------
 games/linux-nwnclient/distinfo                   |  16 +--
 games/linux-nwnclient/files/nwmovies.pl (gone)   |  73 -------------
 games/linux-nwnclient/files/nwmovies.sh.in (new) |  16 +++
 games/linux-nwnclient/files/nwn.in (new)         | 128 +++++++++++++++++++++++
 games/linux-nwnclient/files/nwn.sh (gone)        | 125 ----------------------
 games/linux-nwnclient/pkg-message                |  28 ++++-
 games/linux-nwnclient/pkg-plist                  |   4 +-
 8 files changed, 216 insertions(+), 251 deletions(-)
Comment 11 Sean Farley freebsd_committer freebsd_triage 2026-03-25 17:24:17 UTC
Thank you!