Can't open my game file after I made a distribution package?

Screenshot 2024-11-16 at 4.39.28 PM.png

hello i am back after like 20 minutes of things working, 20 minutes too long it seems. I seem to have encountered a different error now that my distribution package has been made. I have deployed my game from mac to mac for distribution so i could play it before i put it out, but i cannot seem to open the game application itself?
I've seen stuff in other threads about running games on Mac - that executable is for Windows, not you. You need to back out to the folder level and turn the entire directory into the app.

You should be able to find some more specific instructions with a quick search. And take it with a grain of salt, I might be wrong as I don't use the operating system.
no, it looks like the macOS app - but like with the windows version it cannot be opened in the editor because it is no longer a project file.

it needs to be executed outside the editor to play the game

and if you want to continue working on your project, you'll need to open the project files, not the deployment files
it cannot be opened in the editor because it is no longer a project file.

it needs to be executed outside the editor to play the game
That displayed error message is a Chromium window saying it can't load a file - that's from running the game, not trying to open it in the editor.
@ATT_Turan but if you look at the title line of the window, you'll see that it uses a virtual directory - that is something integreted into the build-in browser of the editor (which is chromium-based).
the real browser would have displayed the file location there
@ATT_Turan but if you look at the title line of the window, you'll see that it uses a virtual directory - that is something integreted into the build-in browser of the editor (which is chromium-based).
the real browser would have displayed the file location there
I understand what you're saying, but that's also not a window that would display from trying to open the Game executable using the editor.

There isn't even a way to do that, the editor can't see any file extensions that aren't a project.

1731813824822.png


Anyway, I don't use the operating system so I don't have any practical knowledge to add. I hope another Mac user will see the thread and offer some feedback.
no, it looks like the macOS app - but like with the windows version it cannot be opened in the editor because it is no longer a project file.

it needs to be executed outside the editor to play the game

and if you want to continue working on your project, you'll need to open the project files, not the deployment files
i do not really care to work on or edit the project as it is completed and bugfixed, i was looking to play the deployment files in an attempt to play the game as you would if you downloaded it onto your computer from itch.io to play yourself, as opposed to just doing the playtest thing in the editor.
if you close the editor (which is active in the background of your screenshot) and only doubleclick the game, what happens then?
what is the exact version of your MacOS and your project's engine?
if you close the editor (which is active in the background of your screenshot) and only doubleclick the game, what happens then?
what is the exact version of your MacOS and your project's engine?
im on sequoia 15.1, and when rpgmaker is closed and i click it, its the same thing. also im on rpgmaker mz version 1.8.1

uhhh so big update in regards to the issue at hand, when i went to open the game in the editor this morning i noticed just about every file was gone? i was not too worried seeing as i have several backups, and so i went to said backups. I went to the most recent, ran through it, playtested it, and its good to go. Went to deploy and im back to the deployment package failure i had the other day. the difference is that the output folder has no spaces, and i tried to search for when the deployment failed to see if it was a file and saw that it changed its file it failed on every time i did it. I didn't trust that i hadnt missed a wrong filename so i went through it about 3 times in search of faulty filenames and didnt find any? im just kinda confused more than anything.

UPDATE so i got it to deploy, but when it deploys all my assets are gone and its just the events. i have literally no clue why this is the case. i was able to save my project by clicking dont save changes, but it just deletes everything when i deploy, which is most likely why its saying file not found when i attempt to open it, and now i am back to cannot make deployment package. i just noticed you can see what happened to the project in the first image of the thread, notice how the entire screen is blank, it should have a black square where she stands on.


also i am so sorry i have so many issues pls forgive me lol (sorry)


so the issue with the distribution package being made that i had earlier this morning was fixed by changing the output folder name to match the game name bc they were different for some reason, but now i am once more stuck on the deployment package and i checked for the same issue but it is not there and so i am just super confused.

if you close the editor (which is active in the background of your screenshot) and only doubleclick the game, what happens then?
what is the exact version of your MacOS and your project's engine?
it seems like distributing it deletes all the files aside from the events? and thats why my files cant be found?
If I remember correctly, the desktop on MacOS is automatically part of the icloud. And that might be full.
can you try to deploy to a folder on the HDD instead? and make sure the HDD has several GB of free space?

also im on rpgmaker mz version 1.8.1
That is not what I asked for - the project has its own version number that is only identical to the editor version when the project is created. If the editor is updated later, then the project core can be an older version.
Go to game - update corescript in the editor, the next window should list the project version and the maximum version you can update to.
As long as the core is 1.6 or newer there is no need to update, although you can test that with a backup.
If the project core is much older it might be incompatible to the current editor although that would still not get that error.

i noticed just about every file was gone

do you know how to open the app-folder of a MacOS program? It is one of the special keys on the keyboard to hold while doubleclicking the app, and then select to show the inside or something lke that.
On deployment, all additional files are moved into that hidden folder of the program and are no longer visible. And I would like to check if the files are there or completely missing
The project version is 1.8.1, and i attempted moving it to the downloads folder as well. it is just giving me the failed to distribution package as of right now, no matter the place i attempt to package it to.

If I remember correctly, the desktop on MacOS is automatically part of the icloud. And that might be full.
can you try to deploy to a folder on the HDD instead? and make sure the HDD has several GB of free space?


That is not what I asked for - the project has its own version number that is only identical to the editor version when the project is created. If the editor is updated later, then the project core can be an older version.
Go to game - update corescript in the editor, the next window should list the project version and the maximum version you can update to.
As long as the core is 1.6 or newer there is no need to update, although you can test that with a backup.
If the project core is much older it might be incompatible to the current editor although that would still not get that error.



do you know how to open the app-folder of a MacOS program? It is one of the special keys on the keyboard to hold while doubleclicking the app, and then select to show the inside or something lke that.
On deployment, all additional files are moved into that hidden folder of the program and are no longer visible. And I would like to check if the files are there or completely missing
i believe it is just storing it there, i have no clue why it would delete them that makes a lot more sense.
something im noticing is that it makes a new game file when it fails with something called nwjs which i assume is a javascript runner thing. but its putting files there but its still saying failed to make a package.
that is normal and you shouldn't consider the files successfully copied.
the computer will always copy the files for deployment until it gets to an error, and the files copied will then be an incomplete game.

what you need to find out is why the error happens and what files are not copied, not what the files successfully copied are.

how many harddrives does your Mac have, and how big is their free space?
i have a ton of free space still, storage shouldn't be an issue. about 280GB left
that is normal and you shouldn't consider the files successfully copied.
the computer will always copy the files for deployment until it gets to an error, and the files copied will then be an incomplete game.

what you need to find out is why the error happens and what files are not copied, not what the files successfully copied are.

how many harddrives does your Mac have, and how big is their free space?

Original thread: https://forums.rpgmakerweb.com/threads/cant-open-my-game-file-after-i-made-a-distribution-package.173268/