Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
In an older topic, I read that there wasn't support for these architectures, is this still the case? Running Ren'py launcher itself on my machine is fine though, I'm running NixOS on aarch64 with a Raspberry Pi 4 system (4G of RAM). Attempting to run the game file's .sh from console doesn't work, as you can see:
[llirium@nixospi:~/Games/Katawa Shoujo-1.3.1-linux]$ ./Katawa\ Shoujo.sh
Ren'Py could not detect that platform it's running on. Please set
the RENPY_PLATFORM environment variable to one of "linux-i686" or
"linux-x86_64", or "darwin-x86_64" and run this command again.
Is it possible to run a Ren'py game with Python 2 or 3 support alone, perhaps? Like this:
Is it supported nowadays. But I believe you'll need to grab the ARM version
"Download ARM Linux (Raspberry Pi and Chromebook) SDK tar.bz2"
from the renpy downloads page and compile the game with that.
Then when you compile a game for Linux it should have py2-linux-aarch64 or py3-linux-aarch64 in the lib folder.
Finished games
-My games: Sickness, Wander No More, Max Massacre, Humanity Must Perish, Tomboys Need Love Too, Sable's Grimoire, My Heart Grows Fonder, Man And Elf, A Dragon's Treasure, An Adventurer's Gallantry
-Commissions: No One But You, Written In The Sky, Diamond Rose, To Libertad, Catch Canvas, Love Ribbon, Happy Campers, Wolf Tails
Appreciate the answer, but I'm trying to run older games without a specific arm64/aarch64 version. Guess it's impossible to run them unless you're running on an x86/x86_64/darwin-x86_64 machine?
(unrelated note for Zetsubou: Really liked the concept of Humanity Must Perish, it was played more [and less] seriously than I'd expected and both were a pleasant surprise. )
Huh. I thought Katawa Shoujo was open source, so you'd be able to compile it yourself with the above launcher, but I guess not.
In that case you might be able to run the game by copying the lib directory from the above SDK into the game folder.
So replace the directory of KatawaShoujo/lib with renpy-7.5.3-arm/lib
And replace the content of KatawaShoujo.sh with the content of renpy.sh (the .sh script isn't game-specific)
That way you'll have the arm libraries needed for your platform and a .sh file which knows how to run it.
(unrelated note: thanks I'm glad you liked it)
Finished games
-My games: Sickness, Wander No More, Max Massacre, Humanity Must Perish, Tomboys Need Love Too, Sable's Grimoire, My Heart Grows Fonder, Man And Elf, A Dragon's Treasure, An Adventurer's Gallantry
-Commissions: No One But You, Written In The Sky, Diamond Rose, To Libertad, Catch Canvas, Love Ribbon, Happy Campers, Wolf Tails
You can usually run Ren'Py games by copying the game into your projects directory, picking it out of the launcher, and running it in the launcher. You'll be running in the newer version of Ren'Py, but if there isn't any use of Ren'Py internals, it often works.
Supporting creators since 2004 (When was the last time you backed up your game?)
Still no dice. Manually downloaded the 7.5.3 SDK for ARM, backed up and then replaced the lib directory of Katawa Shoujo with the SDK's lib, and replaced the .sh file with the one from the SDK too. Not sure what's wrong, the renpy file is definitely in that location, the file permissions are fine.
On Linux that error can actually mean the loader, not the file itself, can't be found.
So it can find py2-linux-aarch64/renpy but doesn't know how to run it.
A quick bit of googling suggests this might be due to the way nixos runs.
I'm not familiar with nixos myself, but search results suggest patching the binary with patchelf might be necessary.
eg. https://stackoverflow.com/a/56997739
Finished games
-My games: Sickness, Wander No More, Max Massacre, Humanity Must Perish, Tomboys Need Love Too, Sable's Grimoire, My Heart Grows Fonder, Man And Elf, A Dragon's Treasure, An Adventurer's Gallantry
-Commissions: No One But You, Written In The Sky, Diamond Rose, To Libertad, Catch Canvas, Love Ribbon, Happy Campers, Wolf Tails
Sorry, I was barking up the wrong tree all along due to my inexperience with NixOS. Pre-compiled executables (like a Ren'Py binary which hasn't been installed in the NixOS way) do not typically work on NixOS (feature, not a bug).
If anybody else ever shares my problem, the article below (Dec 2022) helps to explain why NixOS does not function like other Linux distros. It will (apparently) no longer be a problem in future versions of the distro (NixOS version 23.05).
Will put plans on running older Ren'Py games on hold for now. But once NixOS 23.05 becomes the stable version of the distro, I'll experiment with nix-ld and probably get those Ren'Py binaries working. Apologies for not realizing this sooner, thanks for trying to help.