So, I'm developing my project on a Windows 10 machine, and tried to deploy to Mac. I don't know anybody in reach with a Mac, so I zipped it up, uploaded the deployed project to dropbox and asked a friend to help me out. This was his report (verbatim):
MacOS 10.10.5 ‘Yosemite’
2.4 GHz Intel Core 2 Duo
4 GB 667 MHz DDR2 SDRAM
ATI Radeon HD 2600 Pro 256 MB
========
ZIP Expand: OK
Renamed folder to "• revobrpg"
Boot game from desktop:
Dlog: The application “Game” can’t be opened.
Renamed folder back to “revobrpg”, rebooted ‘Game’: same dlog
Deleted folder; re-expanded file, opened from downloads folder: same dlog.
Quit test for Mac; threw toys; shouted at gods
To make sure it wasn't an issue with my project file, I created a new, barebones one from scratch and uploaded that, too:
Dropbox Link
His report:
Still no joy, matey. "The application 'Game' can't be opened." I even tried opening in Terminal (the DOS equivalent of Mac OS) just to get an error code... -10810. And before you go looking that up, it's virtually useless to you.
Is there any advice for my friend trying to open this game file? Is it something about his specs, or is there another fix?
Failed Deployment to Mac OS X
● ARCHIVED · READ-ONLY
-
-
MacOS has an execution protection similiar to Windows' when downloading programs from the internet, and it has to be commanded to execute unknown programs the same way as windows has to (if you load programs from the internet).
This is done by pressing one of the special keys on the keayboard while clicking on the app - unfortunately I'm currently not on a mac and can't tell you which key activates the override. Check with your friend if he has tried that. -
https://support.apple.com/kb/ph18657?locale=en_US
Use the Control key while opening it in Finder.
Keep in mind that the way you export a OS X build is somewhat different from the Windows build, and that a OS X build will typically be an entire package by itself. -
Thanks for the response! He says the control key didn't work, however.
Keep in mind that the way you export a OS X build is somewhat different from the Windows build, and that a OS X build will typically be an entire package by itself.
Hmm, are you suggesting I should try to create a DMG or PKG package? -
Thanks for the response! He says the control key didn't work, however.
Hmm, are you suggesting I should try to create a DMG or PKG package?
You would likely be better off creating a DMG package for the entire reason that you can mount the image on OSX and run it directly as well as just copy it from the DMG to whereever. If holding down the Control key doesn't work, then what he has indeed is corrupted somehow. The other thing they could do is turn off the "only run software from the app store" feature of Gatekeeper. https://support.apple.com/en-ca/HT202491 -
Solved--kinda. Here's what my friend did:
1. Download the Windows deploy of the project.
2. Download & install Wine + WineBottler
3. Run Game.exe and library files through WineBottler, produce Game.app
4. Run Game.app, profit
Kind of a messy work-around, though? -
Solved--kinda. Here's what my friend did:
1. Download the Windows deploy of the project.
2. Download & install Wine + WineBottler
3. Run Game.exe and library files through WineBottler, produce Game.app
4. Run Game.app, profit
Kind of a messy work-around, though?
Oh that's an incredibly unnecessary work around. Scratch out steps 2, 3 and 4 and just download nw.js and run that instead. The only thing you lose is the rpg maker game icon. -
I've been getting this error on several Mac MV games I've downloaded. My own MV game works on other Macs, however, which is really weird.
And no, it's not the download protection error. -
The Dropbox link you posted works fine for me on my MBP w/ 10.10.5.
As a suggestion, you might try running the application a fresh install of OS X. There may be lingering problems if it's an older install (Core 2 macs are a little older) that's been upgraded from Leopard/Snow Leopard, or even Lion, since Apple's upgrade process doesn't necessarily clean out everything, and even introduces some problems here and there.
http://prntscr.com/a0t6r5 -
I had the same problem - fixed it with the Mac security setting that defaults to not allowing you to run apps unless they are downloaded from a trusted source.
Go into your "System Preferences > Security & Privacy" settings and in the "General" tab, there's an option you can select:
Allow apps downloaded from:
Anywhere.
It should work that way.
-
From @orzfly
According to my personal experience, this should be caused by incorrect permissions of the game file. In that thread the author was deploying the game on Windows and unzipping on OS X. Usually file comes from Windows are all executable on OS X but sometimes they would be all non-executable. ("executable" is a file attribution on UNIX system)
This problem could be solved by running the following command on his game on OS X to fix up the file permission: (assume his game called Game.app)
Code:chmod +x Game.app/Contents/MacOS/nwjs chmod +x Game.app/Contents/Frameworks/nwjs\ Helper.app/Contents/MacOS/nwjs\ Helper chmod +x Game.app/Contents/Frameworks/nwjs\ Helper\ EH.app/Contents/MacOS/nwjs\ Helper\ EH chmod +x Game.app/Contents/Frameworks/nwjs\ Helper\ NP.app/Contents/MacOS/nwjs\ Helper\ NP -
Just an update to all users:
We found out after some sample testing that only Mac Yosemite 10.10+ users seems to have problems running an MV game. We're looking into it. If you are using El Capitan there should be no problems. -
Hello, i have the same problem.
I'm on Mac OSX 10.10 (Late 2011)
If i deploy a game, it works but if i upload it in a zip file on the web, when i download it and try to open give me an error file damage remove to trash.
That's really strange, i have also download from dropbox Myshu link and for me it works.
I really don't understand how to fix it, i'm working on a 1.2 core project, maybei need to deploy it with a 1.2 engine version?
I have also change the NW icon inside RpgMaker APP contents, to customize my game it may cause of the issue?
Hope someone answer me:
EDIT:
Changin Security & Privacy onmy mac, now the app it works.
The strange thing is this, the Myushu game.app, ask me to change Security & Privacy and is intuitive, my game.app just
say to remove to trash because is damaged, but changin preference it works, that's really strange.
Best -
Tested. Still giving errors. The only thing that worked was WineBottler.Oh that's an incredibly unnecessary work around. Scratch out steps 2, 3 and 4 and just download nw.js and run that instead. The only thing you lose is the rpg maker game icon.