XaiJu
Tinkerer
Tinkerer

patreon


To all Mac users

When trying to launch Peasant's Quest, it seems many/all? of you are met with the following message: The application "Game.app" can't be opened.

I would very much like to support OSX but I don't have access to a Mac for testing. So I'm going to need your help to solve this issue. From what I can read in the forums the problem seems to be related to security settings which end up corrupting the file during download. This is a possible solution I've found on the web. Can you try this before downloading the game file:

 1. Open the System Preferences. There are two approaches:
- Click on the System Preferences icon in the Dock
- Selecting Apple Menu > System Preferences.

2. Next open the Security & Privacy pane by clicking Security & Privacy. (Make sure that the General tab is selected.)

3. Click the icon labeled "Click the lock to make changes" in the bottom-left corner.

4. Enter your username and password into the prompt that appears and click Unlock. (If you have no password, this can be left blank).

5. Under the section labeled "Allow applications downloaded from:", select the option "Anywhere". On the prompt that appears, click "Allow From Anywhere."

6. Click the lock icon.

7. Click apply.

 Re-download the game file after applying these settings and try launching it. If you managed to get this to work, or if you found another solution. Please let me/us know in the comments below!


Tinkerer

Comments

Do the save files themselves still exist in the save folder? What OS are you running on?

Tinkerer

hi kind of unrelated to the mac thing but I seem to be having an issue when I try to save after a random amount of time the game freezes and says my save files don't exist and it wont let me load any of my saves when I start the game back up this has happened to me twice any fix for this

I'll give this a try and get back to you. I'm not sure how much control I have over the gpu driver version for mac, I believe it is integrated with the OS upgrade.

John Chou

I'm starting to suspect this is a GPU driver issue. The Terrax lighting plugin controlls the lighting effects in the game and the Pixi.js controls color effects/transitions. Are there any newer or older drivers you can test? I have deployed a new version without the Terrax lighting plugin. There will be no light/darkness effects, but at least it should be playable. The pixi.js is not a plugin however (part of the main rpg maker engine), so I can't disable it. But perhaps it will still behave? Please try this version: https://mega.nz/file/QklRnCAA#cM8TwX0atr7wpT3B8a2ZMecM6qvnw74UkN8W4SyNCBQ

Tinkerer

The issue that we're having with Catalina is different, and results in the app beginning to start (no 'can't be opened' message) and then crashing. Here's a redacted stacktrace from my machine, which makes it look like something is broken in a lighting package? [8765:0525/100415:ERROR:nw_shell.cc(336)] ReferenceError: Skill_Sequencer is not defined at file:///Users//Peasants%20Quest%20NYD201%20OSX/Game.app/Contents/Resources/app.nw/js/plugins/TerraxLightingQuasiABS.js:62:2 at file:///Users//Peasants%20Quest%20NYD201%20OSX/Game.app/Contents/Resources/app.nw/js/plugins/TerraxLightingQuasiABS.js:239:3 [8765:0525/100415:INFO:CONSOLE(62)] "Uncaught ReferenceError: Skill_Sequencer is not defined", source: file:///Users//Peasants%20Quest%20NYD201%20OSX/Game.app/Contents/Resources/app.nw/js/plugins/TerraxLightingQuasiABS.js (62) [8765:0525/100415:INFO:CONSOLE(24595)] ""\n %c %c %c Pixi.js 4.0.3 - \u2730 WebGL \u2730 %c %c http://www.pixijs.com/ %c %c \u2665%c\u2665%c\u2665 \n\n" "background: #ff66a5; padding:5px 0;" "background: #ff66a5; padding:5px 0;" "color: #ff66a5; background: #030307; padding:5px 0;" "background: #ff66a5; padding:5px 0;" "background: #ffc3dc; padding:5px 0;" "background: #ff66a5; padding:5px 0;" "color: #ff2424; background: #fff; padding:5px 0;" "color: #ff2424; background: #fff; padding:5px 0;" "color: #ff2424; background: #fff; padding:5px 0;"", source: file:///Users//Peasants%20Quest%20NYD201%20OSX/Game.app/Contents/Resources/app.nw/js/libs/pixi.js (24595) ** Unknown exception behavior: 0 zsh: segmentation fault personal_USER@MacBook-Pro ~ % [8767:0525/100415:ERROR:gpu_channel_host.cc(185)] Failed to send GpuChannelMsg_CreateOffscreenCommandBuffer. [8767:0525/100415:ERROR:webgraphicscontext3d_command_buffer_impl.cc(230)] Failed to initialize command buffer

John Chou

Thanks Tinkerer - the workaround you're describing should solve 1 kind of problem, which is with the apple quarantine system which will (very broadly speaking) prevent non-trusted developer apps from being run. You can fix it as you mentioned or by deleting the quarantine attribute from the app (xattr -d -r "com.apple.quarantine" $APP_PATH).

John Chou

That allows running, but I ran into the common EROFS error for RPGM games. The workaround of finding the contained nwjs file (right click on game.app, choose show package contents, navigate to Contants>MacOS>nwjs) and running that in terminal allows saving games and option changes.

tegalega

I was able to run by downloading the googledrive version, right click to choose open, very patiently wait for the verification process to continue, then confirm that I wanted to open the application I downloaded.

tegalega

tried it that way, the game begins to open but then immediately closes. not getting the game can't open message anymore though.

https://mega.nz/folder/KVBlSazI#J6-zlHPPA3WCLxd0rXZrDg i hoped you can used these I have uploaded the iso file

Have any of you tried this? https://www.youtube.com/watch?v=i9TtoOJjGpU Rayman mentioned the file was changed to .text file, which is what is mentioned in the clip.

Tinkerer

https://9to5mac.com/2018/06/18/how-to-create-a-bootable-macos-mojave-10-14-usb-install-drive-video/

Could I bother one of you to create an .ISO file of the latest version of MacOS as described in step 1 of Berka's link? See first comment. If you could put it up for download, I could perhaps run RPG Maker from a virtual Mac OS and deploy the game from there. This way I could hopefully avoid any corruption of files due to different OS environments.

Tinkerer

Here is a ziped version via Google drive (just to try something different): https://drive.google.com/file/d/1msQPuXT2MzpUmrCFFRsjZ6FEJb35wiip/view?usp=sharing

Tinkerer

I wish I hadn't updated my MAC so I can really investigate this issue for you. But any solutions you can think of Tinkerer would be appreciated.

Rayman

I don't think this has anything to do with Patreon, it's just a link from Mega. But I can upload it to Google drive to see if that improves things. Although I am not very hopeful.

Tinkerer

So you're saying it's the patreon downloader causing the issues and not the files themselves?

Rayman

But I also tried to open the previous version that I downloaded from the last update of the game and it works. I downloaded that one before I updated my MAC. The files are fine.

Rayman

could potentially be something to do with the mac update? downloaded games from patreon worked on high sierra but having the same issue as Rayman now that i'm on Catalina.

I think I found the issue, or at least I hope I did. Apparently, when I compared the previous 1.91 download and the new 2.01 download files it seems that the contents of the PkgInfo file and the folders for Frameworks and MacOS on the 2.01 cannot be read. Maybe wrong file? The previous download folders for 1.91 were recognized and used the terminal by default, but the new 2.01 tries to open it by .text default. Also cannot seem to switch it to terminal either. Hope it helps Tinkerer.

Rayman

please, use zip instead of rar

hansgruber

Certainly interesting for future testing, but I still need to get my hands on a Mac first to download and create the .iso file.

Tinkerer

https://www.howtogeek.com/289594/how-to-install-macos-sierra-in-virtualbox-on-windows-10/ maybe you can use virtual box to download and used the Mac OS


More Creators