Linux

Download the latest version of WeiDU for Linux from weidu.org and extract (at least) the WeiDU, weinstall and tolower executables in a $PATH directory (E.G. /usr/bin). Following that, open a terminal, cd to your BG2 installation directory, run `tolower' and answer Y to both queries.



You can avoid running the second option (linux.ini) if you've already ran it once in the same directory. To save time, the archive is already tolowered, so there's no need to run the first option (lowercasing file names) either if you've extracted only this mod since the last time you lower cased file name. If you're unsure, running tolower and choosing both options is the safe bet.



After that, run 'weinstall bg2_tweaks' from your game installation directory to install or uninstall the mod.

THREAD UPDATE: Tweak pack no longer work on BG:EE + SoD dlc since it's release. (v2.0)A list of the working mods is here The method will continue to work for IWD 1.4 and may work for BG2:EE 2.0 - If your running into Case Trouble with your mod for BG:EE there are some possible alternate solutions in the thread.--If your trying to install mods into BG:EE, BG2:EE or IWD:EE from Steam on Linux, and they don't work.. this is probably the thread your looking for.I spent several hours tracking down why, what and how to fix this while trying to install the BG2 Tweak Pack from gibberlings3.net on the 3 installed games from Steam. - The trouble with most of these mods seems to be they were written on (primitive) OS's that are case insensitive for file names.. and even the game itself being some 15~ years old and created with w32/fat in mind has this problem with the original files. (Beamdog.. really? You need to fix that and make everything lower case.)WeiDU on Linux uses a utility to try to fix this but it's not very good.. it's called "tolower" and what it does is recursively renames all your files to lower case. There is no way to roll it back and it actually breaks the Steam version of the games (by altering the libpath) if the mod your installing patches the binary chitin.key file. So after trying a few different things, suffering through many reinstalls and segfaults and straces trying to figure out what the game was looking for and what files should be where I decided to write a script to recursively link all the default files to a lower and a upper case version of their name. This seems to work so I'm going to share and give you a guide here.One note of caution.. this isn't exactly a clean solution to the problem.. it is however non-destructive unlike tolower. It also modifies your file system so the usual disclaimer applies here. The script is set to operate on data, lang and override folders.. you'll have to edit the script if you need it to work on something else. This may work for other mods but if a mod for some ungodly reason uses MixeD caSE in the file names that it expects.. your pretty much screwed.Download the Linux binaries: http://www.weidu.org/~thebigg/ The original instructions from G3 are here: http://www.gibberlings3.net/readmes/readme-bg2tweaks.html The instructions tell you to extract the files into /usr/bin, this works but its poor form to do so. /usr/local/bin or ~/bin are saner choices. (You can add a directory of your choosing to your executable path by doing "export PATH=$PATH:/new/path" and/or adding that to your ~/.bash_profile)Download the BG2 Tweak Pack here.(The same pack is used for all EE games, despite being called BG2 Tweak Pack)And get my script here.Locate your game folder.Should be something like ...?? /steamapps/common/Baldur's Gate Enhanced Edition/You can find out where you installed it in Steam.Open a terminal to that folder and copy the files you downloaded into it.Extract the Tweak Pack and my script in the game folder.tar -xzvf lin-bg2_tweaks-v16.tar.gztar -xjvpf modlink.tar.bz2You should take a look at the script to see what it does, it's not rocket science but its good to know what its going to do. Essentially its going to crawl through your data, lang and override folders and create UPPER and lower case symbolic links for all bif and tlk files.Run the modlink.sh script../modlink.sh(modlink.sh will dump out a bunch of errors about links existing and not being able to remove stuff, this is expected behaviour.. I hope >.> .. You only need to run it once. Also modlink.sh takes the place of tolower, you no longer need to or should run tolower.)Then install the mod viaweinstall bg2_tweaksThat should pretty much do it..If some ppl want me to work on getting their mod Linux compatible, or altering my script to get it to work with their mod just hit me up. I'll see if I can spring the time to help you.Rock on guys.-- JD sysadmin extraordinaire