Closed ddasilva closed 3 years ago
I'm not familiar with the "JOF portable version", is that a file you downloaded outside of the releases on this repo?
Catalina (10.15) introduced some pretty strict security features, it could be because it's an unsigned .app. Looking at this crash report, it looks like the OS translocated the app to /private/var/folders
to run it in a place where it would have limited access to the rest of the system in the event that it was malicious. It stands to reason that you would be receiving an EXC_BAD_ACCESS / KERN_INVALID_ADDRESS since the application would be attempting to access system memory from a "sandboxed" location.
The reason it runs when you execute the binary within the application directly is because you're bypassing the Catalina .app security protections and running it wherever it is.
A little more information about how macOS 10.15+ runs .apps: https://eclecticlight.co/2019/10/10/how-catalina-handles-app-first-run/
Is there a reason you want to run the "JOF portable" version and not just install EternalJK on your Mac?
Thanks @naomiaan, I figured it was something as much.
The portable version is the one they packaged onthe JoF clan website (ctrl+f portable): https://jofacademy.eu/ The reason I used that was because the only version I own is the Steam version, and it won't let me download the software on my Mac.
Do you have a better way to get the JKA assets on mac?
@ddasilva, as it turns out I do! :) I'm working on a PR to update the EternalJK README to include these instructions.
Jedi Academy
in /Users/<ACCOUNT>/Library/Application Support
.Star Wars Jedi Knight: Jedi Academy
and select "Show Package Contents" and copy the contents of the Contents
directory into the new directory you created in the previous step. (b) If you purchased the game somewhere else, you'll need to copy the contents of the GameData
directory into the new directory you created in the previous step.Jedi Academy
directory you created in Step 2.Please let me know if that gives you enough information to get it installed. If you have any questions, don't hesitate to ping me so I can update the instructions. The JOF portable may also have some custom .pk3 files or configs bundled with it, so make sure you copy those over as well if you want to keep them. If you install this way, once you launch it, you can use spotlight (⌘ + Space) and type EternalJK to launch quickly in the future.
Thanks. I didn't realize steam actually downloaded the game files because it gave this huge red banner about MacOS not supporting 32-bit programs...
Operating system and version: macOS Catalina, Version 10.15.5 (19F101) EternalJK: Apr 11 2020 macosx-x86_64 Apr 11 2020
Description of the bug (and if possible, steps to reproduce the bug): Downloaded the JOF portable version, and installed eternaljk on top of it. Opening the .app file for eternaljk doesn't work (get error, see below). However, if I run the binary on the command line (
eternaljk.x86_64.app/Contents/MacOS/eternaljk.x86_64
) it does work.What did you expect to happen instead? I expected the .app to not crash and instead launch the game.