#News Player Mac Installation

1 messages · Page 1 of 1 (latest)

royal oak
#
  1. I downloaded the recommended installer, Temurin JDK. (I downloaded the JRE PKG File)
  2. I installed Temurin JDK.
  3. I downloaded the MegaMek-0.50.07.tar.gz file.
  4. I created a new folder in my HOME DIRECTORY called Games.
  5. I drag and drop the MegaMek-0.50.07.tar.gz file into the **GAMES **folder.
  6. I double click the MegaMek-0.50.07.tar.gz file.
  7. I go into the new folder labelled "MegaMek-0.50.07"
  8. I right click the "MegaMek.jar" file and select "open".

I get the error attached in the image.

Any help is appreciated. I know I am new and this is probably annoying.

red wasp
#

#1) Make sure the files are extracted from the .tar.gz (separate directory)
#2) Because megamek is not apple signed, you need to adjust your Apple Gatekeeper settings.
-Go to System Settings > Privacy & Security.
-Scroll down to the Security section.
-You should see a message about the app you tried to open, with an "Open Anyway" button. -Click it and enter your password if prompted.

Note: On macOS versions prior to 15 you can turn it down to allow downloaded apps not from the apple store as a whole

royal oak
#

Sorry for being a noob. when you say extracted from the .tar.gz is that after I drag and drop from downloads folder to the games folder?

Also, not seeing the message about the app that I tried to open but will try again.

red wasp
#

The popup you screenshoted is that #2 issue.

#

about the extracted, what I mean is you should see a folder like "megamek-0.50.07" beside the .tar.gz file when looking in Finder

royal oak
#

ok looks like I needed to run this:

Open a terminal by pressing Cmd + Space , enter “Terminal” and open the application. Run the following command: sudo spctl --master-disable . Enter your administrator password when requested.

#

So now I can download from anywhere

red wasp
#

do NOT do that.

royal oak
#

...

red wasp
#

That is turning off ALL of gatekeeper, and that is a large security risk

royal oak
#

Dang

#

ok how do I revert?

red wasp
#

sudo spctl --master-enable

#

🙂

#

then reboot

royal oak
#

Doing that now

red wasp
#

When you are back, I recommend the following:

a) Open Terminal and navigate to the directory you put megamek into (hint: If it is your user directory, you can use ~ to refer to it)
b) Run: sudo xattr -d com.apple.quarantine -r /<directory path to mekhq/
That will remove any quarantine / gatekeeper flags from the files.
c) Try to run the jar file, if it doesn't work, then approve via the security area of control panel
(should look something like this image)

#

Another thing you can do is run java directly, by navigating to the megamek folder in terminal, then run "java -jar MegaMek.jar &". This will work as it is Java running it.

Also, please note as referred here: Don't have the folder under Documents, Desktop, or Downloads. https://megamek.org/installation.html

#

They have special permissions and macOS is weird like that

royal oak
#

I think it is working

#

And I'm back to being secure. Dang. Thanks for the help. Now I'll just have to figure out this whole thing lol But youtube has a ton of tutorials so I think I am good.

red wasp
#

you're welcome. macOS can be a real pain when you don't do things exactly as they specify. But megamek runs well on it. Just watch out if you are using the touchpad. Pinch to zoom tends to work well only in one direction, and going nuts.

#

Especially when you are trying to drag the map around. You are better off clicking on the mini-map where you want the main map to display, to avoid any chance of it