-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
111 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
name: Bug | ||
about: Is a bug u found | ||
title: '' | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Describe the bug** | ||
|
||
**Paste contents of /.lunarclient/logs/renderer.log here, after it crashed after you set launcher to stay visible when launched.** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,28 @@ | ||
# Lunar Client for Arm | ||
|
||
This is a build of the Moonsworth Lunar Client for arm prceccors. Because Lunar Client's API does not support arm, I added some code that fetches your own java instead of lunars custom one. | ||
There is also a script for automatically changing the lwjgl args for arm. | ||
This is a build of the Moonsworth Lunar Client for ARM processors. Because Lunar Client's API does not support ARM, I added some code that fetches your own java instead of Lunars custom one. | ||
There is also a script for automatically changing the lwjgl args for ARM. | ||
There's also support for Microsoft Accounts! | ||
|
||
|
||
# Dependecies | ||
|
||
Download the install script and run it. | ||
|
||
ARM32 | ||
``` | ||
wget https://raw.githubusercontent.com/gl91306/lunar/master/install.sh | ||
chmod +x install.sh | ||
./install.sh | ||
``` | ||
|
||
ARM64 | ||
``` | ||
wget https://raw.githubusercontent.com/gl91306/lunar/master/install64.sh | ||
chmod +x install64.sh | ||
./install64.sh | ||
``` | ||
|
||
Thats it! | ||
|
||
Heres a youtube video for the installation: https://youtu.be/-2LZG9YSKZg | ||
Here's a Youtube video for the installation: https://youtu.be/-2LZG9YSKZg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
#!/bin/bash | ||
#Script created by oxmc | ||
#Made for Lunar-Client by gl91306 | ||
|
||
#install modprobe if not already installed | ||
if ! command -v modprobe >/dev/null;then | ||
|
||
if [ -f /usr/bin/apt ];then | ||
sudo apt update | ||
sudo apt install -y modprobe || echo "Failed to install modprobe." | ||
else | ||
error "Failed to find any package manager to install modprobe." | ||
fi | ||
fi | ||
|
||
#Run modprobe fuse | ||
sudo modprobe fuse | ||
|
||
cd | ||
#Download client | ||
wget https://github.com/gl91306/lunar/raw/master/lunarclient-2.8.0-arm64.AppImage | ||
if [ ! -d ~/lwjgl3arm64 ]; then | ||
mkdir ~/lwjgl3arm64 | ||
fi | ||
if [ ! -f jdk-16.0.1+9-jre64.gz ]; then | ||
wget https://github.com/gl91306/lunar/raw/master/jdk-16.0.1%2B9-jre64.gz | ||
fi | ||
if [ ! -f lwjgl3arm64.tar.gz ]; then | ||
wget https://github.com/mikehooper/Minecraft/raw/main/lwjgl3arm64.tar.gz | ||
fi | ||
if [ ! -d /opt/jdk ]; then | ||
sudo mkdir /opt/jdk | ||
fi | ||
sudo tar -zxf jdk-16.0.1+9-jre64.gz -C /opt/jdk | ||
tar -zxf lwjgl3arm64.tar.gz -C ~/lwjgl3arm64 | ||
sudo update-alternatives --install /usr/bin/java java /opt/jdk/jdk-16.0.1+9-jre64/bin/java 0 | ||
sudo update-alternatives --set java /opt/jdk/jdk-16.0.1+9-jre64/bin/java | ||
cd | ||
cd lwjgl3arm64 | ||
wget https://github.com/gl91306/lunar/raw/master/libwebp-imageio64.so | ||
cd | ||
mkdir lunarassets | ||
sudo apt-get install unzip | ||
wget https://github.com/gl91306/lunar/raw/master/javafx-sdk-17-64.zip | ||
unzip javafx-sdk-17-64.zip -d $HOME/lunarassets | ||
cd | ||
#Change perms of Launcher | ||
sudo chmod +x $HOME/lunarclient-2.8.0-arm64.AppImage | ||
|
||
#Run launcher | ||
cd | ||
rm -rf jdk-16.0.1+9-jre64.gz | ||
rm -rf javafx-sdk-17-64.zip | ||
rm -rf lwjgl3arm64.tar.gz | ||
cd | ||
|
||
#Add icon | ||
cd | ||
cd lunarassets | ||
wget https://github.com/gl91306/lunar/raw/master/lunarclient.png | ||
cd | ||
|
||
#Then make menu button & desktop icon | ||
echo "Creating a desktop entry for Lunar-Client..." | ||
echo "[Desktop Entry] | ||
Name=Lunar Client | ||
Comment=Lunar Client for Rpi made by PiKATchu on Discord. | ||
Exec=$HOME/lunarclient-2.8.0-arm64.AppImage | ||
Icon=$HOME/lunarassets/lunarclient.png | ||
Categories=Game; | ||
Type=Application | ||
Terminal=false" > "$HOME/.local/share/applications/Lunar-Client.desktop" | ||
|
||
echo "[Desktop Entry] | ||
Name=Lunar Client | ||
Comment=Lunar Client for Rpi made by PiKATchu on Discord. | ||
Exec=$HOME/lunarclient-2.8.0-arm64.AppImage | ||
Icon=$HOME/lunarassets/lunarclient.png | ||
Categories=Game; | ||
Type=Application | ||
Terminal=false" > "$HOME/Desktop/Lunar Client" |