User avatar
rpiMike
Posts: 832
Joined: Fri Aug 10, 2012 12:38 pm
Location: Cumbria, UK

How to setup Minecraft 1.12.2 on Pi3 or Pi4

Fri Jun 28, 2019 12:47 pm

How to setup Full Minecraft 1.12.2 (with Optifine) on Raspberry Pi3 or Pi4 (using Buster)

Please note :
Do this at your own risk.
If you have any doubts use a spare SD card.
Pi3: The OpenGL drivers may not work with all screens. If unsure make sure you can ssh onto the Pi from another machine to turn back off.
Pi3: Most likely to have success with OpenGL drivers if using Raspberry Pi 3 with heatsink, genuine 5.1 volt 2.5 amp power supply with heavy duty 2 core power cable, 1080p screen.
Pi4: I'm using the official 5.1V 3.0A power supply, with the Pi4 in an open sided case with small fan.

This tutorial was tested using Raspbian Buster with Desktop - release date 2019-06-20

1 If you need to update an existing version use

Code: Select all

sudo apt-get update && sudo apt-get -y upgrade
If you get any questions or prompts during raspbian update press ‘q’ ‘enter’

2 Pi3: In Menu\Preferences\Raspberry Pi Configuration :

Performance Tab - set GPU Memory to 64Mb
Reboot if necessary

3 Pi3: Enable ‘GL Driver’ from a terminal window

Code: Select all

sudo raspi-config
This will start the config utility. Select 'Advanced Options', then select 'GL Driver', then select 'GL (Fake KMS)', then select 'Yes' to reboot and enable the driver.

4 Download and run setupMC1 script
This will take a few minutes, including installing Oracle java 8.

Code: Select all

mkdir ~/Minecraft && cd ~/Minecraft && wget https://www.dropbox.com/s/4irv50ow07yxn65/setupMC1.sh && chmod +x setupMC1.sh && ./setupMC1.sh
5 Run Minecraft launcher :

Code: Select all

cd ~/Minecraft && java -jar Minecraft.jar
Login with Minecraft email and password
Click 'edit profile' and select use release - 'release 1.12.2', then 'save profile'
Click Play to install game
You will then receive an error
Close launcher

6 Install Optifine

Code: Select all

cd ~/Minecraft && java -jar OptiFine_1.12.2_HD_U_E3.jar
Click install.

7 Run Minecraft launcher

Code: Select all

cd ~/Minecraft && java -jar Minecraft.jar
Select the OptiFine profile and click play. The launcher will crash.

8 Run setupMC2 script

Code: Select all

cd ~/Minecraft && ./setupMC2.sh
9 Edit runMC1_12_2_OptifineE3.sh

Code: Select all

leafpad runMC1_12_2_OptifineE3.sh
Update MINECRAFT_LOGIN, MINECRAFT_USERNAME and MINECRAFT_PASSWORD to your own (may need "" for special characters)

10 Start Minecraft from terminal window

Code: Select all

cd ~/Minecraft
./runMC1_12_2_OptifineE3.sh
Change options in Minecraft to reduce render chunks to 2, this should avoid running out of memory.
Turn everything down to low in the video settings (and turn on things like fast math)
Suggest running in the default sized window for best performance.

Hopefully Minecraft should run :P

https://www.youtube.com/watch?v=2PeYIZ1-zH4
Last edited by rpiMike on Fri Jun 28, 2019 6:50 pm, edited 1 time in total.

User avatar
DaveyDave1999
Posts: 28
Joined: Tue Apr 16, 2019 9:16 pm
Location: United States, Hawaii

Re: How to setup Minecraft 1.12.2 on Pi3 or Pi4

Fri Jun 28, 2019 6:04 pm

Nice tutorial, as always! ;)
Can you give an example of password that need to be escaped with those?: " "
Blog about Raspberries coming soon...

User avatar
rpiMike
Posts: 832
Joined: Fri Aug 10, 2012 12:38 pm
Location: Cumbria, UK

Re: How to setup Minecraft 1.12.2 on Pi3 or Pi4

Fri Jun 28, 2019 6:25 pm

Thanks.

I imagine a password such as abc'123 would need double quotes.

User avatar
DarkPlatinum
Posts: 839
Joined: Thu Nov 02, 2017 2:30 pm
Location: Unknown
Contact: Website YouTube

Re: How to setup Minecraft 1.12.2 on Pi3 or Pi4

Sat Jun 29, 2019 4:19 pm

For anyone who wants to try our forge my previous tutorial may still work: https://www.raspberrypi.org/forums/view ... 8&t=239592

I don't have a Rpi 4 so I can't test :cry:
1 * Raspberry Pi Zero W, 1 * Raspberry Pi 2, 1 * Raspberry Pi 3 1 * Raspberry Pi 3B + :mrgreen:

Check Out My Raspberry Site (Run on a Raspberry Pi 3B :) ): https://html.dynu.net

quavoce
Posts: 109
Joined: Fri Nov 27, 2015 9:11 am

Re: How to setup Minecraft 1.12.2 on Pi3 or Pi4

Sun Jun 30, 2019 5:08 pm

Great article, thanks for the write up.

I’d like to suggest setting the GPU Memory to 512MB for RPi4 models with either 2GB or 4GB as it makes a huge difference when loading game worlds.

User avatar
rpiMike
Posts: 832
Joined: Fri Aug 10, 2012 12:38 pm
Location: Cumbria, UK

Re: How to setup Minecraft 1.12.2 on Pi3 or Pi4

Sun Jun 30, 2019 6:16 pm

Thanks.

I believe the Pi4 now allocates memory automatically to the GPU, so you shouldn't need to change the GPU memory setting.

You can increase the amount of memory java allocates to Minecraft by changing -Xmx1024M to -Xmx2048M in the run script.

quavoce
Posts: 109
Joined: Fri Nov 27, 2015 9:11 am

Re: How to setup Minecraft 1.12.2 on Pi3 or Pi4

Sun Jun 30, 2019 6:28 pm

ahh ok that’s interesting that the RPi4 automatically allocates memory. Must admit I don’t think that was working for me because the first one I set up with 64MB was very slow to load the game world, but the second one I built using 512MB before running for the first time was very noticeably faster.

bhuthogg
Posts: 4
Joined: Tue May 22, 2018 6:47 am

Re: How to setup Minecraft 1.12.2 on Pi3 or Pi4

Mon Jul 01, 2019 7:57 pm

hiya, I followed the guide on pi 4. and I get this error?

MINECRAFT_UUID=4194a18fcb284c2d9913741de45b2ac2
OpenJDK Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
Unrecognized VM option 'CMSIncrementalMode'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

User avatar
rpiMike
Posts: 832
Joined: Fri Aug 10, 2012 12:38 pm
Location: Cumbria, UK

Re: How to setup Minecraft 1.12.2 on Pi3 or Pi4

Mon Jul 01, 2019 8:26 pm

Sounds like Oracle Java 8 hasn't installed try the following:

Code: Select all

cd ~/Minecraft
wget https://www.dropbox.com/s/ihju7z043jhamr3/jdk-8u211-linux-arm32-vfp-hflt.tar.gz
sudo tar -zxf jdk-8u211-linux-arm32-vfp-hflt.tar.gz -C /opt/jdk 
sudo update-alternatives --install /usr/bin/java java /opt/jdk/jdk1.8.0_211/bin/java 100
sudo update-alternatives --install /usr/bin/javac javac /opt/jdk/jdk1.8.0_211/bin/javac 100
If that works then re-try the setup process.

SlimShady3.14
Posts: 5
Joined: Tue Jul 02, 2019 2:13 pm

Re: How to setup Minecraft 1.12.2 on Pi3 or Pi4

Tue Jul 02, 2019 2:15 pm

Can't join servers...

Failed to login: Access token cannot be null or empty.

Can't find any spelling errors or reason it wouldn't work...

SlimShady3.14
Posts: 5
Joined: Tue Jul 02, 2019 2:13 pm

Re: How to setup Minecraft 1.12.2 on Pi3 or Pi4

Tue Jul 02, 2019 2:19 pm

Can't join servers....

Failed to login: Access token cannot be null or empty.

Can't seem to find any spelling errors or any reason it wouldn't work. I noticed on the tutorial that was created strictly for Pi3 that xXRoboBoyXx had the same issue. He had bad code. I checked the code though...

User avatar
rpiMike
Posts: 832
Joined: Fri Aug 10, 2012 12:38 pm
Location: Cumbria, UK

Re: How to setup Minecraft 1.12.2 on Pi3 or Pi4

Tue Jul 02, 2019 2:25 pm

Which server are you trying to connect to?

SlimShady3.14
Posts: 5
Joined: Tue Jul 02, 2019 2:13 pm

Re: How to setup Minecraft 1.12.2 on Pi3 or Pi4

Tue Jul 02, 2019 3:46 pm

PLEASE HELP! I finally figured out what I was doing wrong. Spent hours on it. Now when I try to log into the server it crashes... This is the code from the run command.

Code: Select all

[email protected]:~/Minecraft $ ./runMC1_12_2_OptifineE3.sh
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   787  100   625  100   162   1108    287 --:--:-- --:--:-- --:--:--  1110
todays access token = 073c8753e80642898f06ba11444a9758
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100    73  100    62  100    11    137     24 --:--:-- --:--:-- --:--:--   137
MINECRAFT_UUID=d5055e1d27df4bb4930071d06d929607
Java HotSpot(TM) Client VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
[15:40:51] [main/INFO]: Loading tweak class name optifine.OptiFineTweaker
[15:40:51] [main/INFO]: Using primary tweak class name optifine.OptiFineTweaker
[15:40:51] [main/INFO]: Calling tweak class optifine.OptiFineTweaker
OptiFineTweaker: acceptOptions
OptiFineTweaker: injectIntoClassLoader
OptiFine ClassTransformer
OptiFine ZIP file: /home/pi/.minecraft/libraries/optifine/OptiFine/1.12.2_HD_U_E3/OptiFine-1.12.2_HD_U_E3.jar
OptiFineTweaker: getLaunchArguments
OptiFineTweaker: getLaunchTarget
[15:40:51] [main/INFO]: Launching wrapped minecraft {net.minecraft.client.main.Main}
[15:40:54] [main/INFO]: Setting user: ShireRose
[15:41:02] [main/INFO]: [OptiFine] *** Reflector Forge ***
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Class not present: mods.betterfoliage.client.BetterFoliageClient
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.event.world.ChunkWatchEvent$UnWatch
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.fml.relauncher.CoreModManager
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.common.DimensionManager
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.event.GuiScreenEvent$DrawScreenEvent$Pre
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.event.GuiScreenEvent$DrawScreenEvent$Post
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.event.EntityViewRenderEvent$CameraSetup
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.event.EntityViewRenderEvent$FogColors
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.event.EntityViewRenderEvent$RenderFogEvent
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.fml.common.eventhandler.Event
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.fml.common.eventhandler.EventBus
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.fml.common.eventhandler.Event$Result
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.common.property.ExtendedBlockState
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.fml.client.FMLClientHandler
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.fml.common.FMLCommonHandler
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Method not present: bhv.getCameraPosition
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Method not present: bhv.updateRenderInfo
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Method not present: anh.getWaterColorMultiplier
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Method not present: anh$c.newInstance
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Method not present: aow.addDestroyEffects
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Method not present: aow.addHitEffects
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Method not present: aow.canCreatureSpawn
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Method not present: aow.canRenderInLayer
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Method not present: aow.doesSideBlockRendering
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Method not present: aow.doesSideBlockChestOpening
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Method not present: aow.getBedDirection
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Method not present: aow.getExtendedState
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Method not present: aow.getFogColor
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Method not present: aow.getLightOpacity
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Method not present: aow.getLightValue
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Method not present: aow.getSoundType
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Method not present: aow.hasTileEntity
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Method not present: aow.isAir
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Method not present: aow.isBed
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Method not present: aow.isBedFoot
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Method not present: aow.isSideSolid
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Method not present: cfy.isAmbientOcclusion
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Method not present: aws.getLightValue
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Method not present: and.isSideSolid
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Method not present: vg.canRiderInteract
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Field not present: vg.captureDrops
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Field not present: vg.capturedDrops
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Method not present: vg.shouldRenderInPass
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Method not present: vg.shouldRiderSit
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.event.ForgeEventFactory
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.common.ForgeHooks
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.ForgeHooksClient
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Field not present: ain.delegate
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Method not present: ain.getDurabilityForDisplay
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Method not present: ain.getEquipmentSlot
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Method not present: ain.getTileEntityItemStackRenderer
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Method not present: ain.getRGBDurabilityForDisplay
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Method not present: ain.isShield
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Method not present: ain.onEntitySwing
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Method not present: ain.shouldCauseReequipAnimation
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Method not present: ain.showDurabilityBar
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Method not present: agv.hasOverlay
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Method not present: bhy.setKeyConflictContext
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Method not present: bhy.setKeyModifierAndCode
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Method not present: bhy.getKeyModifier
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.common.ForgeModContainer
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Method not present: bvv.parseFromReader
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Method not present: uz.shouldRenderHUD
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Method not present: uz.renderHUDEffect
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Method not present: va.isCurativeItem
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Method not present: avj.canRenderBreaking
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Method not present: avj.getRenderBoundingBox
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Method not present: avj.hasFastRenderer
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Method not present: avj.shouldRenderInPass
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Method not present: ceb$b.preDraw
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Method not present: ceb$b.postDraw
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Method not present: amu.countEntities
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Method not present: amu.getPerWorldStorage
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Method not present: amu.initCapabilities
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Method not present: aym.getCloudRenderer
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Method not present: aym.getSkyRenderer
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Method not present: aym.getWeatherRenderer
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Method not present: aym.getLightmapColors
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Method not present: aym.getSaveFolder
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.fml.client.GuiModList
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.common.property.IExtendedBlockState
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.registries.IForgeRegistryEntry$Impl
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.model.IModel
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.IRenderHandler
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.ItemModelMesherForge
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.settings.KeyConflictContext
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.settings.KeyModifier
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.model.pipeline.LightUtil
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.fml.common.Loader
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.common.MinecraftForge
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.MinecraftForgeClient
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.fml.common.ModContainer
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.model.ModelLoader
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.gui.NotificationModUpdateScreen
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.event.RenderBlockOverlayEvent$OverlayType
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.fml.client.registry.RenderingRegistry
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.event.RenderItemInFrameEvent
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.event.RenderLivingEvent$Pre
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.event.RenderLivingEvent$Post
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.event.RenderLivingEvent$Specials$Pre
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.event.RenderLivingEvent$Specials$Post
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.event.ScreenshotEvent
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.fml.client.SplashProgress
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.resource.VanillaResourceType
[15:41:02] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.event.world.WorldEvent$Load
[15:41:02] [main/INFO]: [OptiFine] *** Reflector Vanilla ***
[15:41:03] [main/WARN]: Skipping bad option: lastServer:
[15:41:03] [main/INFO]: LWJGL Version: 2.9.4
libGL error: MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to retrieve device information
[15:41:05] [main/INFO]: [OptiFine] 
[15:41:05] [main/INFO]: [OptiFine] OptiFine_1.12.2_HD_U_E3
[15:41:05] [main/INFO]: [OptiFine] Build: 20181210-121000
[15:41:05] [main/INFO]: [OptiFine] OS: Linux (arm) version 4.19.56-v7+
[15:41:05] [main/INFO]: [OptiFine] Java: 1.8.0_65, Oracle Corporation
[15:41:05] [main/INFO]: [OptiFine] VM: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation
[15:41:05] [main/INFO]: [OptiFine] LWJGL: 2.9.4
[15:41:05] [main/INFO]: [OptiFine] OpenGL: Gallium 0.4 on VC4 V3D 2.1, version 2.1 Mesa 13.0.6, Broadcom
[15:41:05] [main/INFO]: [OptiFine] OpenGL Version: 2.1.0
[15:41:05] [main/INFO]: [OptiFine] Maximum texture size: 2048x2048
[15:41:05] [VersionCheck/INFO]: [OptiFine] Checking for new version
[15:41:05] [main/INFO]: [Shaders] OpenGL Version: 2.1 Mesa 13.0.6
[15:41:05] [main/INFO]: [Shaders] Vendor:  Broadcom
[15:41:05] [main/INFO]: [Shaders] Renderer: Gallium 0.4 on VC4 V3D 2.1
[15:41:05] [main/INFO]: [Shaders] Capabilities:  2.0  2.1  -  -  - 
[15:41:05] [main/INFO]: [Shaders] GL_MAX_DRAW_BUFFERS: 1
[15:41:05] [main/INFO]: [Shaders] GL_MAX_COLOR_ATTACHMENTS_EXT: 1
[15:41:05] [main/INFO]: [Shaders] GL_MAX_TEXTURE_IMAGE_UNITS: 16
[15:41:05] [main/INFO]: [Shaders] Load shaders configuration.
[15:41:05] [main/INFO]: [Shaders] No shaderpack loaded.
[15:41:06] [main/INFO]: Reloading ResourceManager: Default
[15:41:06] [main/INFO]: [OptiFine] *** Reloading textures ***
[15:41:06] [main/INFO]: [OptiFine] Resource packs: Default
[15:41:06] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.model.Attributes
[15:41:06] [VersionCheck/INFO]: [OptiFine] Version found: D3
[15:41:07] [Sound Library Loader/INFO]: Starting up SoundSystem...
[15:41:08] [Thread-3/INFO]: Initializing LWJGL OpenAL
[15:41:08] [Thread-3/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
AL lib: (EE) oss_open_playback: Could not open /dev/dsp: No such file or directory
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
[15:41:08] [Thread-3/INFO]: OpenAL initialized.
[15:41:08] [Sound Library Loader/INFO]: Sound engine started
[15:41:15] [main/INFO]: [OptiFine] Mipmap levels: 4
[15:41:15] [main/INFO]: [OptiFine] Multitexture: false
[15:41:15] [main/INFO]: [OptiFine] BetterGrass: Parsing default configuration optifine/bettergrass.properties
[15:41:19] [main/INFO]: Created: 512x512 textures-atlas
[15:41:20] [main/INFO]: [OptiFine] Animated sprites: 22
[15:41:23] [main/WARN]: ERROR : Couldn't load Narrator library : Unable to load library 'fliteWrapper': Native library (linux-arm/libfliteWrapper.so) not found in resource path ([file:/home/pi/.minecraft/libraries/optifine/OptiFine/1.12.2_HD_U_E3/OptiFine-1.12.2_HD_U_E3.jar, file:/home/pi/.minecraft/libraries/net/minecraft/launchwrapper/1.12/launchwrapper-1.12.jar, file:/home/pi/.minecraft/libraries/com/mojang/patchy/1.1/patchy-1.1.jar, file:/home/pi/.minecraft/libraries/oshi-project/oshi-core/1.1/oshi-core-1.1.jar, file:/home/pi/.minecraft/libraries/net/java/dev/jna/jna/4.4.0/jna-4.4.0.jar, file:/home/pi/.minecraft/libraries/net/java/dev/jna/platform/3.4.0/platform-3.4.0.jar, file:/home/pi/.minecraft/libraries/com/ibm/icu/icu4j-core-mojang/51.2/icu4j-core-mojang-51.2.jar, file:/home/pi/.minecraft/libraries/net/sf/jopt-simple/jopt-simple/5.0.3/jopt-simple-5.0.3.jar, file:/home/pi/.minecraft/libraries/com/paulscode/codecjorbis/20101023/codecjorbis-20101023.jar, file:/home/pi/.minecraft/libraries/com/paulscode/codecwav/20101023/codecwav-20101023.jar, file:/home/pi/.minecraft/libraries/com/paulscode/libraryjavasound/20101123/libraryjavasound-20101123.jar, file:/home/pi/.minecraft/libraries/com/paulscode/librarylwjglopenal/20100824/librarylwjglopenal-20100824.jar, file:/home/pi/.minecraft/libraries/com/paulscode/soundsystem/20120107/soundsystem-20120107.jar, file:/home/pi/.minecraft/libraries/io/netty/netty-all/4.1.9.Final/netty-all-4.1.9.Final.jar, file:/home/pi/.minecraft/libraries/com/google/guava/guava/21.0/guava-21.0.jar, file:/home/pi/.minecraft/libraries/org/apache/commons/commons-lang3/3.5/commons-lang3-3.5.jar, file:/home/pi/.minecraft/libraries/commons-io/commons-io/2.5/commons-io-2.5.jar, file:/home/pi/.minecraft/libraries/commons-codec/commons-codec/1.10/commons-codec-1.10.jar, file:/home/pi/.minecraft/libraries/net/java/jinput/jinput/2.0.5/jinput-2.0.5.jar, file:/home/pi/.minecraft/libraries/net/java/jutils/jutils/1.0.0/jutils-1.0.0.jar, file:/home/pi/.minecraft/libraries/com/google/code/gson/gson/2.8.0/gson-2.8.0.jar, file:/home/pi/.minecraft/libraries/com/mojang/authlib/1.5.25/authlib-1.5.25.jar, file:/home/pi/.minecraft/libraries/com/mojang/realms/1.10.22/realms-1.10.22.jar, file:/home/pi/.minecraft/libraries/org/apache/commons/commons-compress/1.8.1/commons-compress-1.8.1.jar, file:/home/pi/.minecraft/libraries/org/apache/httpcomponents/httpclient/4.3.3/httpclient-4.3.3.jar, file:/home/pi/.minecraft/libraries/commons-logging/commons-logging/1.1.3/commons-logging-1.1.3.jar, file:/home/pi/.minecraft/libraries/org/apache/httpcomponents/httpcore/4.3.2/httpcore-4.3.2.jar, file:/home/pi/.minecraft/libraries/it/unimi/dsi/fastutil/7.1.0/fastutil-7.1.0.jar, file:/home/pi/.minecraft/libraries/org/apache/logging/log4j/log4j-api/2.8.1/log4j-api-2.8.1.jar, file:/home/pi/.minecraft/libraries/org/apache/logging/log4j/log4j-core/2.8.1/log4j-core-2.8.1.jar, file:/home/pi/.minecraft/libraries/org/lwjgl/lwjgl/lwjgl/2.9.4-nightly-20150209/lwjgl-2.9.4-nightly-20150209.jar, file:/home/pi/.minecraft/libraries/org/lwjgl/lwjgl/lwjgl_util/2.9.4-nightly-20150209/lwjgl_util-2.9.4-nightly-20150209.jar, file:/home/pi/.minecraft/libraries/com/mojang/text2speech/1.10.3/text2speech-1.10.3.jar, file:/home/pi/.minecraft/versions/1.12.2-OptiFine_HD_U_E3/1.12.2-OptiFine_HD_U_E3.jar])
[15:41:23] [main/INFO]: [OptiFine] *** Reloading custom textures ***
Java HotSpot(TM) Client VM warning: You have loaded library /tmp/libnetty-transport-native-epoll3112151662549913575.so which might have disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.
[15:41:39] [main/INFO]: Connecting to fr10.server.pro., 40077
AL lib: (EE) ALCplaybackAlsa_mixerProc: mmap commit error: Broken pipe
AL lib: (EE) ALCplaybackAlsa_mixerProc: mmap commit error: Broken pipe
Killed

User avatar
rpiMike
Posts: 832
Joined: Fri Aug 10, 2012 12:38 pm
Location: Cumbria, UK

Re: How to setup Minecraft 1.12.2 on Pi3 or Pi4

Tue Jul 02, 2019 5:26 pm

Is Minecraft working locally on your Pi?

Which model of Pi?

Which server are you connecting to?

bullen
Posts: 277
Joined: Sun Apr 28, 2013 2:52 pm

Re: How to setup Minecraft 1.12.2 on Pi3 or Pi4

Tue Jul 02, 2019 10:30 pm

How come we can't get this working with 1.14.3 and OpenJDK 11?

I'm pretty sure LWJGL 3 has ARM binaries by now?
https://github.com/tinspin/rupy - A tiny Java async HTTP application server.

SlimShady3.14
Posts: 5
Joined: Tue Jul 02, 2019 2:13 pm

Re: How to setup Minecraft 1.12.2 on Pi3 or Pi4

Wed Jul 03, 2019 6:12 am

rpiMike wrote:
Tue Jul 02, 2019 5:26 pm
Is Minecraft working locally on your Pi?

Which model of Pi?

Which server are you connecting to?
Yes. Minecraft is working locally on my Pi. I am using a RPI 3B+. The server is a private one my brother is paying to use. I can connect to the server just fine from a different computer.

SlimShady3.14
Posts: 5
Joined: Tue Jul 02, 2019 2:13 pm

Re: How to setup Minecraft 1.12.2 on Pi3 or Pi4

Wed Jul 03, 2019 7:01 am

Solved my issue. Don't know what was wrong but scrapped everything and re did it.
Last edited by SlimShady3.14 on Wed Jul 03, 2019 2:07 pm, edited 1 time in total.

User avatar
rpiMike
Posts: 832
Joined: Fri Aug 10, 2012 12:38 pm
Location: Cumbria, UK

Re: How to setup Minecraft 1.12.2 on Pi3 or Pi4

Wed Jul 03, 2019 7:16 am

bullen wrote:
Tue Jul 02, 2019 10:30 pm
How come we can't get this working with 1.14.3 and OpenJDK 11?

I'm pretty sure LWJGL 3 has ARM binaries by now?
Because 1.13 and above requires a 64 bit OS which is not yet available for the Pi4.

I have had 1.13 running on a Pi3B+ with sakaki’s Gentoo 64bit. I have also had 1.14 running but crashed after about 1 minute.

bhuthogg
Posts: 4
Joined: Tue May 22, 2018 6:47 am

Re: How to setup Minecraft 1.12.2 on Pi3 or Pi4

Wed Jul 03, 2019 2:33 pm

rpiMike wrote:
Mon Jul 01, 2019 8:26 pm
Sounds like Oracle Java 8 hasn't installed try the following:

Code: Select all

cd ~/Minecraft
wget https://www.dropbox.com/s/ihju7z043jhamr3/jdk-8u211-linux-arm32-vfp-hflt.tar.gz
sudo tar -zxf jdk-8u211-linux-arm32-vfp-hflt.tar.gz -C /opt/jdk 
sudo update-alternatives --install /usr/bin/java java /opt/jdk/jdk1.8.0_211/bin/java 100
sudo update-alternatives --install /usr/bin/javac javac /opt/jdk/jdk1.8.0_211/bin/javac 100
If that works then re-try the setup process.
nah that didnt help me so redownloded the image wrote to sd and followed the guide and ended witht the same problem lol

Thanks again

User avatar
rpiMike
Posts: 832
Joined: Fri Aug 10, 2012 12:38 pm
Location: Cumbria, UK

Re: How to setup Minecraft 1.12.2 on Pi3 or Pi4

Wed Jul 03, 2019 2:39 pm

Did you spot an errors during the setup?

What does 'java -version' return?

bullen
Posts: 277
Joined: Sun Apr 28, 2013 2:52 pm

Re: How to setup Minecraft 1.12.2 on Pi3 or Pi4

Wed Jul 03, 2019 3:15 pm

rpiMike wrote:
Wed Jul 03, 2019 7:16 am
Because 1.13 and above requires a 64 bit OS which is not yet available for the Pi4.
Do you know what requires 64 bit OS?
https://github.com/tinspin/rupy - A tiny Java async HTTP application server.

User avatar
rpiMike
Posts: 832
Joined: Fri Aug 10, 2012 12:38 pm
Location: Cumbria, UK

Re: How to setup Minecraft 1.12.2 on Pi3 or Pi4

Wed Jul 03, 2019 8:23 pm

bullen wrote:
Wed Jul 03, 2019 3:15 pm
rpiMike wrote:
Wed Jul 03, 2019 7:16 am
Because 1.13 and above requires a 64 bit OS which is not yet available for the Pi4.
Do you know what requires 64 bit OS?
Minecraft 1.13 and above requires a 64 bit OS.

https://help.mojang.com/customer/en/por ... quirements

bullen
Posts: 277
Joined: Sun Apr 28, 2013 2:52 pm

Re: How to setup Minecraft 1.12.2 on Pi3 or Pi4

Wed Jul 03, 2019 8:31 pm

Ok, but why?
https://github.com/tinspin/rupy - A tiny Java async HTTP application server.

User avatar
rpiMike
Posts: 832
Joined: Fri Aug 10, 2012 12:38 pm
Location: Cumbria, UK

Re: How to setup Minecraft 1.12.2 on Pi3 or Pi4

Wed Jul 03, 2019 8:32 pm

bullen wrote:
Wed Jul 03, 2019 8:31 pm
Ok, but why?
Ask Microsoft.

R3lay
Posts: 1
Joined: Wed Jul 03, 2019 8:43 pm

Re: How to setup Minecraft 1.12.2 on Pi3 or Pi4

Wed Jul 03, 2019 8:45 pm

Is this impossible on the Pi2 or just not tested?

Return to “Gaming”