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
ast486: Is it a GUI like Lutris or is it command line?
avatar
vv221: It’s a command-line packages generator. Not a games client or anything like that. Once you got your .deb package you can forget about ./play.it, you could even uninstall ./play.it and never use it again, and your game will keep working fine.

avatar
ast486: Why generate a Deb file?
I mean apt is great, but the .sh file did run the Gog installer just fine.
avatar
vv221: Well, it seems that using the GOG installer did not work that great, at least that’s what I gathered from your initial message ;)

./play.it-generated .deb packages ensure that all required game dependencies are available, and un-vendor as many shipped libraries as possible to ensure the game does not have compatibility problems. When required (this is not the case with Slay the Princess) we add extra tweaks to ensure the game works out-of-the-box on as many setups as possible.

Here I suggest the use of ./play.it because it will ensure you end up with a configuration very similar to mine, so I can more easily try to replicate any problem you might get and maybe provide help in fixing these.

---

EDIT: After a quick check I noticed what we actually use a tweak for Slay the Princess, to ensure the game does not crash on launch when using Wayland instead of X.org as a display server. In addition to that we drop a bunch of files that are not useful to run the game on a x86_64 Linux distribution, but I doubt it would have any effect other than avoiding wasting storage space.
Ah I see.

Oh it wasn't the game which caused the problem, it was instalilng it through Lutris.
No idea why, but it works fine when installed without Lutris.
avatar
ast486: (…)
Oops, my bad, reading failure on my part ;)
I missed the part in your previous message about the game working fine when Lutris is not involved.
A bit of a necro but I ran into the same problem and the manual installing then linking the executable in Lutris fixed it.

I am using installer "slay_the_princess_end_of_everything_update_1_2a_linux_72334.sh"
I am running POP!_OS 22.04 with latest updates on a laptop with an Intel GPU.
I first tried installing through the GOG connector in Lutris, then tried running all three linux runners, (start.sh, SlaythePrincess.py, SlaythePrincess.sh) then tried running the .exe via wine as well. They all failed.
After reading this thread, I moved the slay-the-princess folder, then ran:
sh slay_the_princess_end_of_everything_update_1_2a_linux_72334.sh
installed to the same location Lutris put it (changed from the default GOG installer uses (likely did not change outcome))
Ran the start.sh (./start.sh) and the game launched fine.
In Lutris, made sure the config pointed to start.sh and changed the working directory to the dir containing start.sh
Launching in Lutris works fine now.

One thing I noticed, the header of some of the python files are set to python rather than python3. Most newer systems do not link python to anything on purpose, so you are forced to update your files to point at the correct python version, I would suggest changing #!/usr/bin/env python to /usr/bin/env python3
it is more "correct"

Anyway, Just wanted to update for those seeing this and still having the issue. the TL;DR is, Manually install, link that from Lutris. ENJOY!!

Thanks everyone, Cool Beans!

EDIT: With manual install, I did not need to change the environment stuff. I just noticed it troubleshooting from before and mentioned it. When using the manual installer from GOG I had to change nothing for it to justwork (TM).
Post edited April 06, 2024 by drache
Thank you all for being champs about this! I have very little ability to test on the wide range of Linux setups out there, so I'm stuck with what our engine lets us do out of the box.

Appreciate you all finding and sharing your fixes!
I tried installing the native Linux version via Lutris today on a Steam Deck. The installation process failed when it was "extracting installation file". I want to share my troubleshooting here for anyone else that wants to try.

The TLDR is that nothing worked and I used the Windows version.

Now for the troubleshooting information:

I tried to manually run the GOG installer .sh file (which is like 8GB) and a CLI installer seemed to be working just fine. However, it tries to run a "postinstall.sh" script which gets stuck in an infinite loop due to a "broken pipe" operator on line 12 (I lost the exact traceback, I can try to get it back if helpful).

I then tried to manually extract the contents of the GOG .sh file (which is not a shell script really) using this tool:
Search for "Yepoleb/gogextract" in Github.com if you want to try it.

When trying to run any of the scripts (start.sh, Slaytheprincess.sh, etc) I got the same error where it cannot find the "start" label.

This seems to be a mismatch with the RenPy version that is packaged with the game vs the SDK version that was used to develop the game itself.

I tried messing around with the .rpy files and I managed to get a RenPy window to open, but there was a problem with a call to "layout.yes-no-prompt".

I don't know if this is a problem specific to SteamOS, could not get it to work. I ended up using the Windows version through Wine/Proton.

It'd be great if we could run the native Linux version on Steam Deck, so I'll be on the lookout for any potential fix from the dev team!
Post edited April 21, 2024 by GiltosMx
I can confirm the lutris installed game still has this problem. Manually installed game does not. Made a quick diff between the two installation directories and found that the working one has the file

game/game/archive.rpa,

while the not working one has, instead, the files - also in game/game

archive.rpa.split00, archive.rpa.split01


Now I noticed during installation, the terminal got spammed with

/home/deck/GOG-manual/SlayThePrincess/support/postinst.sh: line 12: echo: write error: Broken pipe

The messages refer to part of the script that puts split files together.

Maybe lutris sees the errors and somehow not finish execution of postinst.sh, thus not unsplitting archive.rpa.
While manually executing the install script ignores those errors and allow the unsplitting to continue.
The unsplitting is a simple concatenation, so you can fix your install by running

cat archive.rpa.split* >archive.rpa
rm archive.rpa.split*

This fixes the lutris installation.
Post edited July 08, 2024 by misiu_mp
avatar
misiu_mp: I can confirm the lutris installed game still has this problem. Manually installed game does not. Made a quick diff between the two installation directories and found that the working one has the file

game/game/archive.rpa,

while the not working one has, instead, the files - also in game/game

archive.rpa.split00, archive.rpa.split01

Now I noticed during installation, the terminal got spammed with

/home/deck/GOG-manual/SlayThePrincess/support/postinst.sh: line 12: echo: write error: Broken pipe

The messages refer to part of the script that puts split files together.

Maybe lutris sees the errors and somehow not finish execution of postinst.sh, thus not unsplitting archive.rpa.
While manually executing the install script ignores those errors and allow the unsplitting to continue.
The unsplitting is a simple concatenation, so you can fix your install by running

cat archive.rpa.split* >archive.rpa
rm archive.rpa.split*

This fixes the lutris installation.
Probably you already know it, but just to tell it to you this game has a native linux version