openMSX 17.0 for Apple Silicon broken

Page 1/2
| 2

By DarkSchneider

Paladin (1011)

DarkSchneider's picture

02-06-2022, 15:41

Hello, downloaded from the official web and when launched it says that is damaged. The Intel version seems to work.
Currently using the Homebrew version that works.

Login or register to post comments

By ericb59

Paragon (1102)

ericb59's picture

04-08-2022, 19:53

Hi,

Yes same problem with me (Mac M1 pro)
The version 18 I just downloaded have the same problem...

Something going wrong with compilation ?

By ericb59

Paragon (1102)

ericb59's picture

04-08-2022, 20:22

In case it can help someone,

I compile the openMSX 18 on my Mac, and this version works perfectly.
Here the file : http://msx.ebsoft.fr/openmsx-18.0-mac-aarch64-bin.dmg.zip

By gdx

Enlighted (6210)

gdx's picture

05-08-2022, 01:08

Are the the GUI and debugger also available?

By toughkid

Rookie (28)

toughkid's picture

05-08-2022, 01:50

I use monterey v12.5. (Macbook Air m2)
Both the official version(Apple 64) and the build of ericb59 must disable gatekeeper ($ sudo spctl --master-enable) ,
and turn off SIP($ csrutil disable) after putting the Mac into recovery mode (At boot time, press the ⌘command + R button).

The process is also cumbersome, but since the SIP must be opened, the security of the Mac must be greatly burdened.
So far, it seems to be safest to use the openMSX intel64 version with Rosetta,

By ericb59

Paragon (1102)

ericb59's picture

05-08-2022, 08:43

@toughkid you made a mistake, to disable Gatekeeper, the command is : sudo spctl --master-disable

Disabling SIP (System Integrity Protection) doesn't seem to be mandatory. On my MacOS 12.5 it is still enabled.
But, perhaps in can be different ...

@GDX : Here the debugger for Apple Silicon processors :
http://msx.ebsoft.fr/openMSX_Debugger_ARM.app.zip
I did not try to compil catapult. It seems to use specific windows libraries.

Link about SIP : https://developer.apple.com/documentation/security/disabling...

Link about GateKeeper :
https://www.makeuseof.com/how-to-disable-gatekeeper-mac/

By gdx

Enlighted (6210)

gdx's picture

05-08-2022, 09:55

ericb59 wrote:

I did not try to compil catapult. It seems to use specific windows libraries.

Catapult is not really interessing. NekoLauncher OpenMSX is more.

The author (Jazzin/Nekokan) seems no longer active on the web since 2019 (because his Mac broke down?).
https://twitter.com/Nekocanmac

Or else merely he moved on.
https://twitter.com/nekokan__nya

Maybe there is still hope to get the source code.

By Manuel

Ascended (19462)

Manuel's picture

05-08-2022, 12:16

We autobuild the M1 binary on Intel hardware and we couldn't figure out why it is not working. The same works fine when building on a system with M1 CPU. But these aren't available on GitHub Actions yet.

And no one in the team has M1 hardware last time I checked.

Catapult should probably compile and run fine on Mac. The program is fully portable if the platform is supported by wxWidgets. But I would recommend to use the OSD menu instead. It has mostly the same functionality, and even a few things more (and most importantly: it adapts to the emulated hardware).

By Manuel

Ascended (19462)

Manuel's picture

05-08-2022, 14:15

See https://github.com/openMSX/openMSX/issues/1430

But if I remember correctly, we used the M1 binary that Sandy built on his M1 machine for on the download section of the website, for 18.0.

Edit: yes, confirmed. That one worked on Sandy's M1 Mac.

By ericb59

Paragon (1102)

ericb59's picture

05-08-2022, 14:33

Quote:

Edit: yes, confirmed. That one worked on Sandy's M1 Mac.

which one are referring ?
Sandy's build ?

it will be interesting to know if my build is working on other M1 Mac that mine.
Someone can test it ?

By ericb59

Paragon (1102)

ericb59's picture

05-08-2022, 15:19

... Well... I just downloaded back my built .dmg file, copied the openMSX.app file to my working folder and tried it again...
MacOS said the file is Broken ! oO
What a silly thing !

applying this command on the file seems to resolve the problem for me :
xattr -cr openMSX.app

I tried this command also on the file downloaded from openmsx.org, and it solve the issue too.
Hope this will help

Page 1/2
| 2