Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Distracted_Python

1
Posts
1
Topics
A member registered Mar 12, 2022

Recent community posts

After booting up the game I (like many other people apparently) had issues with the game miss reading my controller inputs. After doing some digging I discovered that the game uses NWJS version 50.3, which was last released January 12, 2021; as of writing, the the current build for NWJS is version 67.1.
The fix is to just switch the version of NWJS the game runs with.

Step 1: Download the latest version of NWJS

For M1/Apple Silicon users: Unfortunately Google (for who knows what reason) hasn't released an official build of NWJS for Apple Silicon, but fortunately the community has! https://github.com/corwin-of-amber/nw.js/releases Go to the releases page and under where it says "Assets" in bold download the zip file that says something like "nwjs-v0.67.1-osx-arm64.zip" —that's the file that doesn't say "sdk" or "ffmpeg" in the name.

Note: I'm using 67.1, but you should use whatever the latest build is.

For Intel macOS users: Go to Google's official site https://nwjs.io/ and click on the big button that says "normal" to download the latest build.


Step 2: Move CrossCode.app Resources folder over to nwjs.app

1. In a Finder window go to your copy of CrossCode.app, right click it, and select "Show Package Contents" .
2. Open the folder "Contents", then right click the folder "Resources" and select "copy".
3. Now go to your Downloads folder and Unzip the NWJS file you downloaded.
4. Click on the folder it created the right click “nwjs.app”, select “Show Package Contents”, the open the “Contents” folder.
5. Highlight the “Resources” folder then press CMD+DELETE to delete the folder.
6. Now Press CMD+V to paste the Resources folder from the CrossCode app.

TLDR; move the Resources folder from CrossCode.app to the copy of nwjs.app you just downloaded.

Step 3: Fix Apple's App Quarantine

Yes, for whatever reason even Google's official builds are released unsigned. To fix this we will have to run some commands in terminal.

1. Open terminal and type `cd ~/Download/nwjs` then press TAB to auto complete the folder name. Then press enter.
2. Type `sudo xattr -r -d com.apple.quarantine nwjs.app`

Now you are done. You can now rename nwjs.app to Crosscode.app and move it to your Applications folder.

Done!


Possible Issues:

So far I have 31 hours logged in the game and I have seen nothing that would make me believe it isn't running properly.

• I've had an issues where my PS5 controller goes to sleep ever 15 minutes (which could just be an issues with my controller), but it's easily solved by playing with it plugged in.

• I've had an issue where my computer doesn't realized I'm doing anything and will dim the display or go to screensaver. My work around has been running the command `sudo pmset -a sleep 121 displaysleep 120`. There might be a true solution by editing the app's plist file or something, but it honestly hasn't been that much of an issues to bother with.


Other Notes:

• It appears game saves are also stored in the "Resources" folder, so should you wish to use a newer version of NWJS as they are released, you should be able to simply repeat the process here without loosing any data.

• The game definitely runs better with the Apple Silicon binaries than it does translated through Rosetta. As long as I don't have 20 tabs open in another window, I haven't had issue with hitching or stuttering.


Hope this helps someone who's wanted to play this game but can't because it hasn't worked correctly on their system. I haven't dug into it, but I know a similar fix exists for Linux and I suspect the same would apply to Windows, so if that's your issue and you found this post don't loose hope! That's all I got, have fun gaming.