Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3
Works a treat, although I'm not getting nearly the framerate you guys are...
Even with render distance turned down to 2, and all the pretties off it still sits down at 10-15 fps.
Intend to look through the whole configs posted above in a bit - but quick question first...
Do you guys run it single player, or offload the server element to, well, a server. I have put a minecraft server docker container on one of my home machines, and it seems to work OK (Can play on it from another machine with decent framerate, so I don't think it should be a bottleneck..)
Even with render distance turned down to 2, and all the pretties off it still sits down at 10-15 fps.
Intend to look through the whole configs posted above in a bit - but quick question first...
Do you guys run it single player, or offload the server element to, well, a server. I have put a minecraft server docker container on one of my home machines, and it seems to work OK (Can play on it from another machine with decent framerate, so I don't think it should be a bottleneck..)
Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3
Glad you got it working 
I generally use single player but have connected to servers too.
Did you get glxgears running at 60fps ? Do you have a heatsink installed ? I'm assuming your using a Pi3 with a 5.1V 2.5Amp power supply with good power cable ? Are you running Minecraft in a window or fullscreen ?
You can add a temperature monitor to the task bar incase your Pi is throttling down due to temperature.
I'm using a Pi3 with heatsink, open case, fan and sandisk extreme pro sd card and some overclocking.

I generally use single player but have connected to servers too.
Did you get glxgears running at 60fps ? Do you have a heatsink installed ? I'm assuming your using a Pi3 with a 5.1V 2.5Amp power supply with good power cable ? Are you running Minecraft in a window or fullscreen ?
You can add a temperature monitor to the task bar incase your Pi is throttling down due to temperature.
I'm using a Pi3 with heatsink, open case, fan and sandisk extreme pro sd card and some overclocking.
- mikesome13
- Posts: 17
- Joined: Sun Jul 23, 2017 6:26 pm
Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3
Is there a way to install forge? And also, I got up to 60 fps! (With fan & heat sink.)
YES!
Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3
Do you get different performance with either option?
I have a local server, dockerised on a reasonable PC - I get decent frame rates from my mac against it (but that's a gigabit network connection all the way)
glxgears ran at 60fpsDid you get glxgears running at 60fps ? Do you have a heatsink installed ? I'm assuming your using a Pi3 with a 5.1V 2.5Amp power supply with good power cable ? Are you running Minecraft in a window or fullscreen ?
No heatsink
Pi3 with a decent enough PSU affect (think it's 2A rated)
Minecraft in a window or fullscreen (faster in a window)
I'll check temperature, but I wouldn't expect that to be an issue - I'll report back.You can add a temperature monitor to the task bar incase your Pi is throttling down due to temperature.
I'm using a Pi3 with heatsink, open case, fan and sandisk extreme pro sd card and some overclocking.
Pi3 in a case, no h/s or fan, new class 10 card for the installation.
Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3
Definitely get a heatsink. You'll want one as a bare minimum since these things run really hot under full load. The Pi3 starts throttling at 80 degrees Celsius, and I bet it's hitting that temp before Minecraft even loads the welcome screen while in a case with no heatsink.I'll check temperature, but I wouldn't expect that to be an issue - I'll report back.
Pi3 in a case, no h/s or fan, new class 10 card for the installation.
Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3
Currently I struggle to get more than 6 FPS in game.
Highest I've hit is about 13 FPS.
glxgears hits in the high 70 FPS range, and CPU usage averaging at 72-76%.
I have Overclocked, CPU frequency is set to 1350 MHz, SDRam frequency at 500 MHz, GPU memory set to 192 MB, frequency at 500 MHz, and the core frequency at 500. I do have an over voltage of 4. I have a RPi 3B, and this is the same framerate I was getting at stock. Part of me believes that Berryboot is to blame, as everyone else here is seemingly getting 40 FPS+ no problem.
I had some instability issues, but with over voltage, it solved that.
Highest I've hit is about 13 FPS.
glxgears hits in the high 70 FPS range, and CPU usage averaging at 72-76%.
I have Overclocked, CPU frequency is set to 1350 MHz, SDRam frequency at 500 MHz, GPU memory set to 192 MB, frequency at 500 MHz, and the core frequency at 500. I do have an over voltage of 4. I have a RPi 3B, and this is the same framerate I was getting at stock. Part of me believes that Berryboot is to blame, as everyone else here is seemingly getting 40 FPS+ no problem.
I had some instability issues, but with over voltage, it solved that.
Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3
That sounds like OpenGL is not working.
If you press F3 in Minecraft (with OpenGL-Full) on the right you should see :
Display: 854x480 (Broadcom)
Gallium 0.4 on VC4 V3D 2.1
2.1 Mesa 13.0.6
with OpenGL disabled :
Display: 854x480 (VMWare, Inc.)
Gallium 0.4 on llvmpipe (LLVM 3.9, 128 bits)
3.0 Mesa 13.0.6
GPU memory 64Mb should be fine.
If you press F3 in Minecraft (with OpenGL-Full) on the right you should see :
Display: 854x480 (Broadcom)
Gallium 0.4 on VC4 V3D 2.1
2.1 Mesa 13.0.6
with OpenGL disabled :
Display: 854x480 (VMWare, Inc.)
Gallium 0.4 on llvmpipe (LLVM 3.9, 128 bits)
3.0 Mesa 13.0.6
GPU memory 64Mb should be fine.
Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3
Turns out I do have it disabled, although I thought it was enabled.
Unfortunately, with it enabled I have a few issues at boot, namely the fact that Berryboot does not play nicely with OpenGL.
It'll boot into Raspbian after a short time, which isn't the problem, I just need to disable it if I want to boot into something else, otherwise it works much, much better. Like, 30 FPS on average better. Thanks.
Unfortunately, with it enabled I have a few issues at boot, namely the fact that Berryboot does not play nicely with OpenGL.
It'll boot into Raspbian after a short time, which isn't the problem, I just need to disable it if I want to boot into something else, otherwise it works much, much better. Like, 30 FPS on average better. Thanks.
- mikesome13
- Posts: 17
- Joined: Sun Jul 23, 2017 6:26 pm
Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3
I got the error
when I changed the cp path to
Anybody know how to fix this error?
Code: Select all
./runOptifine1_12_1.sh: 26: ./runOptifine1_12_1.sh: net.minecraft.launchwrapper.Launch: not found
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 290 100 126 100 164 238 310 --:--:-- --:--:-- --:--:-- 311
todays access token = 8b2df731219d4170acef24a44827fb59
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 14 100 2 100 12 8 48 --:--:-- --:--:-- --:--:-- 48
MINECRAFT_UUID=
Unrecognized option: --username
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Code: Select all
/home/pi/.minecraft/libraries/net/minecraftforge/forge/1.12-14.21.1.2387/forge-1.12-14.21.1.2387.jar:/home/pi/.minecraft/libraries/net/minecraft/launchwrapper/1.12/launchwrapper-1.12.jar:/home/pi/.minecraft/libraries/org/ow2/asm/asm-all/5.2/asm-all-5.2.jar:/home/pi/.minecraft/libraries/jline/jline/2.13/jline-2.13.jar:/home/pi/.minecraft/libraries/com/typesafe/akka/akka-actor_2.11/2.3.3/akka-actor_2.11-2.3.3.jar:/home/pi/.minecraft/libraries/com/typesafe/config/1.2.1/config-1.2.1.jar:/home/pi/.minecraft/libraries/org/scala-lang/scala-actors-migration_2.11/1.1.0/scala-actors-migration_2.11-1.1.0.jar:/home/pi/.minecraft/libraries/org/scala-lang/scala-compiler/2.11.1/scala-compiler-2.11.1.jar:/home/pi/.minecraft/libraries/org/scala-lang/plugins/scala-continuations-library_2.11/1.0.2/scala-continuations-library_2.11-1.0.2.jar:/home/pi/.minecraft/libraries/org/scala-lang/plugins/scala-continuations-plugin_2.11.1/1.0.2/scala-continuations-plugin_2.11.1-1.0.2.jar:/home/pi/.minecraft/libraries/org/scala-lang/scala-library/2.11.1/scala-library-2.11.1.jar:/home/pi/.minecraft/libraries/org/scala-lang/scala-parser-combinators_2.11/1.0.1/scala-parser-combinators_2.11-1.0.1.jar:/home/pi/.minecraft/libraries/org/scala-lang/scala-reflect/2.11.1/scala-reflect-2.11.1.jar:/home/pi/.minecraft/libraries/org/scala-lang/scala-swing_2.11/1.0.1/scala-swing_2.11-1.0.1.jar:/home/pi/.minecraft/libraries/org/scala-lang/scala-xml_2.11/1.0.2/scala-xml_2.11-1.0.2.jar:/home/pi/.minecraft/libraries/lzma/lzma/0.0.1/lzma-0.0.1.jar:/home/pi/.minecraft/libraries/net/sf/jopt-simple/jopt-simple/4.6/jopt-simple-4.6.jar:/home/pi/.minecraft/libraries/java3d/vecmath/1.5.2/vecmath-1.5.2.jar:/home/pi/.minecraft/libraries/net/sf/trove4j/trove4j/3.0.3/trove4j-3.0.3.jar:/home/pi/.minecraft/libraries/net/minecraftforge/MercuriusUpdater/1.12/MercuriusUpdater-1.12.jar:/home/pi/.minecraft/libraries/com/mojang/patchy/1.1/patchy-1.1.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/4.4.0/jna-4.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/5.0.3/jopt-simple-5.0.3.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.1.9.Final/netty-all-4.1.9.Final.jar:/home/pi/.minecraft/libraries/com/google/guava/guava/21.0/guava-21.0.jar:/home/pi/.minecraft/libraries/org/apache/commons/commons-lang3/3.5/commons-lang3-3.5.jar:/home/pi/.minecraft/libraries/commons-io/commons-io/2.5/commons-io-2.5.jar:/home/pi/.minecraft/libraries/commons-codec/commons-codec/1.10/commons-codec-1.10.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.8.0/gson-2.8.0.jar:/home/pi/.minecraft/libraries/com/mojang/authlib/1.5.25/authlib-1.5.25.jar:/home/pi/.minecraft/libraries/com/mojang/realms/1.10.17/realms-1.10.17.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.1.0/fastutil-7.1.0.jar:/home/pi/.minecraft/libraries/org/apache/logging/log4j/log4j-api/2.8.1/log4j-api-2.8.1.jar:/home/pi/.minecraft/libraries/org/apache/logging/log4j/log4j-core/2.8.1/log4j-core-2.8.1.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/libraries/com/mojang/text2speech/1.10.3/text2speech-1.10.3.jar:/home/pi/.minecraft/versions/1.12/1.12.jar net.minecraft.launchwrapper.Launch
YES!
Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3
Remove 'net.minecraft.launchwrapper.Launch' from the end.
- mikesome13
- Posts: 17
- Joined: Sun Jul 23, 2017 6:26 pm
Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3
Thanks, I always got this error when trying to switch versions
YES!
-
- Posts: 38
- Joined: Sat Feb 04, 2017 3:22 pm
Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3
I've tried to get forge to play Tekkit Classic, Because the technic launcher doesn't work. I get forge, Try my best to edit the run.sh file, But after hours of editing and looking things up, I get stuck at this error.
And minecraft gives the error below.
Glxgears runs, But gives this error too.
libGL error: MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to retrieve device information
If it's any help, I can post my run.sh file.
Code: Select all
pi@raspberrypi:~/Desktop/sh $ ./MinecraftFrge.sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 439 100 269 100 170 436 275 --:--:-- --:--:-- --:--:-- 435
todays access token = f50146eaa15c4253a8da0228f1e08413
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 77 100 64 100 13 123 25 --:--:-- --:--:-- --:--:-- 123
MINECRAFT_UUID=9ea64c2009364284a0bd06b3b89f983a
Java HotSpot(TM) Client VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
Sep 16, 2017 7:28:28 PM net.minecraft.launchwrapper.LogWrapper log
INFO: Using tweak class name net.minecraft.launchwrapper.VanillaTweaker
Sep 16, 2017 7:28:29 PM net.minecraft.launchwrapper.LogWrapper log
INFO: Launching wrapped minecraft
27 achievements
182 recipes
Turning of ImageIO disk-caching
Loading current icons for window from: /home/pi/.minecraft/assets/icons/icon_16x16.png and /home/pi/.minecraft/assets/icons/icon_32x32.png
javax.imageio.IIOException: Can't read input file!
at javax.imageio.ImageIO.read(ImageIO.java:1301)
at net.minecraft.launchwrapper.injector.VanillaTweakInjector.loadIcon(VanillaTweakInjector.java:130)
at net.minecraft.launchwrapper.injector.VanillaTweakInjector.loadIconsOnFrames(VanillaTweakInjector.java:107)
at net.minecraft.launchwrapper.injector.VanillaTweakInjector.inject(VanillaTweakInjector.java:94)
at net.minecraft.client.Minecraft.main(SourceFile:2136)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:57)
at net.minecraft.launchwrapper.Launch.main(Launch.java:18)
Setting gameDir to: /home/pi/.minecraft
LWJGL Version: 2.9.0
libGL error: MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to retrieve device information
java.lang.NullPointerException
at java.io.Reader.<init>(Reader.java:78)
at java.io.InputStreamReader.<init>(InputStreamReader.java:97)
at adn.a(SourceFile:62)
at adn.a(SourceFile:99)
at net.minecraft.client.Minecraft.a(SourceFile:262)
at net.minecraft.client.Minecraft.run(SourceFile:657)
at java.lang.Thread.run(Thread.java:745)
Glxgears runs, But gives this error too.
libGL error: MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to retrieve device information
If it's any help, I can post my run.sh file.
3.141592653589...
-
- Posts: 4
- Joined: Mon Mar 16, 2015 12:03 am
Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3
It seems exiting to console and running this command helps boost some fps. All it does is only start the minecraft in X and nothing else.
Code: Select all
startx ./runOptifine1_12_1.sh
Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3
Thanks for that tip - I like that.
I'm using OpenGL Full KMS so I added 'xrandr --output HDMI-1 --mode 1280x720' to the start of the run script.
Only downside - I don't get a mouse cursor at the start of the game - but no big deal.
I'm using OpenGL Full KMS so I added 'xrandr --output HDMI-1 --mode 1280x720' to the start of the run script.
Only downside - I don't get a mouse cursor at the start of the game - but no big deal.
- mikesome13
- Posts: 17
- Joined: Sun Jul 23, 2017 6:26 pm
Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3
I tried updating to 1.12.2, but got the following error;
Any help?
Code: Select all
[20:00:05] [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_C5/OptiFine-1.12.2_HD_U_C5.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.17/realms-1.10.17.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_C5/1.12.2-OptiFine_HD_U_C5.jar])
YES!
Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3
Did you re-copy the class path as described in the very last section of the tutorial :
If you want to attempt getting a new version of Minecraft working :
1 Install required version using java -jar Minecraft.jar - and allow to crash
2 Scroll up in terminal window and find last ../jre/bin/java command, scroll across and find ‘-cp ’, copy this path list until ‘ net.minecraft.launchwrapper.Launch’
3 Paste this text into the cp= in the run.sh script
If you want to attempt getting a new version of Minecraft working :
1 Install required version using java -jar Minecraft.jar - and allow to crash
2 Scroll up in terminal window and find last ../jre/bin/java command, scroll across and find ‘-cp ’, copy this path list until ‘ net.minecraft.launchwrapper.Launch’
3 Paste this text into the cp= in the run.sh script
- mikesome13
- Posts: 17
- Joined: Sun Jul 23, 2017 6:26 pm
Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3
yes, I did.rpiMike wrote: ↑Wed Sep 27, 2017 8:07 amDid you re-copy the class path as described in the very last section of the tutorial :
If you want to attempt getting a new version of Minecraft working :
1 Install required version using java -jar Minecraft.jar - and allow to crash
2 Scroll up in terminal window and find last ../jre/bin/java command, scroll across and find ‘-cp ’, copy this path list until ‘ net.minecraft.launchwrapper.Launch’
3 Paste this text into the cp= in the run.sh script
YES!
Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3
I created a new run script :
Code: Select all
cd ~/Minecraft/ && wget https://www.dropbox.com/s/trsel8nhan34b8q/runOptifine1_12_2.sh && sudo chmod +x runOptifine1_12_2.sh
Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3
Trying to get forge to work, this keeps happening when i try and run ./runOptifine1_12_12_2_forge.sh (Named forge to keep them separate)
the cp= path is as follows:
Help?
Code: Select all
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 423 100 257 100 166 625 403 --:--:-- --:--:-- --:--:-- 626
todays access token = probably shouldn't post
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 65 100 58 100 7 199 24 --:--:-- --:--:-- --:--:-- 199
MINECRAFT_UUID= probably shouldn't post
Java HotSpot(TM) Client VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
[20:56:20] [main/INFO] [LaunchWrapper]: Loading tweak class name optifine.OptiFineTweaker
[20:56:20] [main/ERROR] [LaunchWrapper]: Unable to launch
java.lang.ClassNotFoundException: optifine.OptiFineTweaker
at java.net.URLClassLoader.findClass(URLClassLoader.java:381) ~[?:1.8.0_65]
at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_65]
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) ~[?:1.8.0_65]
at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_65]
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:106) ~[launchwrapper-1.12.jar:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_65]
at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_65]
at java.lang.Class.forName0(Native Method) ~[?:1.8.0_65]
at java.lang.Class.forName(Class.java:348) ~[?:1.8.0_65]
at net.minecraft.launchwrapper.Launch.launch(Launch.java:98) [launchwrapper-1.12.jar:?]
at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
Code: Select all
/home/pi/.minecraft/libraries/net/minecraftforge/forge/1.12.2-14.23.0.2494/forge-1.12.2-14.23.0.2494.jar:/home/pi/.minecraft/libraries/net/minecraft/launchwrapper/1.12/launchwrapper-1.12.jar:/home/pi/.minecraft/libraries/org/ow2/asm/asm-all/5.2/asm-all-5.2.jar:/home/pi/.minecraft/libraries/jline/jline/2.13/jline-2.13.jar:/home/pi/.minecraft/libraries/com/typesafe/akka/akka-actor_2.11/2.3.3/akka-actor_2.11-2.3.3.jar:/home/pi/.minecraft/libraries/com/typesafe/config/1.2.1/config-1.2.1.jar:/home/pi/.minecraft/libraries/org/scala-lang/scala-actors-migration_2.11/1.1.0/scala-actors-migration_2.11-1.1.0.jar:/home/pi/.minecraft/libraries/org/scala-lang/scala-compiler/2.11.1/scala-compiler-2.11.1.jar:/home/pi/.minecraft/libraries/org/scala-lang/plugins/scala-continuations-library_2.11/1.0.2/scala-continuations-library_2.11-1.0.2.jar:/home/pi/.minecraft/libraries/org/scala-lang/plugins/scala-continuations-plugin_2.11.1/1.0.2/scala-continuations-plugin_2.11.1-1.0.2.jar:/home/pi/.minecraft/libraries/org/scala-lang/scala-library/2.11.1/scala-library-2.11.1.jar:/home/pi/.minecraft/libraries/org/scala-lang/scala-parser-combinators_2.11/1.0.1/scala-parser-combinators_2.11-1.0.1.jar:/home/pi/.minecraft/libraries/org/scala-lang/scala-reflect/2.11.1/scala-reflect-2.11.1.jar:/home/pi/.minecraft/libraries/org/scala-lang/scala-swing_2.11/1.0.1/scala-swing_2.11-1.0.1.jar:/home/pi/.minecraft/libraries/org/scala-lang/scala-xml_2.11/1.0.2/scala-xml_2.11-1.0.2.jar:/home/pi/.minecraft/libraries/lzma/lzma/0.0.1/lzma-0.0.1.jar:/home/pi/.minecraft/libraries/net/sf/jopt-simple/jopt-simple/5.0.3/jopt-simple-5.0.3.jar:/home/pi/.minecraft/libraries/java3d/vecmath/1.5.2/vecmath-1.5.2.jar:/home/pi/.minecraft/libraries/net/sf/trove4j/trove4j/3.0.3/trove4j-3.0.3.jar:/home/pi/.minecraft/libraries/net/minecraftforge/MercuriusUpdater/1.12.2/MercuriusUpdater-1.12.2.jar:/home/pi/.minecraft/libraries/com/mojang/patchy/1.1/patchy-1.1.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/4.4.0/jna-4.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/5.0.3/jopt-simple-5.0.3.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.1.9.Final/netty-all-4.1.9.Final.jar:/home/pi/.minecraft/libraries/com/google/guava/guava/21.0/guava-21.0.jar:/home/pi/.minecraft/libraries/org/apache/commons/commons-lang3/3.5/commons-lang3-3.5.jar:/home/pi/.minecraft/libraries/commons-io/commons-io/2.5/commons-io-2.5.jar:/home/pi/.minecraft/libraries/commons-codec/commons-codec/1.10/commons-codec-1.10.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.8.0/gson-2.8.0.jar:/home/pi/.minecraft/libraries/com/mojang/authlib/1.5.25/authlib-1.5.25.jar:/home/pi/.minecraft/libraries/com/mojang/realms/1.10.17/realms-1.10.17.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.1.0/fastutil-7.1.0.jar:/home/pi/.minecraft/libraries/org/apache/logging/log4j/log4j-api/2.8.1/log4j-api-2.8.1.jar:/home/pi/.minecraft/libraries/org/apache/logging/log4j/log4j-core/2.8.1/log4j-core-2.8.1.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/libraries/com/mojang/text2speech/1.10.3/text2speech-1.10.3.jar:/home/pi/.minecraft/versions/1.12.2/1.12.2.jar
Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3
Change tweak class in run script :
You might need to google getting forge and optitifine working.
Code: Select all
TWEAK_CLASS=net.minecraftforge.fml.common.launcher.FMLTweaker
-
- Posts: 38
- Joined: Sat Feb 04, 2017 3:22 pm
Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3
I can't get into the game! Minecraft launches fine, I get a bit more FPS, But the game pauses when i go to my singleplayer world! I can't unpause. Any help?Glitch_head wrote: ↑Sun Sep 24, 2017 12:38 pmIt seems exiting to console and running this command helps boost some fps. All it does is only start the minecraft in X and nothing else.Code: Select all
startx ./runOptifine1_12_1.sh
3.141592653589...
Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3
What did you change?rpiMike wrote: ↑Wed Sep 27, 2017 8:01 pmI created a new run script :
Code: Select all
cd ~/Minecraft/ && wget https://www.dropbox.com/s/trsel8nhan34b8q/runOptifine1_12_2.sh && sudo chmod +x runOptifine1_12_2.sh
Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3
Updated for MC 1.12.2 and Optifine 1.12.2
- mikesome13
- Posts: 17
- Joined: Sun Jul 23, 2017 6:26 pm
Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3
I GOT FORGE WORKING!!!
That's right! I got forge working! You need the 1.12.2 version of forge for this. You can change the cp= path to the forge version you need. Heres the code:
That's right! I got forge working! You need the 1.12.2 version of forge for this. You can change the cp= path to the forge version you need. Heres the code:
Code: Select all
#!/bin/sh
#
# script to run minecraft on ARM linux. for reference:
#
# http://rogerallen.github.io/jetson/2014/07/31/minecraft-on-jetson-tk1/
# https://devtalk.nvidia.com/default/topic/764821/embedded-systems/minecraft-on-the-jetson-tk1/
# https://gist.github.com/rogerallen/91526c9c8be1a82881e0
#
# !!! YOU MUST PERSONALIZE ALL OF THIS INFO !!!
# your personal login/password. chmod 700 to keep this private
MINECRAFT_LOGIN=abc@123.xxx
MINECRAFT_USERNAME=xxxxxx
MINECRAFT_PASSWORD=xxxxxx
# where did you store the native liblwjgl.so and libopenal.so?
MINECRAFT_NATIVE_PATH=~/Minecraft/Natives
# info from initial run data in .minecraft/launcher_profiles.json
MINECRAFT_CLIENTTOKEN=b61fb8e9-97bf-435f-8354-1feaba0ce734
MINECRAFT_UUID=12345678-1234-1234-1234-123456789abc
MINECRAFT_VERSION=1.12
# SHOULD NOT NEED TO EDIT BELOW THIS LINE
# long list of paths from the minecraft logged commandline
CP=/home/pi/.minecraft/libraries/net/minecraftforge/forge/1.12.2-14.23.0.2501/forge-1.12.2-14.23.0.2501.jar:/home/pi/.minecraft/libraries/net/minecraft/launchwrapper/1.12/launchwrapper-1.12.jar:/home/pi/.minecraft/libraries/org/ow2/asm/asm-all/5.2/asm-all-5.2.jar:/home/pi/.minecraft/libraries/jline/jline/2.13/jline-2.13.jar:/home/pi/.minecraft/libraries/com/typesafe/akka/akka-actor_2.11/2.3.3/akka-actor_2.11-2.3.3.jar:/home/pi/.minecraft/libraries/com/typesafe/config/1.2.1/config-1.2.1.jar:/home/pi/.minecraft/libraries/org/scala-lang/scala-actors-migration_2.11/1.1.0/scala-actors-migration_2.11-1.1.0.jar:/home/pi/.minecraft/libraries/org/scala-lang/scala-compiler/2.11.1/scala-compiler-2.11.1.jar:/home/pi/.minecraft/libraries/org/scala-lang/plugins/scala-continuations-library_2.11/1.0.2/scala-continuations-library_2.11-1.0.2.jar:/home/pi/.minecraft/libraries/org/scala-lang/plugins/scala-continuations-plugin_2.11.1/1.0.2/scala-continuations-plugin_2.11.1-1.0.2.jar:/home/pi/.minecraft/libraries/org/scala-lang/scala-library/2.11.1/scala-library-2.11.1.jar:/home/pi/.minecraft/libraries/org/scala-lang/scala-parser-combinators_2.11/1.0.1/scala-parser-combinators_2.11-1.0.1.jar:/home/pi/.minecraft/libraries/org/scala-lang/scala-reflect/2.11.1/scala-reflect-2.11.1.jar:/home/pi/.minecraft/libraries/org/scala-lang/scala-swing_2.11/1.0.1/scala-swing_2.11-1.0.1.jar:/home/pi/.minecraft/libraries/org/scala-lang/scala-xml_2.11/1.0.2/scala-xml_2.11-1.0.2.jar:/home/pi/.minecraft/libraries/lzma/lzma/0.0.1/lzma-0.0.1.jar:/home/pi/.minecraft/libraries/net/sf/jopt-simple/jopt-simple/5.0.3/jopt-simple-5.0.3.jar:/home/pi/.minecraft/libraries/java3d/vecmath/1.5.2/vecmath-1.5.2.jar:/home/pi/.minecraft/libraries/net/sf/trove4j/trove4j/3.0.3/trove4j-3.0.3.jar:/home/pi/.minecraft/libraries/com/mojang/patchy/1.1/patchy-1.1.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/4.4.0/jna-4.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/5.0.3/jopt-simple-5.0.3.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.1.9.Final/netty-all-4.1.9.Final.jar:/home/pi/.minecraft/libraries/com/google/guava/guava/21.0/guava-21.0.jar:/home/pi/.minecraft/libraries/org/apache/commons/commons-lang3/3.5/commons-lang3-3.5.jar:/home/pi/.minecraft/libraries/commons-io/commons-io/2.5/commons-io-2.5.jar:/home/pi/.minecraft/libraries/commons-codec/commons-codec/1.10/commons-codec-1.10.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.8.0/gson-2.8.0.jar:/home/pi/.minecraft/libraries/com/mojang/authlib/1.5.25/authlib-1.5.25.jar:/home/pi/.minecraft/libraries/com/mojang/realms/1.10.17/realms-1.10.17.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.1.0/fastutil-7.1.0.jar:/home/pi/.minecraft/libraries/org/apache/logging/log4j/log4j-api/2.8.1/log4j-api-2.8.1.jar:/home/pi/.minecraft/libraries/org/apache/logging/log4j/log4j-core/2.8.1/log4j-core-2.8.1.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/libraries/com/mojang/text2speech/1.10.3/text2speech-1.10.3.jar:/home/pi/.minecraft/versions/1.12.2/1.12.2.jar
TWEAK_CLASS=net.minecraftforge.fml.common.launcher.FMLTweaker
# thanks to xRoyx on the nvidia dev forums for this update.
# the authtoken changes daily, so we need to login to authenticate
MINECRAFT_ATOKEN="$(\
curl -i \
-H "Accept:application/json" \
-H "content-Type:application/json" \
https://authserver.mojang.com/authenticate \
-X POST \
--data '{"agent": {"name": "Minecraft","version": 1}, "username": "'$MINECRAFT_LOGIN'", "password": "'$MINECRAFT_PASSWORD'", "clientToken": "'$MINECRAFT_CLIENTTOKEN'" }' \
| sed '/accessToken":"/!d;s//&\n/;s/.*\n//;:a;/",/bb;$!{n;ba};:b;s//\n&/;P;D' \
)"
# '
echo "todays access token = "$MINECRAFT_ATOKEN
MINECRAFT_UUID="$(\
curl -X POST -H 'Content-Type: application/json' https://api.mojang.com/profiles/minecraft --data '"'$MINECRAFT_USERNAME'"' \
| sed '/id":"/!d;s//&\n/;s/.*\n//;:a;/",/bb;$!{n;ba};:b;s//\n&/;P;D' \
)"
echo "MINECRAFT_UUID="$MINECRAFT_UUID
# run minecraft with all the right commandline options
/usr/lib/jvm/jdk-8-oracle-arm32-vfp-hflt/jre/bin/java \
-Xmn128M -Xmx550M \
-XX:+UseConcMarkSweepGC \
-XX:+CMSIncrementalMode \
-XX:-UseAdaptiveSizePolicy \
-Djava.library.path=$MINECRAFT_NATIVE_PATH \
-cp $CP \
net.minecraft.launchwrapper.Launch \
--username $MINECRAFT_USERNAME \
--accessToken "$MINECRAFT_ATOKEN" \
--uuid "$MINECRAFT_UUID" \
--version $MINECRAFT_VERSION \
--userProperties {} \
--gameDir ~/.minecraft \
--assetsDir ~/.minecraft/assets \
--assetIndex $MINECRAFT_VERSION \
--tweakClass $TWEAK_CLASS
YES!
Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3
I am getting this errormikesome13 wrote: ↑Wed Oct 04, 2017 12:16 amI GOT FORGE WORKING!!!
That's right! I got forge working! You need the 1.12.2 version of forge for this. You can change the cp= path to the forge version you need. Heres the code:Code: Select all
#!/bin/sh # # script to run minecraft on ARM linux. for reference: # # http://rogerallen.github.io/jetson/2014/07/31/minecraft-on-jetson-tk1/ # https://devtalk.nvidia.com/default/topic/764821/embedded-systems/minecraft-on-the-jetson-tk1/ # https://gist.github.com/rogerallen/91526c9c8be1a82881e0 # # !!! YOU MUST PERSONALIZE ALL OF THIS INFO !!! # your personal login/password. chmod 700 to keep this private MINECRAFT_LOGIN=abc@123.xxx MINECRAFT_USERNAME=xxxxxx MINECRAFT_PASSWORD=xxxxxx # where did you store the native liblwjgl.so and libopenal.so? MINECRAFT_NATIVE_PATH=~/Minecraft/Natives # info from initial run data in .minecraft/launcher_profiles.json MINECRAFT_CLIENTTOKEN=b61fb8e9-97bf-435f-8354-1feaba0ce734 MINECRAFT_UUID=12345678-1234-1234-1234-123456789abc MINECRAFT_VERSION=1.12 # SHOULD NOT NEED TO EDIT BELOW THIS LINE # long list of paths from the minecraft logged commandline CP=/home/pi/.minecraft/libraries/net/minecraftforge/forge/1.12.2-14.23.0.2501/forge-1.12.2-14.23.0.2501.jar:/home/pi/.minecraft/libraries/net/minecraft/launchwrapper/1.12/launchwrapper-1.12.jar:/home/pi/.minecraft/libraries/org/ow2/asm/asm-all/5.2/asm-all-5.2.jar:/home/pi/.minecraft/libraries/jline/jline/2.13/jline-2.13.jar:/home/pi/.minecraft/libraries/com/typesafe/akka/akka-actor_2.11/2.3.3/akka-actor_2.11-2.3.3.jar:/home/pi/.minecraft/libraries/com/typesafe/config/1.2.1/config-1.2.1.jar:/home/pi/.minecraft/libraries/org/scala-lang/scala-actors-migration_2.11/1.1.0/scala-actors-migration_2.11-1.1.0.jar:/home/pi/.minecraft/libraries/org/scala-lang/scala-compiler/2.11.1/scala-compiler-2.11.1.jar:/home/pi/.minecraft/libraries/org/scala-lang/plugins/scala-continuations-library_2.11/1.0.2/scala-continuations-library_2.11-1.0.2.jar:/home/pi/.minecraft/libraries/org/scala-lang/plugins/scala-continuations-plugin_2.11.1/1.0.2/scala-continuations-plugin_2.11.1-1.0.2.jar:/home/pi/.minecraft/libraries/org/scala-lang/scala-library/2.11.1/scala-library-2.11.1.jar:/home/pi/.minecraft/libraries/org/scala-lang/scala-parser-combinators_2.11/1.0.1/scala-parser-combinators_2.11-1.0.1.jar:/home/pi/.minecraft/libraries/org/scala-lang/scala-reflect/2.11.1/scala-reflect-2.11.1.jar:/home/pi/.minecraft/libraries/org/scala-lang/scala-swing_2.11/1.0.1/scala-swing_2.11-1.0.1.jar:/home/pi/.minecraft/libraries/org/scala-lang/scala-xml_2.11/1.0.2/scala-xml_2.11-1.0.2.jar:/home/pi/.minecraft/libraries/lzma/lzma/0.0.1/lzma-0.0.1.jar:/home/pi/.minecraft/libraries/net/sf/jopt-simple/jopt-simple/5.0.3/jopt-simple-5.0.3.jar:/home/pi/.minecraft/libraries/java3d/vecmath/1.5.2/vecmath-1.5.2.jar:/home/pi/.minecraft/libraries/net/sf/trove4j/trove4j/3.0.3/trove4j-3.0.3.jar:/home/pi/.minecraft/libraries/com/mojang/patchy/1.1/patchy-1.1.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/4.4.0/jna-4.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/5.0.3/jopt-simple-5.0.3.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.1.9.Final/netty-all-4.1.9.Final.jar:/home/pi/.minecraft/libraries/com/google/guava/guava/21.0/guava-21.0.jar:/home/pi/.minecraft/libraries/org/apache/commons/commons-lang3/3.5/commons-lang3-3.5.jar:/home/pi/.minecraft/libraries/commons-io/commons-io/2.5/commons-io-2.5.jar:/home/pi/.minecraft/libraries/commons-codec/commons-codec/1.10/commons-codec-1.10.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.8.0/gson-2.8.0.jar:/home/pi/.minecraft/libraries/com/mojang/authlib/1.5.25/authlib-1.5.25.jar:/home/pi/.minecraft/libraries/com/mojang/realms/1.10.17/realms-1.10.17.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.1.0/fastutil-7.1.0.jar:/home/pi/.minecraft/libraries/org/apache/logging/log4j/log4j-api/2.8.1/log4j-api-2.8.1.jar:/home/pi/.minecraft/libraries/org/apache/logging/log4j/log4j-core/2.8.1/log4j-core-2.8.1.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/libraries/com/mojang/text2speech/1.10.3/text2speech-1.10.3.jar:/home/pi/.minecraft/versions/1.12.2/1.12.2.jar TWEAK_CLASS=net.minecraftforge.fml.common.launcher.FMLTweaker # thanks to xRoyx on the nvidia dev forums for this update. # the authtoken changes daily, so we need to login to authenticate MINECRAFT_ATOKEN="$(\ curl -i \ -H "Accept:application/json" \ -H "content-Type:application/json" \ https://authserver.mojang.com/authenticate \ -X POST \ --data '{"agent": {"name": "Minecraft","version": 1}, "username": "'$MINECRAFT_LOGIN'", "password": "'$MINECRAFT_PASSWORD'", "clientToken": "'$MINECRAFT_CLIENTTOKEN'" }' \ | sed '/accessToken":"/!d;s//&\n/;s/.*\n//;:a;/",/bb;$!{n;ba};:b;s//\n&/;P;D' \ )" # ' echo "todays access token = "$MINECRAFT_ATOKEN MINECRAFT_UUID="$(\ curl -X POST -H 'Content-Type: application/json' https://api.mojang.com/profiles/minecraft --data '"'$MINECRAFT_USERNAME'"' \ | sed '/id":"/!d;s//&\n/;s/.*\n//;:a;/",/bb;$!{n;ba};:b;s//\n&/;P;D' \ )" echo "MINECRAFT_UUID="$MINECRAFT_UUID # run minecraft with all the right commandline options /usr/lib/jvm/jdk-8-oracle-arm32-vfp-hflt/jre/bin/java \ -Xmn128M -Xmx550M \ -XX:+UseConcMarkSweepGC \ -XX:+CMSIncrementalMode \ -XX:-UseAdaptiveSizePolicy \ -Djava.library.path=$MINECRAFT_NATIVE_PATH \ -cp $CP \ net.minecraft.launchwrapper.Launch \ --username $MINECRAFT_USERNAME \ --accessToken "$MINECRAFT_ATOKEN" \ --uuid "$MINECRAFT_UUID" \ --version $MINECRAFT_VERSION \ --userProperties {} \ --gameDir ~/.minecraft \ --assetsDir ~/.minecraft/assets \ --assetIndex $MINECRAFT_VERSION \ --tweakClass $TWEAK_CLASS
Code: Select all
[23:37:33] [main/INFO] [STDERR]: [optifine.OptiFineClassTransformer:getOptiFineResourcePatched:236]: at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
[23:37:33] [main/INFO] [STDERR]: [optifine.OptiFineClassTransformer:getOptiFineResourcePatched:236]: at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
[23:37:34] [main/ERROR] [LaunchWrapper]: Unable to launch
java.lang.reflect.InvocationTargetException: null
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_65]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_65]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_65]
at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_65]
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
Caused by: java.lang.VerifyError: Inconsistent stackmap frames at branch target 13
Exception Details:
Location:
Config.getWorldServer()Lnet/minecraft/world/BossInfoServer; @13: getstatic
Reason:
Type 'net/minecraft/client/network/NetHandlerPlayClient' (current frame, locals[0]) is not assignable to 'net/minecraft/world/GameType' (stack map, locals[0])
Current Frame:
bci: @8
flags: { }
locals: { 'net/minecraft/client/network/NetHandlerPlayClient' }
stack: { 'net/minecraft/client/network/NetHandlerPlayClient' }
Stackmap Frame:
bci: @13
flags: { }
locals: { 'net/minecraft/world/GameType' }
stack: { }
Bytecode:
0x0000000: b202 d3b4 056c 4b2a c700 0501 b0b2 02d3
0x0000010: b605 709a 0005 01b0 b202 d3b6 0573 4c2b
0x0000020: c700 0501 b02a b405 784d 2cc7 0005 01b0
0x0000030: 2cb6 057e 4e2b 2db6 0582 b605 853a 0419
0x0000040: 04b0 3a04 01b0
Exception Handler Table:
bci [53, 65] => handler: 66
Stackmap Table:
append_frame(@13,Object[#1390])
same_frame(@24)
append_frame(@37,Object[#1397])
append_frame(@48,Object[#1402])
full_frame(@66,{Object[#1390],Object[#1397],Object[#1402],Object[#1408]},{Object[#1384]})
at Reflector.logEntry(Reflector.java:1207) ~[Reflector.class:?]
at Reflector.<clinit>(Reflector.java:109) ~[Reflector.class:?]
at net.minecraft.crash.CrashReport.func_71504_g(CrashReport.java:138) ~[b.class:?]
at net.minecraft.crash.CrashReport.<init>(CrashReport.java:54) ~[b.class:?]
at net.minecraft.crash.CrashReport.func_85055_a(CrashReport.java:425) ~[b.class:?]
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:381) ~[bib.class:?]
at net.minecraft.client.main.Main.main(SourceFile:123) ~[Main.class:?]
... 6 more
Exception in thread "Client thread" [23:37:34] [main/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:1052]: net.minecraftforge.fml.relauncher.FMLSecurityManager$ExitTrappedException
[23:37:34] [main/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:1052]: at net.minecraftforge.fml.relauncher.FMLSecurityManager.checkPermission(FMLSecurityManager.java:49)
[23:37:34] [main/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:1052]: at java.lang.SecurityManager.checkExit(SecurityManager.java:761)
[23:37:34] [main/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:1052]: at java.lang.Runtime.exit(Runtime.java:107)
[23:37:34] [main/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:1052]: at java.lang.System.exit(System.java:971)
[23:37:34] [main/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:1052]: at net.minecraft.launchwrapper.Launch.launch(Launch.java:138)
[23:37:34] [main/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:1052]: at net.minecraft.launchwrapper.Launch.main(Launch.java:28)