RhenaudTheLukark / CreateYourFrisk

Rhenaud The Lukark's Unitale fork
GNU General Public License v3.0
128 stars 53 forks source link

Won't open on Mac #95

Closed hAck-3r64 closed 2 years ago

hAck-3r64 commented 2 years ago

When I double click or click open from the right-click menu to open CYF 0.6.5, it says "You do not have permission to open the application “Create Your Frisk 0.6.5”." When I go to the 'Get info' menu from the right click menu, it says my permissions are the highest it can be, 'Read and Write', so the official apple article about this doesn't help.

Setup

RhenaudTheLukark commented 2 years ago

Right, there are some problems related to how the latest versions of Mac runs apps.

Here's how you can make it work:

In the terminal you cd to the directory CYF is in, and you type the following commands:

sudo chmod 755 "Create Your Frisk v0.6.5"
sudo chmod 755 "Create Your Frisk v0.6.5/Contents/MacOS/Create Your Frisk"

Then open the program, you get a message that it's unsafe and cannot be run, open it again, and an "open" button will appear on the message.

hAck-3r64 commented 2 years ago

Right, there are some problems related to how the latest versions of Mac runs apps.

Here's how you can make it work:

In the terminal you cd to the directory CYF is in, and you type the following commands:

sudo chmod 755 "Create Your Frisk v0.6.5"
sudo chmod 755 "Create Your Frisk v0.6.5/Contents/MacOS/Create Your Frisk"

Then open the program, you get a message that it's unsafe and cannot be run, open it again, and an "open" button will appear on the message.

This is what happened when I tried: (NOTES: I don't use terminal often and don't understand most of the stuff like this that I need to input, The blocked out parts are just mentions of my name.

Screenshot 2021-07-27 at 17 09 13
RhenaudTheLukark commented 2 years ago

What this means is that the file doesn't exist. You just need to rename Create Your Frisk v0.6.5 with whatever the executable name is and it should work!

hAck-3r64 commented 2 years ago

What do you mean by 'whatever the executable name is'?

RhenaudTheLukark commented 2 years ago

Before you tried to open a file to start CYF: this is your executable. You need to replace Create Your Frisk v0.6.5 in the two commands I gave you with the name of the file you clicked on to try to start CYF.

hAck-3r64 commented 2 years ago

The name of the file I used to try to open CYF is 'Create Your Frisk 0.6.5', so I don't understand what I have to change.

RhenaudTheLukark commented 2 years ago

Create Your Frisk v0.6.5 and Create Your Frisk 0.6.5 are different, there's an extra v in the command I gave you. Just remove it and try running the commands again.

hAck-3r64 commented 2 years ago

So I would typesudo chmod 755 "Create Your Frisk 0.6.5" and sudo chmod 755 "Create Your Frisk 0.6.5/Contents/MacOS/Create Your Frisk" into terminal exactly like that?

RhenaudTheLukark commented 2 years ago

Exactly, try it out.

hAck-3r64 commented 2 years ago

Similar errors occurred.

hAck-3r64 commented 2 years ago
Screenshot 2021-07-27 at 17 26 25
RhenaudTheLukark commented 2 years ago

Can you please show me the contents of the folder you're in?

hAck-3r64 commented 2 years ago
Screenshot 2021-07-27 at 17 30 33 Screenshot 2021-07-27 at 17 30 48
RhenaudTheLukark commented 2 years ago

Well that's weird. Try adding ".app" at the end of the file name in the commands, just in case. That's how those files are shown on Windows.

hAck-3r64 commented 2 years ago

Such as this? sudo chmod 755 "Create Your Frisk 0.6.5.app"

RhenaudTheLukark commented 2 years ago

Yes.

hAck-3r64 commented 2 years ago

One less error but still no dice.

Screenshot 2021-07-27 at 17 38 40
RhenaudTheLukark commented 2 years ago

Well try starting CYF with just that, and see if it works. If not, we'll keep fiddling.

hAck-3r64 commented 2 years ago

:/

Screenshot 2021-07-27 at 17 41 28
RhenaudTheLukark commented 2 years ago

Do you have an app that allows you to inspect the contents of an app file? Because as you may not know, app files are basically folders.

hAck-3r64 commented 2 years ago

In the right-click menu there's a 'show package contents' option which I normally use to edit Friday Night Funkin' files, would that work?

RhenaudTheLukark commented 2 years ago

That's the one.

hAck-3r64 commented 2 years ago

What do I do?

RhenaudTheLukark commented 2 years ago

Just look for CYF's real executable in the package. It should normally be in the folders Contents/MacOS.

hAck-3r64 commented 2 years ago

In Contents/MacOS, I found this one file without an extension.

Screenshot 2021-07-27 at 17 46 03
RhenaudTheLukark commented 2 years ago

There you go. Then in the second command, replace the second Create Your Frisk with Create Your Frisk 0.6.5, and no need to send the command this time!

hAck-3r64 commented 2 years ago

It worked! Thank you for dealing with my confusion. 😅

RhenaudTheLukark commented 2 years ago

No problem, now I know what commands to send to future users!