Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(1 edit) (+2)

Hello. I bought this game for mac, and I got it running with save files:

  1.     Download the mac build for the game, unzip it
    1. note:    We will source the game files from here
  2.     Download the latest nwjs.io https://dl.nwjs.io/v0.76.0/nwjs-v0.76.0-osx-x64.zip, unzip it
    1. note:    This is the 64bit executable that osx requires, we will copy the game contents on to here
  3.     Copy over 'Downloads/Fear & Hunger_MAC/Game.app/Contents/Resources/app.nw' to 'Downloads/nwjs-v0.76.0-osx-x64/nwjs.app/Contents/Resources/'
    1. Optional: Download pixi.js v4.8.9 https://pixijs.download/v4.8.9/pixi.js
    2. Optional: Copy it to 'Downloads/nwjs-v0.76.0-osx-x64/nwjs.app/Contents/Resources/app.nw/js/libs'  and choose replace when OSX asks.
  4.   Open TextEdit use it to edit 'Downloads/nwjs-v0.76.0-osx-x64/nwjs.app/Contents/Resources/app.nw/package.json'  
    1. note: You can use the shortcut Cmd+O then Cmd+Shift+G then copypaste the whole file path
    2. Replace the line 
      name: ""
    3. It should now instead say
      name: "fh1"
    4. Save and close.
  5.     Rename 'Downloads/nwjs-v0.76.0-osx-x64/nwjs.app' to FH1.app or something you'd like and move it to the Applications folder (/System/Applications) or your local user apps folder
  6.     Click the Apple Menu on your top left,
    Open System Preferences,
    then open Security & Privacy.
    Leave that window open
  7.     Open our recently made FH1.app.
    Decline OSX's offer to Send it to Trash
  8.     Move back to the Security & Privacy window,


    1. and click the new button that appeared as Open Anyway.
    2. Confirm again in the prompt shows up
  9.     OSX might ask to activate notifications for the game. I blocked them, and discovered later that notifications might cause crashes.

After all that, I finally managed to get the game functional and with savefiles 🎉


Afterthougts:

I originally tried with nw.js versions 0.29.4 which i thought FH1 originally used. Then tried again with 0.50.3, both had some popups reporting errors.  v0.79.0 is the one that had a readable error message and was easily trackable to the docs [4]

While searching on how to do update nw.js versions I stumbled with a comment saying pixi.js 4.8.9 had better performance, so I updated it to check it out. But I dont think it's needed.

Savefiles I didnt understand what was the issue until I tried changing the settings and saw a screen similar to this[5]. I don't know the specifics, but I'm guessing some OSX security feature moves applications to some read-only folder unless they are on a Applications folder [6]

 I also found some nwjs binaries for m1 macbooks [2] but I had no way to test them

A very involved process overall, but totally possible!

sources:

  1. https://forums.rpgmakerweb.com/index.php?threads/need-some-help-cannot-open-a-ga...
  2. https://github.com/LeonardLaszlo/nw.js-armv7-binaries
  3. https://stackoverflow.com/questions/32928473/chrome-required-value-version-is-mi...
  4. https://docs.nwjs.io/en/latest/References/Manifest%20Format/#name
  5. https://forums.rpgmakerweb.com/index.php?threads/unable-to-save-in-deployed-mac-...
  6.  https://apple.stackexchange.com/questions/389855/why-my-app-is-starting-in-priva...