It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
avatar
duapruis: (…)
avatar
vv221: There are persistent files stored in the two following directories:
~/.local/share/games/neverwinter-nights/ (mostly saved games)
~/.config/neverwinter-nights/ (game keys and configuration)

They are specific to each user of your system, and won’t get deleted by the uninstallation of the game.
Oh ok. Also, if its not much asking, do you know, by any chance how to set up the client extension in linux? Been looking into it and all I found were tools for the linux server, not the client.
Post edited January 24, 2016 by duapruis
avatar
duapruis: (…)
While I do not know how to do it yet, that’s something I’ll have to study soon as I plan to add support for it to the next iteration of this script. Once it’s done you’lle be able to launch from your menu:
_the single-player game
_the server
_the client

At a later date a fourth launcher should be added to the mix, to launch the toolset. This one will have to run through WINE as there is sadly no native Linux client for it.

While the support for the toolset will come at some uncertain point in the future, the server and client support should be ready some time next week. I’ll of course update this thread once it’s done ;)
avatar
duapruis: (…)
avatar
vv221: While I do not know how to do it yet, that’s something I’ll have to study soon as I plan to add support for it to the next iteration of this script. Once it’s done you’lle be able to launch from your menu:
_the single-player game
_the server
_the client

At a later date a fourth launcher should be added to the mix, to launch the toolset. This one will have to run through WINE as there is sadly no native Linux client for it.

While the support for the toolset will come at some uncertain point in the future, the server and client support should be ready some time next week. I’ll of course update this thread once it’s done ;)
Strangely enough I did a full install of the game with the movie support (after cleaning every single trace of the nwn installation) and now it doesn't appear a black screen and does nothing, now it shows a window (with minimize/close called Neverwinter Night Client) that flickers for a few seconds and then it jumps to the main window on fullscreen of the game without crashing (were you start a new game etc).

I hope that this gives you some sort of feedback of what the problem might be
Post edited January 25, 2016 by duapruis
avatar
duapruis: (…)
I guess the explanation for the movies not playing on your system is linked to this error:
ERROR: ld.so: object './nwmovies.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
Now I need to understand what triggers it.

At first I thought it meant that your system didn’t support loading 32-bit libraries, but if it was the case you wouldn’t have been able to run the game at all.
Hi,

I'm trying to get this working and I'm not sure if it's working properly.

I ran the setup for 64 bit + movies and I think it all worked, but I'm not clear on how to launch the game.

If I click the menu item, nothing happens. I see it runs 'neverwinter-nights', so I run that from the command line and I get the output below, and nothing else - it just hangs there.

Is this how to launch the game? To be clear, I don't care about the movies, I just used those instructions because there was no 64 bit without movies guide.

NOTICE: NWMovies(./nwmain): Version: 20090223.080954
NOTICE: Looking up symbols in libSDL.....
NOTICE: NWMovies: Using libSDL via RTLD_NEXT.
NOTICE: SDL Library determined to be: /usr/lib/i386-linux-gnu/libSDL-1.2.so.0
NOTICE: NWMovies: SDL_WM_GrabInput() address: f74e0030
NOTICE: NWMovies: SDL_GetVideoSurface() address: f74de5d0
NOTICE: NWMovies: SDL_WM_ToggleFullScreen() address: f74e1470
NOTICE: NWMovies: SDL_PollEvent() address: f74bf530
NOTICE: NWMovies: SDL_WM_IconifyWindow() address: f74e1430
NOTICE: NWMovies: Patch 0 Address: 0x08077a9d
NOTICE: NWMovies: Patch 1 Address: 0x08077ab1
NOTICE: NWMovies: Patch 2 Address: 0x0815b5f7
NOTICE: NWMovies: Patch 3 Address: 0x0815b611
NOTICE: NWMovies: Patch 4 Address: 0x0807796f
NOTICE: NWMovies: Patch 5 Address: 0x08207835
NOTICE: NWMovies: Patch 6 Address: 0x08207858
NOTICE: NWMovies: PrePatch0: 8b 80 78 02 00 00 5d c3
NOTICE: NWMovies: PrePatch1: 8b 80 7c 02 00 00 5d c3
NOTICE: NWMovies: PrePatch2: e8 68 c5 f1 ff 83 ec 08
NOTICE: NWMovies: PrePatch3: 169+: eb 59 90 83
NOTICE: NWMovies: PostPatch0: b8 00 00 00 00 90 5d c3
NOTICE: NWMovies: PostPatch1: b8 00 00 00 00 90 5d c3
NOTICE: NWMovies: PostPatch2: 90 90 90 90 90 83 ec 08
NOTICE: NWMovies: PostPatch3: 169+: 90 90 90 83
NOTICE: NWMovies: PrePatch4: 56 8d 5d e8 53
NOTICE: NWMovies: PostPatch4: e9 6c 02 70 ef
NOTICE: NWMovies: MoviesPrePatch: 6a 00 53 bf 00 00 00 3f e8 72 4f 2a 00 8b 43 60 8b 10 c7 04 24 00 00 80 3f 57 57 57 50 ff 52 44 83 c4 1c
NOTICE: NWMovies: MoviesPostPatch: 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90
NOTICE: NWMovies: Initialized.
avatar
timwebster9: To be clear, I don't care about the movies, I just used those instructions because there was no 64 bit without movies guide.
The instructions about building the package without movies support should work on any architecture (32 or 64-bit), maybe you should give them a try so we can know if it is indeed the movies support that is causing your issue.
Post edited March 17, 2016 by vv221
avatar
timwebster9: To be clear, I don't care about the movies, I just used those instructions because there was no 64 bit without movies guide.
avatar
vv221: The instructions about building the package without movies support should work on any architecture (32 or 64-bit), maybe you should give them a try so we can know if it is indeed the movies support that is causing your issue.
Hi,

I tried without movie support first - but it complained about a missing dependency (it looked like a 32-bit thing).

I have since installed the other dependencies, so I'm trying again now....
avatar
timwebster9: I tried without movie support first - but it complained about a missing dependency (it looked like a 32-bit thing).
If you get this error again please post it here, it might be an error in my script.
avatar
timwebster9: I tried without movie support first - but it complained about a missing dependency (it looked like a 32-bit thing).
avatar
vv221: If you get this error again please post it here, it might be an error in my script.
OK I get this when I run the 'neverwinter-nights' from the command line:

timw@neptune:~/Downloads/nwn$ neverwinter-nights
ERROR: ld.so: object './nwmovies.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
avatar
timwebster9: OK I get this when I run the 'neverwinter-nights' from the command line:

timw@neptune:~/Downloads/nwn$ neverwinter-nights
ERROR: ld.so: object './nwmovies.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
Hmm, that’s the same error duapruis got, and I still haven’t figured out its cause…
Do you get it on the version without movies support too? If so I might have an idea about what is causing it ;)
avatar
timwebster9: OK I get this when I run the 'neverwinter-nights' from the command line:

timw@neptune:~/Downloads/nwn$ neverwinter-nights
ERROR: ld.so: object './nwmovies.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
avatar
vv221: Hmm, that’s the same error duapruis got, and I still haven’t figured out its cause…
Do you get it on the version without movies support too? If so I might have an idea about what is causing it ;)
This IS the version without movies..:-)

It's possible I've messed it up a little bit..here's what I've tried so far:

1. Build and installed the 64-bit + movies. I had to install mpv and innoextract manually because they weren't installed. Also the first time I tried to install the .deb package it complained about some missing package - but I think the apt-get -f install might have fixed that.

2. Tried to run the above install, and it didn't work (see my first post).

3. Unintalled 64-bit + movies package, and rebuilt without the --with-movies flag (also deleted the nwmovies-mpv.tar.gz file from the directory.

4. Installed above package, ran it and got the LD_PRELOAD error.


I'm not sure if that's the same error the other guy was getting...he was getting this:

ERROR: ld.so: object './nwmovies.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.


While I am getting this:

ERROR: ld.so: object './nwmovies.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.


Note the absence of the ELFCLASS32 part. I'm not certain but could that be something to do with 32-bit libraries being mixed up with 64-bit libraries (or something like that?)
avatar
timwebster9: (…)
Okay, so now it is the version without movies support that is installed, right?

Your error is still linked to the movie player, and is most probably due to residual files from your previous installation. The following command should delete them so the game stops trying to start a movie player that doesn’t exist anymore:
rm -rf ~/.local/share/games/neverwinter-nights/
Does the game start after you removed this directory? (it will be automatically generated on game launch if it doesn’t exist)

-----

You’re right about the errors not being the same, well spotted ;)
Post edited March 17, 2016 by vv221
avatar
timwebster9: (…)
avatar
vv221: Okay, so now it is the version without movies support that is installed, right?

Your error is still linked to the movie player, and is most probably due to residual files from your previous installation. The following command should delete them so the game stops trying to start a movie player that doesn’t exist anymore:

rm -rf ~/.local/share/games/neverwinter-nights/
avatar
vv221: Does the game start after you removed this directory? (it will be automatically generated on game launch if it doesn’t exist)

-----

You’re right about the errors not being the same, well spotted ;)
No - it still doesn't start...just hangs. I got the impression it was doing that before as well (despite the error message)

- and yeah - it's the version without the movie player....
Post edited March 18, 2016 by timwebster9
avatar
timwebster9: (…)
Hmm, that’s strange…
Could you give a try to this other method for installing the game on GNU/Linux?
https://www.gog.com/forum/neverwinter_nights_series/modern_patch_for_neverwinter_nights_native_linux_version

That way we will know if the problem is linked to the usage of my scripts, or if there’s a real problem with running the native client on your system.
avatar
timwebster9: (…)
avatar
vv221: Hmm, that’s strange…
Could you give a try to this other method for installing the game on GNU/Linux?
https://www.gog.com/forum/neverwinter_nights_series/modern_patch_for_neverwinter_nights_native_linux_version

That way we will know if the problem is linked to the usage of my scripts, or if there’s a real problem with running the native client on your system.
Hi,

I got it working - I noticed someone else on that other thread you linked to had a similar problem and switched to the open source driver, so I did the same and it worked!

Having said that - the screen resolution is now stuck at 1400x1050 (even in the desktop) and I can't change it...doesn't run great either. Do you by any chance happen to know if it should run on an ATI 5450 Cedar card (I'm on Ubuntu Gnome 15.10)...?

Thanks for all your help...:-)

EDIT: Panic over - I hadn't purged the fglrx drivers properly and it was using software rendering. After I did that it worked properly...
Post edited March 19, 2016 by timwebster9