pretty sure I did this yesterday and every other combo of chmod and ./ but I'll try again.
The problem with Linux RenPy games is that not you only need execution bit set for
.sh
file in the game's folder, but also for the game binary file. In most cases game are shipped in proper tar containers with correctly set bits, but some developers ship games in zip files made in Windows with all attributes stripped. The
.sh
file in game folder is just a simple few lines of shell code that detects the platform and runs the appropriate binary. The game binary itself for RenPy games is located in
lib/%platform%/%gameTitle%
. For this game and SteamDeck it will be "lib/py2-linux-x86_64/MilfsPlaza" binary. You must set this file to be executable, and moreover - you can launch the game directly by running this binary instead of executing
.sh
wrapper script.
Most of RenPy games have Linux builds included that go way better, faster and stable on LinuxDesktop/SteamDeck than running Windows builds via Proton. Actually between 200+ titles in my library I'm using Proton only for a 5-6 Unity games. Everything else has Linux builds or can be ported to native Linux.