timof121
Posts: 49
Joined: Sun Nov 03, 2019 12:07 pm

Re: How to setup Minecraft 1.12.2 + Optifine + Forge On a Raspberry Pi 2B, 3B, 3B+ (Untested on Pi 4B)

Wed Mar 11, 2020 8:08 pm

Hello. Now that i'm on a RPi 4 with 4GB RAM everything works very good. I used RpiMike tutorial for the first part of the tutorial. Thanks!
Do you have any idea about running minecraft custom clients (that are placed in versions, not mods) like Wolfram
Thanks :)

dominic03
Posts: 117
Joined: Fri Dec 21, 2018 1:50 am
Location: Indiana, USA

Re: How to setup Minecraft 1.12.2 + Optifine + Forge On a Raspberry Pi 2B, 3B, 3B+ (Untested on Pi 4B)

Sat Mar 21, 2020 3:44 pm

Not working on Pi4 4GB.
Here is the error when starting the game (not from the launcher):

Code: Select all

Java HotSpot(TM) Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
Error: Could not find or load main class net.minecraft.launchwrapper.Launch
Raspberry Pi 4B 4gb dual-booting ARM32/ARM64 Raspberry Pi OS (via PINN)
Kingston 32 GB C10 (U1) microSD
-8Gb availible for 32 bit
-20Gb availible for 64 bit
Sceptre E225W 22" 75hz 1080p monitor
Overclocked to 2.1GHz

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

Re: How to setup Minecraft 1.12.2 + Optifine + Forge On a Raspberry Pi 2B, 3B, 3B+ (Untested on Pi 4B)

Tue Mar 24, 2020 2:31 pm

timof121 wrote:
Wed Mar 11, 2020 8:08 pm
Hello. Now that i'm on a RPi 4 with 4GB RAM everything works very good. I used RpiMike tutorial for the first part of the tutorial. Thanks!
Do you have any idea about running minecraft custom clients (that are placed in versions, not mods) like Wolfram
Thanks :)
Hi Tim, sorry I have never done anything with wolfram or custom clients so I have no idea unfortunately.
1 * Raspberry Pi Zero W, 1 * Raspberry Pi 2, 1 * Raspberry Pi 3, 1 * Raspberry Pi 3B+, 1 * Raspberry Pi 4B :mrgreen:

timof121
Posts: 49
Joined: Sun Nov 03, 2019 12:07 pm

Re: How to setup Minecraft 1.12.2 + Optifine + Forge On a Raspberry Pi 2B, 3B, 3B+ (Untested on Pi 4B)

Fri Mar 27, 2020 8:29 pm

DarkPlatinum wrote:
Tue Mar 24, 2020 2:31 pm
timof121 wrote:
Wed Mar 11, 2020 8:08 pm
Hello. Now that i'm on a RPi 4 with 4GB RAM everything works very good. I used RpiMike tutorial for the first part of the tutorial. Thanks!
Do you have any idea about running minecraft custom clients (that are placed in versions, not mods) like Wolfram
Thanks :)
Hi Tim, sorry I have never done anything with wolfram or custom clients so I have no idea unfortunately.
Np, i found a solution
Thanks for the reply and the tutorial!

Kakiking
Posts: 2
Joined: Tue Jun 16, 2020 4:04 pm

Re: How to setup Minecraft 1.12.2 + Optifine + Forge On a Raspberry Pi 2B, 3B, 3B+ (Untested on Pi 4B)

Mon Jun 22, 2020 5:52 pm

I get the following error if I try to run forge:

Code: Select all

pi@raspberrypi:~ $ cd ~/Minecraft/ && ./runForge1.12.sh
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   718  100   555  100   163   1516    445 --:--:-- --:--:-- --:--:--  1967
todays access token = eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIzYzJiNWExMGI2MGFmMTJmMmM0ZTBmNjg5ZDhjYzg1MSIsInlnZ3QiOiI3ODI4MjFmMDk5ZWE0MjQ5OGMxNGYyZjFjNWRlMjg0YiIsInNwciI6ImY2MDI0NjVjNzkyNjRlYzFhNDQ3ZTVhMjA1MWI0MDJjIiwiaXNzIjoiWWdnZHJhc2lsLUF1dGgiLCJleHAiOjE1OTMwMjEwMjksImlhdCI6MTU5Mjg0ODIyOX0.mzCg3DdxVgBQ8QmZHY8KCqBLu_X0_cclnLysAuaUJ3s
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100    87  100    69  100    18    247     64 --:--:-- --:--:-- --:--:--   311
MINECRAFT_UUID=f602465c79264ec1a447e5a2051b402c
Java HotSpot(TM) Client VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
[19:50:33] [main/INFO]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[19:50:33] [main/ERROR]: Unable to launch
java.lang.ClassNotFoundException: net.minecraftforge.fml.common.launcher.FMLTweaker
	at java.net.URLClassLoader.findClass(URLClassLoader.java:382) ~[?:1.8.0_211]
	at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_211]
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349) ~[?:1.8.0_211]
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_211]
	at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:106) ~[launchwrapper-1.12.jar:?]
	at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_211]
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_211]
	at java.lang.Class.forName0(Native Method) ~[?:1.8.0_211]
	at java.lang.Class.forName(Class.java:348) ~[?:1.8.0_211]
	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:?]

TamaTamaGoGo
Posts: 57
Joined: Tue Dec 24, 2019 5:54 am
Location: Japan
Contact: Website Twitter

Re: How to setup Minecraft 1.12.2 + Optifine + Forge On a Raspberry Pi 2B, 3B, 3B+ (Untested on Pi 4B)

Thu Jul 02, 2020 1:01 pm

Hello!
I am making script for Minecraft 1.16.1-Forge 32.0.24~ , but it doesn’t work!
I found some files path was changed, and I debugged.
But I couldn’t find launchwrapper files.
I couldn’t find any launchwrapper files, so it says like script couldn’t load net.minecraft.launchwrapper I think...?
What should I do?

Actually I am using launcher 1.6.93.
It might affect?
Hello!
I am TamaTama.
I am Japanese, so I am not good at English. :|
Check my raspi site. :D
https://tamatechraspi.tech.blog
I am making a script of Minecraft for rasbian buster.
Search “MCPi” at forums!

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

Re: How to setup Minecraft 1.12.2 + Optifine + Forge On a Raspberry Pi 2B, 3B, 3B+ (Untested on Pi 4B)

Thu Jul 02, 2020 1:14 pm

TamaTamaGoGo wrote:
Thu Jul 02, 2020 1:01 pm
Hello!
I am making script for Minecraft 1.16.1-Forge 32.0.24~ , but it doesn’t work!
I found some files path was changed, and I debugged.
But I couldn’t find launchwrapper files.
I couldn’t find any launchwrapper files, so it says like script couldn’t load net.minecraft.launchwrapper I think...?
What should I do?

Actually I am using launcher 1.6.93.
It might affect?
Try using this launcher:

Code: Select all

wget https://launcher.mojang.com/v1/objects/eabbff5ff8e21250e33670924a0c5e38f47c840b/launcher.jar

TamaTamaGoGo
Posts: 57
Joined: Tue Dec 24, 2019 5:54 am
Location: Japan
Contact: Website Twitter

Re: How to setup Minecraft 1.12.2 + Optifine + Forge On a Raspberry Pi 2B, 3B, 3B+ (Untested on Pi 4B)

Fri Jul 03, 2020 9:04 am

rpiMike wrote:
Thu Jul 02, 2020 1:14 pm
TamaTamaGoGo wrote:
Thu Jul 02, 2020 1:01 pm
Hello!
I am making script for Minecraft 1.16.1-Forge 32.0.24~ , but it doesn’t work!
I found some files path was changed, and I debugged.
But I couldn’t find launchwrapper files.
I couldn’t find any launchwrapper files, so it says like script couldn’t load net.minecraft.launchwrapper I think...?
What should I do?

Actually I am using launcher 1.6.93.
It might affect?
Try using this launcher:

Code: Select all

wget https://launcher.mojang.com/v1/objects/eabbff5ff8e21250e33670924a0c5e38f47c840b/launcher.jar
Um.. yeap!
That's launcher seems work fine!
I think net.minecraftwrapper.Launch was changed at nearly Forge versions, and changed to mod.cw????????.
Changing it, that’s work, but Forge spit out STDERR.
Um..., I don’t have any idea hahahaha :lol:
Hello!
I am TamaTama.
I am Japanese, so I am not good at English. :|
Check my raspi site. :D
https://tamatechraspi.tech.blog
I am making a script of Minecraft for rasbian buster.
Search “MCPi” at forums!

TamaTamaGoGo
Posts: 57
Joined: Tue Dec 24, 2019 5:54 am
Location: Japan
Contact: Website Twitter

Re: How to setup Minecraft 1.12.2 + Optifine + Forge On a Raspberry Pi 2B, 3B, 3B+ (Untested on Pi 4B)

Fri Jul 03, 2020 9:09 am

dominic03 wrote:
Sat Mar 21, 2020 3:44 pm
Not working on Pi4 4GB.
Here is the error when starting the game (not from the launcher):

Code: Select all

Java HotSpot(TM) Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
Error: Could not find or load main class net.minecraft.launchwrapper.Launch

Are you crone Minecraft from SD, or is that old versions?
Or maybe Did you try the way what written this forum?

When I tried to crone from SD, that happened too.
Umm... try this!

Code: Select all

java -jar launcher.jar
After Launcher start, click “Play” again.
Some files will download.
After that, you will successfully start Minecraft games!

[ADDed]
If you using more than 1.12 versions, Forge doesn’t use class net.minecraft.launchwrapper.Launch.
Are using 1.12.2?
Hello!
I am TamaTama.
I am Japanese, so I am not good at English. :|
Check my raspi site. :D
https://tamatechraspi.tech.blog
I am making a script of Minecraft for rasbian buster.
Search “MCPi” at forums!

Adamanewtown_on_RPi
Posts: 6
Joined: Sat Sep 26, 2020 11:40 am

Re: How to setup Minecraft 1.12.2 + Optifine + Forge On a Raspberry Pi 2B, 3B, 3B+ (Untested on Pi 4B)

Sat Sep 26, 2020 3:22 pm

launcher spits out this:

Code: Select all

Java HotSpot(TM) Client VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
[16:15:19] [main/INFO]: Loading tweak class name optifine.OptiFineTweaker
[16:15:19] [main/INFO]: Using primary tweak class name optifine.OptiFineTweaker
[16:15:19] [main/INFO]: Calling tweak class optifine.OptiFineTweaker
OptiFineTweaker: acceptOptions
OptiFineTweaker: injectIntoClassLoader
OptiFine ClassTransformer
OptiFine URL: file:/home/pi/.minecraft/libraries/optifine/OptiFine/1.12.2_HD_U_C5/OptiFine-1.12.2_HD_U_C5.jar
OptiFine ZIP file: /home/pi/.minecraft/libraries/optifine/OptiFine/1.12.2_HD_U_C5/OptiFine-1.12.2_HD_U_C5.jar
OptiFineTweaker: getLaunchArguments
OptiFineTweaker: getLaunchTarget
[16:15:19] [main/INFO]: Launching wrapped minecraft {net.minecraft.client.main.Main}
Java HotSpot(TM) Client VM warning: You have loaded library /home/pi/.minecraft/versions/1.12.2-OptiFine_HD_U_C5/1.12.2-OptiFine_HD_U_C5-natives-111938730197/liblwjgl64.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'.
[16:15:20] [main/ERROR]: Unable to launch
java.lang.reflect.InvocationTargetException: null
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_251]
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_251]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_251]
	at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_251]
	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-OptiFine_HD_U_C5/1.12.2-OptiFine_HD_U_C5-natives-111938730197/liblwjgl.so: /home/pi/.minecraft/versions/1.12.2-OptiFine_HD_U_C5/1.12.2-OptiFine_HD_U_C5-natives-111938730197/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_251]
	at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1934) ~[?:1.8.0_251]
	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1850) ~[?:1.8.0_251]
	at java.lang.Runtime.loadLibrary0(Runtime.java:870) ~[?:1.8.0_251]
	at java.lang.System.loadLibrary(System.java:1122) ~[?:1.8.0_251]
	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_251]
	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 bib.I(SourceFile:2825) ~[bib.class:?]
	at net.minecraft.client.main.Main.main(SourceFile:38) ~[Main.class:?]
	... 6 more
I scour these forums by day and night. Who am I? Adamanewtown, of course. ;) (RPi profile)


Turtles4Life715
Posts: 18
Joined: Sat May 16, 2020 3:53 pm

Re: How to setup Minecraft 1.12.2 + Optifine + Forge On a Raspberry Pi 2B, 3B, 3B+ (Untested on Pi 4B)

Sun Sep 27, 2020 2:05 am

I have Minecraft 1.8.9 but could you make forge work for this as well?
Please....

Adamanewtown_on_RPi
Posts: 6
Joined: Sat Sep 26, 2020 11:40 am

Re: How to setup Minecraft 1.12.2 + Optifine + Forge On a Raspberry Pi 2B, 3B, 3B+ (Untested on Pi 4B)

Sun Sep 27, 2020 9:03 am

thanks mike for the fast reply :D will check the link in a moment
I scour these forums by day and night. Who am I? Adamanewtown, of course. ;) (RPi profile)

Adamanewtown_on_RPi
Posts: 6
Joined: Sat Sep 26, 2020 11:40 am

Re: How to setup Minecraft 1.12.2 + Optifine + Forge On a Raspberry Pi 2B, 3B, 3B+ (Untested on Pi 4B)

Sun Sep 27, 2020 9:06 am

rpiMike wrote:
Sat Sep 26, 2020 4:05 pm
This may help:

viewtopic.php?f=78&t=284448
half-works, hangs system at the 'joining world' stage then game crashes with no error message

EDIT: I am using a 3b+
I scour these forums by day and night. Who am I? Adamanewtown, of course. ;) (RPi profile)

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

Re: How to setup Minecraft 1.12.2 + Optifine + Forge On a Raspberry Pi 2B, 3B, 3B+ (Untested on Pi 4B)

Sun Sep 27, 2020 9:10 am

Which Pi are you using? Running the MC via launcher really required Pi4 2Gb min.

Edit: just saw your edit - time to buy a Pi4 !

Adamanewtown_on_RPi
Posts: 6
Joined: Sat Sep 26, 2020 11:40 am

Re: How to setup Minecraft 1.12.2 + Optifine + Forge On a Raspberry Pi 2B, 3B, 3B+ (Untested on Pi 4B)

Sun Sep 27, 2020 9:12 am

oof - i cant buy one, i only have £10
I scour these forums by day and night. Who am I? Adamanewtown, of course. ;) (RPi profile)

Adamanewtown_on_RPi
Posts: 6
Joined: Sat Sep 26, 2020 11:40 am

Re: How to setup Minecraft 1.12.2 + Optifine + Forge On a Raspberry Pi 2B, 3B, 3B+ (Untested on Pi 4B)

Sun Sep 27, 2020 9:14 am

i think the optifine is problematic in this case though
I scour these forums by day and night. Who am I? Adamanewtown, of course. ;) (RPi profile)

Turtles4Life715
Posts: 18
Joined: Sat May 16, 2020 3:53 pm

Re: How to setup Minecraft 1.12.2 + Optifine + Forge On a Raspberry Pi 2B, 3B, 3B+ (Untested on Pi 4B)

Thu Oct 01, 2020 2:10 pm

Please make this work for 1.8.9 there's more mods available

EarlierPlane034yt
Posts: 4
Joined: Tue Aug 04, 2020 9:34 pm

Re: How to setup Minecraft 1.12.2 + Optifine + Forge On a Raspberry Pi 2B, 3B, 3B+ (Untested on Pi 4B)

Tue Oct 06, 2020 9:46 pm

i get this error cd ~/Minecraft/ && ./runForge1.12.sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 718 100 553 100 165 2203 657 --:--:-- --:--:-- --:--:-- 2872
todays access token = eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJiOGQ4NTU5MjkyNGM2MTZmODI0NjY3MzdkZTU0NTgxNSIsInlnZ3QiOiI1NTNiNmVkZWVjZDA0NDFmYTgxZjg5OWEyMjU2MzNlMiIsInNwciI6IjVlZjNhOWU5MmRhOTQ1MDRiMGI5YzcwMGVmZmNlY2M0IiwiaXNzIjoiWWdnZHJhc2lsLUF1dGgiLCJleHAiOjE2MDIxOTM1MzUsImlhdCI6MTYwMjAyMDczNX0.Y2_dLlVnvfziM-sJWwt79vnDfCdg4dBqbd_HNFb4bjg
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 85 100 68 100 17 340 85 --:--:-- --:--:-- --:--:-- 425
MINECRAFT_UUID=5ef3a9e92da94504b0b9c700effcecc4
./runForge1.12.sh: 53: ./runForge1.12.sh: /opt/jdk/jdk1.8.0_211/bin/java: not found

help whats wrong with it also I cant find the mods folder

Adamanewtown
Posts: 40
Joined: Sat May 09, 2020 6:18 pm

Re: How to setup Minecraft 1.12.2 + Optifine + Forge On a Raspberry Pi 2B, 3B, 3B+ (Untested on Pi 4B)

Wed Oct 28, 2020 6:00 pm

ya probs need to install java, but im not an expert so dont ask me :?
I scour these forums by day and night. Who am I? Adamanewtown, of course. ;)

Return to “Gaming”