MacOS build doesn't launch on Catalina 10.15, can I download a 64bit build for Mac?

Bug #1850536 reported by Michael Audi
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Armagetron Advanced
New
Undecided
Unassigned

Bug Description

MacOS Catalina 10.15
Downloaded the Mac Client straight off the Armagetron download page

doesnt launch because Mac doesn't let you launch 32 bit apps anymore

Michael Audi (maudiny)
description: updated
Revision history for this message
Manuel Moos (z-man) wrote :

Unfortunately, none of the people left have the means to do any Mac builds. Thanks for reminding me to post about this on the forums.

Revision history for this message
dlh (dlh) wrote :

I skim through the project updates/bugs every once in a while (hooray for atom/RSS), and I looked into fixing this issue.

I pushed some changes for building on macOS 10.14:

* https://gitlab.com/dlh/armagetronad/commits/macos-fixes (branched from master)
* https://gitlab.com/dlh/armagetronad/commits/macos-legacy-fixes (branched from legacy_0.2.8.3)
* https://code.launchpad.net/~dlh/armagetronad/os-x-toolkit

Attached to this bug report:
* armagetronad-0.2.8_beta20191029.macosx-x86_64.zip
* armagetronad-0.4_alpha_z4148_20191102.macosx-x86_64.zip

Using 0.2.8:

* SDL 1.2 support for macOS 10.14+ isn't great[1][2]. I needed to build SDL and SDL_image 1.2 from hg/git, and apply some patches manually.
* The game will not only crash if you toggle between fullscreen/windowed-mode, but additionally the macOS window server will crash and log you out…

I don't use macOS 10.15, but I would wager the SDL 1.2 support is worse.

[1]: https://bugzilla.libsdl.org/show_bug.cgi?id=4788
[2]: https://bugzilla.libsdl.org/show_bug.cgi?id=4274

Using 0.4/master (this uses SDL 2):

* I had a segfault after disconnecting from a server, but it's not 100% reproducible.
* Going into the Player 1 setup menu appends a space to the end of your name.
* Going into fullscreen mode is clunky. The macOS menubar flickers into view and the window stretches into fullscreen w/ an animation, which looks kinda strange.

Revision history for this message
Luke-Jr (luke-jr) wrote :

FWIW, apparently Catalina also requires Apple to review and approve all software to open it normally. Otherwise, users need to right-click and select Open.

Revision history for this message
Manuel Moos (z-man) wrote :

Thanks dlh! I knew you had been lurking, but I wasn't expecting you'd still be around! Should I put those builds up in the official spots or wait and see whether you can improve them?

The SDL2 fullscreen wonkiness may be on me. It's not working too well on the other platforms and reverts to nonsense 640x480 far more often than it should have to.

Luke-Jr: Thanks for pointing that out so I don't have to :) It's... a concern.

Revision history for this message
Armanelgtron (armanelgtron) wrote :

I have not been able to personally test the builds provided, but HeadHunter encountered a couple of issues with the builds dlh provided:
 * On 0.2.8, the rim walls defaulted to an orange color. That should be easy to fix with RIM_WALL_* settings, though. (and for all I know it grabbed an old config somehow with that configuration)
 * On 0.4, cycle colors are somehow being assigned to the wrong players.

Revision history for this message
dlh (dlh) wrote :

z-man:
> Should I put those builds up in the official spots or wait and see whether you can improve them?

Let's definitely wait a bit for them to be tested.

luke-jr:
> FWIW, apparently Catalina also requires Apple to review and approve all software to open it normally. Otherwise, users need to right-click and select Open.

You're correct—Gatekeeper was introduced in 10.8 (2012). What's new in 10.15 is the notarization requirement (https://developer.apple.com/documentation/security/notarizing_your_app_before_distribution) for signed software.

Revision history for this message
AprilHare (hal-sulphur) wrote :

Tested the builds. The armagetronad-0.4_alpha_z4148_20191102.macosx-x86_64 build does not work at all here. The armagetronad-0.2.8_beta20191029.macosx-x86_64 build loads (fullscreen) but exhibits immediate screen corruption that more or less renders it useless. MacBookPro13,3 running Catalina 10.15 with Intel HD Graphics 530 1536 MB and AMD Radeon Pro 450.

Revision history for this message
Bignose Lollipop (lollipopsicle) wrote :

Hi there ppl,
just want you to know that your work is appreciated. I'm eagerly waiting for arma to be available on Catalina. May you live long and prosper.

Unfortunately I don't have the knowledge and the time to work on code, but if you want someone to try out builds let me know.

Best, g

Revision history for this message
Bignose Lollipop (lollipopsicle) wrote :

Guess I spoke too soon?

Revision history for this message
Armanelgtron (armanelgtron) wrote :

@lollipopsicle
Spoke too soon about what? You're welcome to try out the builds and report any issues, no need to ask permission.

Revision history for this message
Bignose Lollipop (lollipopsicle) wrote :

Ok, I downloaded the source, but I'm not sure how to compile it. It's been years since I compiled a c project. So I have the makefile, but it seems to need a ton of environment variables - how do I set them right?

Revision history for this message
AprilHare (hal-sulphur) wrote :

I tested the armagetronad-0.2.8_beta20191029 build a while back and I came back to it today on a whim: it works fine. Strange. Running macOS 10.15.4 now on same equipment. Not sure what else has changed that would improve things.

Revision history for this message
Bignose Lollipop (lollipopsicle) wrote :

Ok so I downloaded and run the Mac 0.2.8beta and it works!! yay

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.