#Crashes When Opened

1 messages · Page 1 of 1 (latest)

tender laurel
#

For somer reason whenever I launch the game it crashes with this crash message.
I have the 1.20.1API, Fabric launcher for 1.20.1.
Yet I can't use the mod.

digital wedge
#

fire tag mac

thick estuaryBOT
#

How to fix Axiom on arm Macs

You need 3 terminal commands. First, make sure you have Axiom downloaded, and also the Imgui-Java natives https://github.com/SpaiR/imgui-java/actions/runs/5554721970?pr=190 (requires a github account (there is a section "Artifacts" at the bottom. Inside of there, click on "native-libraries". That should start the download. It is a zip, and this one should be unpacked by double clicking it)). Make sure both downloads are in the same folder, and open a Terminal in that folder (type cd and drag the folder into terminal (and click enter)).

Then, run the following commands:

Recreate a part of the folder structure as in the Axiom jar (needed for editing the zip later)
mkdir -p io/imgui/java/native-bin

Then, copy over the Imgui-Java ARM natives and rename it
cp native-libraries/libimgui-javaarm64.dylib io/imgui/java/native-bin/libimgui-java64.dylib

Lastly, update the Axiom jar. It'll give a few warnings, but it works so you can ignore them.
zip -u Axiom-b0.97-for-MC1.20.1.jar io/imgui/java/native-bin/libimgui-java64.dylib (make sure the filename for axiom is correct)

Now you can put the Axiom jar in your mods folder and it should work. Any other files and folders created can be deleted.

Here is a video you can follow along with: https://cdn.discordapp.com/attachments/1139191845457506375/1139740572555411567/axiom_m1_fix.mp4
credit to myokan, twirre.me and ic22487

digital wedge
#

Alternatively, use an x86_64 java runtime

tender laurel
#

What?

#

I understood a small portion of that.

#

What the fuck is a java arm?

#

What's imgui-java natives?

digital wedge
#

What launcher do you use?

#

To be clear, you're on a M1 mac, right?

tender laurel
#

Yeah.

#

Just the normal java launcher I think.

digital wedge
#

Go to Settings in the bottom left and then uncheck the "Use Arm64 Java Runtime" option

tender laurel
#

Alright done that.

digital wedge
#

You should be able to run the game now

tender laurel
#

Really?

#

That was easy.

#

Oh damn thank you so much dude.

digital wedge
#

No problem, enjoy

tender laurel
#

I will brother I will!

#

Nvm it crashed again. 💀

#

Same crash message too.

digital wedge
#

Can you send a screenshot of the Minecraft launcher settings page

tender laurel
#

Sure.

digital wedge
#

You don't have to, just making sure

tender laurel
#

Nah i haven't.

#

Didn't understand it tbh.

digital wedge
#

Can you launch again and send the crash message

tender laurel
#

Sir yes sir.

digital wedge
#

Try using this JAR ^ and reenable "Use Arm64 Java Runtime"

tender laurel
#

Okay.

#

I assume I get rid of the last one.

digital wedge
#

Ya

digital wedge
#

Did you reenable "Use Arm64 Java Runtime"?

tender laurel
tender laurel
#

I forgor

#

I mean it's a different crash thingy.

digital wedge
#

Send the crash report

tender laurel
#

Huh?

digital wedge
#

Click "View crash report" and send it to me

tender laurel
#

Sir yes sir oorah.

digital wedge
#

ok well idk whats wrong with your system but no combination works

tender laurel
#

Wait what does that mean?

digital wedge
#

Is there anything special I should know about your computer?

#

Or is it just like a stock M1 mac, running the stock OS

tender laurel
#

Macbook Air the new powerful one.

#

Got it because you needed it for school before I did homeschooling.

#

Kept it since I paid full price for it but some of the school stuff isn't disabled.

#

Don't think that would be the reason though.

digital wedge
#

Yeah I'm not sure, either way works on my M1 mac

#

But for you nothing works

tender laurel
#

Huh.

#

Weird.

#

You just downloaded fabric on the latest release got the same version of api and axiom?

digital wedge
#

Can you open your terminal and run pgrep oahd

#

idk why it would be turned off

#

but maybe you don't have Rosetta on

languid drum
#

doesnt minecraft launcher require rosetta?

digital wedge
#

I think it supports native Arm stuff now

#

But maybe the launcher itself requires it i wouldnt know

tender laurel
#

What's rosetta.

digital wedge
#

It's a mac thing