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

×
high rated
Hello Gog team,

The launcher start.sh is buggy, and cannot launch. It returns java help :
Running Slay the Spire
Usage: java [-options] class [args...]
(to execute a class)
or java [-options] -jar jarfile [args...]
(to execute a jar file)



I replaced line 20 and it seems ok.

20c20
< ./jre/bin/java -jar desktop-1.0.jar
---
> ./"jre/bin/java"
avatar
VinceLim: Hello Gog team,

The launcher start.sh is buggy, and cannot launch. It returns java help :
Running Slay the Spire
Usage: java [-options] class [args...]
(to execute a class)
or java [-options] -jar jarfile [args...]
(to execute a jar file)

I replaced line 20 and it seems ok.

20c20
< ./jre/bin/java -jar desktop-1.0.jar
---
> ./"jre/bin/java"
Confirmed .. and the proposed change fixes the starter
avatar
VinceLim: Hello Gog team,

The launcher start.sh is buggy, and cannot launch. It returns java help :
Running Slay the Spire
Usage: java [-options] class [args...]
(to execute a class)
or java [-options] -jar jarfile [args...]
(to execute a jar file)

I replaced line 20 and it seems ok.

20c20
< ./jre/bin/java -jar desktop-1.0.jar
---
> ./"jre/bin/java"
avatar
Grunzi: Confirmed .. and the proposed change fixes the starter
I don't even get the java error:
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
You can simply execute "/path/to/Slay the Spire/game/SlayTheSpire" per doubleclick (e.g. "~/GOG Games/Slay the Spire/game/SlayTheSpire") or change the starters as follows:

Exec="/home/thomas/GOG Games/Slay the Spire/start.sh" ""
->
Exec="/home/thomas/GOG Games/Slay the Spire/game/SlayTheSpire"

replace /home/thomas/GOG Games/ with your path.
avatar
ulukai3: You can simply execute "/path/to/Slay the Spire/game/SlayTheSpire" per doubleclick (e.g. "~/GOG Games/Slay the Spire/game/SlayTheSpire") or change the starters as follows:

Exec="/home/thomas/GOG Games/Slay the Spire/start.sh" ""
->
Exec="/home/thomas/GOG Games/Slay the Spire/game/SlayTheSpire"

replace /home/thomas/GOG Games/ with your path.
This worked for me, but strangely it didn't work immediately. I think installing jre-openjdk solved it.

Anyway, the start.sh that comes with the game still doesn't work. I can play now, however, this is what counts.
avatar
VinceLim: Hello Gog team,

The launcher start.sh is buggy, and cannot launch. It returns java help :
Bump, over a year and this hasn't been fixed.

Thank you for the workaround.
What I personally ended up doing was putting ./SlayTheSpire instead of the line with the java, works for me on Ubuntu 20.04
January 2023 and the sh script is not fixed.

thanks for the workaround
avatar
Noir_CZ: What I personally ended up doing was putting ./SlayTheSpire instead of the line with the java, works for me on Ubuntu 20.04
This works for me too - replaced this line:
./"jre/bin/java"
With the following:
./SlayTheSpire
avatar
VinceLim: Hello Gog team,

The launcher start.sh is buggy, and cannot launch. It returns java help :
Running Slay the Spire
Usage: java [-options] class [args...]
(to execute a class)
or java [-options] -jar jarfile [args...]
(to execute a jar file)

I replaced line 20 and it seems ok.

20c20
< ./jre/bin/java -jar desktop-1.0.jar
---
> ./"jre/bin/java"
As of the time of writing this, the start.sh script is still not fixed.
Confirming that this workaround worked for me.
Tried everything but the Linux version just plain refused to work. I ended up installing the Windows version and running it through Proton.