Deployment doesn't work for MacOS, Linux and Web. Any ideas?

So, when I actually deploy the game, the folders are created just fine. But I've encountered the following issues:

MacOS: I am unable to upload the game folder anywhere because I get a message that says that the files in the folder are unidentifiable;

Linux and Web: People get all sorts of crash messages. I have deployed it excluding unused files and encrypting everything, and have yet to try it without these options. But I just can't figure out what's wrong with the Mac deployment issue.

I'm using these plugins atm:

1683898316193.png


Maybe I have them in the wrong order? I don't know what to do tbh. Any help is appreciated!
What software are you using?

You're posting in MV support, and you have the MadeWithMv plugin in there, but you also have VisuStella plugins that will only function on MZ. (not to mention two different message cores that would overwrite each other if they were made for the same version of RPG Maker)

Just looking at that plugin manager, I'm surprised your game will playtest correctly, never mind export and be playable.
Aside from the problems with wrong plguins mentioned above, to deplay to MacOS you basically have to run MacOS.

The problem is that MacOS uses a different file system than Microsoft's windows, including a flag that does not exist under Windows.

Theoretically you would have to copy the folder you get from a Windows-to-MacOS deployment, copy it to a Mac-HDD and set that flag to turn the folder into a MacOS-app, hiding the very existance of that folder and its content.
Unfortunately I never found out how to set that flag manually and most people developing for MacOS simply install Steam and RMMV on a MacOS computer, because then deploying will set the flag automatically.



The biggest cause for problems with deployment to web is your file- and foldernames. If any of them contain symbols or letters not allowed under HTML5-rules, then that will cause problems.


For more help you would have to give us screenshots of the error messages you got.
What software are you using?

You're posting in MV support, and you have the MadeWithMv plugin in there, but you also have VisuStella plugins that will only function on MZ. (not to mention two different message cores that would overwrite each other if they were made for the same version of RPG Maker)

Just looking at that plugin manager, I'm surprised your game will playtest correctly, never mind export and be playable.
I actually didn't know that VisuStella's plugins only worked with MZ! Sorry about that, it's been years since I made an RPG game. Although VisuStella's plugins work just fine for me on MV... Dunno if that's a glitch or not.

The game has been working just fine on windows though, for me and for other people. It's just the other versions that aren't working for me.
Aside from the problems with wrong plguins mentioned above, to deplay to MacOS you basically have to run MacOS.

The problem is that MacOS uses a different file system than Microsoft's windows, including a flag that does not exist under Windows.

Theoretically you would have to copy the folder you get from a Windows-to-MacOS deployment, copy it to a Mac-HDD and set that flag to turn the folder into a MacOS-app, hiding the very existance of that folder and its content.
Unfortunately I never found out how to set that flag manually and most people developing for MacOS simply install Steam and RMMV on a MacOS computer, because then deploying will set the flag automatically.



The biggest cause for problems with deployment to web is your file- and foldernames. If any of them contain symbols or letters not allowed under HTML5-rules, then that will cause problems.


For more help you would have to give us screenshots of the error messages you got.
Ooooh, that makes a lot of sense... thank you for explaining this! I will try renaming the web folder to a simpler name and see if it works. If the problem persists, I'll post here again. Thanks again!
Although VisuStella's plugins work just fine for me on MV... Dunno if that's a glitch or not.
Without knowing what your game looks like...no, they don't. I just tried putting the VisuStella Core Engine into an MV test project and none of the obvious settings I tried to change (changing the title screen or the menu windows) did anything.
Without knowing what your game looks like...no, they don't. I just tried putting the VisuStella Core Engine into an MV test project and none of the obvious settings I tried to change (changing the title screen or the menu windows) did anything.
The window conventions are different between MV and MZ so I imagine those would be broken, so would saving. But it's possible other plugins have no or minimal compatibility issues.

Although I don't know why OP would insist on using VisuStella instead of the Yanfly MV equivalent of the plugin, unless there are some special additional features that managed to work.
Without knowing what your game looks like...no, they don't. I just tried putting the VisuStella Core Engine into an MV test project and none of the obvious settings I tried to change (changing the title screen or the menu windows) did anything.
The only reason I added VisuStella's plugin was so I could use the "WordWrap" function. And it really is all I'm using. And believe it or not, it is working just fine, for me at least. I don't intend on using any other function so I don't know about the rest, but there were no complaints from my beta testers regarding the message boxes or anything so I'm going to keep the plugins installed.
The window conventions are different between MV and MZ so I imagine those would be broken, so would saving. But it's possible other plugins have no or minimal compatibility issues.

Although I don't know why OP would insist on using VisuStella instead of the Yanfly MV equivalent of the plugin, unless there are some special additional features that managed to work.
Like I answered to ATT_Turan, I only use one feature of VisuStella's plugin, and that is the <WordWrap> function. It's the only reason I installed it and it really works just fine. I haven't had any issues saving, neither have the people who beta tested it for me. I don't think it's going to be a problem keeping both of them installed if I'm using just that feature.
The only reason I added VisuStella's plugin was so I could use the "WordWrap" function...And believe it or not, it is working just fine, for me at least.
Again, that is also in the Yanfly plugin duplicate that you have installed.

And again, I just took 30 seconds to put the VisuStella plugin into an MV project, turn on the word wrap, and it does nothing.

Edit: In fact, looking at the console, both plugins produce unexpected token errors, probably because they're using optional chaining which MV's code doesn't support. So nothing in either plugin is being executed at all.

Since you're being told things and you're clearly not even bothering to check it before insisting you're right...good luck with that.
CrazyCookieManic, please avoid double posting, as it is against the forum rules. You can use the "Edit" function on your posts to add additional information you've forgotten or respond to multiple people. You can review our forum rules here. Thank you.
Without knowing what your game looks like...no, they don't. I just tried putting the VisuStella Core Engine into an MV test project and none of the obvious settings I tried to change (changing the title screen or the menu windows) did anything.
1683913840137.png
1683913892904.png


Calm down. No need to get stressed. I'm just saying that I literally had no issues so far by having both of them installed, I'm not saying that you're wrong. I don't get if what you're saying is that the <WordWrap> function also works on Yanfly's plugins, because if so it would make sense that it's working for me. But as it is now, I have both YEP and VisuStella's and the <WordWrap> function is working, like so.
I get the feeling the VisuStella plugins in your project are redundant at best and turning them off would have no impact on your project.
I get the feeling the VisuStella plugins in your project are redundant at best and turning them off would have no impact on your project.
You are right. I turned them off and the <WordWrap> still worked. I thought I needed the VisuStella's plugins for this but apparently not.

Still, this wasn't what this post was about. My main issue here is with deployment. If anyone knows how I could make it work correctly for at least Linux and Web, I'd really appreciate it!
If anyone knows how I could make it work correctly for at least Linux and Web, I'd really appreciate it!
And as I told you, for any further help we need to see screenshots of the errors that happen on those deployment

EDIT: and the full error trace from the console if possible, not just the main error screen)
And as I told you, for any further help we need to see screenshots of the errors that happen on those deployment
Oh, right, duh. Sorry. Here they are:

1683915511595.png

1683915570479.png

these are the ones I got for the web version from the beta testers.

For Linux, I got these:
1683915681968.png

1683915698864.png
There are only two possible reasons for that failed to load:
either the file does not exist, or the folderpath toward that file contains illegal characters.

Since it's a default database file, the more likely case is the folderpath - which is why I asked for the console output as the screenshot you made does not contain the full folderpath.

can you give us the full adress/folderpath to the game?
Sorry, I didn't answer again because I was notified I can't double post and was afraid you wouldn't see it if I edited my last post. I'm not really active here so I'm not super aware of the rules and how this forum works.

So, I'm not sure what you mean by folderpath but this is how the Linux (deployed) version looks inside the folder:
1683920883478.png
1683920912936.png
1683920940230.png
1683920976398.png


and for Web, I got these:
1683921026173.png
1683921043988.png
1683921060055.png
1683921083736.png


the contents are pretty much the same, and the character/actor files are inside the folders as they should be...
Sorry, I didn't answer again because I was notified I can't double post and was afraid you wouldn't see it if I edited my last post. I'm not really active here so I'm not super aware of the rules and how this forum works.

So, I'm not sure what you mean by folderpath but this is how the Linux (deployed) version looks inside the folder:
View attachment 261695View attachment 261696View attachment 261697View attachment 261698

and for Web, I got these:
View attachment 261699View attachment 261700View attachment 261701View attachment 261702

the contents are pretty much the same, and the character/actor files are inside the folders as they should be...
You're still not showing the folder path, just the individual folders. It's the navigation bar above your folders.
You're still not showing the folder path, just the individual folders. It's the navigation bar above your folders.
Oh!! Sorry, I understand now. (probably)
1683921613563.png

1683921640121.png

is this what you mean? these are for Web and Linux, respectfully (as you can see)

Original thread: https://forums.rpgmakerweb.com/threads/deployment-doesnt-work-for-macos-linux-and-web-any-ideas.157458/