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

×
I managed to do it, but it was *really* painful. I share here what I did. My operating system is Kubuntu 20.04, if you are for example on Fedora you will have to adapt some of the commands below. I used vim to edit files, if you're not familiar with this editor, use gedit, nano or something else.

There are two problems to solve :
- In order to install mods, a case insensitive filesystem is required, but on a Linux system the filesystem is case sensitive
- By default, the game won't launch because it won't find some required dependencies; moreover, these dependencies are outdated, so they aren't available in the repositories of your Linux distribution

First we need to install some tools in order to create and manage OpenZFS filesystems:
sudo apt install zfsutils-linux

Let's create a file which will host our case insensitive filesystem:
sudo fallocate -l 30G /opt/ee-games.img

Create the case insensitive filesystem:
sudo zpool create ee-games /opt/ee-games.img -O casesensitivity=insensitive

Create a folder where our filesystem will be mount:
sudo mkdir /mnt/ee-games

Mount the filesystem in the folder above:
sudo zfs set mountpoint=/mnt/ee-games ee-games

You can now install the game in this folder : /mnt/ee-games/Planescape Torment Enhanced Edition/.
Install the game with the sudo command, otherwise you will encounter permission errors.

Give to your account the rights to read and execute files in the folder above:
sudo chmod -R o+rx /mnt/ee-games/Planescape\ Torment\ Enhanced\ Edition/

At this point, the game won't launch, because of this error:
./Torment64: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory

Grrrrr... To fix ths annoying message, I did what is described in an other post of this forum.

So (I don't have the right to post a link in this forum, add "https://" before "github"):
sudo apt install git
cd
git clone --branch OpenSSL_1_0_0-stable --single-branch --depth 1 github.com/openssl/openssl.git openssl_1.0.0
cd openssl_1.0.0
./config shared
make
sudo mkdir /mnt/ee-games/Planescape\ Torment\ Enhanced\ Edition/openssl
sudo cp lib*so* /mnt/ee-games/Planescape\ Torment\ Enhanced\ Edition/openssl


The folder openssl_1.0.0 is no longer needed, you can delete it.

sudo vim /mnt/ee-games/Planescape\ Torment\ Enhanced\ Edition/start.sh

Add this line below "source support/gog_com.shlib":
export LD_LIBRARY_PATH=$CURRENT_DIR/openssl

Try to launch the game, it should execute without error.

Now the Unfinished Business (or any other mod) part.

If it's in your "Downloads" folder:
sudo cp -r Downloads/PST-UB-reloaded/ /mnt/ee-games/Planescape\ Torment\ Enhanced\ Edition/game/

Unlike on Windows, no installer is provided for Linux. Grrrr. We need WeiDu tools. Download the Linux version from GitHub.

Let's create a specific folder for the WeiDu tools:
sudo cp -r Downloads/WeiDU-Linux/bin/amd64/ /mnt/ee-games/tools

At loooong last, install the mod:

cd /mnt/ee-games/Planescape\ Torment\ Enhanced\ Edition/game/
sudo ../../tools/weidu ./PST-UB-reloaded/setup-PST-UB-reloaded.tp2


I didn't try to install the Baldur's Gate games (I dont have them yet :-)), but this procedure should also work with them.

If you have any question, I'll try to help you.
Post edited June 04, 2020 by schglurps
Hello, schglurps, thank you for sharing!

As a long-timer Kubuntu user myself, I tried to install Unfinished Business for PST:EE on it for a whole day, and ended up finding your amazing post and this detailed guide (www. (-delete-it-) gibberlings3.net/forums/topic/ (-delete-it-) 28516-the-linux-users-guide-to-installing-mods-on-the-enhanced-editions/) as well. Before I was about to apply your approach, I solved it with a rather easy workaround --- if you have a dual system on your computer by any chance (for me, I use Windows 10 along with Kubuntu 20.04).

These mod files are not necessarily generated on Linux; instead, you can simply copy all the files (except the executable) from Windows directly, after you install the mod for the Windows version. The reason my baby solution works is that Unfinished Business doesn't change the chitin.key file at all.

Or you can simply download the compiled ones (v1.5) (drive. (-delete-it-) google.com/file/ (-delete-it-) d/1KtqCp9hypIqQbkJ2Wwb9Wy9rt7q9jD3u/view?usp=sharing) and give it a try by pasting them into your Linux game directory.

I don't have enough reps to post direct links here, so I have to hack it :[
Post edited June 14, 2022 by meizu
^^^Oh my...
I'm thinking about switching from Windows to Ubuntu, as someone who has little-to-no experience with Linux or programming/coding. Is Ubuntu going to pose similar problems for games like this as the Kubuntu you're using?
avatar
sg3: I'm thinking about switching from Windows to Ubuntu, as someone who has little-to-no experience with Linux or programming/coding. Is Ubuntu going to pose similar problems for games like this as the Kubuntu you're using?
Stay put.

Or get yourself ready for reading and comprehending.

Either or.

In the latter case tho, you have to find out what's good to read and what's wash. And that's tricky.
This wall of text here for example offers a complex solution to an unfortunate problem (caused by WeiDu's defeciences... BTW who knows maybe there's an updated version, which fixes them in WeiDU rather than the user having to fix them on their side), and it's a total overkill from at least 2 POV.
First if it's gonna be your frist PST play or even first EE playthrough, I seriously doubt you need to install any mods. UB included.
Second, there's a much less stressful solution (*might* be less universal, but YMMV, enough for installing useful mods into Infinity EE games via WeiDU surely).
Also, the last time I've played (couple a years ago) UB has had known problems with EE - it'll break your savegame at a certain point late in the game. Again, might have been fixed since...
avatar
schglurps: I managed to do it, but it was *really* painful. I share here what I did. My operating system is Kubuntu 20.04, if you are for example on Fedora you will have to adapt some of the commands below. I used vim to edit files, if you're not familiar with this editor, use gedit, nano or something else.

There are two problems to solve :
- In order to install mods, a case insensitive filesystem is required, but on a Linux system the filesystem is case sensitive
- By default, the game won't launch because it won't find some required dependencies; moreover, these dependencies are outdated, so they aren't available in the repositories of your Linux distribution

First we need to install some tools in order to create and manage OpenZFS filesystems:
sudo apt install zfsutils-linux

Let's create a file which will host our case insensitive filesystem:
sudo fallocate -l 30G /opt/ee-games.img

Create the case insensitive filesystem:
sudo zpool create ee-games /opt/ee-games.img -O casesensitivity=insensitive

Create a folder where our filesystem will be mount:
sudo mkdir /mnt/ee-games

Mount the filesystem in the folder above:
sudo zfs set mountpoint=/mnt/ee-games ee-games

You can now install the game in this folder : /mnt/ee-games/Planescape Torment Enhanced Edition/.
Install the game with the sudo command, otherwise you will encounter permission errors.

Give to your account the rights to read and execute files in the folder above:
sudo chmod -R o+rx /mnt/ee-games/Planescape\ Torment\ Enhanced\ Edition/

At this point, the game won't launch, because of this error:
./Torment64: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory

Grrrrr... To fix ths annoying message, I did what is described in an other post of this forum.

So (I don't have the right to post a link in this forum, add "https://" before "github"):
sudo apt install git
cd
git clone --branch OpenSSL_1_0_0-stable --single-branch --depth 1 github.com/openssl/openssl.git openssl_1.0.0
cd openssl_1.0.0
./config shared
make
sudo mkdir /mnt/ee-games/Planescape\ Torment\ Enhanced\ Edition/openssl
sudo cp lib*so* /mnt/ee-games/Planescape\ Torment\ Enhanced\ Edition/openssl


The folder openssl_1.0.0 is no longer needed, you can delete it.

sudo vim /mnt/ee-games/Planescape\ Torment\ Enhanced\ Edition/start.sh

Add this line below "source support/gog_com.shlib":
export LD_LIBRARY_PATH=$CURRENT_DIR/openssl

Try to launch the game, it should execute without error.

Now the Unfinished Business (or any other mod) part.

If it's in your "Downloads" folder:
sudo cp -r Downloads/PST-UB-reloaded/ /mnt/ee-games/Planescape\ Torment\ Enhanced\ Edition/game/

Unlike on Windows, no installer is provided for Linux. Grrrr. We need WeiDu tools. Download the Linux version from GitHub.

Let's create a specific folder for the WeiDu tools:
sudo cp -r Downloads/WeiDU-Linux/bin/amd64/ /mnt/ee-games/tools

At loooong last, install the mod:

cd /mnt/ee-games/Planescape\ Torment\ Enhanced\ Edition/game/
sudo ../../tools/weidu ./PST-UB-reloaded/setup-PST-UB-reloaded.tp2


I didn't try to install the Baldur's Gate games (I dont have them yet :-)), but this procedure should also work with them.

If you have any question, I'll try to help you.
Mods I could live without, but I don't want to have to do all this work just to get a game to start. I guess I'll have to go with the Steam version of this game.

Is it like this for all the other Beamdog "Enhanced Editions" of these old cRPGs such as Neverwinter Nights? Lots of work to get the Linux-native version to run?
avatar
temps: Mods I could live without, but I don't want to have to do all this work just to get a game to start. I guess I'll have to go with the Steam version of this game.

Is it like this for all the other Beamdog "Enhanced Editions" of these old cRPGs such as Neverwinter Nights? Lots of work to get the Linux-native version to run?
tl;dr;
NO.

[rant]
you people seriously can't read nor google nor process any information could you??? how do you turn your computer on jeez
[/rant]

also these "instructions" are somewhat misleading at best (tho maybe technically correct).
avatar
temps: Mods I could live without, but I don't want to have to do all this work just to get a game to start. I guess I'll have to go with the Steam version of this game.

Is it like this for all the other Beamdog "Enhanced Editions" of these old cRPGs such as Neverwinter Nights? Lots of work to get the Linux-native version to run?
avatar
osm: tl;dr;
NO.

[rant]
you people seriously can't read nor google nor process any information could you??? how do you turn your computer on jeez
[/rant]
No, what it is is that I have things I do in my life which are more enjoyable than troubleshooting video games. Sorry to hear that isn't the case for you.
avatar
osm: tl;dr;
NO.

[rant]
you people seriously can't read nor google nor process any information could you??? how do you turn your computer on jeez
[/rant]
avatar
temps: No, what it is is that I have things I do in my life which are more enjoyable than troubleshooting video games. Sorry to hear that isn't the case for you.
see, you don't even get you don't have to troubleshoot anything. proves my point.
this loo roll here addresses a specific problem, not telling what you have to do to run a freaking game. And it's probably an overkill even for what it's supposed to solve.

ok if something that's more enjoyable that you do has a problem with it you turtle, whine, call support? Imagine a hunter/fisher/hiker/biker/mechanic/surfer/whatever had this approach to troubleshooting.. Especially if it's trivial..

Computer software often has problems, but 99% of those don't really require investing much time to solve.
Post edited January 11, 2023 by osm
I install this mod (and others) with wine. No problem, working, override folder is "fine",
Maybe they just install a liiiittle longer than on Windows :D.