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

×
As stated in the title, I running a Debian box and was able to install without problems the game yet when I try to run the game I get a reply from the console as follows:

start.sh: 6: start.sh: Bad substitution
start.sh: 8: start.sh: source: not found
start.sh: 11: start.sh: get_gameinfo: not found
start.sh: 12: start.sh: get_gameinfo: not found
start.sh: 13: start.sh: get_gameinfo: not found
start.sh: 32: start.sh: define_option: not found
start.sh: 35: start.sh: standard_options: not found

The installer didn't warn about broken or missing paths, I have no warning about missing libraries and still I can't seem to be able to run the game.

Hints and suggestion would be very much welcome!
avatar
qyron: Hints and suggestion would be very much welcome!
It's a BASH script so run the game correctly:
./start.sh or bash start.sh
Post edited August 25, 2015 by Gydion
On Debian Systems, the default shell is /bin/dash, which has fewer features than bash (but is faster). The shell script is expecting to run under bash, and therefore dash doesn't understand part of it.

The solution is to run the script under bash.

(Adding #!/bin/bash to the beginning of the file (on its own line) is one way to do this, and is the solution that I would recommend gog.com apply.)
Tried running as suggested, using bash, and received the following output:

Running Eschalon: Book I
./aoss: 7: ./aoss: Bad substitution
./aoss: 12: exec: ./Eschalon Book I: not found
avatar
dtgreene: (Adding #!/bin/bash to the beginning of the file (on its own line) is one way to do this, and is the solution that I would recommend gog.com apply.)
They already do. Doesn't help if the script is explicitly run with sh.
avatar
qyron: Running Eschalon: Book I
./aoss: 7: ./aoss: Bad substitution
./aoss: 12: exec: ./Eschalon Book I: not found
Do you have all the needed packages/equivalents installed: packages: libc6:i386 libasound2:i386 libasound2-data:i386 libasound2-plugins:i386 and dependencies.
Post edited August 26, 2015 by Gydion
Unless those libraries have an AMD64 equivalent, I'm a dead fish on the water... I have an AMD64 based machine.

Also, just to try and see what would the other chapters put out, I installed and ran the games. For both games:

Running Eschalon: Book n
support/gog_com.shlib: line 106: ./eschalon_book_n: Archive or directory not found
Post edited August 26, 2015 by qyron
avatar
qyron: Unless those libraries have an AMD64 equivalent, I'm a dead fish on the water... I have an AMD64 based machine.
So do I. I have no trouble with other 32-bit games. You never really said what you are running. Debian isn't exactly specific.
avatar
qyron: Running Eschalon: Book n
support/gog_com.shlib: line 106: ./eschalon_book_n: Archive or directory not found
Did you rename any of the folders/files? Otherwise, you don't appear to have a clean install.

One last thought. You haven't shown the actual commands you used, but be sure to first cd to the directory containing start.sh file first.
Post edited August 26, 2015 by Gydion
I've actually looked into the installation folders and the supposedly missing files/folders are there.

@silphynn cd /home/qyron/ GOG\ Games/Eschalon\ Book\ II
@silphynn ~GOG Games/Eschalon Book II$ bash start.sh
Running Eschalon: Book II
support/gog_com.shlib: line 106: ./eschalon_book_2: Archive or directory not found.
@silphynn dir
docs game gameinfo lib star.sh support uninstall-Eschalon\ Book\ II.sh
@silphynn cd /home/qyron/GOG\ Games/Eschalon\ Book\ II/support
@silphynn dir
gog_com.shlib gog-system-report.sh icon.png support_notice.txt xdg-utils

I'm running a fresh install of Debian 8, with MATE desktop. I haven't tweaked it that much so I'm no expecting to have broken or missing libraries.

When I tried to install through aptitude the libraries you referenced all I had from the system was a reply that no candidates were available for installation. In terms if repositories, I have all branches active, including backports.
Post edited August 26, 2015 by qyron
avatar
qyron: support/gog_com.shlib: line 106: ./eschalon_book_2: Archive or directory not found.
I don't have this game so I can't check myself. Not sure what this line is actually trying to do. Is there a script or executable in Eschalon\ Book\ II/game that you can try to run directly in the console?
avatar
qyron: When I tried to install through aptitude the libraries you referenced all I had from the system was a reply that no candidates were available for installation.
Those are the Ubuntu names, Mint also uses the Ubuntu repos, but most Debian versions have similar names. In your case search/install libasound2-plugins which in turn should pull in the other packages as dependencies, but double-check.
Submitted a help request at Debian User Forums in order to find the libraries equivalents.

Inside the Eschalon game folder I can find the following items:
datapak [ZIP folder]
Eschalon\ World\ Map.jpg
launchscreenpak [ZIP folder]
eschalon_book_2 [executable; bash warns it is impossible to run]
general.cfg
license.txt

update
after requesting some help in another place, Debian Jessie still lacks a dpkg capable of handling multi-architecture packages and solving dependencies between them. So, it seems this matter is just a dead fish on the water.

I will, however, try installing these games on a i386 machine I'm configuring and then I will report back.
Post edited August 27, 2015 by qyron
avatar
qyron: Tried running as suggested, using bash, and received the following output:

Running Eschalon: Book I
./aoss: 7: ./aoss: Bad substitution
./aoss: 12: exec: ./Eschalon Book I: not found
go into the 'game' folder, open the script aoss in an editor and change the first line from #!/bin/sh to #!/bin/bash
I have the same problem.

I've change the first line from #!/bin/sh to #!/bin/bash and appear this another error:

"error while loading shared libraries: libX11.so.6: cannot open shared object file: No such file or directory"

Where Echalon find the library libX11.so.6?

/usr/lib/i386-linux-gnu?

I've proved to put the old library on this folder but apeear de same error.

This library is for the i386 and I have x64 system. Could be something without solution.
avatar
qyron: Tried running as suggested, using bash, and received the following output:

Running Eschalon: Book I
./aoss: 7: ./aoss: Bad substitution
./aoss: 12: exec: ./Eschalon Book I: not found
avatar
immi101: go into the 'game' folder, open the script aoss in an editor and change the first line from #!/bin/sh to #!/bin/bash
I had the ./aoss issue, and that fixed it man! You have made this Gallium OS user very happy!
Lo acabo de solucionar para Debian bullseye
I've solved for Debian bullseye

Primero tienes que habilitar la multiarquitectura para debian:
Al first add the multiarch for debian:

dpkg --add-architecture i386

Luego actualiza los repositorios:
Update the system

apt update

E instala las siguientes librerías, como superusuario:
And install this lybraries as superuser:

sudo apt-get install libX11-6 libgl1-mesa-dri:i386 libglapi-mesa:i386 libglx-mesa0:i386 libglx0:i386 libgl1:i386 libgl1-mesa-glx:i386 libglu1-mesa:i386

Edita el fichero /home/USUARIO/GOG Games/Eschalon Book I/game/aos:
Edit the file /home/USUARIO/GOG Games/Eschalon Book I/game/aos:

Cambia la primera línea, sustituyendo #!/bin/sh por #!/bin/bash
Change the first line from #!/bin/sh to #!/bin/bash
Post edited April 14, 2023 by Adokin
Another Debian version, bookworm.

After install the libraries and change the first line at the aoss file I have this error:

./start.sh
Running Eschalon: Book I
./aoss: línea 12: /home/usuario/GOG Games/gog/Eschalon Book I/game/: Es un directorio
./aoss: línea 12: exec: /home/usuario/GOG Games/gog/Eschalon Book I/game/: no se puede ejecutar: Es un directorio