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

×
So I'm following a guide I found here. I'd post the link, but I can't because I'm a new user.

Everything was working fine, it was extracting the bin, but instead of it finishing and giving me the command to launch as root to install the game, it gave me this message in the terminal mv: 'dialog.TLK' and 'dialog.tlk' are the same file

I don't think it finished running the script. Is it supposed to do anything after extracting the bin? Also there seems to be empty folders like it wasn't finished.

So how do I get it to finish, and what does that message mean? As you can tell, I'm pretty newby with Linux. I know enough to get into trouble, and I can follow directions pretty well. My google-fu is pretty impressive if I do say so myself, but alas it has failed me this time. I'm going to need some help on this one.
This question / problem has been solved by vv221image
avatar
stevei46: So I'm following a guide I found here. I'd post the link, but I can't because I'm a new user.
Is this the following guide?
[./play.it] Install the Neverwinter Nights games on Linux

If so, I’m going to run some tests to try to replicate, and hopefully fix, your issue. But before that I need a bit more infos:
_ What is the Linux distribution you’re using?
_ What are the GOG installers you’re using (file names are enough to identify them)?
_ Can you paste here the full output of the script, including the error?

-----

I actually already have an idea: are you trying to run the script on a case-insensitive file system like NTFS or FAT32?
If so it won’t work, you need to run the script from a case-sensitive file system like ext4 (default for most Linux distributions).

Sadly I do not know how to automatically detect this, or I would have put an explicit error message in the script before processing anything if it is run in such unsupported environment.
Post edited September 20, 2018 by vv221
I don't know if I can post links in a reply or not I'll try...nope! Anyway that's not the guide. It has a link to an external website with wiki-dotslash in the url (except replace - with .) I suppose I could post the whole URL doing that if you want. Idk if it would let me.

Anyway as for your other questions, I'm running ubuntu. I should also probably mention I'm on a chromebook (I know, ouch!) but theoretically it should work. It meets the requirements anyway. Only thing I'm worried about is the graphics card which is integrated, but we won't know about that until it's installed I don't think.

As for GOG installers, I'm not sure what you mean. It's the latest one I guess? setup_nwn_diamond_2.1.0.21.exe and setup_nwn_diamond_2.1.0.21-1.bin are the two files I got from GOG.

Lastly as for the output, It's going to take a bit for me to redo it so I can get the output again but there wasn't much to look at besides what I posted. First it said verifying integrity of the .exe file then it did the same the the .bin then it said extracting the .bin then that message I posted came up. I'm just talking about what it showed in the terminal though. Idk how to access anything beyond that. If there is more to it, and you can tell me how to access it, I'll be happy to paste it here.

I'll try and do it again if you think it'll help though.

Oh and I have no idea about the case sensitivity thing. I'm pretty newby with this stuff so your going to have to tell me more about that. I don't even know how to tell unfortunately.
avatar
stevei46: I don't know if I can post links in a reply or not I'll try...nope! Anyway that's not the guide. It has a link to an external website with wiki-dotslash in the url (except replace - with .) I suppose I could post the whole URL doing that if you want. Idk if it would let me.
That’s the same guide, the GOG thread I posted gives a link to the ./play.it page you went to ;)
avatar
stevei46: Lastly as for the output, It's going to take a bit for me to redo it so I can get the output again but there wasn't much to look at besides what I posted. First it said verifying integrity of the .exe file then it did the same the the .bin then it said extracting the .bin then that message I posted came up. I'm just talking about what it showed in the terminal though. Idk how to access anything beyond that. If there is more to it, and you can tell me how to access it, I'll be happy to paste it here.
Forget about the output for now, we might try this later but I’m not sure we’re going to need it.
avatar
stevei46: Oh and I have no idea about the case sensitivity thing. I'm pretty newby with this stuff so your going to have to tell me more about that. I don't even know how to tell unfortunately.
OK, here is how we can get this info:
1. Open a terminal in the directory containing the installer and the scripts;
2. Run the following command and paste its contents here:
readlink -f $(pwd)
3. Do the same thing again with the following command:
mount
Both commands are only going to print informations, they won’t take any action on your system.
Post edited September 20, 2018 by vv221
Okay got it! Sorry for my newby answers btw. My family thinks I'm techy, but they really have no idea haha.

anyway...

(xenial)stephen@localhost:/var/host/media/removable/UNTITLED 1/Neverwinter/nwn$
readlink -f $(pwd)
/var/host/media/removable/UNTITLED
(xenial)stephen@localhost:/var/host/media/removable/UNTITLED 1/Neverwinter/nwn$
mount
/dev/mmcblk0p1 on / type ext4 (rw,noatime,seclabel,commit=600,data=ordered)
devtmpfs on /dev type devtmpfs (rw,nosuid,noexec,relatime,seclabel,size=995340k,nr_inodes=248835,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,seclabel,gid=5,mode=620,ptmxmode=000)
shmfs on /dev/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,seclabel)
tmp on /tmp type tmpfs (rw,nosuid,nodev,relatime,seclabel)
none on /proc type proc (rw,nosuid,nodev,noexec,relatime)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,seclabel,size=199364k,mode=755)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,seclabel,size=5120k)
run on /var/host/dbus type tmpfs (rw,nosuid,nodev,noexec,relatime,seclabel,mode=755)
run on /var/host/shill type tmpfs (rw,nosuid,nodev,noexec,relatime,seclabel,mode=755)
/dev/mapper/encstateful on /var/host/timezone type ext4 (rw,nosuid,nodev,noexec,noatime,seclabel,discard,commit=600,data=ordered)
/dev/mapper/vroot on /lib/modules/3.18.0-18125-ge005298cc868 type ext2 (ro,relatime,seclabel)
run on /var/host/udev type tmpfs (rw,nosuid,nodev,noexec,relatime,seclabel,mode=755)
run on /var/host/cras type tmpfs (rw,nosuid,nodev,noexec,relatime,seclabel,mode=755)
run on /var/host/chrome type tmpfs (rw,nosuid,nodev,noexec,relatime,seclabel,mode=755)
media on /var/host/media type tmpfs (rw,nosuid,nodev,noexec,relatime,seclabel)
/dev/mmcblk0p1 on /home/stephen/Downloads type ext4 (rw,nosuid,nodev,noatime,seclabel,commit=600,data=ordered)
none on /sys type sysfs (rw,nosuid,nodev,noexec,relatime,seclabel)
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime,seclabel,gid=605,mode=750)
configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime,seclabel)
none on /sys/fs/cgroup type tmpfs (rw,nosuid,nodev,noexec,relatime,seclabel,mode=755)
cgroup on /sys/fs/cgroup/cpu type cgroup (rw,nosuid,nodev,noexec,relatime,cpu)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpuacct)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset,noprefix)
none on /sys/fs/selinux type tmpfs (ro,relatime,seclabel)
tmpfs on /sys/class/drm type tmpfs (rw,nosuid,noexec,relatime,seclabel,size=199364k,mode=755)
tmpfs on /dev/dri type tmpfs (rw,nosuid,noexec,relatime,seclabel,size=199364k,mode=755)
/dev/mmcblk1p1 on /var/host/media/removable/UNTITLED type vfat (rw,nosuid,nodev,noexec,relatime,dirsync,uid=1000,gid=1000,fmask=0022,dmask=0022,codepage=437,iocharset=iso885 9-1,shortname=mixed,utf8,flush,errors=remount-ro)
/dev/mmcblk1p2 on /var/host/media/removable/UNTITLED 1 type vfat (rw,nosuid,nodev,noexec,relatime,dirsync,uid=1000,gid=1000,fmask=0022,dmask=0022,codepage=437,iocharset=iso885 9-1,shortname=mixed,utf8,flush,errors=remount-ro)

I also have the output you asked for before. Is this what you meant?

(xenial)stephen@localhost:/var/host/media/removable/UNTITLED 1/Neverwinter/nwn$
sh ./play-neverwinter-nights.sh
Using setup_nwn_diamond_2.1.0.21.exe
Checking integrity of setup_nwn_diamond_2.1.0.21.exe OK
Using setup_nwn_diamond_2.1.0.21-1.bin
Checking integrity of setup_nwn_diamond_2.1.0.21-1.bin OK
Using nwn-linux-common.tar.gz
Checking integrity of nwn-linux-common.tar.gz OK
Using nwn-linux-1.69.tar.gz
Checking integrity of nwn-linux-1.69.tar.gz OK
Using nwmovies-mpv.tar.gz
Checking integrity of nwmovies-mpv.tar.gz OK
Extracting data from setup_nwn_diamond_2.1.0.21-1.bin OK
mv: 'dialog.TLK' and 'dialog.tlk' are the same file
avatar
stevei46: (…)
The issue here is with "/var/host/media/removable/UNTITLED 1", where your NWN installer is: it seems that it is a USB storage device or another kind of external hard drive. You can’t run the ./play.it script from it.

What you can do on the other hand is keeping the installer on it, put the scripts somewhere else (I would suggest in your home directory), then run the script by giving it the full path to the main part of the installer:
./play-neverwinter-night.sh "/var/host/media/removable/UNTITLED 1/Neverwinter/nwn/setup_nwn_diamond_2.1.0.21.exe"
Having the installer and the script in the same directory is just the way it is presented in the website instructions, because this way you don’t need to give the path to the installer when you run the script. But you can actually have them in different places.
Where you run the script from is where you need to have a case-sensitive file system.
Post edited September 20, 2018 by vv221
Ugh I was wondering if it had something to do with that. I know Using a external drive can cause trouble with these sorts of things. It's actually an SD card but ya.

Anyway thanks for the help. I'll give it a try and let you know how it goes. I'll try it right now and edit this post with and update in a little bit.

Edit: Okay now I'm getting the same problem that led to me using the SD card to begin with. this message

Error:
There is not enough free space in the tested directories:
/run/user/1000
/tmp
/home/stephen/.cache
/home/stephen/Desktop/NWN
(xenial)stephen@localhost:~/Desktop/NWN$

Even thought the .exe and .bin are on the SD card it still thinks I don't have enough room :/

Oh and did I mention I'm on a chromebook? Ya that's why I don't have a lot of space. Normally I wouldn't bother with this but I thought it would be a fun project to try and get it to work, and the pay off would be awesome because I don't have any other computer right now. I've heard of other people getting it to work on the one I have so fingers crossed >_<
Post edited September 20, 2018 by stevei46
avatar
stevei46: (…)
On ./play.it side, we’re going to set up an error message in such situations, so next people trying this will know that this is unsupported. So thanks for your report, as it helps improving our software ;)
Post edited September 20, 2018 by vv221
avatar
stevei46: (…)
avatar
vv221: On ./playit side, we’re going to set up an error message in such situations, so next people trying this will know that this is unsupported. So thanks for your report, as it helps improving our software ;)
Hey I'm glad I could improve it for other people. Just hope it works for me! I'm still somewhat hopeful at this point. Getting games to work on chromebook linux is much harder than regular linux! But if I could get this game to work at least I would be so freaken happy. This is one of those games that keeps you entertained for so long. Big fan right here haha both of NWN and of D&D.
avatar
stevei46: (…)
While I don’t think we already got reports from Chromebook users, all reports from Ubuntu users told us NWN installed with ./play.it works great, so I’m sure you’re soon going to be playing it ;)
avatar
stevei46: (…)
avatar
vv221: While I don’t think we already got reports from Chromebook users, all reports from Ubuntu users told us NWN installed with ./play.it works great, so I’m sure you’re soon going to be playing it ;)
ya, sorry, but what do I do now? Maybe I misunderstood, sorry. Communicating via text can sometimes be confusing.

I don't know how to get past this error I'm experiencing. No matter where I put the files, I run into a problem.

Again sorry if you already answered, I'm kind tired. I got a little trigger happy with this, and was up all last night trying to get it to work. I usually like puttering around on the computer, but I'm really stuck, as you can see :/

Edit: Oh and thanks for the optimism! lol much appreciated :)
Post edited September 20, 2018 by stevei46
avatar
stevei46: (…)
No problem, here is a step by step guide:
1. Create a directory in your user home directory, and go into it:
mkdir ~/nwn-packages
cd ~/nwn-packages
2. In this empty directory, download the scripts: 3. Run the game script from this directory, giving it the path to your game installer:
./play-neverwinter-nights.sh "/var/host/media/removable/UNTITLED 1/Neverwinter/nwn/setup_nwn_diamond_2.1.0.21.exe"
4. Install your game by copy/pasting the command given by the script in a root shell (or by prefixing it by "sudo ")
5. Enjoy ;)

After the game is installed, you can either keep or delete the generated .deb packages, the game do not need them anymore after installation.

Of course, if you encounter an issue in any step, feel free to ask for more help ;)

-----

Oops, I missed the part about not enough free space…
That’s more tricky, because you need enough space to process the game data *outside* of your SD card. Or you could use a SD card formatted with a file system that is case-sensitive, but sadly I won’t be able to help you efficiently on how to set up a card in this way.

PS: I sent you a friend request so I can send you private messages.
Post edited September 20, 2018 by vv221
Oh wow thanks a bunch. Hopefully this will do it. I'll PM you and let you know. I guess I'll mark this as the solution then.

Also I don't think I space will be an issue. I just needed enough to extract the .bin

I don't know how this works on linux, but in PC, I have run games off an external drive before. I would think an SD card would be no different?

Anyway we will see I guess.

Edit: Oh I see what you mean now by formatting it as a file system hmm I'm going to look into that...
Post edited September 21, 2018 by stevei46
avatar
stevei46: I don't know how this works on linux, but in PC, I have run games off an external drive before. I would think an SD card would be no different?
.deb packages (used by Ubuntu to install software) are designed to be installed on case-sensitive file systems (amongst some other criterias), so building them on case-insensitive file systems can lead to unexpected behaviours. That’s why we don’t want to support this in ./play.it.

If your external storage device used a case-sensitive file system, you could use it to install and run games.