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

×
Hello all,
I am lost, I am not very savvy in debugging linux.
I am running the game on Linux Mint 20.2

When I try to lunch the game using sh ./start.sh I get the following output:

./start.sh: 6: Bad substitution
./start.sh: 8: source: not found
./start.sh: 11: get_gameinfo: not found
./start.sh: 12: get_gameinfo: not found
./start.sh: 13: get_gameinfo: not found
./start.sh: 28: define_option: not found
./start.sh: 31: standard_options: not found

can someone please help?

Thank you
Chris
Post edited August 22, 2021 by cdegrassi
Could you post the first 10 lines of the script? Also, are you sure this is an sh script, not a bash script?
avatar
cdegrassi: When I try to lunch the game using sh ./start.sh I get the following output:

./start.sh: 6: Bad substitution
...
Why are you running this script with sh? It is not designed to run with sh. If you look at the first line of the script, it says:
#!/bin/bash
It is shebang line, which means the script should be run with bash. So run it with bash or iust "./start.sh".
avatar
cdegrassi: When I try to lunch the game using sh ./start.sh I get the following output:

./start.sh: 6: Bad substitution
...
avatar
EugVVl: Why are you running this script with sh? It is not designed to run with sh. If you look at the first line of the script, it says:
#!/bin/bash
It is shebang line, which means the script should be run with bash. So run it with bash or iust "./start.sh".
Thank you!
I am just learning to use Linux. I apologize.
I tried using the script directly ./start.sh and now I get a different message:

Running Baldur's Gate: Enhanced Edition
./BaldursGate: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory

I apologize, this is probably another easy fix, but I cannot find this library with apt install.

Thank you again for all your help
avatar
EugVVl: Why are you running this script with sh?
потому что хацкир
с некоторым повышением распространения линуксов вполне логично что кол-во дураков увеличилось пропорционально.
вот минт человек зачем-то ставит - ему это такие же посоветовали. из вконтактов.
avatar
cdegrassi: Running Baldur's Gate: Enhanced Edition
./BaldursGate: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory
go to say pkgs.org find an older deb of libssl dl it unpack with
dpkg -x 'filename_you_dled' .
and put the library into LD_LIBRARY_PATH
avatar
cdegrassi: I apologize, this is probably another easy fix, but I cannot find this library with apt install.

Thank you again for all your help
you'd better read up for like just 15 min a day on the system you're trying to use than going apologizing and thanking much
*way* more effective, trust me.

and no it's not Linux-spicific (learning to know something). With windoze you (casual users) are doing all the same mistakes - the only diff is that the vendor actually cares for windoze users and usually takes more pains to ensure the darn thing works out of the box (not that they achieve this... very often))))

PS also it's not a fix per se - it works as expected. Say if your car had only three wheels and you attach the fourth you probably wouldn't call it a fix right? Bc it's not broken, you can't use it bc someone nicked your wheel, not broke your car.
Post edited August 22, 2021 by osm
avatar
EugVVl: Why are you running this script with sh? It is not designed to run with sh.
On the other hand, the file extension is sh, so it's not an entirely unreasonable mistake. I usually encourage people who know they are writing a bash-specific script to name it foo.bash, not foo.sh, as a warning to others that the script must be interpreted with bash.
avatar
cdegrassi: I am just learning to use Linux. I apologize.
Learning Linux by trying to play a binary game is probably not a great start. Many binary-only packages on Linux are in the category that they barely work, because the vendor got it working at all and decided that was good enough for the tiny Linux market.
avatar
cdegrassi: ./BaldursGate: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory

I apologize, this is probably another easy fix, but I cannot find this library with apt install.
That could be because libssl.so.1.0.0 (from the openssl-1.0.x release series) is so out of date that nobody should be using it anymore. Your distribution has quite rightly switched to libssl.1.1.x a while ago. The technically correct answer here is that BaldursGate needs to be rebuilt with the newer OpenSSL. As a closed-source game, you can't do that; only the vendor can. The best you can do is find the obsolete libraries that the vendor still depends on, and provide those.
I did not know this was going to be so "intense". I still would like to thank those that don't mind help somebody in need, and I am not afraid of apologizing for not knowing things that seem obvious to others.

If everybody knew everything these forums would be empty.

On the case of BG1EE not working, I am actually asking for help on the GOG forum dedicated to this game. It's not like I am posting on "stack overflow".
It is also normal for a casual user to not have to know how to engineer a kernel to have the right to ask simple questions.

I know all the RTFM argument, and it is very tiring. If anyone is to write a comment, let it be to help and not criticize.
Neither the forum nor the community benefits for telling people they are idiots. It takes the same amount of time typing and produces more benefits helping "idiots" to become experts.

Anyway, all this thread has taught me is:
1) Ask for a refund the game is not ready to play
2) You have a car with 3 wheels and got a lemon
3) You need to be a software engineer to play a 20 y.o stupid game I just wanted to play for shits-and-giggles.

Message received.

Thank you
avatar
cdegrassi: ...
Before you give up, have you tried: https://www.gog.com/forum/baldurs_gate_series/playit_install_the_baldurs_gate_games_on_linux/post1
avatar
cdegrassi: On the case of BG1EE not working, I am actually asking for help on the GOG forum dedicated to this game.
True. Also, you're asking for help on things that should have been working out-of-the-box. In my opinion, you never should have encountered the errors that brought you here. Those should have been handled before GOG released a Linux download for this game. Also, in my opinion, it's pretty sloppy that the script they provided failed the way it did. Ideally, they would've detected a non-Bash shell and aborted with an error suggesting you use bash instead. Similarly, they really shouldn't still be shipping a game that requires OpenSSL 1.0.0. If they insist on doing so, they ought to at least have the game explain to you why it didn't work, rather than expecting you to figure out the error message from the dynamic loader.
avatar
cdegrassi: It is also normal for a casual user to not have to know how to engineer a kernel to have the right to ask simple questions.
You're nowhere near the horrors of kernel debugging. In my opinion, you're dealing with stuff that a typical junior QA should've caught and filed as must-fix-before-release. :)
avatar
cdegrassi: I know all the RTFM argument, and it is very tiring. If anyone is to write a comment, let it be to help and not criticize.
I hope this is not addressed at me.
avatar
cdegrassi: Anyway, all this thread has taught me is:
1) Ask for a refund the game is not ready to play
On Linux, I agree. However, I can say with some authority that the Windows version works surprisingly well under Wine. I completed the Windows versions of Baldur's Gate: Enhanced Edition and Baldur's Gate 2: Enhanced Edition under Wine. This was back before Beamdog released the 64-bit versions, so I can only speak to the 32-bit game (v2.5.17.0). I never played them under real Microsoft Windows, but I didn't notice anything under Wine that made me feel like the game wasn't on real Windows. If you really want to play these games, I suggest trying them under Wine before giving up.
avatar
cdegrassi: 3) You need to be a software engineer to play a 20 y.o stupid game.
Some Linux expertise does help, and since the vendor doesn't seem to have applied any, you'll have to pick up their slack. ;)
avatar
cdegrassi: Message received.
the proof's in the pudding it clearly isn't
avatar
cdegrassi: Thank you
no worries.
Post edited August 23, 2021 by osm
low rated
It's really useful post,Germany Phone Number List
thanks for sharing your information See more details....