Jump to content

gareth8118

Member Since 22 Oct 2015
Offline Last Active Oct 25 2015 11:21 PM

Topics I've Started

PST GOG Linux edition - case issue on install?

23 October 2015 - 11:30 AM

Hi there
 
I've spent a few evenings trying to get the widescreen mod to install on my Linux system which carries the "native" GOG Linux install of Planescape: Torment. I haven't been successful (it's hard to find someone who has) but I have found something new that those other posters did not.
 
The reported error on install is the one alluded to in this line of the "Common Problems" post:

If you get the message "ERROR: BIFF [./AR0100.BIF] cannot be loaded" (or something similar), you need to apply a full install of the game.

however, this is a GOG download install which is by definition a full install.

To get to this point, I:
 

  • downloaded WeiDU-Linux-238.zip and copied tolower, weidu and weinstall to /usr/local/bin
  • ran tolower in the PST install directory, hitting Y both times.
  • unpacked widescreen_mod into a subdirectory of the PST directory.
  • ran tolower in there, answering Y then N
  • ran weinstall widescreen in the PST directory

Since the error message doesn't tell me where it is looking for AR0100.BIF I used strace to figure out what was going on in the filesystem and this is when I ran into something interesting.

 

The contents of linux.ini are:

CD1:=/home/gareth/GOG Games/Planescape Torment/prefix/drive_c/GOG Games/Planescape Torment/
CD1:=/home/gareth/GOG Games/Planescape Torment/prefix/drive_c/GOG Games/Planescape Torment/data/
CD1:=/home/gareth/GOG Games/Planescape Torment/prefix/drive_c/GOG Games/Planescape Torment/data/
CD1:=/home/gareth/GOG Games/Planescape Torment/prefix/drive_c/GOG Games/Planescape Torment/data/
CD1:=/home/gareth/GOG Games/Planescape Torment/prefix/drive_c/GOG Games/Planescape Torment/data/
CD1:=/home/gareth/GOG Games/Planescape Torment/prefix/drive_c/GOG Games/Planescape Torment/data/

which accurately reflects my installation layout. However, the log from 'strace -f -o ~/strace.txt weinstall widescreen' shows this:

24064 stat("/home/gareth/gog games/planescape torment/prefix/drive_c/gog games/planescape torment/data//ar0100.bif", 0x7fff8aa63d10) = -1 ENOENT (No such file or directory)

Note that the case of the whole path is lower case, not just the filename.

 

Is there something in WeiDU or the mod itself which is lower-casing the pathnames before searching for the file? I'm afraid I cannot understand what I'm looking at in the script files in the mod itself.

 

Grateful for any insight.

 

Thanks

Gareth