Skip to content

Birch-san/arm-editor-launcher

Repository files navigation

Unofficial M1 macOS Launcher for Live2D Cubism Editor

This project is not affiliated with Live2D.
For personal use. Please adhere to the license terms of Live2D Cubism Editor.

JDK17. arm64-native. Metal. Graal JIT.
Fast.

This unofficial launcher improves the performance of Live2D Cubism Editor on M1 macOS.

Install dependencies

Install Live2D Cubism Editor such that the following directory exists:

/Applications/Live2D Cubism 4.2/res

Install Azul JDK17 (ARM 64-bit, with Java FX).
Get the .tar.gz distribution.

Extract zulu17.30.51-ca-fx-jdk17.0.1-macosx_aarch64.tar.gz (or whatever version you got). Rename the resulting folder zulu17.30.51-ca-fx-jdk17.0.1-macosx_aarch64 to zulu17-macosx_aarch64, such that a directory structure like the following exists:

~/Downloads/zulu17-macosx_aarch64/zulu-17.jdk/Contents/Home

Clone this repository:

git clone https://github.com/Birch-san/arm-editor-launcher.git
cd arm-editor-launcher

Download a maven executable and the jogamp libraries; install them to your local maven registry:

./install-maven.sh
# this is an *example* filepath; update it to match the JDK17 folder you extracted
JAVA_HOME="$HOME/Downloads/zulu17-macosx_aarch64" ./install-jogl.sh

Option 1. Install & run with IntelliJ

Open this repository in IntelliJ IDEA (Community Edition is fine).
Set the Project JDK to the JDK17 distribution you just downloaded.

Use the Maven toolwindow to run a root-level mvn install.

Hit "Reload All Maven projects".

Then run the "Unofficial Launcher for Live2D Cubism Editor aarch64" run configuration.

Congratulations! You are now running natively.

Option 2. Install & run from command-line

# this is an *example* filepath; update it to match the JDK17 folder you extracted
export JAVA_HOME="$HOME/Downloads/zulu17-macosx_aarch64"
MVN_HOME="${MVN_HOME:-"./mvn"}"
MVN="$MVN_HOME/bin/mvn"
"$MVN" install
./launcher.sh

About

M1 macOS Launcher for Live2D Cubism Editor

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published