Anyway, I've been waiting for minecraft to appear on the Pi since it was announced in Nov 2012, the api into the game really appeals and I'm really keen to play about with it and I cant believe I didn't know that a pre-release version was leaked. I was itching to have a go and this is how I installed it:
NOTE - The official release of Minecraft is now available, see this post for how to install Minecraft: Pi Edition.
Open LXTerminal from the X desktop
Download
The pre-release was made available for download on dropbox.
Extract
tar -zxvf minecraft-pi-0.1.tar.gz?dl=1
Execute
cd mcpi
./minecraft-pi
./minecraft-pi
Note - minecraft has to be run directly on the Pi, it wont work from ssh or via a desktop viewer e.g. TightVNC.
Be warned, this pre release version has a number of bugs.
Update - I've been playing around with the Minecraft API and have included a video and source code.
Can you do it over ssh some how like -x?
ReplyDeleteI dont think so, i tried with tightvnc and even that didnt work. I suspect the bandwidth requirements would be too high and there would be challenges with 3d as well. Dont let me put you off though, have a go, if you get it working let me know.
ReplyDeleteI got that tar.gz file by usb flash drive and it's on desktop. ((/home/pi/desktop) what ever the location was) How I install it that way?
ReplyDeleteModify the extract command to use your file, something like:
Deletetar -zxvf /home/pi/desktop/minecraft-pi-0.1.tar.gz
You will have to run it from the alternative different location as well.