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

×
Just installed BG:EE Linux version for the first time. Since the downloaded installer already says 2.5.0.9, and none of the patches available in the download section wants to apply, I'm guessing the game is already patched to the latest version.

I can save, but cannot load saved games. Looking in the "~/.local/share/Baldur's Gate - Enhanced Edition/save" folder I see that the saved game files are there, containing the correct savegame name I specified, but the Load Game screen comes up empty.

Same applies to the exported pregenerated characters - I see the files in the characters subfolder, with the correct names, but I cannot re-import them. Also I was not able to load any custom character portraits - I've put some BMPs from a pack I downloaded into portraits subfolder, but they won't appear in the game when selecting character's portrait - I guess the same kind of issue.

I can create a character/party and start the game, everything seems to be working fine. However since I cannot load anything after quitting and restarting the game, it becomes effectively unplayable.

Anyone is experiencing the same issue? Any solution to this?

gameinfo:
Baldur's Gate Enhanced Edition
2.5.0.9
2.3.67.3
No posts in this topic were marked as the solution yet. If you can help, add your reply
avatar
Dorquemada: Since the downloaded installer already says 2.5.0.9,

gameinfo:
Baldur's Gate Enhanced Edition
2.5.0.9
2.3.67.3
Can you please elaborate how you came up with 2.5.0.9 version? The latest version is 2.3.67.3 as you stated at the bottom but I can't see any info on 2.5.0.9 anywhere on GOG. Maybe this is the problem? (EDIT: Nevermind that. I found the gameinfo file.)


What is your distro? Maybe this can shed more light on the problem.

Sorry I can not help more at the moment. You may want to contact support meanwhile.
I dont play the EE anymore, so cant replicate your error. But, one idea comes to mind. Does your user name in linux has some special chars? With all the bugs in newer EEs, i would not wonder if the writing routines do not care, but the reading ones do.
avatar
Dorquemada: Since the downloaded installer already says 2.5.0.9,

gameinfo:
Baldur's Gate Enhanced Edition
2.5.0.9
2.3.67.3
avatar
Engerek01: Can you please elaborate how you came up with 2.5.0.9 version? The latest version is 2.3.67.3 as you stated at the bottom but I can't see any info on 2.5.0.9 anywhere on GOG. Maybe this is the problem? (EDIT: Nevermind that. I found the gameinfo file.)

What is your distro? Maybe this can shed more light on the problem.

Sorry I can not help more at the moment. You may want to contact support meanwhile.
Ehhh, good question, there is indeed some confusion with the version numbers. When I go to download page for Baldur's Gate: Enhanced Edition, the main installer version says "2.3.67.3", but when I click on it, I receive a file named "gog_baldur_s_gate_enhanced_edition_2.5.0.9.sh". I just downloaded this installer yesterday.

My distro is Gentoo 64-bit. I had another issue with this game not being able to find libjson.0.so, but I quickly resolved by searching in the Internet. I also have no weird characters in path and all access rights are OK.

Thanks for the suggestion, I'll try contacting the support.
EDIT: submitted my service request, but since they only list Ubuntu as acceptable distro choice, not sure how it will turn out.
Post edited September 11, 2017 by Dorquemada
I'm getting closer - looks like it is a bug (2 separate bugs actually) in the game:

strace shows that the game finds the directory with the savegames and the last save (the directory thereof), but then it tries to open BALDUR.GAM within:

[pid 10216] open("/home/user/.local/share/Baldur's Gate - Enhanced Edition/save/000000020-Test/BALDUR.GAM", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 10216] open("/home/user/.local/share/Baldur's Gate - Enhanced Edition/save/000000020-Test", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 29

Which is wrong, since the correct file is called BALDUR.gam and not BALDUR.GAM - Linux filesystem is case-sensitive.

So, I renamed the file BALDUR.gam to BALDUR.GAM and tried again, but ran into another error. Now I noticed that open () is also used with O_DIRECTORY flag:

[pid 10614] open("/home/user/.local/share/Baldur's Gate - Enhanced Edition/save/000000020-Test/BALDUR.GAM", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = -1 ENOTDIR (Not a directory)
[pid 10614] open("/home/user/.local/share/Baldur's Gate - Enhanced Edition/save/000000020-Test", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 29

"O_DIRECTORY If pathname is not a directory, cause the open to fail. This flag was added in kernel version 2.1.126, to avoid denial-of-service problems if opendir(3) is called on a FIFO or tape device." Kernel 2.1.126 was ages ago, so there can't be differences in modern distros, I guess? But why is it used here in first place?

I'll try to investigate if it's possible to do a workaround for this. I need to determine which component is using this flag. It could be BG's code, or some linked library.

EDIT: the thing with O_DIRECTORY can be ignored - this can be just legitimate routine to scan the directory structure
Post edited September 11, 2017 by Dorquemada
AAAND solved!

The game indeed messes up the case of the filenames when saving/loading.
This can be workarounded by placing the game state folder (~/.local/share/Baldur's Gate - Enhanced Edition) on a different filesystem that is case-insensitive, e.g. VFAT

I created and mounted a small VFAT FS :

as root:
dd if=/dev/zero of=/home/user/baldur.img bs=1M count=1024
mkfs.vfat /home/user/baldur.img
mkdir /mnt/baldur
mount -o umask=000 /home/user/baldur.img /mnt/baldur

Then moved the game state directory to it and made a symlink back at the old location:

as user:
mv "~/.local/share/Baldur's Gate - Enhanced Edition" /mnt/baldur
ln -sf "/mnt/baldur/Baldur's Gate - Enhanced Edition" ~/.local/share/

To make it mount automatically, added to /etc/fstab:

/home/user/baldur.img /mnt/baldur vfat user,auto,umask=000 0 0

And now it just worked! I can see all the games I previously saved and my exported characters. So, the issue is resolved for me now.

What would be the best place to submit a bug request for this?
Post edited September 11, 2017 by Dorquemada
avatar
Dorquemada: What would be the best place to submit a bug request for this?
wow, you are good. I am going to inspect what you did step by step later. I am glad you worked it out. (I have been using Linux full time only for about 8 months).

You can try here for a bug request.
low rated
avatar
Dorquemada: as root:
dd if=/dev/zero of=/home/user/baldur.img bs=1M count=1024
mkfs.vfat /home/user/baldur.img
mkdir /mnt/baldur
mount -o umask=000 /home/user/baldur.img /mnt/baldur

Then moved the game state directory to it and made a symlink back at the old location:

as user:
mv "~/.local/share/Baldur's Gate - Enhanced Edition" /mnt/baldur
ln -sf "/mnt/baldur/Baldur's Gate - Enhanced Edition" ~/.local/share/

To make it mount automatically, added to /etc/fstab:

/home/user/baldur.img /mnt/baldur vfat user,auto,umask=000 0 0
This is why I don't like Linux. This is why Linux will never catch on mainstream.
avatar
Hickory: This is why I don't like Linux. This is why Linux will never catch on mainstream.
You don't Linux because it is able to overcome deficiencies of shitty filesystem implementation in Windows? Or is it because it gives you ability to workaround bugs in games using just available tools?
It's like saying driving cars will never catch on mainstream because they provide a more sophisticated alternative than riding horses
Post edited September 11, 2017 by Dorquemada
low rated
avatar
Hickory: This is why I don't like Linux. This is why Linux will never catch on mainstream.
avatar
Dorquemada: You don't Linux because it is able to overcome deficiencies of shitty filesystem implementation in Windows? Or is it because it gives you ability to workaround bugs in games using just available tools?
It's like saying driving cars will never catch on mainstream because they provide a more sophisticated alternative than riding horses
I don't like Linux because you have to jump through hoops to learn a stupid scripting language to do anything with it. That is why I don't like it, and that is why it will never catch on. Do NOT put words into my mouth.
avatar
Dorquemada: You don't Linux because it is able to overcome deficiencies of shitty filesystem implementation in Windows? Or is it because it gives you ability to workaround bugs in games using just available tools?
It's like saying driving cars will never catch on mainstream because they provide a more sophisticated alternative than riding horses
avatar
Hickory: I don't like Linux because you have to jump through hoops to learn a stupid scripting language to do anything with it. That is why I don't like it, and that is why it will never catch on. Do NOT put words into my mouth.
That's an absolutely retarded argument. All this stuff can be put in a single script and used by anyone without any programming or sysadmin knowledge. I fixed the issue for myself and for anyone else who may stumble into it.

Now try to walk a clueless user through dozens of GUI dialogs on Windows to do something similarly simple. If it's possible at all. Support call centers somewhere overseas exist specifically for this, enjoy. Try to fix an older Windows game that won't run on W10 on your own. There's no need to come to Linux threads just to show everyone how incompetent and proud of it you are.
low rated
avatar
Hickory: I don't like Linux because you have to jump through hoops to learn a stupid scripting language to do anything with it. That is why I don't like it, and that is why it will never catch on. Do NOT put words into my mouth.
avatar
Dorquemada: That's an absolutely retarded argument. All this stuff can be put in a single script and used by anyone without any programming or sysadmin knowledge. I fixed the issue for myself and for anyone else who may stumble into it.

Now try to walk a clueless user through dozens of GUI dialogs on Windows to do something similarly simple. If it's possible at all. Support call centers somewhere overseas exist specifically for this, enjoy. Try to fix an older Windows game that won't run on W10 on your own. There's no need to come to Linux threads just to show everyone how incompetent and proud of it you are.
Your argument falls flat on its face so you resort to insults and falsehoods to try to back them up? Typical Linux junkie.
avatar
Hickory: This is why I don't like Linux. This is why Linux will never catch on mainstream.
Linux is not supposed to catch on whatever.
This (pretty lame) bug is entirely Beamdog's fault.
low rated
avatar
Hickory: This is why I don't like Linux. This is why Linux will never catch on mainstream.
avatar
burn: Linux is not supposed to catch on whatever.
This (pretty lame) bug is entirely Beamdog's fault.
I don't disagree. I was merely stating my dislike for an operating system -- I would actually love to switch to Linux -- where you cannot get anything done unless you know the insides and outsides of its monstrous console commands.
I have ~/.local on ext4 and didn't have any bug with saves/portraits. BGEE, BG2EE, IWDEE and PSTEE works just fine. I think this is not a case-sensitive bug, may be game settings dir has wrong file rights or something like that.
Post edited September 12, 2017 by EugVVl