Sumie
Posts: 51
Joined: Tue Oct 18, 2016 2:03 pm

Re: How to setup Minecraft 1.8.9 on RaspPi2

Tue Oct 18, 2016 2:13 pm

If anyone cares, last night with a few hours of tweaking and trial and error, I did get 1.10.2 with OptiFine Ultra D1 to work on my Pi2. With a few changes to the script (mostly changes or additions of JAR files to the CP variable) it seems to run at about 20 FPS.

I'll post the changes and additions of the runOptifine.sh when I get home after my workday in 10 or so hours.
Attachments
MinecraftPi2.jpg
MinecraftPi2.jpg (52.73 KiB) Viewed 5066 times

owen_soo
Posts: 18
Joined: Thu Jul 07, 2016 7:54 pm

Re: How to setup Minecraft 1.8.9 on RaspPi2

Tue Oct 18, 2016 3:35 pm

That's the same error I got!
[email protected]:~/Minecraft $ ./runOptifine.sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 426 100 261 100 165 663 419 --:--:-- --:--:-- --:--:-- 665
todays access token = 9050ffb774fd41cfb1852aaa711ebca0
Java HotSpot(TM) Client VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
Oct 17, 2016 3:37:12 PM net.minecraft.launchwrapper.LogWrapper log
INFO: Loading tweak class name optifine.OptiFineTweaker
Oct 17, 2016 3:37:12 PM net.minecraft.launchwrapper.LogWrapper log
SEVERE: Unable to launch
java.lang.ClassNotFoundException: optifine.OptiFineTweaker
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:99)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:348)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:94)
at net.minecraft.launchwrapper.Launch.main(Launch.java:27)

Sumie
Posts: 51
Joined: Tue Oct 18, 2016 2:03 pm

Re: How to setup Minecraft 1.8.9 on RaspPi2

Wed Oct 19, 2016 8:33 pm

My bad, I didn't have time to even get back to this forum last night. I'll try to post updates to the script tonight then.

Sumie
Posts: 51
Joined: Tue Oct 18, 2016 2:03 pm

Re: How to setup Minecraft 1.8.9 on RaspPi2

Fri Oct 21, 2016 3:33 am

It all boils down to having an updated file list in your -CP section on your runOptifine.sh scripts. The following is assuming you've followed all installation steps of Minecraft and Optifine on the first page.

First, update the MINECRAFT_VERSION variable in the runOptifine.sh from 1.8.9 to 1.10. (Yes, leave off the .2)
Next,There is a section on the script that lists the Jar files under a CP variable in the same script. You just need to replace the entire section of the CP= variable with this updated list for the 1.10.2 files:

Code: Select all

CP=/home/pi/.minecraft/libraries/optifine/OptiFine/1.10.2_HD_U_D1/OptiFine-1.10.2_HD_U_D1.jar:/home/pi/.minecraft/libraries/net/minecraft/launchwrapper/1.7/launchwrapper-1.7.jar:/home/pi/.minecraft/libraries/com/mojang/netty/1.6/netty-1.6.jar:/home/pi/.minecraft/libraries/oshi-project/oshi-core/1.1/oshi-core-1.1.jar:/home/pi/.minecraft/libraries/net/java/dev/jna/jna/3.4.0/jna-3.4.0.jar:/home/pi/.minecraft/libraries/net/java/dev/jna/platform/3.4.0/platform-3.4.0.jar:/home/pi/.minecraft/libraries/com/ibm/icu/icu4j-core-mojang/51.2/icu4j-core-mojang-51.2.jar:/home/pi/.minecraft/libraries/net/sf/jopt-simple/jopt-simple/4.6/jopt-simple-4.6.jar:/home/pi/.minecraft/libraries/com/paulscode/codecjorbis/20101023/codecjorbis-20101023.jar:/home/pi/.minecraft/libraries/com/paulscode/codecwav/20101023/codecwav-20101023.jar:/home/pi/.minecraft/libraries/com/paulscode/libraryjavasound/20101123/libraryjavasound-20101123.jar:/home/pi/.minecraft/libraries/com/paulscode/librarylwjglopenal/20100824/librarylwjglopenal-20100824.jar:/home/pi/.minecraft/libraries/com/paulscode/soundsystem/20120107/soundsystem-20120107.jar:/home/pi/.minecraft/libraries/io/netty/netty-all/4.0.23.Final/netty-all-4.0.23.Final.jar:/home/pi/.minecraft/libraries/com/google/guava/guava/17.0/guava-17.0.jar:/home/pi/.minecraft/libraries/org/apache/commons/commons-lang3/3.3.2/commons-lang3-3.3.2.jar:/home/pi/.minecraft/libraries/commons-io/commons-io/2.4/commons-io-2.4.jar:/home/pi/.minecraft/libraries/commons-codec/commons-codec/1.9/commons-codec-1.9.jar:/home/pi/.minecraft/libraries/net/java/jinput/jinput/2.0.5/jinput-2.0.5.jar:/home/pi/.minecraft/libraries/net/java/jutils/jutils/1.0.0/jutils-1.0.0.jar:/home/pi/.minecraft/libraries/com/google/code/gson/gson/2.2.4/gson-2.2.4.jar:/home/pi/.minecraft/libraries/com/mojang/authlib/1.5.22/authlib-1.5.22.jar:/home/pi/.minecraft/libraries/com/mojang/realms/1.9.7/realms-1.9.7.jar:/home/pi/.minecraft/libraries/org/apache/commons/commons-compress/1.8.1/commons-compress-1.8.1.jar:/home/pi/.minecraft/libraries/org/apache/httpcomponents/httpclient/4.3.3/httpclient-4.3.3.jar:/home/pi/.minecraft/libraries/commons-logging/commons-logging/1.1.3/commons-logging-1.1.3.jar:/home/pi/.minecraft/libraries/org/apache/httpcomponents/httpcore/4.3.2/httpcore-4.3.2.jar:/home/pi/.minecraft/libraries/it/unimi/dsi/fastutil/7.0.12_mojang/fastutil-7.0.12_mojang.jar:/home/pi/.minecraft/libraries/org/apache/logging/log4j/log4j-api/2.0-beta9/log4j-api-2.0-beta9.jar:/home/pi/.minecraft/libraries/org/apache/logging/log4j/log4j-core/2.0-beta9/log4j-core-2.0-beta9.jar:/home/pi/.minecraft/libraries/org/lwjgl/lwjgl/lwjgl/2.9.4-nightly-20150209/lwjgl-2.9.4-nightly-20150209.jar:/home/pi/.minecraft/libraries/org/lwjgl/lwjgl/lwjgl_util/2.9.4-nightly-20150209/lwjgl_util-2.9.4-nightly-20150209.jar:/home/pi/.minecraft/versions/1.10.2-OptiFine_HD_U_D1/1.10.2-OptiFine_HD_U_D1.jar
TWEAK_CLASS=optifine.OptiFineTweaker
Assuming you installed everything correctly from the first page (omitting the version change to 1.8.9 in the launcher and choosing 1.10.2 instead), this has worked for me the last 5 installation attempts I have done.

With my installations, I didn't even have to install the forge (asm) tools either... not sure why those steps are there.

Vasboch
Posts: 8
Joined: Sun Feb 28, 2016 2:58 am

Re: How to setup Minecraft 1.8.9 on RaspPi2

Mon Oct 24, 2016 10:07 pm

My experience with raspberry pi's are somewhat helpful in my situation however, I would like for you to send me an disk image with everything ready besides the login info. If you are able to, please let me know. If not, let me know as well. Thanks for all your hard work!

owen_soo
Posts: 18
Joined: Thu Jul 07, 2016 7:54 pm

Re: How to setup Minecraft 1.8.9 on RaspPi2

Tue Oct 25, 2016 3:19 pm

Vasboch wrote: I would like for you to send me an disk image with everything ready besides the login info.<> Thanks for all your hard work!
If you don't know how,
(1) just plug the Pi's SD card(make sure there's no personal info on it) into your computer,
(2)open Win32 Disk Imager,
(3)find(or make) an empty image file,
(4)and click read. When it's done,
(5)upload the file to the forum. :D

Sumie
Posts: 51
Joined: Tue Oct 18, 2016 2:03 pm

Re: How to setup Minecraft 1.8.9 on RaspPi2

Thu Oct 27, 2016 3:08 pm

The steps are really not that hard to follow. To put it more simply:

Install Minecraft by downloading and launching 'launcher.jar' as per instructions
Run it and let it fail
Install Optifine as per instructions
Run it and let it fail
Download the runOptifine.sh script then update the script inputing your account info, as well as the client token and UUID (from your 'launcher_profiles.json' file), then change the version to 1.10, and replace the CP section with the info I posted.
Launch scripts and it works.

I've done this at least 15 times already and it works every time on Pi2 and my recently received Pi3. Tried it on my Pi1 but runs at a frame every 30 seconds so it's not feasible.

The Pi3 however runs at 30-55 FPS. It was surprisingly smooth, even though chunk updating was a bit sluggish (I even have a Sandisk Extreme Pro SD card which should be able to write fast enough...)

Vasboch
Posts: 8
Joined: Sun Feb 28, 2016 2:58 am

Re: How to setup Minecraft 1.8.9 on RaspPi2

Thu Oct 27, 2016 3:27 pm

Sumie wrote:The steps are really not that hard to follow. To put it more simply:

Install Minecraft by downloading and launching 'launcher.jar' as per instructions
Run it and let it fail
Install Optifine as per instructions
Run it and let it fail
Download the runOptifine.sh script then update the script inputing your account info, as well as the client token and UUID (from your 'launcher_profiles.json' file), then change the version to 1.10, and replace the CP section with the info I posted.
Launch scripts and it works.

I've done this at least 15 times already and it works every time on Pi2 and my recently received Pi3. Tried it on my Pi1 but runs at a frame every 30 seconds so it's not feasible.

The Pi3 however runs at 30-55 FPS. It was surprisingly smooth, even though chunk updating was a bit sluggish (I even have a Sandisk Extreme Pro SD card which should be able to write fast enough...)
Ok, thanks! If i made an image, would it be easier for everyone else with my problems?

owen_soo
Posts: 18
Joined: Thu Jul 07, 2016 7:54 pm

Re: How to setup Minecraft 1.8.9 on RaspPi2

Thu Oct 27, 2016 3:38 pm

Vasboch wrote:
Sumie wrote:The steps are really not that hard to follow. To put it more simply:

Install Minecraft by downloading and launching 'launcher.jar' as per instructions
Run it and let it fail
Install Optifine as per instructions
Run it and let it fail
Download the runOptifine.sh script then update the script inputing your account info, as well as the client token and UUID (from your 'launcher_profiles.json' file), then change the version to 1.10, and replace the CP section with the info I posted.
Launch scripts and it works.

I've done this at least 15 times already and it works every time on Pi2 and my recently received Pi3. Tried it on my Pi1 but runs at a frame every 30 seconds so it's not feasible.

The Pi3 however runs at 30-55 FPS. It was surprisingly smooth, even though chunk updating was a bit sluggish (I even have a Sandisk Extreme Pro SD card which should be able to write fast enough...)
Ok, thanks! If i made an image, would it be easier for everyone else with my problems?
Yes, it would make it a lot easier for "us" ;) . I keep getting errors when I run OptiFine from the terminal.
Also, I not sure if you should get an error when you launch the game from the launcher.(It just crashes :( )

Sumie
Posts: 51
Joined: Tue Oct 18, 2016 2:03 pm

Re: How to setup Minecraft 1.8.9 on RaspPi2

Wed Nov 02, 2016 3:07 pm

I'd be happy to VNC into anyone's Pi to assist with issues getting this set up. Maybe we can figure out where the issues are stemming from and post it. Posting an image is cumbersome and I don't believe I can upload such a large file. PM me if interested. Your IP will have to be internet facing or have port forwarding set up for port 5900.


On another note, I installed Minecraft again yesterday morning with the new U_D2 version of OptiFine and it works great, even though the optifine installer seems to extract another U_D2_MOD Jar file that needs to run as well. It was kinda strange but very doable.

Edit: Since I have a Sandisk Extreme Pro MicroSD card and I was sure it could handle it, I overclocked my SDcardreader bus to 100mhz (up from 50mhz) and it seemed to make things a bit smoother and faster in loading. I would not do this with a cheapo SDcard though. Instructions here:
viewtopic.php?f=63&t=140461
Attachments
IMG_0985.JPG
IMG_0985.JPG (50.38 KiB) Viewed 4359 times
Last edited by Sumie on Wed Nov 02, 2016 4:40 pm, edited 1 time in total.

owen_soo
Posts: 18
Joined: Thu Jul 07, 2016 7:54 pm

Re: How to setup Minecraft 1.8.9 on RaspPi2

Wed Nov 02, 2016 3:27 pm

As a heads up, DO NOT install pixel, as it's incompatible with the OpenGl driver :o :cry: (it probably will be fixed soon ;) ).

Sumie
Posts: 51
Joined: Tue Oct 18, 2016 2:03 pm

Re: How to setup Minecraft 1.8.9 on RaspPi2

Wed Nov 02, 2016 3:31 pm

owen_soo wrote:As a heads up, DO NOT install pixel, as it's incompatible with the OpenGl driver :o :cry: (it probably will be fixed soon ;) ).
I have the latest Raspian (with PIXEL) image installed on my Pi3. Running Minecraft requires the OpenGL driver so I have it enabled as well. I have my own grievances with the OpenGL driver (like random freezing when moving windows on the desktop and such), but it does seem to work fine for me for Minecraft.

owen_soo
Posts: 18
Joined: Thu Jul 07, 2016 7:54 pm

Re: How to setup Minecraft 1.8.9 on RaspPi2

Wed Nov 02, 2016 8:03 pm

Sumie wrote:
owen_soo wrote:As a heads up, DO NOT install pixel, as it's incompatible with the OpenGl driver :o :cry: (it probably will be fixed soon ;) ).
I have the latest Raspian (with PIXEL) image installed on my Pi3. Running Minecraft requires the OpenGL driver so I have it enabled as well. I have my own grievances with the OpenGL driver (like random freezing when moving windows on the desktop and such), but it does seem to work fine for me for Minecraft.
:o :o :o :o :lol: :D :) What? :!: That's awesome. I guess I spoke in haste. It doesn't work for me, or some other people(I read there(sorry about that spelling, its the "spell correction" plugin) post).

hyx
Posts: 8
Joined: Tue Jul 12, 2016 4:27 am
Location: PRC

Re: How to setup Minecraft 1.8.9 on RaspPi2

Fri Nov 04, 2016 10:45 am

owen_soo wrote:
Sumie wrote:
owen_soo wrote:As a heads up, DO NOT install pixel, as it's incompatible with the OpenGl driver :o :cry: (it probably will be fixed soon ;) ).
I have the latest Raspian (with PIXEL) image installed on my Pi3. Running Minecraft requires the OpenGL driver so I have it enabled as well. I have my own grievances with the OpenGL driver (like random freezing when moving windows on the desktop and such), but it does seem to work fine for me for Minecraft.
:o :o :o :o :lol: :D :) What? :!: That's awesome. I guess I spoke in haste. It doesn't work for me, or some other people(I read there(sorry about that spelling, its the "spell correction" plugin) post).
Why not update JDK? I found the same problem while using HMCL,and it seems that Minecraft works fine on PIXEL after replaceing JDK with the latest version.That is why I mentioned updating JDK in my early post.
I don't know what the cause is,but you can have a try.
Poor English, perhaps.
Using RPi3.

owen_soo
Posts: 18
Joined: Thu Jul 07, 2016 7:54 pm

Re: How to setup Minecraft 1.8.9 on RaspPi2

Fri Nov 04, 2016 3:27 pm

hyx wrote:Why not update JDK? I found the same problem while using HMCL,and it seems that Minecraft works fine on PIXEL after replaceing JDK with the latest version.That is why I mentioned updating JDK in my early post.
I don't know what the cause is,but you can have a try.
Hmm, I'll try that if I get time.

Xynus
Posts: 22
Joined: Tue Apr 05, 2016 12:18 am

Re: How to setup Minecraft 1.8.9 on RaspPi2

Wed Nov 09, 2016 8:08 pm

Hey
I'm having an error when trying to play online. I have th UUID and everything, but it keeps giving me an access code error when logging in. Anyone know what to do?

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

Re: How to setup Minecraft 1.8.9 on RaspPi2

Wed Nov 09, 2016 9:19 pm

Have you tried run2.sh ?

viewtopic.php?p=990835#p990835

owen_soo
Posts: 18
Joined: Thu Jul 07, 2016 7:54 pm

Re: How to setup Minecraft 1.8.9 on RaspPi2

Fri Nov 11, 2016 4:34 pm

By the way, how do I find the UUID? :roll:

Xynus
Posts: 22
Joined: Tue Apr 05, 2016 12:18 am

Re: How to setup Minecraft 1.8.9 on RaspPi2

Sat Nov 19, 2016 4:25 pm

I got it, thank you ^~^
But, I do have one final question.
Since 1.11 has been released, is there gonna be anyone trying to find a way to run it? I've seen people have issues running 1.10 and 1.9, maybe we just need to add a few more files to the run.sh script? I'm not entirely intelligent in this field, but I'd like to try to help

Xynus
Posts: 22
Joined: Tue Apr 05, 2016 12:18 am

Re: How to setup Minecraft 1.8.9 on RaspPi2

Sat Nov 19, 2016 7:14 pm

owen_soo wrote:By the way, how do I find the UUID? :roll:
You can google UUID Minecraft, and a website should give it to you

Sumie
Posts: 51
Joined: Tue Oct 18, 2016 2:03 pm

Re: How to setup Minecraft 1.8.9 on RaspPi2

Sat Nov 19, 2016 8:18 pm

Xynus wrote:I got it, thank you ^~^
But, I do have one final question.
Since 1.11 has been released, is there gonna be anyone trying to find a way to run it? I've seen people have issues running 1.10 and 1.9, maybe we just need to add a few more files to the run.sh script? I'm not entirely intelligent in this field, but I'd like to try to help
Since the lwjgl libraries weren't updated in 1.11, we can still use the ARM compiled ones in the OP's post, and it should still work. I'll give it a go sometime this weekend and post results.

mark.carline
Posts: 5
Joined: Fri Jul 06, 2012 12:55 pm

Re: How to setup Minecraft 1.8.9 on RaspPi2

Mon Nov 21, 2016 7:56 am

+1 for trying to get 1.11 on the pi 3, did you have any luck?

Xynus
Posts: 22
Joined: Tue Apr 05, 2016 12:18 am

Re: How to setup Minecraft 1.8.9 on RaspPi2

Mon Nov 21, 2016 12:59 pm

I'm gonna try myself and see if it works once Optifine is released for 1.11.

Sumie
Posts: 51
Joined: Tue Oct 18, 2016 2:03 pm

Re: How to setup Minecraft 1.8.9 on RaspPi2

Tue Nov 22, 2016 4:00 am

I keep accidentally leaving my Pi at work... I'll try to remember to bring it home tomorrow and try it out.
I would rather wait until Optifine comes out too, but it doesn't hurt to try the vanilla implementation.

Sumie
Posts: 51
Joined: Tue Oct 18, 2016 2:03 pm

Re: How to setup Minecraft 1.8.9 on RaspPi2

Tue Nov 22, 2016 5:29 pm

I got it to load up once in 1.11 vanilla, but now I'm getting AL Lib: Pipe Break messages. I may restore the Raspbian image and try it again later. I really should just wait for Optifine though, since vanilla has quite a few important options missing.

We'll see when I get some more time.

Return to “Gaming”