How to setup Minecraft 1.12.2 + Optifine + Forge On a Raspberry Pi 2B, 3B, 3B+ (Untested on Pi 4B)
Posted: Fri May 03, 2019 11:10 am
First off before we start, I want to thank RpiMike for making this possible.
Minecraft 1.12.2 + Optfine has sound.
Minecraft 1.12.2 + Forge does not have any sound. I have no idea how to fix it.
Tutorial on my website:
https://html.dynu.net/index.php/how-to- ... on-1-12-2/
Requirements:
Raspberry Pi 2B, 3B or 3A+
Update of OS and preparation for installation:
Update your Raspbian operating system to the latest version.
Open the Raspberry Pi configuration application from Menu, Preferences, Raspberry Pi configuration.
Disable splashscreen, set GPU memory to 100 MB and if you are using a Raspberry Pi 2B, overclock to 1000 mhz (High).
Save the settings.
Open a new terminal window.
Scroll and select advanced options, GL driver, and enable Fake KMS.
Reboot.
Testing to see if drivers are active:
Open a terminal window:
Test the driver by opening a new window and typing .
Glxgears should run around 60 fps. If you are getting hugely different values, try re-enabling the GL driver or test with the full KMS driver.
Downloading and installation of Minecraft:
Download:
Running the Minecraft launcher:
Log in with your Minecraft credentials.
Click ‘Edit profile’ and select the ‘1.12.2’ release.
Click save, and then play.
The game will output an error and crash. This is completely normal. Exit the launcher.
Downloading libraries:
Updating LWJGL:
'
Download Forge 14.23.4.2713 installer (This Forge version is specific, some versions don’t work): https://files.minecraftforge.net/
Download Optifine HD_U_C5(Same as Forge, only certain versions work.):
Copy run script for Optifine:
Open the script in a text editor (don’t run it) and edit “EmailHere“, “UsernameHere” and “PasswordHere” to your Minecraft account details.
Save the file.
Install Optifine.
Run the Minecraft launcher again.
Click edit profile, choose the Optifine profile, save and play. The game will crash once again.
To install Forge, skip to “Installing Forge” otherwise stay here if you want to only play Minecraft with Optifine (no other mods).
Run the runOptifine1_12_2.sh script:
Minecraft with Optifine should now open. Configure Optifine to get better FPS. Lower your render distance, turn on fast math, disable particles.
Installing Forge(Optional):
Once again. Minecraft with Forge on Raspberry Pi does not output any sound.
Run the Forge Installer:
Install to the default location.
Reopen the Minecraft launcher:
Open the profile for Forge. Choose the forge 1.12.2 profile, save and click play. The game will crash.
Download the Forge script:
Edit the runForge1.12.sh script: “enter EMAIL for account here”, “enter USERNAME for account here” and “enter PASSWORD for account here” with your Minecraft account details.
Save.
Run Forge.
If Forge boots up fine, quit Minecraft, open up the mods folder for Forge and copy paste the Optifine.jar file in your Downloads section to it.
Hope you successfully installed Minecraft.
Minecraft 1.12.2 + Optfine has sound.

Minecraft 1.12.2 + Forge does not have any sound. I have no idea how to fix it.

Tutorial on my website:
https://html.dynu.net/index.php/how-to- ... on-1-12-2/
Requirements:
Raspberry Pi 2B, 3B or 3A+
Update of OS and preparation for installation:
Update your Raspbian operating system to the latest version.
Code: Select all
sudo apt-get install update && sudo apt-get upgrade -y
Disable splashscreen, set GPU memory to 100 MB and if you are using a Raspberry Pi 2B, overclock to 1000 mhz (High).
Save the settings.
Open a new terminal window.
Code: Select all
sudo raspi-config
Reboot.
Testing to see if drivers are active:
Open a terminal window:
Code: Select all
sudo apt-get -y install libalut0 libalut-dev && sudo apt-get -y install mesa-utils
Code: Select all
glxgears
Glxgears should run around 60 fps. If you are getting hugely different values, try re-enabling the GL driver or test with the full KMS driver.
Downloading and installation of Minecraft:
Download:
Code: Select all
mkdir ~/Minecraft; mkdir ~/Minecraft/Natives; cd ~/Minecraft && wget https://s3.amazonaws.com/Minecraft.Download/launcher/Minecraft.jar
Code: Select all
cd ~/Minecraft && java -jar Minecraft.jar
Click ‘Edit profile’ and select the ‘1.12.2’ release.
Click save, and then play.
The game will output an error and crash. This is completely normal. Exit the launcher.
Downloading libraries:
Code: Select all
cd ~/Minecraft/Natives && wget https://www.dropbox.com/s/4oxcvz3ky7a3x6f/liblwjgl.so && wget https://www.dropbox.com/s/m0r8e01jg2og36z/libopenal.so
Code: Select all
cd ~/.minecraft/libraries/org/lwjgl/lwjgl/lwjgl/2.9.4-nightly-20150209 && rm lwjgl-2.9.4-nightly-20150209.jar; wget https://www.dropbox.com/s/mj15sz3bub4dmr6/lwjgl-2.9.4-nightly-20150209.jar
Download Forge 14.23.4.2713 installer (This Forge version is specific, some versions don’t work): https://files.minecraftforge.net/
Download Optifine HD_U_C5(Same as Forge, only certain versions work.):
Code: Select all
cd ~/Downloads && wget https://www.dropbox.com/s/0mjy5btnyr7v75g/OptiFine_1.12.2_HD_U_C5.jar
Code: Select all
cd ~/Minecraft/ && wget https://www.dropbox.com/s/4aj6rr26p0kib0l/runOptifine1_12_2.sh && sudo chmod +x runOptifine1_12_2.sh
Save the file.
Install Optifine.
Code: Select all
cd ~/Downloads && java -jar OptiFine_1.12.2_HD_U_C5.jar
Code: Select all
cd ~/Minecraft && java -jar Minecraft.jar
To install Forge, skip to “Installing Forge” otherwise stay here if you want to only play Minecraft with Optifine (no other mods).
Run the runOptifine1_12_2.sh script:
Code: Select all
cd ~/Minecraft && ./runOptifine1_12_2.sh
Installing Forge(Optional):
Once again. Minecraft with Forge on Raspberry Pi does not output any sound.
Run the Forge Installer:
Code: Select all
cd ~/Downloads/ && java -jar forge-1.12.2-14.23.4.2713-installer.jar
Reopen the Minecraft launcher:
Code: Select all
cd ~/Minecraft && java -jar Minecraft.jar
Download the Forge script:
Code: Select all
cd ~/Minecraft/ && wget https://www.dropbox.com/s/eefleliwpyuwqk3/runForge1.12.sh && chmod +x runForge1.12.sh
Save.
Run Forge.
Code: Select all
cd ~/Minecraft/ && ./runForge1.12.sh
Hope you successfully installed Minecraft.
