|
Post by turtle50up on Jul 24, 2016 16:19:21 GMT -8
SOLVED!!!!!
So... All the files in the two folders darwin-x86_64 and linux-x86_64 as well as in the MacOS were supposed to be executables, yet for some reason when I got them they were all simply text files.
Converting them into executables fixed them completely. Game runs fine as far as I can tell.
And I guess for future reference, chmod +x in Terminal with all the files after it converted them to executables.
And probably a problem with my comp, turning them all into text files instead of executables.
|
|
|
Post by turtle50up on Jul 24, 2016 16:10:20 GMT -8
Okay, it still doesnt run, gives this error in terminal:
Last login: Mon Jul 25 09:08:27 on ttys000 /Users/Ray/Downloads/Sunrider-Academy_All/Sunrider-Academy_All/SunriderAcademy.app/Contents/MacOS/SunriderAcademy ; exit; Rays-Surface-Pro:~ Ray$ /Users/Ray/Downloads/Sunrider-Academy_All/Sunrider-Academy_All/SunriderAcademy.app/Contents/MacOS/SunriderAcademy ; exit; /Users/Ray/Downloads/Sunrider-Academy_All/Sunrider-Academy_All/SunriderAcademy.app/Contents/MacOS/SunriderAcademy: line 60: /Users/Ray/Downloads/Sunrider-Academy_All/Sunrider-Academy_All/SunriderAcademy.app/Contents/MacOS/../../../lib/darwin-x86_64/SunriderAcademy: Permission denied /Users/Ray/Downloads/Sunrider-Academy_All/Sunrider-Academy_All/SunriderAcademy.app/Contents/MacOS/SunriderAcademy: line 60: exec: /Users/Ray/Downloads/Sunrider-Academy_All/Sunrider-Academy_All/SunriderAcademy.app/Contents/MacOS/../../../lib/darwin-x86_64/SunriderAcademy: cannot execute: Undefined error: 0 logout Saving session... ...copying shared history... ...saving history...truncating history files... ...completed. Deleting expired sessions...10 completed.
[Process completed]
|
|
|
Post by turtle50up on Jul 24, 2016 16:07:10 GMT -8
I think I might have figured it out!
So the other game I looked at had the code as a Unix executable, and when opening through terminal opens the game. And it contains the same code as I posted above.
Yet for some reason in the Nutaku version, the code is in a text file, not a Uni executable, and so it doesn't run the code it contains, and therefore doesnt run the game. Will now test how to make it a unix executable.
|
|
|
Post by turtle50up on Jul 24, 2016 3:40:45 GMT -8
Yeah I am not entirely sure I am afraid, I've always found macs a bit weird. I believe we just need to set that '.sh' as a executable and launch it (we want it to run, not show in an editor) but I am not sure how to do it. We can see what Vaen suggests though when he reappears, he might be a bit more familiar with the next step. Edit: Just as a lite update we have also contacted the distributor 'Nutaku' to have a scan over things so if I hear anything in the meantime as a result I will let you know turtle. Thanks for the help so far! One of the other games I purchased from Nutaku works fine, so I'm going to compare how the .app code works between the games. Having issues with another game I recently purchased as well, same situation unfortunately. Might be something odd with coding...
|
|
|
Post by turtle50up on Jul 23, 2016 12:42:25 GMT -8
Unfortunately as far as I can tell there is no way to remove .sh with a meaningful manner to the computer; deleting it from the name just keeps it as a Shell Script with the name not showing the extension, so all it does for me is open Xcode with all the code visible. I'm just wondering if it could be a problem with the .app file that launches it on Mac, and if somehow it is unable to access the correct files to start the game. Although not sure exactly how to interpret the error message that comes up; terrible lack of information it gives. Guess this is what I get for getting a mac
|
|
|
Post by turtle50up on Jul 23, 2016 7:48:35 GMT -8
Code from the file in both Sunrider games:
#!/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" "$@"
|
|
|
Post by turtle50up on Jul 23, 2016 7:44:20 GMT -8
So for Sunrider Academy and Sunrider Liberation Day's .app files, I just see a file of code (unsure what language it is) inside the MacOS folders, and no way to run the game from that file. I can paste the code I see for both here if it helps if there are any issues with the code itself which is hindering the game from launching.
I don't see a libday folder, instead it just shows lib, with five folders in it.
|
|
|
Post by turtle50up on Jul 23, 2016 4:12:36 GMT -8
Same Issue for Sunrider Academy:
I purchased the game from the site Nutaku.net, the version (the folder name) after unpacking being Sunrider Academy. However, after downloading the Mac version of the game from the site, I try to run the game via the application, yet it keeps giving me the message "The application 'SunriderAcademy' can't be opened."
The same thing happens for Sunrider Liberation Day purchased from the same site. I was wondering if there was something I wasn't doing in order for it to run (have the folder unpacked in the Downloads folder for example, although that shouldn't be the issue), and if the issue can be addressed and fixed, as at the moment both games are unplayable at the moment. I am running OS X El Capitan version 10.11.5 on a MacBook Pro 13 inch.
|
|
|
Post by turtle50up on Jul 23, 2016 4:11:02 GMT -8
I purchased the game from the site Nutaku.net, the version (the folder name) after unpacking being Sunrider Liberation Day Captain's Edition. However, after downloading the Mac version of the game from the site, I try to run the game via the application, yet it keeps giving me the message "The application 'Sunrider Liberation Day' can't be opened."
The same thing happens for Sunrider Academy purchased from the same site. I was wondering if there was something I wasn't doing in order for it to run (have the folder unpacked in the Downloads folder for example, although that shouldn't be the issue), and if the issue can be addressed and fixed, as at the moment both games are unplayable at the moment. I am running OS X El Capitan version 10.11.5 on a MacBook Pro 13 inch.
|
|