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

×
high rated
Baldur's Gate Trilogy Installation Guide on Linux Mint

This is BGT for classic BG series. I did this installation on Linux Mint 18.3 but I believe it would work on most Ubuntu based distros. To make things easier, I divided the process into 3 steps.

A. DOWNLOADING FILES (The version I downloaded in parentheses)

Only BG2 Fixpack and widescreen mod have Linux versions. You will download normal versions for other mods and then we will run them with weidu. I believe I could download windows (exe) versions of all mods and still run them with weidu.

1. Linux version of BG1 on GOG. (gog_baldur_s_gate_the_original_saga_2.1.0.10.sh)
2. Linux version of BG2 on GOG. (gog_baldur_s_gate_2_complete_2.1.0.7.sh)

3. Download latest version of Weidu for Linux. (v2.43)
[url=http://www.weidu.org/~thebigg]http://www.weidu.org/~thebigg[/url]/
Chose (GNU/Linux binary)

4. Download Baldur's Gate II Fixpack Linux version. (v10)
http://www.gibberlings3.net/bg2fixpack/

5. Download BGT-WeiDU. (WeiDU 1.18)
http://www.shsforums.net/files/file/54-baldurs-gate-trilogy-weidu/

6. OPTIONAL: Download BG1UB and BG2UB (bg1ub v14 and bg2ub v26)

Baldur's Gate 1 Unfinished Business and BG 2 Unfinished Business add things that were intended for the game by developers but were left out because of lack of time.

http://www.pocketplane.net/mambo/index.php?option=com_content&task=blogcategory&id=161&Itemid=114
http://www.pocketplane.net/mambo/index.php?option=content&task=blogcategory&id=101&Itemid=80

7. Download the widescreen mod for Linux. (v3.07)
http://www.gibberlings3.net/widescreen/

8. Download the big map (bp-bgt-worldmap-v1022)
This fixes World Map screen crashes. You may start the game before doing that and see if you can access the world map. (Overall map where you can see Candlekeep, Baldur's Gate city etc)
http://www.shsforums.net/files/file/308-bp-bgt-worldmap/

9. Download Generalized Biffing
With over 6K files in the override folder, the game was taking a long time to load, save and change areas. This mod fixes that. DO THAT AFTER YOU ARE DONE MODDING.
http://www.shsforums.net/files/file/741-generalized-biffing/


B. PREPARATION
Here we will just prepare our system, unpack downloads and copy them properly into the BG2 installation folder, which is probably

/home/your_user_name/GOG Games/Baldurs Gate 2 Complete/prefix/drive_c/GOG Games/Baldur's Gate 2

your_user_name is your Linux username.

1. Install BG1 and BG2

2. Extract the WeiDU-Linux-243.zip file.

Enter /WeiDU-Linux/bin/amd64 (/WeiDU-Linux/bin/i386 if you are on 32 bit) and copy weidu, weinstall and tolower executables in a $PATH directory (E.G. /usr/bin). This will let us run weinstall and tolower commands from command line everywhere. I copied all 7 files (mospack, mosunpack, tispack, tisunpack, tolower, weidu, weinstall)

If you are having permission trouble, go to /usr/bin, right click--> (Open as Root). Now you will be able to copy.

3. Right click lin-bg2fixpack-v10.tar.gz file and extract it.
Copy "bg2fixpack" folder into your BG2 directory.

4. Extract BGT118-Install.rar
Copy bgt folder, setup-bgt.exe , setup-bgt.tp2 into your BG2 directory.

Inside your BG2 folder, go to bgt>install>unix
create a directory called "amd64"
Copy everything inside x86 folder into the new amd64 folder.

5. Copy what is inside the bg1ub-v14 folder into your BG2 directory. (bg1ub folder and setup-bg1ub.exe)

Copy what is inside the UnfinishedBusiness-v26 folder into your BG2 directory. (_macosx and ub folders. setup-ub.exe)

6. Extract/Unpack widescreen file. lin-widescreen-v3.07.tar.gz
Copy the "widescreen" folder into your BG2 directory. (The folder itself this time)

7. Extract/Unpack the Big World zip file. (bp-bgt-worldmap-v1022.zip)
Copy what is inside the bp-bgt-worldmap-v1022 folder into your BG2 directory. (bp-bgt_worldmap folder, setup-bp-bgt-worldmap, setup-bp-bgt-worldmap.command, setup-bp-bgt-worldmap.exe, setup-bp-bgt-worldmap.tp2)

8. Extract/Unpack the_bigg_biff.rar
Copy what is inside the "the_big_biff" folder into your BG2 directory. (generalized_biffing folder and setup-generalized_biffing)



C. INSTALLATION.
All of this will take place in the terminal.

1. Enter Baldur's Gate 2 folder. (You are probably already there). your_user_name is your Linux username.

/home/your_user_name/GOG Games/Baldurs Gate 2 Complete/prefix/drive_c/GOG Games/Baldur's Gate 2

Right click and select "Open in Terminal"

2. Runing tolower. This will lowercase every file inside the game folder. We do that because Linux is case-senstive. mod.txt and MOD.txt are 2 different files.

tolower

Answer Y to both questions.

3. Installing fixpack
weinstall bg2fixpack

I said yes to all questions.

4. Installing BGT
weinstall setup-bgt

When asks for BG1 path, I pasted this (do not forget to change your_user_name with your Linux username. Be careful about capital letters.)
/home/your_user_name/GOG Games/Baldurs Gate The Original Saga/prefix/drive_c/GOG Games/Baldur's Gate

That will take some time. Surprisingly it was much faster on Linux than on windows.

NOTE: To easily (and correctly) paste the BG1 folder when asked, go to your BG1 folder normally. Toggle Location Entry. Copy it. Return to the terminal. Right click --> Paste.

5. Installing Unfinished businesses
weinstall bg1ub
weinstall ub

6. Installing widescreen Mod.
weinstall widescreen

7. Setup Music.
weinstall setup-bgtmusic

Select Option 2--> Hybrid ....

8. Installing Big world map.
weinstall setup-bp-bgt-worldmap

9. Run the game. Play a little. Test if everything works fine.

10. Installing Generalized Biffing. This will be done last. Make sure you are happy with your configuration. You do not even have to do that if you are happy with the loading times.

weinstall generalized_biffing

-------------- END OF GUIDE -------------



I did not go into detail about the concept of the mods. You can read about them in either readme files or the other sticky topics.

I played the game until Naskel Mines and everything works as it should so far.
Thanks, this is amazing! Please can it be stickied!!
hi - how do i run the command "weinstall" in the linux terminal? it gives me a "comankmand not found" . I did install in usr/bin

thanks
Post edited October 13, 2018 by olivier.jeudy
avatar
olivier.jeudy: hi - how do i run the command "weinstall" in the linux terminal? it gives me a "comankmand not found" . I did install in usr/bin

thanks
Read the instruction again. Take particular note of 'Preparation'.
avatar
olivier.jeudy: hi - how do i run the command "weinstall" in the linux terminal? it gives me a "comankmand not found" . I did install in usr/bin

thanks
What is your Linux version? If you have copied those 7 files alongside weinstall inside usr/bin, you should be able to run it in the terminal. My usr/bin folder has around 2 thousand files and you need root privileges to be able to copy there. So make sure you were able to copy it by checking inside the folder. You may need a restart maybe.

I am not a Linux expert so sorry if that wasn't helpful.
avatar
Engerek01: If you have copied those 7 files alongside weinstall inside usr/bin, you should be able to run it in the terminal. My usr/bin folder has around 2 thousand files and you need root privileges to be able to copy there. So make sure you were able to copy it by checking inside the folder. You may need a restart maybe.
Copying files to /usr/bin sounds like a good idea? You can trivially add to your path for the current terminal session, e.g.
export PATH=~/weiduUtils:$PATH.
Alternatively, you can specify the path to run a given file. ( /home/Engerek01/Download/WeiDU-Linux/bin/amd64/weinstall or ./weinstall when it is in the current directory)
Post edited October 14, 2018 by Gydion
Awesome! Thanks for the step by step tutorial. Would've taken me a lot longer to track down and figure out everything without this as a reference
.
I did have a couple issues (resolved - but I'll post here in case someone else runs into the same thing).

Problem 1:
bgt is version 20 now (not 18) and the linux version didn't have setup-bgt.exe or setup-bgt.tp2
Confused me at first, but you don't need them. Just copy the unzipped bgt folder to the game folder, and when you run the `weinstall bgt` it works fine.
didn't have

Problem 2 - Got this error:
Required binaries missing for your architecture. Please put tis2bg2, tisunpack and mosunpack into your system path and install again with system-path argument.

Solution, I had copied the bin files from amd64 folder instead of the x86 folder to my ~/.local/bin folder. So I copied the other ones over instead and it worked fine. I was confused and went down the wrong path at first because it's asking for tis2bg2 - which I didn't have. I think that must be a leftover from an older error message or something.

Problem 3:
$ weinstall bg1ub/
ERROR: ld.so: object 'libgtk3-nocsd.so.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
weidu --log "setup-bg1ub.debug" "bg1ub/setup-bg1ub.tp2"
ERROR: ld.so: object 'libgtk3-nocsd.so.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
[weidu] WeiDU version 24600

It still seemed to run ok, so I don't know if critical failed.

And during weinstall setup-bp-bgt-worldmap:
Attempting to run mosunpack from the mod directory...
ERROR: ld.so: object 'libgtk3-nocsd.so.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
bp-bgt_worldmap/bin/unix/mosunpack: error while loading shared libraries: libjpeg.so.62: cannot open shared object file: No such file or directory

Also seemed to finish ok? We'll see if I have problems later.
avatar
argentum2f: Awesome! Thanks for the step by step tutorial. Would've taken me a lot longer to track down and figure out everything without this as a reference
.
I did have a couple issues (resolved - but I'll post here in case someone else runs into the same thing).
.....
Thank you for the feedback and I am glad the guide helped you.
Excellent post, got everything working perfectly.

Unfortunately shsforums seem to be down at the moment so I can't download the bgt-worldmap. Could any kind person mirror it?

PS
"if you are having permission trouble, go to /usr/bin, right click--> (Open as Root). Now you will be able to copy."

It's probably easier (and somewhat safer) to open the folder containing the executables in a terminal and type
`sudo cp * /usr/bin` or respectively with tolower/weidu/weinstall instead of *.


Edit:
Nevermind! Found a Google Drive containing some of the downed mods, including worldmap-1022:
https://drive.google.com/drive/folders/1Zz_k_hpJ_n8KlYuYkoGfyYCDBq-FOrkZ
Post edited December 25, 2019 by Antilope
I am glad you were able to find the files and thanks for the feedback.