Hello,
The installation seems to have worked, an mcpipatched file was created in mcpi.
When entering the first command in lxterminal to run the patched version, nothing seems to happen.
When entering the second command, I get a number of error messages.
from:/ can't read /var/mail/connection
from:/ can't read /var/mail/vec3
from:/ can't read /var/mail/event
from:/ can't read /var/mail/blcok
./mcpipatched: line 5: import: command not found
from:/ can't read /var/mail/util
./mcpipatched: line 7: $'\r': command not found
...
Followed by other errors command not find, a syntax error, an unexpected token, etc.
I am new to linux and raspberry, thanks for your help!
Matteo42
and incase you all dont know we are in 2015 now and have a "newer" version of mcpi what im saying is that i had to find that real old version to even start because the newer versions file layout is different!! hopefully people still look at this so HELPPPP!
is this a waste of time ????????????????????????????????????????
point is that you must collect wood to create the workbench to "unlock" other craft stuffs.
it's a mix of PE version and PI version so as previously mentionned, your need to "maintain the click" and move from top to bottom or from to bottom to top to see all the hidden items into the menu.
This patched version is connected to... Python 2.6 as well ! That's really fantastic !!!
Unfortunately the full screen is a bit annoying (I didn't find a work around from my Rasbian)
and you cannot swap from window mode to full screen mode. Ad there is no EXIT button
xD !
But... there is a way !
You need to connect remotely from your PC to your Rasberry Pi via SSH/ PuttySSH and controle everything with a Linux command window.
The rest is the standard process :
-Login with user Pi and default password (if you didn't change it) raspberry
-Linux prompt with shows up. Type python
-Launch Minecraft game
-Connect Python to Minecraft by typing under Python prompt:
from mcpi import minecraft
mc = minecraft.Minecraft.create()
and then you can do whatever tuto you want from v0.1.1 ^^
You can add blocks, create building, etc...
Hahahah ...don't forget to save your game from Python because nothing will be saved !!
type : mc.saveCheckpoint()
and I recommand you to manually proceed to some back-up !
Now you are cool, you maybe want to have day & night.
Save and Exit the game (find explanation in bellow) . if you start a game from patch v0.6.1, you might notice that your game is still indicated as "Creative mode"
You need to change the value within level.dat file to run "survival mode".
On your Raspberry Pi, go to the worlds folders and make a copy first.
open the level.dat with your preferred Hexadecimal editor .
search the tag "GameType" and just after, if your file is in creative mode, you should have 01 value
Replace the value from 01 to 00. Save. It's done.
Now you will have day and nights and also agressive mobs that will be spawned on the map.
Unfortunately you cannot... shoot them yet.
But you can kill them with Dynamites, Lava (or arrows). You need to spans those blocks with Python commands....
How to exit the game
To quit the game, from your PC and PuttySSH, exit python by typing exit()
You are now under Linux prompt. Type Top and find the PID for minecraft-pi (digit 4 numbers normally)
type kill -9 <PID>
<PID> of course is the 4 digit you've got by TOP..
Voila ! Enjoy !
At last but not least, we cannot kill the mobs because... I think our weapon are by default to 0 damage.
So we need to change value within level.dat file for weapon and I know a way as well to add
If MCPE Editor is working, it might be easier. On the previous version, I failed to make it run...
.
I will try asap and let you know guys.
I might post something soon or later with more details here >
If you run the patched binary directly with full OpenGL+KMS enabled, this is expected. Check out the wrapper script at /usr/bin/minecraft-pi, and ensure that you run mcpipatched in the same way. Alternatively you could disable the vc4-kms-v3d overlay. More info about it in a thread on the Pi forums.
Anyone know how to fix "Couldn't create SDL window" error on patched MCPI ? Some missing SDL libs ? Wrong MCPI version ? I've used 0.1.1.
On which MCPI version this survival mode patch works then ?
Maybe some MD5/SHA1 checksum of original "minecraft-pi" on which patch works ?
adebc576e527ab39e527ba1ffc489dd8 is the md5sum of the minecraft-pi binary to start with, but considering this program hasn't been updated in five years I doubt that's your issue. I'm guessing the fullscreen patch assumes a 1080p resolution and you may not have the expected video mode. You could troubleshoot by enabling fullscreen programmatically and debugging it from there. See my post on how to tweak SDL which I came up with before hearing about this patch.
Any chance of getting source code for this as I'm looking at modding and updating mc pi edition and this would help alot.
There could be useful scripts for analyzing the minecraft-pi binary but there may not be any source code of the sort you're imagining. The various changes appear to have been hex-edited by hand. To see the 12 modified instructions, run
Hello. I am having a problem regarding actually running the patch. the patching goes fine, and the executable file appears. However, when I try to launch it from a terminal: ./mcpipatched: error while loading shared libraries: libGLESv2.so: cannot open shared object file: No such file or directory. Launching it from the graphical file manager does nothing to help. It just does nothing. Please help, as I am looking forward to exploring the patch.
The installation seems to have worked, an mcpipatched file was created in mcpi.
When entering the first command in lxterminal to run the patched version, nothing seems to happen.
When entering the second command, I get a number of error messages.
from:/ can't read /var/mail/connection
from:/ can't read /var/mail/vec3
from:/ can't read /var/mail/event
from:/ can't read /var/mail/blcok
./mcpipatched: line 5: import: command not found
from:/ can't read /var/mail/util
./mcpipatched: line 7: $'\r': command not found
...
Followed by other errors command not find, a syntax error, an unexpected token, etc.
I am new to linux and raspberry, thanks for your help!
Matteo42
cd mcpi
but pi is telling me that there's no such directory
some help pleaseeeeeeeee
nm!
nm
umm well i got
pi@Kolbe15AMFO ~/mcpi $ bspatch minecraft-pi mcpipatched mcpifull.bsdiff
pi@Kolbe15AMFO ~/mcpi $ chmod +x mcpipatched
pi@Kolbe15AMFO ~/mcpi $ ./mcpipatched
Segmentation fault
pi@Kolbe15AMFO ~/mcpi $
and incase you all dont know we are in 2015 now and have a "newer" version of mcpi what im saying is that i had to find that real old version to even start because the newer versions file layout is different!! hopefully people still look at this so HELPPPP!
is this a waste of time ????????????????????????????????????????
NEVERMIND FIXED
BUT I DONT KNOW HOW TO CRAFT
crafting aint work
FIXED
can you put more recepies
like using all items , and i cant shoot bow + arrow
There is all the recipes already I think...
point is that you must collect wood to create the workbench to "unlock" other craft stuffs.
it's a mix of PE version and PI version so as previously mentionned, your need to "maintain the click" and move from top to bottom or from to bottom to top to see all the hidden items into the menu.
This patched version is connected to... Python 2.6 as well ! That's really fantastic !!!
Unfortunately the full screen is a bit annoying (I didn't find a work around from my Rasbian)
and you cannot swap from window mode to full screen mode. Ad there is no EXIT button
xD !
But... there is a way !
You need to connect remotely from your PC to your Rasberry Pi via SSH/ PuttySSH and controle everything with a Linux command window.
The rest is the standard process :
-Login with user Pi and default password (if you didn't change it) raspberry
-Linux prompt with shows up. Type python
-Launch Minecraft game
-Connect Python to Minecraft by typing under Python prompt:
from mcpi import minecraft
mc = minecraft.Minecraft.create()
and then you can do whatever tuto you want from v0.1.1 ^^
You can add blocks, create building, etc...
Hahahah ...don't forget to save your game from Python because nothing will be saved !!
type : mc.saveCheckpoint()
and I recommand you to manually proceed to some back-up !
Now you are cool, you maybe want to have day & night.
Save and Exit the game (find explanation in bellow) . if you start a game from patch v0.6.1, you might notice that your game is still indicated as "Creative mode"
You need to change the value within level.dat file to run "survival mode".
On your Raspberry Pi, go to the worlds folders and make a copy first.
open the level.dat with your preferred Hexadecimal editor .
search the tag "GameType" and just after, if your file is in creative mode, you should have 01 value
Replace the value from 01 to 00. Save. It's done.
Now you will have day and nights and also agressive mobs that will be spawned on the map.
Unfortunately you cannot... shoot them yet.
But you can kill them with Dynamites, Lava (or arrows). You need to spans those blocks with Python commands....
How to exit the game
To quit the game, from your PC and PuttySSH, exit python by typing exit()
You are now under Linux prompt. Type Top and find the PID for minecraft-pi (digit 4 numbers normally)
type kill -9 <PID>
<PID> of course is the 4 digit you've got by TOP..
Voila ! Enjoy !
At last but not least, we cannot kill the mobs because... I think our weapon are by default to 0 damage.
So we need to change value within level.dat file for weapon and I know a way as well to add
If MCPE Editor is working, it might be easier. On the previous version, I failed to make it run...
.
I will try asap and let you know guys.
I might post something soon or later with more details here >
https://mcpiaddict.wordpress.com/
If you have any thing you want to share with this patch : don't hesitate !!!
Cheers !
Could you tell us how to get to the minecraft pi directory?
you need tnt to get apples and saplings and tnt is almost impossble to get
Hello I just downloaded this, and everything works GREAT, but I can't kill ANYTHING. is there a way to make this possible?
Thanks!
Can you please do a tutorial because I´m confused on how to down download it.
Hi,
I tried everything and tehe last step was:
and I get:
If you run the patched binary directly with full OpenGL+KMS enabled, this is expected. Check out the wrapper script at /usr/bin/minecraft-pi, and ensure that you run mcpipatched in the same way. Alternatively you could disable the vc4-kms-v3d overlay. More info about it in a thread on the Pi forums.
adebc576e527ab39e527ba1ffc489dd8 is the md5sum of the minecraft-pi binary to start with, but considering this program hasn't been updated in five years I doubt that's your issue. I'm guessing the fullscreen patch assumes a 1080p resolution and you may not have the expected video mode. You could troubleshoot by enabling fullscreen programmatically and debugging it from there. See my post on how to tweak SDL which I came up with before hearing about this patch.
There could be useful scripts for analyzing the minecraft-pi binary but there may not be any source code of the sort you're imagining. The various changes appear to have been hex-edited by hand. To see the 12 modified instructions, run
Also recommended to follow Phirel's useful tip of disassembling libminecraftpe.so from an older version of Pocket Edition.
Hello. I am having a problem regarding actually running the patch. the patching goes fine, and the executable file appears. However, when I try to launch it from a terminal: ./mcpipatched: error while loading shared libraries: libGLESv2.so: cannot open shared object file: No such file or directory. Launching it from the graphical file manager does nothing to help. It just does nothing. Please help, as I am looking forward to exploring the patch.
It worked! Thanks! Now I´m a happy crafter!
Ugh, that sounded really cringy ლ(ಠ益ಠლ)
this its awesome and thanks for making such a great mod!
-Michael18751
(This is my new Minecraft forum account I originally joined in 2015)
I have played Minecraft since 2012 and I mostly play on JAVA edition.
My YouTube!: Link
Join My discord!: Link
Minecraft Java Edition on the Raspberry Pi:
https://www.raspberrypi.org/forums/viewtopic.php?t=186547