Major changes.

+ Use MCPI-Reborn 2.0
 + Remove MCPIL-R
 + Allow user to choose between jMCPIL and gMCPIL
pull/683/head
RPI News 3 years ago committed by Alvarito050506
parent 48e8f37fe8
commit f9d229b644

@ -1,7 +1,5 @@
A modded version of Minecraft: Pi Edition with things like survival mode, multiplayer support and more!
To open the launcher: Menu > Games > MCPIL. Use the launcher to set up mods and multiplayer.
NOTE: Make sure "GPU Driver" is set to Full/Fake in "raspi-config".
Need help? If it's related to an error or a bug, ask it on the Pi-Apps discord or open an issue on Pi-Apps.
But if it's related to using Minecraft Pi, then consider asking on MCPI's Discord server instead: https://discord.gg/3wXu3xtr
Need help? Consider asking on MCPI Modded's Discord server instead: https://discord.gg/3wXu3xtr

@ -19,18 +19,32 @@ function error {
##
if [[ "$(lsb_release -cs)" != "buster" && "$(lsb_release -cs)" != "bullseye" && "$(lsb_release -cs)" != "sid" ]]; then
error "Unsupported Debian Version! Your Debian version is $(lsb_release -cs), but supported versions are Buster, Bullseye, or Sid."
error "Unsupported RPi OS Version! Your RPi OS version is $(lsb_release -cs), but supported versions are Buster, Bullseye, or Sid. Consider searching how to upgrade your version to RPi OS Buster!"
fi
# Remove Old Minecraft Pi
sudo apt-get remove -y minecraft-pi &>/dev/null || true
sudo apt-get remove -y minecraft-pi-native &>/dev/null || true
sudo apt-get remove -y mcpil &>/dev/null || true
wget -qO- https://raw.githubusercontent.com/MCPI-Revival/mcpi-packages/master/install.sh | bash
sudo apt install mcpi-reborn-native mcpil
##
## Install MCPIL
##
sudo apt-get remove -y mcpil-r &>/dev/null || true
sudo apt-get remove -y minecraft-pi-reborn-native &>/dev/null || true
wget -qO- https://raw.githubusercontent.com/MCPI-Revival/mcpi-packages/master/install.sh || bash || error "Failed to install apt repo!"
# Choose MCPIL to use
PS3='Which launcher for MCPI Modded would you like to use? (Need help deciding? Ask here: https://discord.com/invite/aDqejQGMMy): '
options=("gMCPIL (more features) (recommended)" "jMCPIL (better looking UI) (requires ~100mb installation of JRE)" "Quit")
select opt in "${options[@]}"
do
case $opt in
"gMCPIL (reccomended)")
"${DIRECTORY}/pkg-install" "gmcpil minecraft-pi-reborn-native" "$(dirname "$0")" || exit 1
break;;
"jMCPIL (better looking UI)")
"${DIRECTORY}/pkg-install" "jmcpil minecraft-pi-reborn-native" "$(dirname "$0")" || exit 1
break;;
"Quit")
break;;
*) echo "invalid option $REPLY";;
esac
done
pip3 install mcpi

@ -7,5 +7,6 @@ function error {
exit 1
}
sudo apt-get remove -y minecraft-pi-native &>/dev/null || true
sudo apt-get remove -y mcpil &>/dev/null || true
sudo apt-get remove -y minecraft-pi-reborn-native &>/dev/null || true
sudo apt-get remove -y gmcpil &>/dev/null || true
sudo apt-get remove -y jmcpil &>/dev/null || true

Loading…
Cancel
Save