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

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Thu Dec 21, 2017 2:43 am

Ok, so 1.12.1 now works, but when I try to change the cp line to 1.12.2 optifine, it gives me this instead
Java HotSpot(TM) Client VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
Usage: java [-options] class [args...]
(to execute a class)
or java [-options] -jar jarfile [args...]
(to execute a jar file)
where options include:
-d32 use a 32-bit data model if available
-d64 use a 64-bit data model if available
-client to select the "client" VM
-server to select the "server" VM
-minimal to select the "minimal" VM
The default VM is client.

-cp <class search path of directories and zip/jar files>
-classpath <class search path of directories and zip/jar files>
A : separated list of directories, JAR archives,
and ZIP archives to search for class files.
-D<name>=<value>
set a system property
-verbose:[class|gc|jni]
enable verbose output
-version print product version and exit
-version:<value>
Warning: this feature is deprecated and will be removed
in a future release.
require the specified version to run
-showversion print product version and continue
-jre-restrict-search | -no-jre-restrict-search
Warning: this feature is deprecated and will be removed
in a future release.
include/exclude user private JREs in the version search
-? -help print this help message
-X print help on non-standard options
-ea[:<packagename>...|:<classname>]
-enableassertions[:<packagename>...|:<classname>]
enable assertions with specified granularity
-da[:<packagename>...|:<classname>]
-disableassertions[:<packagename>...|:<classname>]
disable assertions with specified granularity
-esa | -enablesystemassertions
enable system assertions
-dsa | -disablesystemassertions
disable system assertions
-agentlib:<libname>[=<options>]
load native agent library <libname>, e.g. -agentlib:hprof
see also, -agentlib:jdwp=help and -agentlib:hprof=help
-agentpath:<pathname>[=<options>]
load native agent library by full pathname
-javaagent:<jarpath>[=<options>]
load Java programming language agent, see java.lang.instrument
-splash:<imagepath>
show splash screen with specified image
See http://www.oracle.com/technetwork/java/ ... index.html for more details.
./runOptifine1_12_2.sh: 59: ./runOptifine1_12_2.sh: net.minecraft.launchwrapper.Launch: not found
I don't quite understand, as 1.12.1 optifine works perfectly fine

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

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Thu Dec 21, 2017 7:42 pm

Did you re-create the class path according to the last paragraph of the tutorial 'If you want to attempt getting a new version of Minecraft working :' ?

Nivek73
Posts: 1
Joined: Mon Jan 01, 2018 5:51 pm

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Mon Jan 01, 2018 6:01 pm

Is it possible to run an older version (alpha/beta) of Minecraft and would that be easier on the CPU?

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

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Mon Jan 01, 2018 7:50 pm

Yes, should be possible. Don't know if it would be easier on CPU.

Fabian42
Posts: 5
Joined: Mon Jan 01, 2018 10:00 pm

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Mon Jan 01, 2018 10:07 pm

I'm trying to update to the latest snapshot (17w50a). The instructions say: "copy this path list until ‘ net.minecraft.launchwrapper.Launch’", but there is no "net.minecraft.launchwrapper.Launch" in the path list. I've tried a few different things, but in the launchwrapper folder there isn't even one for 1.13. How do I update then?

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

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Tue Jan 02, 2018 10:45 am

Microsoft have changed a lot of things in the new version of Minecraft, including the use of lwjgl3 - which is not yet supported on the Pi. I don't know if we will be able to get the new version working on the Pi.

Opious
Posts: 1
Joined: Fri Jan 05, 2018 2:24 am

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Fri Jan 05, 2018 2:58 am

I've tried absoulty everthing to try to get this to work on my rasberry pi 3 and this is was I get when i try and run it.
pi@raspberrypi:~/Minecraft $ ./run.sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 434 100 265 100 169 482 307 --:--:-- --:--:-- --:--:-- 483
todays access token = 7f9a12a4a4d04160a98e9b09fe5cf551
Java HotSpot(TM) Client VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
Java HotSpot(TM) Client VM warning: You have loaded library /home/pi/Minecraft/Natives/liblwjgl.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'.
Exception in thread "main" java.lang.UnsatisfiedLinkError: /home/pi/Minecraft/Natives/liblwjgl.so: /home/pi/Minecraft/Natives/liblwjgl.so: invalid ELF header (Possible cause: endianness mismatch)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1938)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1854)
at java.lang.Runtime.loadLibrary0(Runtime.java:870)
at java.lang.System.loadLibrary(System.java:1122)
at org.lwjgl.Sys$1.run(Sys.java:72)
at java.security.AccessController.doPrivileged(Native Method)
at org.lwjgl.Sys.doLoadLibrary(Sys.java:66)
at org.lwjgl.Sys.loadLibrary(Sys.java:96)
at org.lwjgl.Sys.<clinit>(Sys.java:117)
at ave.J(SourceFile:2539)
at net.minecraft.client.main.Main.main(SourceFile:41)

Is there something Im doing wrong if so please reply :D

Cheers, Opious

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

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Fri Jan 05, 2018 6:03 pm

Are you using Raspbian Stretch with Desktop ? Did you get glxgears running at about 60fps ? When installing Minecraft did you 'edit profile' and select use release - 'release 1.12.1', then 'save profile' ?

WillBoxGaming1
Posts: 43
Joined: Tue Dec 26, 2017 1:54 am

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Sun Jan 07, 2018 2:02 am

WHAT HAPPENED TO MY PI?!!
I installed Berryboot. Once I loaded your Full KMS driver my PI now boots directly from the Raspbian image, Berryboot is gone! Also, my screen resolution is messed up again and I cant change it since the only choice I have now is: Default monitor prefered resolution.

HALP I NEED MY PI TOMORROW FOR A PRESENTATION ITS REALLY IMPORTANT D:

VeraDra
Posts: 8
Joined: Tue Aug 29, 2017 11:07 pm

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Sun Jan 07, 2018 4:51 am

WillBoxGaming1 wrote:
Sun Jan 07, 2018 2:02 am
WHAT HAPPENED TO MY PI?!!
I installed Berryboot. Once I loaded your Full KMS driver my PI now boots directly from the Raspbian image, Berryboot is gone! Also, my screen resolution is messed up again and I cant change it since the only choice I have now is: Default monitor prefered resolution.

HALP I NEED MY PI TOMORROW FOR A PRESENTATION ITS REALLY IMPORTANT D:
BerryBoot has known issues with OpenGL. You need to disable it in order to boot into BerryBoot. Comment out

Code: Select all

dtoverlay=vc4-kms-v3d
under

Code: Select all

/boot/config.txt
, by adding a # infront of it, but do note this will subsequently disable OpenGL, and you will need to uncomment the line in order to use OpenGL.

passedoutsober
Posts: 1
Joined: Tue Jan 30, 2018 2:54 am

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Tue Jan 30, 2018 3:00 am

i guess 1.12.2 is still not working on the pi 3? Im just a minecraft dad trying to get my 5 year old back up on minecraft realms. Any help would be appreciated.

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

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Tue Jan 30, 2018 10:33 am

Yes, it works. There is a link to a new script in the thread:

viewtopic.php?f=78&t=186547&start=75#p1216113

Requires OptiFine-1.12.2_HD_U_C5.jar

Luigi3711
Posts: 22
Joined: Sat Dec 30, 2017 3:24 pm

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Wed Jan 31, 2018 5:32 pm

I am at the bit where you have to install optifine via the optifine installer. Whenever I click install, it says that Minecraft 1.12.1 is not found and I have to start the version manually.
I tried to change the directory from .minecraft to Minecraft, but it does not seem to work

can anyone help?

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

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Wed Jan 31, 2018 5:46 pm

Did you complete step 7 Run Launcher, including editing the profile and selecting release 1.12.1, save profile, play game ?

Luigi3711
Posts: 22
Joined: Sat Dec 30, 2017 3:24 pm

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Wed Jan 31, 2018 6:07 pm

NVM it works thank you

Luigi3711
Posts: 22
Joined: Sat Dec 30, 2017 3:24 pm

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Thu Feb 01, 2018 12:29 am

I want to use the OpenGL driver to speed up the performance. I am using a pi 3. I have tried to use OpenGL before but it leads me to a black screen each time I boot. Are there any suggestions to enable OpenGL correctly so that I can boost the performance of Minecraft

if anyone has any tips, it would be very helpful.

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

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Thu Feb 01, 2018 9:40 am

Are you running the latest Raspbian Stretch ? What screen ?, resolution?, via hdmi? What PSU and spec ? Are you using a boot loader like berryboot?

I'm using a Samsung TV via good quality hdmi cable at 1920x1080 and the official 5.1V 2.5Amp 18AWG cable PSU.

Luigi3711
Posts: 22
Joined: Sat Dec 30, 2017 3:24 pm

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Thu Feb 01, 2018 4:35 pm

I am running NOOBS 11-29-2017 using only raspbian, although I have done sudo apt-get update & upgrade. I am using a Gateway monitor with the resolution 1920x1080 through an HDMI cable connection.

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

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Thu Feb 01, 2018 6:01 pm

What power supply are you using ? Do you get the lightning bolt (low voltage) ?

Luigi3711
Posts: 22
Joined: Sat Dec 30, 2017 3:24 pm

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Fri Feb 02, 2018 1:56 am

I am using the power supply supplied to me by Canakit. I get the lightning bolt signal (low voltage) sometimes. I usually see this at boot when the kernel is loading, and when I am plugging in external hardware such as a USB cam and external hard drives.

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

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Fri Feb 02, 2018 8:30 am

Sounds like your power supply isn't sufficient - probably why the GL driver isn't working - GPU requires more power. I'd recommend the official 5.1V 2.5Amp 18Awg cable power supply. https://www.modmypi.com/raspberry-pi/po ... 2.5a-black

daknus
Posts: 3
Joined: Thu Jun 01, 2017 12:48 pm

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Sun Feb 11, 2018 11:57 am

Hello!

I tried this method, and it worked perfectly, although I found an improvement: The GL Driver can be set to fake KMS if your display doesn't support full KMS or you want a permanent screen resolution, and it will work just fine.

I have tried installing Forge for 1.12.2, with semi-successful results. The game launches properly, but when I generate a world, it crashes, and when I open an existing world, it hangs my Pi. I will continue experimenting and maybe someday modded Minecraft will run on a Raspberry Pi :)

Thank you for the tutorial.

Edit:
I took a peek at the fml-client-latest.log file and found this:

Code: Select all

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.UnsatisfiedLinkError: /home/pi/.minecraft/versions/1.12.2-forge1.12.2-14.23.2.2611/1.12.2-forge1.12.2-14.23.2.2611-natives-477300316888/liblwjgl.so: /home/pi/.minecraft/versions/1.12.2-forge1.12.2-14.23.2.2611/1.12.2-forge1.12.2-14.23.2.2611-natives-477300316888/liblwjgl.so: cannot open shared object file: No such file or directory (Possible cause: can't load IA 32-bit .so on a ARM-bit platform)
	at java.lang.ClassLoader$NativeLibrary.load(Native Method) ~[?:1.8.0_65]
	at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1938) ~[?:1.8.0_65]
	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1854) ~[?:1.8.0_65]
	at java.lang.Runtime.loadLibrary0(Runtime.java:870) ~[?:1.8.0_65]
	at java.lang.System.loadLibrary(System.java:1122) ~[?:1.8.0_65]
	at org.lwjgl.Sys$1.run(Sys.java:72) ~[lwjgl-2.9.4-nightly-20150209.jar:?]
	at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_65]
	at org.lwjgl.Sys.doLoadLibrary(Sys.java:66) ~[lwjgl-2.9.4-nightly-20150209.jar:?]
	at org.lwjgl.Sys.loadLibrary(Sys.java:96) ~[lwjgl-2.9.4-nightly-20150209.jar:?]
	at org.lwjgl.Sys.<clinit>(Sys.java:117) ~[lwjgl-2.9.4-nightly-20150209.jar:?]
	at net.minecraft.client.Minecraft.func_71386_F(Minecraft.java:2990) ~[bib.class:?]
	at net.minecraft.client.main.Main.main(SourceFile:38) ~[Main.class:?]
	... 6 more
[11:42:28] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: net.minecraftforge.fml.relauncher.FMLSecurityManager$ExitTrappedException
[11:42:28] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: 	at net.minecraftforge.fml.relauncher.FMLSecurityManager.checkPermission(FMLSecurityManager.java:49)
[11:42:28] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: 	at java.lang.SecurityManager.checkExit(SecurityManager.java:761)
[11:42:28] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: 	at java.lang.Runtime.exit(Runtime.java:107)
[11:42:28] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: 	at java.lang.System.exit(System.java:971)
[11:42:28] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: 	at net.minecraft.launchwrapper.Launch.launch(Launch.java:138)
[11:42:28] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: 	at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
I think it might not be possible to run Forge on a Pi. I will keep trying though.

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

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Tue Feb 13, 2018 8:57 pm

Some have got forge working - see page 4 of this thread - did you change the tweak class ?

User avatar
MinecraftTom16
Posts: 49
Joined: Wed Nov 08, 2017 4:29 am
Location: Bandung,Indonesia
Contact: Skype

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Wed Feb 14, 2018 8:02 am

I´m just scared if it will work on my screen or not; is it stable even with a hdmi to vga adapter? I am inexperienced in headless connecting, I don´t know how to use ssh

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

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Wed Feb 14, 2018 8:22 am

The issue will be whether the GL Driver works with your setup. Have you got a spare sd card that you can use to test? Alternatively as long as you have another computer that can read the boot partition of your sd card, you can use that to edit the boot/config.txt file to turn the GL driver off assuming it failed.

Return to “Gaming”

Who is online

Users browsing this forum: No registered users and 4 guests