Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

elbowdonkey

2
Posts
1
Topics
A member registered Oct 19, 2016

Recent community posts

This insta crashes on M1 based macs.  It's possible Godot didn't support M1 at the time, though I think it does now.

Launch Issues

When first trying to launch the game on macOS 11.4 the OS shows an error saying "you don't have permission to launch this app." (or similar).

That can be fixed by running 

chmod +x WawMac0.47.1.app/Contents/MacOS/World\ After\ War

Then, when trying to launch the app, macOS prevents the app from starting until you go to System Preferences > Security & Privacy > General and allow it to launch anyways.

You really do need to figure out how make sure the permissions are properly set, because the majority of people are going to be unable to even launch the game if they don't know how to drop into a terminal and fix it.

Window/Resolution Issues

When it launches, it launches into full screen mode and cuts off the UI on the left and right sides of the screen.

In the game under Settings > Video, if you try to change from "Full Screen Window" to "Window", nothing happens.

If you try to change from "Full Screen Window" to "Exclusive Full Screen", nothing happens.

If you try to change from "Full Screen Window" to "Maximized Window", the game exits full screen mode, allowing it to run in a window. Note that in macOS, "maximized" means the window takes up the entire screen, with the exception of the top macOS menu bar, and the game window's title bar. That's not what happens though when you change to "Maximized Window". Instead, the game window resizes to some other size that isn't maximized.

When in a "Maximized Window", the UI is still cut off, but you can resize the window so that the game's aspect ration matches the window.

When in a "Maximized Window", if you change the resolution, the window goes back to full screen mode, which then cuts off the UI again.

The only way to have a floating window with a different resolution is to first change from "Maximized Window" to something else, select the resolution, then change back to a "Maximized Window".

I'd recommend taking advantage of Unity's built in window managers instead of trying to do it yourself. Why mess with what already works?

Stuck at Main Menu

Even if you manage to get the window to work it doesn't matter, you can't play the game.

After clicking on "New Game", a new menu renders that says "NEW GAME", with a grey box below it that says "File Name". There are two buttons below that box: CONFIRM and CANCEL.

If you type anything into the grey box and hit CONFIRM, nothing happens.

If you click on CANCEL, the menu goes way.

Looking at the logs, I see an "UnauthorizedAccessException: Access to the path" error, referring to the game's inability to save to "WawMac0.47.1.app/Contents/Save". 

For some reason, even if you give the game Full Disk Access permissions under System Preferences > Security & Privacy, it doesn't help, the error still occurs.

I also tried creating the Save folder and allow it to be written to by anyone, but then it can't create the save:

UnauthorizedAccessException: Access to the path "/private/var/folders/t_/***/T/AppTranslocation/***/d/WawMac0.47.1.app/Contents/Save/save1" is denied.

macOS security is pretty tight. You can't write files to the app folder in the macOS 14+ because of sandbox/security issues that make the sandboxed app run in a read only file system.

You should put the saves somewhere  in "~/Library/Application Support/com.CrazyForgeStudio.WorldAfterWar" instead since the game has permissions to write to "~/Library". Unity has vanilla game save managers/libraries for this as well.

There is a workaround, but only for those who know what they're doing:

You can create a Save folder somewhere (like your Desktop), then symlink it. When the game loads and sets up its read-only file system, it'll see the Save symlink. While the rest of the file system is readonly, the symlink points to a read/write capable folder on your Desktop.

ln -s ~/Desktop/Save path_to/WawMac0.47.1.app/Contents/Save

Other Weird Stuff

Even though I can't start a new game, I can press number keys and open what I presume are in game menus. Why?