|
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.
|
|
|
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 Nemjen on Jul 23, 2016 4:39:32 GMT -8
I can't say I am familiar with Nutaku but if memory serves me correctly Macs generally have issues with running '.exe' directly as it was originally a format designed for Microsoft Windows.
Do you have access to an application like Wine or have access to a Windows virtual environment? Might be worth trying to launch both games through it and seeing if this is successful.
|
|
|
Post by vaendryl on Jul 23, 2016 6:59:56 GMT -8
I know running the game on a mac requires running a different file than the .exe to start it, but I'm not familiar with them - nor with nutaku and what they do.
for the time being, look at the file in this folder: Sunrider Academy\SunriderAcademy.app\Contents\MacOS, maybe you can run it that way. there should be a similar folder within libday
|
|
|
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 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 Nemjen on Jul 23, 2016 9:03:52 GMT -8
Ah if it is not the '.exe' then could it be the 'Sunrider Liberation Day.sh' file? Maybe try removing the '.sh' file extension and then double click it see if that launches it, if not change the extension to '.command' and try again? I need to get round to properly learning how to use a Mac at some point.
|
|
|
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 Nemjen on Jul 23, 2016 13:08:54 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.
|
|
|
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 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 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: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 Nemjen on Jul 24, 2016 22:18:32 GMT -8
Glad to hear you are now in. I think it is an OS thing with not recognising the format so it opens it in a safe bet program (not sure if mac has the equivalent of a default program setting where you can define file type to program).
|
|
|
Post by rsgong on Nov 19, 2016 16:15:10 GMT -8
I have encountered the same problem as turtle50up. However, when I attempted his solution, I found that my lib folder did not have a MacOS folder. It has a second linux folder titles linux-i686.
After reading this post I visited Steam and downloaded Mask of Arcadius and it is working perfectly.
Please help as I cannot really afford to purchase this game again.
|
|
|
Post by Nemjen on Nov 19, 2016 16:37:55 GMT -8
Correct me if I am wrong but is this the path you are using?: '..\Sunrider Liberation Day\Sunrider Liberation Day.app\Contents\MacOS'
|
|
|
Post by rsgong on Nov 19, 2016 17:30:38 GMT -8
No it wasn't. I'll give it another try. Thanks.
|
|
|
Post by rsgong on Nov 19, 2016 17:52:09 GMT -8
I now get an error message that I can't oper the application because it may be damaged or incomplete. Also, in the pythonlib2.7 folder all of the .pyo items are documents.
|
|
|
Post by Nemjen on Nov 20, 2016 2:47:45 GMT -8
If turtle50up's recommendations are not helping there is not too much more I can offer as I do not have access to a Mac to check the proper procedure. An alternative method of launching it (which has worked in the past) is to move the LD folder into the directly a Renpy directory (after downloading the program) and launching it as a project (it will appear under the list when you run the launcher). I would recommend using this version of Renpy as if I remember correctly it was what LD was built on: www.renpy.org/release/6.99.8
|
|
|
Post by jesusalva on Sept 25, 2017 7:35:03 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. This is a common error if someone extracts the file Ren'Py generates on a Windows computer. Windows does not know about permission, that exist only in Linux and Mac. Therefore, if you uncompress in Windows and compress it again - regardless if you did any changes - permission will not be saved, and the .sh file won't run. There is also lib/ folder to care about. It should have a file with the same name as the sh file (without extension). Marking it as executable too should make the game run, both on Linux and on Mac. Another viable alternative is replacing all files but game/ folder with one provided by Ren'Py. You can check on game/script_version.txt what Ren'Py version is expected. Uhm... hope to be of help?
|
|