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

×
Sorry for creating yet another topic on this, I wish some enthusiastic clever person would create a thread and have it stickied with all the instructions, but it is a real hassle to set all this up so far.

I essentially followed the instructions given here:
http://blog.moomoocamp.net/index.php/baldur-s-gate-trilogy-on-1/

And got as far as trying to install bg1ub before problems started popping up. None of the Unfinished Business stuff (for 1 or 2) worked..

I got something like this for each and every component I tried installing:
[i]Installing [Ice Island Level Two Restoration] [v13.1]

BGT install detected.
Copying and patching 1 file ...
loading 1 tra file
Copying and patching 1 file ...
ERROR: error loading [bg1ub/BGT/CRE/EDIE.CRE]
Stopping installation because of error.
Stopping installation because of error.

ERROR Installing [Ice Island Level Two Restoration], rolling back to previous state
Will uninstall 1 files for [bg1ub/setup-bg1ub.tp2] component 0.
Uninstalled 1 files for [bg1ub/setup-bg1ub.tp2] component 0.
ERROR: Unix.Unix_error(20, "stat", "bg1ub/bgt/cre/edie.cre")[/i]


Then even trying to install unfinished business for BG2 didn't work:
[i]ERROR: error loading [ub/Minsc/Cre/wwbilly.cre]
Stopping installation because of error.

ERROR Installing [The Kidnapping of Boo by Cliffette], rolling back to previous state
Will uninstall 8 files for [setup-ub.tp2] component 0.
Uninstalled 8 files for [setup-ub.tp2] component 0.
ERROR: Unix.Unix_error(20, "stat", "ub/minsc/cre/wwbilly.cre")
[/i]

I figured I'd just ignore the unfinished business things and try it without them (the rest of the mods- widescreen and bigfonts- SEEMED to install fine, but even then I wasn't even sure what to run to get it to work properly.

Anyone have anything to help? Why is linux gaming so hard :(
avatar
babark: Copying and patching 1 file ...
ERROR: error loading [bg1ub/BGT/CRE/EDIE.CRE]
Didn't you forget to run a "tolower" at a point ? Never tried BGT but from my previous experience with WeiDU on Linux, it's quite picky with the case-sensitivity.
avatar
babark: Anyone have anything to help? Why is linux gaming so hard :(
Well, you're trying to run unofficial mods of an old game made for another operating system... it's not surprising it's a bit complicated ;)
avatar
kilobug:
I ran tolower first, yes.

To be honest, running the games on their own directly downloaded from gog didn't work either. I'd have contacted support for that, but that's not really how I want to play the game, so it would be meaningless to fix (and probably some minor thing).
Bumping an old thread because I'm working on the same thing and might be able to help future Googlers.

The problem with BG1UB on Linux appears to be the opposite of the one tolower solves: BG1UB's .tp2 file refers to uppercase paths, when the original files are already lowercase.

The correct solution is for the BG1UB developers to make their update Linux-compatible.

The awful solution that I've tried is to use a pair of shell scripts to create symbolic links for every relevant file and directory in both upper- and lower-case. This is compatible only with BGT, because that's what I'm using, and isn't guaranteed to work at all. After I ran these scripts, I got no errors beyond the two noted below and the game did start. That's all I can promise. Please note that these shell scripts make a lot of spam and are extremely terrible. Actual script experts would be able to do a much better job.

Based off jde33's modlink scripts on the Beamdog forum; I can't link because of rep but Google will find him.

Create two executable shell scripts in the bg1ub directory, ubmodlink.sh and ublinker.sh.

ubmodlink.sh

#!/bin/bash
# Created 12/05/15 jd@evilsequence.com

# Mods for Baldur's Gate don't work real well on Linux because the games
# really old and moders don't seem to realize or care that Linux is
# case sensitive on file names. A common solution is to just lower case
# all the file names but that dosn't work if chitin.key is modified.

# This script will take all the files and link them to a upper case and
# a lower case version.. and it's an UGLY ass work around to the
# problem but its non-destructive to the original files.

# A much better solution is to conform to a standard where all files are
# lower case on all platforms but even Beamdog is guilty of doing this
# (really guys?) in the default game files. I get that the original was
# created 15~ years ago with w32/fat in mind but.. come on, nobody has
# fixed this yet??

# Anyhow..
# This will make upper and lower case links for files in a folder.
# It will also make nice swiss cheese of your file system. It makes a
# log that tells you what it did as well so you can (in theory) roll
# back.

echo STARTED `date` >> modlink.log

#(Ben's addition) delete all existing symbolic links
find -type l -delete

#Folders you want to link
find {BGT,Tutu,BGT/are,BGT/baf,BGT/bam,BGT/cre,BGT/d,BGT/diary,BGT/eff,BGT/spl,BGT/sto,BGT/unused,ar1010,ar1010/BGT ,quoningar,quoningar/BGT,shilochen,shilochen/BGT,ff,ff/BGT,creature,creature/BGT,abPrismEmeralds,abPrismEmeral ds/tph} -type d -exec ./ublinker.sh {} \;

#Match for file types to link
find . -type f -regextype posix-egrep -exec ./ublinker.sh {} \;

exit 0

ublinker.sh

#!/bin/bash
# Created 12/05/15 jd@evilsequence.com

# Stupid little companion script that does the actual linking.
# I wrote it this way cuz it seamed easier at the time.

#Lower
echo "$1 -> ${1,,}" >> modlink.log
ln -sf "$PWD"/$1 ${1,,}

#Upper
echo "$1 -> ${1^^}" >> modlink.log
ln -sf "$PWD"/$1 ${1^^}

exit 0

Then run ./ubmodlink.sh from the bg1ub directory. Then weinstall bg1ub as normal.

Other problems:

* There will be a lot of complaints about the contents of the bg1ub/BGT/d directory. They don't appear path-related. As far as I can tell the only solution is to empty the bg1ub/BGT/d directory, whereupon the installer will stop giving you error messages. This feels extremely wrong but is the only resolution I've found, and Google gives me nothing.
* On the "Store, Tavern and Inn Fixes and Restorations" mod you will also have a problem with the BGSHOP05.DLG file in the chitin.key. Trying to fix this was beyond my interest so I skipped it.
I gave up a long time ago. BG:EE works fast and easy on Linux. So if you're in my boat and you want to spend more time gaming and less time getting it to work, just grab the EE.

P.s. That said, I don't mean to belittle the attempts to get it working. Thanks for working on it! Some folks like to work on these problems and lots of folks benefit when you post about them. But if someone is OK with the EE, then I want them to know that's it's super-easy to get it working. Just install it and you're good to go.
Post edited October 06, 2016 by Tallima
Don't recall the problem or how I fixed it, but I've got BG1UB working in a BGT'd version of the game, so it can't have been terribly hard, since I'm a semi-noob with Linux. I do however recall that there was a problem with Ice Island level 2 restoration, which had to do with the mod itself referring to a wrong exit path or something like that, causing the game to always crash when trying to exit the level (or a part of it). I had to fix it with DLTCEP if I recall correctly.

But apart from that the mod itself worked and I got it installed.

It's a while since I did this and played the game (not much left, but haven't finished the playthrough yet), so unfortunately don't recall exact details, but I do seem to recall there was a problem with one of the mods referring to a wrong filename somewhere, meaning I had to fix it. Maybe it was the BG1UB mod? It was missing "setup" or some such simple error.

Edit: Looked through some of the threads I've started, as they are listed on top. Couldn't find anything about mod installation problems, but did find more info about the Ice Island Level 2 issue: https://www.gog.com/forum/baldurs_gate_series/crash_on_area_transition_bgt. Looks like it doesn't crop up in everybody's game, so maybe I was unfortunate.

For installing mods on Linux (and I know you said you did this), make sure to user tolower. Linux is case sensitive, so this is a crucial step.
Post edited October 06, 2016 by Pangaea666