#Game Crashing when Opening

1 messages · Page 1 of 1 (latest)

pseudo nicheBOT
#

@thin shadow uploaded a log, Mac Pro M1 2020
OS: MacOS 13.3.1
Fabric Version: 0.14.22 1.20.1
Mod Version: Axiom-1.3.2-for-MC1.20.1
Fabric API Version: fabric-api-0.88.1+1.20.1
Exit code: 225
Error: The game crashed whilst initializing game
Error: java.lang.RuntimeException: Could not execute entrypoint stage 'main' due to errors, provided by 'axiom'!

  • OpenJDK 64-Bit Server VM, version 17.0.8
  • Fabric 0.14.22 on 1.20.1

Recommendations:

  • Unless you know what you're doing, modifying your JVM args could have unintended side effects. It's best to use the defaults.
pseudo nicheBOT
#

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-b1.0.4-for-MC1.20.1.jar io/imgui/java/native-bin/libimgui-java64.dylib (make sure the filename for axiom is correct, the latest version is posted in #announcements)

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, ic22487 and seththecat

rotund citrus
#

Update the command to use the latest axiom