Home › Forums › Tech Support › Neverwinter Nights how-to
- This topic has 50 replies, 5 voices, and was last updated 7 years, 9 months ago by
strider.
-
AuthorPosts
-
November 25, 2015 at 8:56 pm #67259
strider
ParticipantI’m (finally) working on the NWN installer for Lutris and I was reading the published how-to on the website and something puzzles me. The final script does indeed preloads the nwmovies library but the other libs (nwmouse, nwlogger, nwuser) are never used.
Are these useful in any way or could I just ignore them completely?Also the environment variable __GL_FSAA_MODE is NVidia specific, right? I suppose it wouldn’t hurt anyone if I added it to the base script whether they use NVidia or something else.
November 25, 2015 at 9:24 pm #75368strider
ParticipantI had forgotten I had selected Cool Retro Term as my default terminal in Lutris!
November 25, 2015 at 10:23 pm #75369strider
ParticipantAll right, this installer is done! https://lutris.net/games/neverwinter-nights/
For those who want to test it, make sure you run the latest version of lutris, I haven’t tested it on 0.3.6. The deb for 0.3.7 is here: https://lutris.net/releases/lutris_0.3.7_amd64.deb and for the other distros, just use git:
Code:Also, make sure to uninstall the package before installing the real 0.3.7 version when it’s released (most probably this week, or next one)
For some reason the movies don’t work, I’ve tried with 2 different builds of nwmovies. Everything else should be ok!
November 26, 2015 at 8:23 am #75370Pedro Mateus
Keymasterstrider wrote:The final script does indeed preloads the nwmovies library but the other libs (nwmouse, nwlogger, nwuser) are never used.
Are these useful in any way or could I just ignore them completely?Nwmouse is only useful if the software cursor isn’t working. NWLogger is more a debugger, I guess. NWUser makes it so player configurations are saved in ~/.nwn instead of the game folder, allowing multiple users. I included those in the tutorial for those off chances that people may need them, then they’ll only need to add those to the preload.
strider wrote:Also the environment variable __GL_FSAA_MODE is NVidia specific, right? I suppose it wouldn’t hurt anyone if I added it to the base script whether they use NVidia or something else.Yes and also yes.
November 26, 2015 at 10:01 am #75371strider
ParticipantAlright then!
Last thing, can you confirm that you got movies playing on your side? The nwmovies lib is preloading correctly, the .ini file is written but when clicking on the movies in the game menu, nothing happens.Everything (nwmovies + shell script) is here: https://lutris.net/files/games/neverwin … her.tar.gz do you notice anything where I messed up?
November 26, 2015 at 10:02 am #75372strider
ParticipantAlright then!
Last thing, can you confirm that you got movies playing on your side? The nwmovies lib is preloading correctly, the .ini file is written but when clicking on the movies in the game menu, nothing happens.Everything (nwmovies + shell script) is here: https://lutris.net/files/games/neverwin … her.tar.gz do you notice anything where I messed up?
November 26, 2015 at 10:12 am #75373strider
ParticipantOh, and this is very unfortunate that I have to ship a .ini file that runs the game in a window since there are no in-game option to switch to fullscreen.
I have no second monitor to test things on so could you try exporting
Code:export SDL_VIDEO_FULLSCREEN_HEAD=0
export SDL_VIDEO_FULLSCREEN_DISPLAY=0and tell me if the fullscreen game is working properly on twinview?
November 26, 2015 at 11:55 am #75374Pedro Mateus
KeymasterYes, the movies are working fine on my end.
You need libX11.so 32bit for the movies to work. You might need to symlink it to that specific name if your distro doesn’t automatically.Those variables don’t work, at least not for me. I tried them on Korora 21 before update and it would still disable the secondary monitor on my end.
November 26, 2015 at 3:04 pm #75375strider
ParticipantUnaccounted4 wrote:Yes, the movies are working fine on my end.
You need libX11.so 32bit for the movies to work. You might need to symlink it to that specific name if your distro doesn’t automatically.I have it and it’s also in the lutris runtime so I don’t think the problem comes from here. Care to share your builds?
Quote:Those variables don’t work, at least not for me. I tried them on Korora 21 before update and it would still disable the secondary monitor on my end.Oh! For some reason, I started thinking the issue was the game stretched across both monitors…
The lutris policy is to make games run fullscreen, no matter what. Most old games will turn off secondary monitors but I’m okay with that as long as the game shows up fullscreen on the primary monitor. I’ll be switching to fullscreen by default then.I still have this idea in the back of my head of a hacked SDL 1.2 lib that would use SDL2 fullscreen windows instead, but that’s not happening in the near future…
November 26, 2015 at 3:15 pm #75376Pedro Mateus
Keymasterstrider wrote:Unaccounted4 wrote:Yes, the movies are working fine on my end.
You need libX11.so 32bit for the movies to work. You might need to symlink it to that specific name if your distro doesn’t automatically.I have it and it’s also in the lutris runtime so I don’t think the problem comes from here. Care to share your builds?
Check the nwmovies.log file to see why it isn’t playing them.
November 26, 2015 at 3:38 pm #75377strider
ParticipantUnaccounted4 wrote:Check the nwmovies.log file to see why it isn’t playing them.Oh gosh! It’s really “libX11.so” and not libX11.so.6!
Luckily the fix is not hard, I can modify the lib’s filename in the nwmovies source code.
Alright, videos are playing, now I’ve got to figure out the thing with SDL gfx for fullscreen videos and this installer will be done!November 26, 2015 at 3:57 pm #75378Pedro Mateus
Keymasterstrider wrote:Alright, videos are playing, now I’ve got to figure out the thing with SDL gfx for fullscreen videos and this installer will be done!That’d be awesome.
November 26, 2015 at 3:57 pm #75379Pedro Mateus
Keymasterdouble post…
November 26, 2015 at 3:59 pm #75380linuxgnuru
Participantwow; so much hard work for a 13 year old video game …(I’m one to talk … still helping with the Exult community)
November 26, 2015 at 4:44 pm #75381Venn Stone
KeymasterCheck the hate mail. Someone docked it.
-
AuthorPosts
- You must be logged in to reply to this topic.