Jump to content

The Linux User's Guide to Installing Mods on the Enhanced Editions


Recommended Posts

I know this thread is old, but I am just coming back form a while and have been itching to play BGEE again. It is just that now I am on Linux and have not played BG on linux before. My Steam version installed fine and works great! I would like to install a few mods though and reading through these instructions have led to some questions. As we know Linux is a case sensitive OS and these instructions were written in 2017 I think. With the Linux version of Weidu, are these instructions still a need? or has the Linux version of Weidu been updated to reflect the case issue? The only mods I want are really just Ascension, Tweaks Anthology, and ScS, but would hate to go through the above steps if I no longer need to and find out I get some errors, so have to figure out how to roll-back.

I'm using Pop OS! (based off of the latest Ubuntu version (19?) and have the Steam versions of BGEE nad BG2EE installed.

Best all and Happy Easter!

Kev

 

Link to comment

I followed these instructions using a case folded "Baldur's Gate Enhanced Edition" steam folder. Everything seems to be working fine, I'm able to install mods with "weinstall" but for some reason I'm always getting the same error when I try to install stratagems.

 

weidu --log "setup-stratagems.debug" "stratagems/setup-stratagems.tp2"
[weidu] WeiDU version 24600

Choose your language:
 0 [English]
 1 [Espanol (www.clandlan.net)]
 2 [Polski (Yarpen)]
 3 [Deutsch (Leonardo Watson)]
 4 [Francais (Mornagest/Isaya)]
 5 [Italiano (Stoneangel/Improbabile)]
 6 [Russian (Prowler/Silent)]
 7 [Korean (Menocu)]
 8 [Simplified Chinese (c4_angel/www.trow.cc)]
0
ERROR: No translation provided for @0
ERROR: problem parsing TP file [stratagems/setup-stratagems.tp2]: Not_found

FATAL ERROR: Not_found

Press ENTER to exit.

If I manually edit the tp2 to not require @0 then it will complain with the next translation. I can't check right this second but I believe I don't have this issue if I try to install stratagems in windows. Any idea of what could be wrong?

Link to comment
Guest Sandro

 I had the same problem when I used weidu 246 (from weidu-git from the arch user repository).

I switched to weidu 242 (from weidu-bin again from the arch user repository) and now I get further in the installation, but every part fails like this:

Install Component [Ease-of-use party AI]?
[I]nstall, or [N]ot Install or [Q]uit? i

Installing [Ease-of-use party AI] [v33.1]
loading 4 tra files
Stopping installation because of error.
Stopping installation because of error.

ERROR Installing [Ease-of-use party AI], rolling back to previous state
Will uninstall   0 files for [stratagems/setup-stratagems.tp2] component 5000.
Uninstalled      0 files for [stratagems/setup-stratagems.tp2] component 5000.
ERROR: Failure("Unknown function: check_ini")
PLEASE email the file setup-stratagems.debug to For help troubleshooting installation problems, go to the Sword Coast Stratagems forum at forums.gibberlings3.net.
Using Language [English]

note I followed the original instruction (so with a ntfs partition)

When I try to compile weidu 245 myself I get an error, so I can't try that. As I am a bit out of my depth compiling, can you try it with an older version of weidu?

Link to comment

I just tried weidu-bin (242) based on your suggestion and I get the same error you did.

Installing [Include arcane spells from Icewind Dale: Enhanced Edition] [v33]
loading 4 tra files
Stopping installation because of error.
Stopping installation because of error.

ERROR Installing [Include arcane spells from Icewind Dale: Enhanced Edition], rolling back to previous state
Will uninstall   0 files for [stratagems/setup-stratagems.tp2] component 1500.
Uninstalled      0 files for [stratagems/setup-stratagems.tp2] component 1500.
ERROR: Failure("Unknown function: check_ini")
PLEASE email the file setup-stratagems.debug to For help troubleshooting installation problems, go to the Sword Coast Stratagems forum at forums.gibberlings3.net.
Using Language [English]

Didn't even occur to me that it could be something related to weidu since I'm able to install every mod in my list with weidu-git except SCS. I was thinking on posting on the SCS github/forums to see if anyone has any input. I guess I could try compiling weidu myself to see. I'll post here if I figure it out.

Link to comment

So I manually went to the weidu github and downloaded the latest release and that one seems to be working. So maybe it's a problem with the aur version after all. I can't sit down and test it all right now but if you do so let me know how it goes.

Link to comment
Guest Error trying to play BG2EE

Hello All,

I have followed the "Linux users guide to installing mods" on my Linux machine (ubuntu) and BGEE works but BG2EE does not. When I click on PLAY, I get "An error occurred while updating Baldur's Gate II: Enhanced Edition". I am fairly certain I followed step by step. The game worked just before I did these steps. Here are the steps I executed on my Linux box.

fallocate -l 30G bg_modbox.img

mkfs.jfs -O bg_modbox.img

mkdir /mnt/bgmodbox

mount bg_modbox.img /mnt/bgmodbox/

mkdir /mnt/bgmodbox/{bgee,bg2ee}

mv ~/.steam/debian-installation/steamapps/common/Baldur\'s\ Gate\ Enhanced\ Edition/* /mnt/bgmodbox/bgee

mv ~/.steam/debian-installation/steamapps/common/Baldur\'s\ Gate\ II\ Enhanced\ Edition/* /mnt/bgmodbox/bg2ee

rmdir ~/.steam/debian-installation/steamapps/common/Baldur\'s\ Gate\ Enhanced\ Edition

rmdir ~/.steam/debian-installation/steamapps/common/Baldur\'s\ Gate\ II\ Enhanced\ Edition

ln -s /mnt/bgmodbox/bgee ~/.steam/debian-installation/steamapps/common/Baldur\'s\ Gate\ Enhanced\ Edition

ln -s /mnt/bgmodbox/b2gee ~/.steam/debian-installation/steamapps/common/Baldur\'s\ Gate\ II\ Enhanced\ Edition

Would someone know if BG2EE changed somehow so these steps no longer work or is there something I am missing? BGEE works fine, it is only BG2EE that no longer runs.


Best Regards,

Kev

Link to comment
Guest Error trying to play BG2EE

Hello All,

I have followed the "Linux users guide to installing mods" on my Linux machine (ubuntu) and BGEE works but BG2EE does not. When I click on PLAY, I get "An error occurred while updating Baldur's Gate II: Enhanced Edition". I am fairly certain I followed step by step. The game worked just before I did these steps. Here are the steps I executed on my Linux box.

fallocate -l 30G bg_modbox.img

mkfs.jfs -O bg_modbox.img

mkdir /mnt/bgmodbox

mount bg_modbox.img /mnt/bgmodbox/

mkdir /mnt/bgmodbox/{bgee,bg2ee}

mv ~/.steam/debian-installation/steamapps/common/Baldur\'s\ Gate\ Enhanced\ Edition/* /mnt/bgmodbox/bgee

mv ~/.steam/debian-installation/steamapps/common/Baldur\'s\ Gate\ II\ Enhanced\ Edition/* /mnt/bgmodbox/bg2ee

rmdir ~/.steam/debian-installation/steamapps/common/Baldur\'s\ Gate\ Enhanced\ Edition

rmdir ~/.steam/debian-installation/steamapps/common/Baldur\'s\ Gate\ II\ Enhanced\ Edition

ln -s /mnt/bgmodbox/bgee ~/.steam/debian-installation/steamapps/common/Baldur\'s\ Gate\ Enhanced\ Edition

ln -s /mnt/bgmodbox/b2gee ~/.steam/debian-installation/steamapps/common/Baldur\'s\ Gate\ II\ Enhanced\ Edition

Would someone know if BG2EE changed somehow so these steps no longer work or is there something I am missing? BGEE works fine, it is only BG2EE that no longer runs.


Best Regards,

Kev

Link to comment

Hi all,

Great to see that that the Baldur's Gate trilogy is still being modded and loved in its new Enhanced Editions, now on Linux too. I recently downloaded them but am having some issues installing mods for BG:EE.

I am using Steam and Ubuntu 20.04. I followed corvias' instructions in the first post, after setting up my drive as per argent77's instructions regarding case-sensitivity.

The BG1 NPC project v27.1 and mini quests and encounters v25.2 initialise but gave errors (see below for an example output), but the g3 tweaks anthology seems to have installed fine, and the game loads and plays with the changes from that mod, so I presume I have configured things correctly.

So I suppose my question is, has anyone seen this kind of output before, and if so, do they know how to overcome it, or what differences there are between the abovementioned mods that may cause some to install but others to give this error?

Please DM or post here if you are able to help. Thank you for your time!

[./weidu] WeiDU version 24900
[../../chitin.key] 121 BIFFs, 55555 resources
[../../lang/en_us/dialog.tlk] 71850 string entries
[../../lang/cs_cz/dialog.tlk] claims to be writeable.
[../../lang/cs_cz/dialog.tlk] claims to be a regular file.
[../../lang/de_de/dialog.tlk] claims to be writeable.
[../../lang/de_de/dialog.tlk] claims to be a regular file.
[../../lang/de_de/dialogf.tlk] claims to be writeable.
[../../lang/de_de/dialogf.tlk] claims to be a regular file.
[../../lang/en_us/dialog.tlk] claims to be writeable.
[../../lang/en_us/dialog.tlk] claims to be a regular file.
[../../lang/es_es/dialog.tlk] claims to be writeable.
[../../lang/es_es/dialog.tlk] claims to be a regular file.
[../../lang/es_es/dialogf.tlk] claims to be writeable.
[../../lang/es_es/dialogf.tlk] claims to be a regular file.
[../../lang/fr_fr/dialog.tlk] claims to be writeable.
[../../lang/fr_fr/dialog.tlk] claims to be a regular file.
[../../lang/fr_fr/dialogf.tlk] claims to be writeable.
[../../lang/fr_fr/dialogf.tlk] claims to be a regular file.
[../../lang/hu_hu/dialog.tlk] claims to be writeable.
[../../lang/hu_hu/dialog.tlk] claims to be a regular file.
[../../lang/it_it/dialog.tlk] claims to be writeable.
[../../lang/it_it/dialog.tlk] claims to be a regular file.
[../../lang/it_it/dialogf.tlk] claims to be writeable.
[../../lang/it_it/dialogf.tlk] claims to be a regular file.
[../../lang/ja_jp/dialog.tlk] claims to be writeable.
[../../lang/ja_jp/dialog.tlk] claims to be a regular file.
[../../lang/ja_jp/dialogf.tlk] claims to be writeable.
[../../lang/ja_jp/dialogf.tlk] claims to be a regular file.
[../../lang/ko_kr/dialog.tlk] claims to be writeable.
[../../lang/ko_kr/dialog.tlk] claims to be a regular file.
[../../lang/nb_no/dialog.tlk] claims to be writeable.
[../../lang/nb_no/dialog.tlk] claims to be a regular file.
[../../lang/pl_pl/dialog.tlk] claims to be writeable.
[../../lang/pl_pl/dialog.tlk] claims to be a regular file.
[../../lang/pl_pl/dialogf.tlk] claims to be writeable.
[../../lang/pl_pl/dialogf.tlk] claims to be a regular file.
[../../lang/pt_br/dialog.tlk] claims to be writeable.
[../../lang/pt_br/dialog.tlk] claims to be a regular file.
[../../lang/pt_br/dialogf.tlk] claims to be writeable.
[../../lang/pt_br/dialogf.tlk] claims to be a regular file.
[../../lang/ru_ru/dialog.tlk] claims to be writeable.
[../../lang/ru_ru/dialog.tlk] claims to be a regular file.
[../../lang/ru_ru/dialogf.tlk] claims to be writeable.
[../../lang/ru_ru/dialogf.tlk] claims to be a regular file.
[../../lang/tr_tr/dialog.tlk] claims to be writeable.
[../../lang/tr_tr/dialog.tlk] claims to be a regular file.
[../../lang/uk_ua/dialog.tlk] claims to be writeable.
[../../lang/uk_ua/dialog.tlk] claims to be a regular file.
[../../lang/uk_ua/dialogf.tlk] claims to be writeable.
[../../lang/uk_ua/dialogf.tlk] claims to be a regular file.
[../../lang/zh_cn/dialog.tlk] claims to be writeable.
[../../lang/zh_cn/dialog.tlk] claims to be a regular file.

Choose your language:
 0 [English]
 1 [Deutsch]
 2 [Francais]
 3 [Italiano]
 4 [Russian]
 5 [Polski]
0
Using Language [English]
[English] has 2 top-level TRA files

Using ../../lang/en_us/dialog.tlk

Couldn't open the readme: file not found.

The setup-bgqe.tp2 mod has 17 distinct optional components.
To save time, you can choose what to do with them at a high level rather
than being asked about each one.

What should be done with all components that are NOT YET installed?
[I]nstall them, [S]kip them, [A]sk about each one? a
ERROR: No translation provided for @38
Continuing despite error.

Install Component [UNDEFINED STRING:   @38]?
[I]nstall, or [N]ot Install or [Q]uit? i

Installing [UNDEFINED STRING:   @38] [v25.2]
ERROR: No translation provided for @66
Stopping installation because of error.
Stopping installation because of error.

ERROR Installing [UNDEFINED STRING:   @38], rolling back to previous state
Will uninstall   0 files for [setup-bgqe.tp2] component 0.
Uninstalled      0 files for [setup-bgqe.tp2] component 0.
ERROR: Not_found
Using Language [English]
[English] has 2 top-level TRA files

Install Component [UNDEFINED STRING:   @38]?
[I]nstall, or [N]ot Install or [Q]uit?  q
ERROR: No translation provided for @13
Continuing despite error.
ERROR: No translation provided for @19
Continuing despite error.
ERROR: No translation provided for @39
Continuing despite error.
ERROR: No translation provided for @43
Continuing despite error.
ERROR: No translation provided for @48
Continuing despite error.
ERROR: No translation provided for @50
Continuing despite error.
ERROR: No translation provided for @56
Continuing despite error.
ERROR: No translation provided for @61
Continuing despite error.
ERROR: No translation provided for @98
Continuing despite error.
ERROR: No translation provided for @105
Continuing despite error.
ERROR: No translation provided for @5000
Continuing despite error.
ERROR: No translation provided for @5001
Continuing despite error.
ERROR: No translation provided for @5002
Continuing despite error.
ERROR: No translation provided for @5004
Continuing despite error.
ERROR: No translation provided for @5005
Continuing despite error.
ERROR: No translation provided for @5009
Continuing despite error.
Saving This Log:

NOT INSTALLED DUE TO ERRORS UNDEFINED STRING:   @38

Press ENTER to exit.

 

Link to comment
12 hours ago, The_Carthaginian said:
Couldn't open the readme: file not found.

The setup-bgqe.tp2 mod has 17 distinct optional components.
To save time, you can choose what to do with them at a high level rather
than being asked about each one.

What should be done with all components that are NOT YET installed?
[I]nstall them, [S]kip them, [A]sk about each one? a
ERROR: No translation provided for @38
Continuing despite error.

Install Component [UNDEFINED STRING:   @38]?
[I]nstall, or [N]ot Install or [Q]uit? i

The files not been found and strings not been translatred is likely due to the file extraction been done to a wrong directory,  and even more likey done so that it removes the folder structure. This is never a good setting in your extraction tool. So which tool do you use ? I am not a linux user, so I cannot but ask and let someone else guide you afterwards, cause they know better.

Link to comment
7 hours ago, Jarno Mikkola said:

The files not been found and strings not been translatred is likely due to the file extraction been done to a wrong directory,  and even more likey done so that it removes the folder structure. This is never a good setting in your extraction tool. So which tool do you use ? I am not a linux user, so I cannot but ask and let someone else guide you afterwards, cause they know better.

 

Hi,

Thanks for replying and Happy Christmas! I used the default 'Extract here' command (which I believe calls the unzip function). It looks like the file structure is properly preserved in the unzipped folder but I will experiment with some other extraction methods and see if they help. Thank you!

Link to comment

What is the base location of your game installation (absolute path if you accept to tell us)?

What is the path of the chitin.key file (possibly CHITIN.KEY) in this installation? (i don't know the layout of the games from steam)

In what location in this game installation did you unpack the mod?

Where did you launch weidu from (`$pwd`)

I find this a bit suspicious as in my (Gog) install the lang subdir is along with chitin.key (where you should launch weidu)

Using ../../lang/en_us/dialog.tlk
Link to comment
1 hour ago, mickabouille said:

What is the base location of your game installation (absolute path if you accept to tell us)?

What is the path of the chitin.key file (possibly CHITIN.KEY) in this installation? (i don't know the layout of the games from steam)

In what location in this game installation did you unpack the mod?

Where did you launch weidu from (`$pwd`)

I find this a bit suspicious as in my (Gog) install the lang subdir is along with chitin.key (where you should launch weidu)

Using ../../lang/en_us/dialog.tlk

Hi,

Thanks for your reply!

The folder the game is in is: /media/zen/workshop/mnt/modbox/bgee (symlinked from the original location /storage/Steam/steamapps/common/Baldur's Gate II Enhanced Edition).

chitin.key (which appears as lowercase) is in /media/zen/workshop/mnt/modbox/bgee

Mods are unpacked as subfolders into this same folder, using the same name they were extracted with, e.g. /media/zen/workshop/mnt/modbox/bgee/baldurs-gate-mini-quests-and-encounters-modification-v25.2

Weidu is also launched from this folder, and there is indeed a lang subfolder present, too, e.g. /media/zen/workshop/mnt/modbox/bgee/lang/en_us with dialog.tlk

So that all seems OK as far as I can tell. Please note that the g3 tweaks anthology did install correctly, so some things are in the right place, and I wonder if the key is a difference between that mod and the others I tried to install.

 

 

 

 

Link to comment
5 minutes ago, The_Carthaginian said:

they were extracted with, e.g. /media/zen/workshop/mnt/modbox/bgee/baldurs-gate-mini-quests-and-encounters-modification-v25.2

This is WRONG... it should be just /media/zen/workshop/mnt/modbox/bgee/ You should cut and paste the files there, and remove the folder, and the install the mod...

The likely difference is between the mods is the achives being different(formats), which results into different tools being used and so the extraction folder being different.

Edited by Jarno Mikkola
Link to comment

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...