mcpelauncher-manifest
mcpelauncher-manifest copied to clipboard
Minecraft don't working on Apple silicon (M1)
The game crashes at random time error code: 0. (I know that Minecraft works on roseta, but I guess you can fix it) Os: macos big sur 11.5.2
I'm not sure if this is possible, since this project depends on the fact that Minecraft is already compiled for Intel processors as some Android devices have Intel processors, while there are no Android devices that use Apple Silicon processors, so Minecraft has not been compiled for them. It may be possible with Rosetta though.
since this project depends on the fact that Minecraft is already compiled for Intel processors
No. Linux arm32/64 works and has even less bugs in Minecraft 1.17.
Apple silicon is not emulatable, while linux / windows arm64 is. I need access to a m1 mac (remote CI is probably enough) or there will be no progress.
@ChristopherHX Do you need someone to help you with your testing? I'm getting my new Mac tomorrow under their SoC. This would be a great advance for many users
@moskadev
Do you need someone to help you with your testing?
Yes, but this launcher is potentially far far away from working on m1 so it would need much help and a lot of testing.
I have no idea how apple new security model of m1 behaves, it far more hardend than x86_64. I would need to experiment on actual hardware.
It is confirmed to work under rosetta 2.
- The first step is to mmap an android shared library, this doesn't work at all.
- mcpelauncher-linker panics due to an error of the mmap call
- Would the android code run or does the process panic?
- x86_64 panics once the
fs
register is accessed by the android stack protector => this launcher replaces the call
- x86_64 panics once the
- apple/m1 no executable and writeable pages at least not at the same time, need to patch the linker to switch between write,noexec and exec
- restrictions to game modding
- Do we need codesigning to gain code generation entitlement? I read something about this
The problem also occur in M2, M1 Max and M1 Ultra. I didn't test anything about M1 Pro but I guess the problem still happened.
For me on M2 MacBook Pro 13 inch with MacOS Ventura it works flawlessly under rosseta 2. But it hogs a lot of battery since its running under rosetta, is there any native Apple Silicon support?
Hey any news here? Would like to uninstall Rosetta 2?