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

×
avatar
EarlGreyII: (…)
avatar
vv221: I do not have access with a machine using Intel powerful enough to run this game right now. When I do, I’ll make sure to try it.

What you migh try is to look for the game configuration (should be somewhere under ~/.local/share) and see if you can force the game to run in windowed mode. Some games have graphics issues that only happen in fullscreen mode.
Thanks I will try that. But it is weird that it worked with Ubuntu 16.04 but not with Ubuntu 18.04. Under the 16.04 version, I installed it with the gog installer but now, my terminal says me that some of the packages needed according to GOG cannot be found (libjson-c2:i386 and libjson0:i386 in particular). As a result, the game won't launch...

When I try to uninstall the game as you said in your previous post, there is still a folder (/usr/local/share/games) which contains game datas (movies, languages, manuals, ...) and it's pretty big (6+ Go!). Is there a way to delete it?
Post edited May 27, 2018 by EarlGreyII
avatar
EarlGreyII: it is weird that it worked with Ubuntu 16.04 but not with Ubuntu 18.04
Right, I missed this point earlier. I use Ubuntu 18.04 at work, so I should be able to give it a try soon.

avatar
EarlGreyII: When I try to uninstall the game as you said in your previous post, there is still a folder (/usr/local/share/games) which contains game datas (movies, languages, manuals, ...) and it's pretty big (6+ Go!). Is there a way to delete it?
I think you still have some packages installed, remove them with:
sudo apt remove baldurs-gate-enhanced-edition-l10n baldurs-gate-enhanced-edition-data
or:
sudo apt remove baldurs-gate-enhanced-edition-*
avatar
EarlGreyII: it is weird that it worked with Ubuntu 16.04 but not with Ubuntu 18.04
avatar
vv221: Right, I missed this point earlier. I use Ubuntu 18.04 at work, so I should be able to give it a try soon.

avatar
EarlGreyII: When I try to uninstall the game as you said in your previous post, there is still a folder (/usr/local/share/games) which contains game datas (movies, languages, manuals, ...) and it's pretty big (6+ Go!). Is there a way to delete it?
avatar
vv221: I think you still have some packages installed, remove them with:
sudo apt remove baldurs-gate-enhanced-edition-l10n baldurs-gate-enhanced-edition-data
or:
sudo apt remove baldurs-gate-enhanced-edition-*
Thanks, it works very well :-)
avatar
EarlGreyII: (…)
I did a quick check, the file you need to edit to disable fullscreen is:
~/.local/share/Baldur's Gate - Enhanced Edition/Baldur.lua

In this file look for the line:
SetPrivateProfileString('Window','Full Screen','1')
and change it to:
SetPrivateProfileString('Window','Full Screen','0')

If it helps working around your black screen issue, please tell me and I’ll edit the ./play.it script to make windowed mode the default mode on first game launch.
avatar
EarlGreyII: (…)
avatar
vv221: I did a quick check, the file you need to edit to disable fullscreen is:
~/.local/share/Baldur's Gate - Enhanced Edition/Baldur.lua

In this file look for the line:
SetPrivateProfileString('Window','Full Screen','1')
and change it to:
SetPrivateProfileString('Window','Full Screen','0')

If it helps working around your black screen issue, please tell me and I’ll edit the ./play.it script to make windowed mode the default mode on first game launch.
I was able to test it today and... yes it works! The game is in windowed mode but it's playable. Thanks very much!
Post edited May 30, 2018 by EarlGreyII
avatar
EarlGreyII: (…)
Here is something you could try to get the game into fullscreen, look for the following line in the config file:
SetPrivateProfileString('Window','Maximized','0')
and change it to:
SetPrivateProfileString('Window','Maximized','1')

Of course, if it breaks the game again you just need to revert it to its previous value ;)
avatar
EarlGreyII: (…)
avatar
vv221: Here is something you could try to get the game into fullscreen, look for the following line in the config file:
SetPrivateProfileString('Window','Maximized','0')
and change it to:
SetPrivateProfileString('Window','Maximized','1')

Of course, if it breaks the game again you just need to revert it to its previous value ;)
There is nothing to change, SetPrivateProfileString('Window','Maximized) is already set to "1".
I just started a new thread regarding the same issue you have: Fullscreen mode on Ubuntu 18.04 is just showing a black screen, while it worked fine with 16.04.

Sorry to hear about your troubles, but I am also glad to hear it is not just me.

Where does a bug report need to be sent? GOG? Beamdog?

By the way, for anyone else on Ubuntu 18.04, you don't need any of the 3rd party utilities mentioned in this thread to get BG working. Just download the file from GoG and run these four commands at the terminal:

sudo apt-get install libc6:i386 libgl1-mesa-glx:i386 libasound2:i386 libasound2-data:i386 libasound2-plugins:i386 libjson-c3:i386 libssl1.0.0:i386 libopenal1:i386

cd /lib/i386-linux-gnu/

ln -s libjson-c.so.3 libjson.so.0

sh gog_baldur_s_gate_enhanced_edition_2.5.0.9.sh

(If necessary, change the BG filename to whatever version you actually downloaded.)
Post edited May 31, 2018 by r55man
avatar
r55man: sudo apt-get install libc6:i386 libgl1-mesa-glx:i386 libasound2:i386 libasound2-data:i386 libasound2-plugins:i386 libjson-c3:i386 libssl1.0.0:i386 libopenal1:i386

cd /lib/i386-linux-gnu/

ln -s libjson-c.so.3 libjson.so.0

sh gog_baldur_s_gate_enhanced_edition_2.5.0.9.sh
The script you can download from this thread already does all this for you ;)
It also allow to play the game on Linux distributions no longer providing the obsolete libSSL 1.0.0.

For the bug report I suggest trying with GOG support first, as they wrote they support Ubuntu 18.04 on the game card.

By the way, next version of this script will run the game in a window on first launch, to avoid this black screen issue.
This issue is now SOLVED. Once all the necessary libraries are installed, the game runs fine in fullscreen.

For anyone else installing BG:EE 1 or 2 under Ubuntu 18.04, here are the three commands you need. The first installs all the necessary libraries; the second creates a necessary symlink, and the last command installs the game itself:

=================================

sudo apt-get install libc6:i386 libasound2:i386 libasound2-data:i386 libasound2-plugins:i386 libjson-c3:i386 libopenal1:i386 libstdc++6:i386 libssl1.0.0:i386 libexpat1:i386 libx11-6:i386 libxau6:i386 libxcb1:i386 libxdmcp6:i386 libxext6:i386 libxcursor1:i386 libxfixes3:i386 libxinerama1:i386 libxrandr2:i386 libxrender1:i386 libgl1-mesa-glx:i386 libopenal1

sudo ln -s libjson-c.so.3 /lib/i386-linux-gnu/libjson.so.0

sh gog_baldur_s_gate_enhanced_edition_2.5.0.9.sh

=================================

vv221: Take note of the library list and amend your installer script accordingly. The game should run fine in fullscreen for everyone if you have the right libraries. Specifically, I was missing libxrandr2:i386, libxrender1:i386, libxinerama1:i386, and libxcursor1:i386. Once I installed these four libraries the game worked in fullscreen.

Thanks to the GOG support team for a quick resolution to this problem.
Post edited June 02, 2018 by r55man
avatar
EarlGreyII: (…)
EarlGreyII, could you please give a try to installing the libraries listed by r55man?
You won’t need the symlink trick, it is already handled by ./play.it

What I’m most interested in, is the set of libraries from r55man’s list that are not already installed on your system.

Of course, I still need to know if it fixes the fullscreen issue for you ;)

-----

After a quick check, I think this is the libxrandr2:i386 package that does the trick.
Post edited June 02, 2018 by vv221
I edited my post to append one more library that needs to be installed: libgl1-mesa-glx:i386.

I just tested this on a fresh install of Ubuntu 18.04. With that set of libraries installed (and the libjson symlink created), BG:EE 1 & 2 and IWD:EE all work properly.

UPDATE: After some experimenting, I found that by adding one more library to the list PST:EE will also run properly on Ubuntu 18.04: libopenal1

So... the following two commands will set up everything you need on a fresh install of Ubuntu 18.04 to run all of the EE versions of the Infinity Engine games:

==============================================

sudo apt-get install libc6:i386 libasound2:i386 libasound2-data:i386 libasound2-plugins:i386 libjson-c3:i386 libopenal1:i386 libstdc++6:i386 libssl1.0.0:i386 libexpat1:i386 libx11-6:i386 libxau6:i386 libxcb1:i386 libxdmcp6:i386 libxext6:i386 libxcursor1:i386 libxfixes3:i386 libxinerama1:i386 libxrandr2:i386 libxrender1:i386 libgl1-mesa-glx:i386 libopenal1

sudo ln -s libjson-c.so.3 /lib/i386-linux-gnu/libjson.so.0
Post edited June 02, 2018 by r55man
Update

Baldur’s Gate Enhanced Edition

Add missing dependency on libxrandr
Add support for an optional icons pack, allowing to use the original game icon instead of the GOG-provided one
Thank you for your work with this. I've finally been able to get BGEE running on Debian Buster for the first time. :) Being able to install it through the package manager is a welcome addition.

Do you have any plans to support the SoD expansion through play.it so that it can be installed via the package manager as well? It looks like it needs to overwrite some of the BGEE files, so maybe as an optional addition to the BGEE play script?

Edit: Ah, I've got it :) In the end, it was relatively easy to patch into the existing play-baldurs-gate-enhanced-edition.sh script. I've uploaded the modified script to www.dawnmist.net/play-baldurs-gate-enhanced-edition.sh so that the changes are available for others to use.

One thing to note - the SoD menu did not come up on the very first run. My guess was that the game needed to initialize the original game first, then on the second time it ran SoD was available and I could start a character in it & load into the game. It was fine after that.
Post edited June 04, 2018 by Dawnmist
avatar
Dawnmist: In the end, it was relatively easy to patch into the existing play-baldurs-gate-enhanced-edition.sh script. I've uploaded the modified script to www.dawnmist.net/play-baldurs-gate-enhanced-edition.sh so that the changes are available for others to use.
Thanks, it will be available on the official ./play.it website soon ;)
I’ll post an update here once it’s integrated.