Full PC Minecraft on Raspberry Pi 2
This is a Raspberry Pi. You have probably heard of this gadget. A very inexpensive and small ARM computer meant for people to learn how to program or for makers to build projects and prototypes. So, when Humble Bundle started a book bundle for 336 dollars worth of books for Raspberry Pi and Arduino projects which you should absolutely buy from the link in the description or card, if you dig this kinda stuff. Cough cough I thought to myself, is there any quick interesting gaming experiment I can do on this computer? I mean, everyone knows there is a ton of emulation you can do with this device but I kept wondering if there is any full PC game I can play on this? Here is the thing, the Raspberry Pi is an ARM computer, so it uses an entirely different architecture than PC, so PC games would have to be ported and recompiled in order to be able to work on a Raspberry Pi.
But there is one exception that I know off. Minecraft! I am talking full feature PC Minecraft! As you may know the Minecraft Pi Edition pre installed on many Pis is little more than a demo of an old version of Minecraft meant for learning programming. It is really old, and lacks a lot of features from the full PC deal. But the full PC game runs on Java, and all java programs run on top of a Java virtual machine (side note, this one of the reasons Java is present in so many devices) so as long as java is present on the Raspberry Pi, it should be able to run Minecraft with the right libraries.
So I decided to use a Raspberry Pi 2 that I had laying around, this is computer with a Broadcom BCM2836 Arm7 Quad Core Processor at 900MHz and 1 GB of ram. So, I will be using this website that several people have sent to me, which is linked in the description. An amazing guide by rpiMike. For those who for some reason have never heard of this computer, it is very easy to set it up and the most basic operating system you can run on it is a flavor of Linux known as raspdebian, which is what I am using. In a linux terminal, after making sure I had the latest version and upgrades I used this command to install the latest OpenGL drivers. Don’t worry about taking note of this, if you want to try this yourself for some reason. The guide in the description has the commands for you to copy and paste if you want to do that. And after creating a couple of directories and downloading the main minecraft java executable you can run the Minecraft interface through java where you can put your account and password, select a version of minecraft and download it, just like in a normal PC.
Except for the fact that the thing crashes if you try to start any version of the game because there is a ton of libraries missing. Which can be easily fixed with this command and this command. With all set and done rpiMike offers a run script that will set up the variables needed for you to run the game. You just need to open the file in the text editor and change the variables so it has your correct Minecraft login details One consideration tough this guide was written for version 1.of Minecraft. You should be able to modify the run script to change the version but all other versions I tried just crashed. So, since I was just interested in testing I decided to limit myself to 1.8.9.
But before running I took a short detour to enter the raspberry pi options and enable the high overclocking profile for a bit extra performance. Reboot, and run the script. After putting all the game’s settings to the lowest I noticed this poor thing could barely push over 16 frames per second. So, the next step is optifine, which can be installed also through a process in a link in the description. Now, the scripts from this link in the description will only work on a very specific version of Optinie. 1.H3, which is also linked the description. I tried modifying it to see I could get a newer optifine there, but I am afraid my knowledge on Java libraries could not get me very far. So, download that version of Optifine, fire it up with the java command and install it. Open the mine craft launcher again, select the correct version of optifined minecraft and download it, once again the launcher will crash due to missing libraries. Now it is simply a matter of creating a Libraries directory in the Minecraft folder, downloading asm 5.from this link, also in the description, unzip in the Libraries folder and download the updated run.sh script, and once again add your login details, change the permissions and run it.
As I said before, if you are new to Linux and you are trying to reproduce this steps, do not worry: the guide in the description has everything for you to copy and paste in your terminal. It’s really easy. Now optifine opens up a series of new options and stuff to disable. I disabled all the animations, made sure all switches where to their lowest or fastest option before trying again.
The results was Minecraft, on a raspberry Pi with an average of about 20… FPS? More or less? So, is it possible to run full minecraft on raspberry Pi? Yes, in fact this was supposed to be a quick video test but I am confident if I put enough time there is probably a way of running a newer versions, as 1.boots without problem. Would I recommend this? Probably not. I do not think any effort on optimization has gone into making minecraft execute better on an ARM cpu and even something as weak as the Compute Stick v1 runs it better.
Although… to be fair that thing is several times the cost of a Raspberry Pi…. So maybe this is the cheapest computer able to “Run” minecraft. Well. You tell me. This was an interesting quick experiment. I wonder if there is any other PC related game I can remotely get running here. Sadly the ARM architecture puts any Windows bound game out of questions, but hey… maybe there is more experimentation to be done. Thank you to the people who choose to donate in Patreon for these videos, as always. See you, in the next video..