Neverwinter Nights installer problem

Hi Guys,

Was just trying to install NWN Diamond Edition for GOG and am coming up with a broken install script.

[INFO:2017-03-02 13:47:19,326:interpreter]: Downloading file 1 of 6
[INFO:2017-03-02 13:47:51,905:interpreter]: Downloading file 2 of 6
[INFO:2017-03-02 13:47:52,315:interpreter]: Downloading file 3 of 6
[INFO:2017-03-02 13:47:53,627:interpreter]: Downloading file 4 of 6
[INFO:2017-03-02 13:47:59,567:interpreter]: Downloading file 5 of 6
[INFO:2017-03-02 13:49:13,225:interpreter]: Downloading file 6 of 6
[ERROR:2017-03-02 13:49:15,898:errors]: I can't move /home/user/.cache/lutris/installer/neverwinter-nights/tmp/nwn/game/ambient, it does not existNone
[ERROR:2017-03-02 13:49:15,900:jobs]: Error while completing task <bound method CommandsMixin.move of <lutris.installer.interpreter.ScriptInterpreter object at 0x7fd5e40453c8>>: I can't move /home/user/.cache/lutris/installer/neverwinter-nights/tmp/nwn/game/ambient, it does not exist

Which is true. The installer folder looks like

.cache/lutris/installer/neverwinter-nights/tmp/nwn
ls
app tmp

In fact looking at the script I can see it is looking for a folder called game.

https://lutris.net/games/install/1713/view

files:

Has the GOG installer changed? mine is version setup_nwn_diamond_2.1.0.21.exe?

Any help is appreciated. Thanks.

Ok Think I found the problem :wink: I ran innoextract by hand turns out I did not have unrar unstalled. I think the error should have been caught by the installer no?

./innoextract /mnt/Steam/SteamLibraryLinux/GOG/downloads/neverwinter_nights_diamond_edition/setup_nwn_diamond_2.1.0.21.exe --output-dir …/nwn/ --gog
Extracting “Neverwinter Nights Diamond Edition” - setup data version 5.5.0 (unicode)

  • “tmp/DirectXEULA.txt” [temp] (9.92 KiB)
  • “tmp/botva2.dll” [temp] (35 KiB)
  • “tmp/crcdll.dll” [temp] (69.5 KiB)
  • “tmp/GameuxInstallHelper_temp.dll” [temp] (94 KiB)
  • “tmp/get_hw_caps.dll” [temp] (76.7 KiB)
  • “app/GameuxInstallHelper.dll” (94 KiB)
  • “tmp/InnoCallback.dll” [temp] (63.5 KiB)
  • “tmp/md5log.ini” [temp] (7 B)
  • “tmp/unrar.dll” [temp] (233 KiB)
  • “tmp/background.old.bunny” [temp] (47.8 KiB)
  • “tmp/background.png” [temp] (4.84 KiB)
  • “tmp/bg-bot@2x.jpg” [temp] (1.22 KiB)
  • “tmp/BigFail.png” [temp] (1.63 KiB)
  • “tmp/BigFail200.png” [temp] (3.41 KiB)
  • “tmp/BigOK.png” [temp] (3.33 KiB)
  • “tmp/BigOK200.png” [temp] (12.8 KiB)
  • “tmp/BigWarn.png” [temp] (1.58 KiB)
  • “tmp/BigWarn200.png” [temp] (3.27 KiB)
  • “tmp/bottombar.png” [temp] (340 B)
  • “tmp/bottombar200.png” [temp] (938 B)
  • “tmp/btn_browse.png” [temp] (4.82 KiB)
  • “tmp/btn_browse200.png” [temp] (11.5 KiB)
  • “tmp/btn_close.png” [temp] (3.36 KiB)
  • “tmp/btn_close200.png” [temp] (9.33 KiB)
  • “tmp/btn_continue.png” [temp] (4.18 KiB)
  • “tmp/btn_continue200.png” [temp] (11.2 KiB)
  • “tmp/btn_exit.png” [temp] (3.76 KiB)
  • “tmp/btn_exit200.png” [temp] (8.37 KiB)
  • “tmp/btn_launch.png” [temp] (9.96 KiB)
  • “tmp/btn_launch200.png” [temp] (21.5 KiB)
  • “tmp/btn_md5.png” [temp] (8.73 KiB)
  • “tmp/btn_md5200.png” [temp] (12.5 KiB)
  • “tmp/btn_options.png” [temp] (5.01 KiB)
  • “tmp/btn_options200.png” [temp] (12.5 KiB)
  • “tmp/btn_save_as.png” [temp] (5.64 KiB)
  • “tmp/btn_save_as200.png” [temp] (15.6 KiB)
  • “tmp/btn_skip.png” [temp] (3.23 KiB)
  • “tmp/btn_skip200.png” [temp] (8.52 KiB)
  • “tmp/btn_start.png” [temp] (4.21 KiB)
  • “tmp/btn_start200.png” [temp] (9.59 KiB)
  • “tmp/btn_tryagain.png” [temp] (10.5 KiB)
  • “tmp/btn_tryagain200.png” [temp] (24.2 KiB)
  • “tmp/error.png” [temp] (726 B)
  • “tmp/error200.png” [temp] (1.78 KiB)
  • “tmp/error_icon.png” [temp] (1.44 KiB)
  • “tmp/error_icon200.png” [temp] (2.14 KiB)
  • “tmp/EULA.png” [temp] (2.32 KiB)
  • “tmp/EULA200.png” [temp] (10.5 KiB)
  • “tmp/EULAAccepted.png” [temp] (2.63 KiB)
  • “tmp/EULAAccepted200.png” [temp] (11.4 KiB)
  • “tmp/EULAShow.png” [temp] (1.47 KiB)
  • “tmp/EULAShow200.png” [temp] (2.15 KiB)
  • “tmp/EULA_bkg.png” [temp] (3.52 KiB)
  • “tmp/gog.ico” [temp] (67.6 KiB)
  • “tmp/GOG.png” [temp] (3.45 KiB)
  • “tmp/GOG200.png” [temp] (5.29 KiB)
  • “tmp/GOG200_new.png” [temp] (3.86 KiB)
  • “tmp/gog_new.png” [temp] (1.95 KiB)
  • “tmp/ok.png” [temp] (1.18 KiB)
  • “tmp/ok200.png” [temp] (2.18 KiB)
  • “tmp/OpenSans-Regular.ttf” [temp] (212 KiB)
  • “tmp/OpenSans-Semibold.ttf” [temp] (216 KiB)
  • “tmp/progress_center.png” [temp] (1.12 KiB)
  • “tmp/progress_center200.png” [temp] (1.26 KiB)
  • “tmp/progress_left.png” [temp] (1.15 KiB)
  • “tmp/progress_left200.png” [temp] (792 B)
  • “tmp/progress_right.png” [temp] (1.15 KiB)
  • “tmp/progress_right200.png” [temp] (828 B)
  • “tmp/scroll-handle-bot.png” [temp] (1 KiB)
  • “tmp/scroll-handle-top.png” [temp] (1.01 KiB)
  • “tmp/trackbar_back.png” [temp] (1.7 KiB)
  • “tmp/trackbar_back200.png” [temp] (4.4 KiB)
  • “tmp/trackbar_btn.png” [temp] (2 KiB)
  • “tmp/trackbar_btn200.png” [temp] (5.65 KiB)
  • “tmp/track_center.png” [temp] (1.09 KiB)
  • “tmp/track_center200.png” [temp] (1.21 KiB)
  • “tmp/track_left.png” [temp] (1.11 KiB)
  • “tmp/track_left200.png” [temp] (558 B)
  • “tmp/track_right.png” [temp] (1.12 KiB)
  • “tmp/track_right200.png” [temp] (557 B)
  • “tmp/Support.ico” [temp] (61.4 KiB)
  • “tmp/06.Legend-of-Grimrock.png” [temp] (1.03 MiB)
  • “tmp/07.Ultima-7-The-Complete-Edition.png” [temp] (1.07 MiB)
  • “tmp/13.The-Inquisitor.png” [temp] (1.19 MiB)
  • “tmp/16.Darklands.png” [temp] (1.09 MiB)
  • “tmp/02.Planescape-Torment.png” [temp] (1.05 MiB)
  • “tmp/01.System-Shock-2.png” [temp] (1.05 MiB)
  • “tmp/04.Witcher-2-Assassins-of-Kings.png” [temp] (1.31 MiB)
  • “tmp/05.Might-and-Magic-6-Pack-Limited-Edition.png” [temp] (1.34 MiB)
  • “tmp/09.Arcanum_-Of-Steamworks-and-Magick-Obscura.png” [temp] (1.38 MiB)
  • “tmp/10.Divine-Divinity.png” [temp] (876 KiB)
  • “tmp/11.Icewind-Dale-Complete.png” [temp] (1.29 MiB)
  • “tmp/14.Geneforge-1-5.png” [temp] (1.22 MiB)
  • “tmp/15.Nox.png” [temp] (952 KiB)
  • “tmp/03.Comanche-vs.-Hokum.png” [temp] (1.08 MiB)
  • “tmp/04.Beyond-Good-&-Evil.png” [temp] (1.06 MiB)
  • “tmp/05.Another-World-15th-Anniversary-Edition.png” [temp] (1.15 MiB)
  • “tmp/06.Driver-Parallel-Lines.png” [temp] (1.16 MiB)
  • “tmp/08.Alone-in-The-Dark-1+2+3.png” [temp] (1.42 MiB)
  • “tmp/09.Alan-Wake.png” [temp] (1.02 MiB)
  • “tmp/10.Bloodrayne.png” [temp] (1.07 MiB)
  • “tmp/11.Age-of-Wonders.png” [temp] (1.01 MiB)
  • “tmp/02.Far-Cry.png” [temp] (1.56 MiB)
  • “tmp/12.Oddworld-Abe’s-Exoddus.png” [temp] (1.29 MiB)
  • “tmp/13.Cannon-Fodder.png” [temp] (1.06 MiB)
  • “tmp/14.Fahrenheit-(Indigo-Prophecy).png” [temp] (1.19 MiB)
  • “tmp/15.Crusader-No-Regret.png” [temp] (1.2 MiB)
  • “tmp/1207658890.ini” [temp] (3.42 KiB)
  • “tmp/gog_background.jpg” [temp] (85.2 KiB)
  • “tmp/EULA.txt” [temp] (0 B)
  • “tmp/GOG_EULA.txt” [temp] (1.83 KiB)
    Could not extract “/mnt/Steam/SteamLibraryLinux/GOG/downloads/neverwinter_nights_diamond_edition/setup_nwn_diamond_2.1.0.21-1.bin”: install unrar or unar
    Done with 1 error.

Thanks anyway for making it a fairly easy thing to debug.

Cheers.

Interesting, I had no idea innoextract required unrar.

Yeah… I was a bit surprised that there was no error message in the installer window either.

Another(?) bug I found is if you run out of space in ~/.cache/lutris/installer it will silently fail as well again with the cryptic, cannot move file x, does not exist message.

It occurs to me that errors in a stage should be flagged before the next stage is started and a error message generated.

How are errors handled when processing install scripts?

Thanks.

Hey,

I’m running into the same issue on Ubuntu 17.10, though unrar is actually installed. How did you solve the problem?

Thanks