Neverwinter Nights how-to

Home Forums Tech Support Neverwinter Nights how-to

Viewing 15 posts - 1 through 15 (of 51 total)
  • Author
    Posts
  • #67259
    strider
    Participant

    I’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.

    #75368
    strider
    Participant

    I had forgotten I had selected Cool Retro Term as my default terminal in Lutris!

    View post on imgur.com

    #75369
    strider
    Participant

    All 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:
    git clone https://github.com/lutris/lutris.git
    cd lutris
    ./bin/lutris

    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!

    #75370
    Pedro Mateus
    Keymaster
    strider 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.

    #75371
    strider
    Participant

    Alright 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?

    #75372
    strider
    Participant

    Alright 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?

    #75373
    strider
    Participant

    Oh, 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=0

    and tell me if the fullscreen game is working properly on twinview?

    #75374
    Pedro Mateus
    Keymaster

    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.

    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.

    #75375
    strider
    Participant
    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?

    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…

    #75376
    Pedro Mateus
    Keymaster
    strider 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.

    #75377
    strider
    Participant
    Unaccounted4 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!

    #75378
    Pedro Mateus
    Keymaster
    strider 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.

    #75379
    Pedro Mateus
    Keymaster

    double post…

    #75380
    linuxgnuru
    Participant

    wow; so much hard work for a 13 year old video game …(I’m one to talk … still helping with the Exult community)

    #75381
    Venn Stone
    Keymaster

    Check the hate mail. Someone docked it.

Viewing 15 posts - 1 through 15 (of 51 total)
  • You must be logged in to reply to this topic.