A player running Linux mint 17 is reporting the following error. When he clicks the game icon, he gets the following message:
#!/bin/sh
SCRIPT="$0"
# Resolve the chain of symlinks leading to this script.
while [ -L "$SCRIPT" ] ; do
LINK=$(readlink "$SCRIPT")
case "$LINK" in
/*)
SCRIPT="$LINK"
;;
*)
SCRIPT="$(dirname "$SCRIPT")/$LINK"
;;
esac
done
# The directory containing this shell script - an absolute path.
ROOT=$(dirname "$SCRIPT")
ROOT=$(cd "$ROOT"; pwd)
# The name of this shell script without the .sh on the end.
BASEFILE=$(basename "$SCRIPT" .sh)
if [ -z "$RENPY_PLATFORM" ] ; then
case "$(uname -s)-$(uname -m)" in
Darwin-*)
RENPY_PLATFORM="darwin-x86_64"
ROOT1="$ROOT/../Resources/autorun"
ROOT2="$ROOT/../../.."
;;
*-x86_64|amd64)
RENPY_PLATFORM="linux-x86_64"
ROOT1="$ROOT"
ROOT2="$ROOT"
;;
*-i*86)
RENPY_PLATFORM="linux-i686"
ROOT1="$ROOT"
ROOT2="$ROOT"
;;
*)
echo "Ren'Py could not detect that platform it's running on. Please set"
echo "the RENPY_PLATFORM environment variable to one of \"linux-i686\" or"
echo "\"linux-x86_64\", or \"darwin-x86_64\" and run this command again."
exit 1
;;
esac
fi
for BASE in "$ROOT" "$ROOT1" "$ROOT2"; do
LIB="$BASE/lib/$RENPY_PLATFORM"
if test -d "$LIB"; then
break
fi
done
exec $RENPY_GDB "$LIB/$BASEFILE" $RENPY_PYARGS -EO "$BASE/$BASEFILE.py" "$@"
.......
Does anyone have any suggestions on how to resolve this issue?
Thank you!
Linux Error
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.
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.
Re: Linux Error
This is not a message, this are the contents of the linux shell script?
I guess the script opened in a text editor when the player clicks on the file?
Probably you'll find the answer here: How to run .sh file
BTW: Did you use a MS-Windows tool to build the archive (zip file)? This won't work, as Linux has some file permissions ('executable') that do not exist under MS-Windows. When you use Ren'Py to build the zip file, the permissions are correctly set.
I guess the script opened in a text editor when the player clicks on the file?
Probably you'll find the answer here: How to run .sh file
BTW: Did you use a MS-Windows tool to build the archive (zip file)? This won't work, as Linux has some file permissions ('executable') that do not exist under MS-Windows. When you use Ren'Py to build the zip file, the permissions are correctly set.
- Obscura
- Eileen-Class Veteran
- Posts: 1431
- Joined: Fri Mar 09, 2012 6:58 pm
- Projects: Coming Out On Top
- Location: United States
- Contact:
Who is online
Users browsing this forum: Majestic-12 [Bot]