User avatar
Gabriel
Posts: 73
Joined: Wed Aug 10, 2011 5:43 pm
Location: France

Re: Minecraft on Raspberry Pi ? (yes I m crazy)

Wed Aug 10, 2011 7:33 pm

Hello,
I was really surprising when I read that it was possible to run Quake 3 with good performances...
So why not Minecraft ?
What is Minecraft ? Just look at that : http://www.minecraft.net/
But this wonderfull game need (I hope I haven't forget any importants things) :

- a (powerfull) java virtual machina and maybe un official JVM :x (I haven't tried all non-sun JVM)
-> there is no official JVM for ARM :?

- a (not too bad) graphical chipset
-> if the raspberry Pi run Quake 3 why not Minecraft ?

However I know that Minecraft run with OpenGl.

I don't expect play Minecraft on a Rapsberry Pi ;) but I'm curious and this topic may help people who, like me, don't know very well ARM architecture and who want to "estimate" the power of this device (which as infinite possibilities even without Minecraft :P ) !

ps : If I had skill to I woud make a C++ coded open source fork of Minecraft lol
My home-made case : http://goo.gl/nprcI ; My presentation http://goo.gl/5hSar et en français : http://goo.gl/28Vif ; Please think to the FAQ and to the Wiki

Raikomaru
Posts: 15
Joined: Tue Aug 02, 2011 11:51 am

Re: Minecraft on Raspberry Pi ? (yes I m crazy)

Wed Aug 10, 2011 8:18 pm

I think Minecraft is, surprisingly, much too demanding for the Raspi. It has issues running even on some normal-powered computers, such as my laptop.

Willofield
Posts: 29
Joined: Sat Aug 06, 2011 11:10 am
Location: Oldenburg, Germany
Contact: Website

Re: Minecraft on Raspberry Pi ? (yes I m crazy)

Wed Aug 10, 2011 8:18 pm

I don't think it's possible, the graphics is really simple i know. The "real problem" should be the CPU because minecraft doesn't run well on many Netbooks and an Atom CPU or E350 APU is more powerfull than the one from the Raspi.

User avatar
liz
Raspberry Pi Foundation Employee & Forum Moderator
Raspberry Pi Foundation Employee & Forum Moderator
Posts: 5202
Joined: Thu Jul 28, 2011 7:22 pm
Contact: Website

Re: Minecraft on Raspberry Pi ? (yes I m crazy)

Wed Aug 10, 2011 8:25 pm

We'd love to see someone optimising it to work on the device, but I think that for now this is one of those wait-and-see questions!
Director of Communications, Raspberry Pi

gerits
Posts: 50
Joined: Thu Aug 04, 2011 11:50 am

Re: Minecraft on Raspberry Pi ? (yes I m crazy)

Wed Aug 10, 2011 8:26 pm

Minecraft requires about 750MB of memory (if the map isn't to big).
Java runs mostly on processing power, not on graphical power.
I think that answers your question, so sadly it's a no (even a server won't work due to insufficient memory)

To give you some hope: Mojang is working on a version for android, since android will run on the raspi, there is a small (not to big) chance it will work. But first you will have to port android to raspi.

User avatar
Gabriel
Posts: 73
Joined: Wed Aug 10, 2011 5:43 pm
Location: France

Re: Minecraft on Raspberry Pi ? (yes I m crazy)

Wed Aug 10, 2011 8:27 pm

Quote from Willofield on August 10, 2011, 21:18
I don't think it's possible, the graphics is really simple i know. The "real problem" should be the CPU because minecraft doesn't run well on many Netbooks and an Atom CPU or E350 APU is more powerfull than the one from the Raspi.

Your right, Minicraft doesn't run fast on netbooks but I forgot to say that Minecrat run quite good (no lag) on my asus 1015 PEM with 2* 1,2 Ghz and 2go of ram.
My home-made case : http://goo.gl/nprcI ; My presentation http://goo.gl/5hSar et en français : http://goo.gl/28Vif ; Please think to the FAQ and to the Wiki

User avatar
Gabriel
Posts: 73
Joined: Wed Aug 10, 2011 5:43 pm
Location: France

Re: Minecraft on Raspberry Pi ? (yes I m crazy)

Wed Aug 10, 2011 8:33 pm

Quote from gerits on August 10, 2011, 21:26
Minecraft requires about 750MB of memory (if the map isn't to big).
Java runs mostly on processing power, not on graphical power.
I think that answers your question, so sadly it's a no (even a server won't work due to insufficient memory)

Yes, thank you I had'nt found the RAM requirements.
Anyway I didn't hope a lot ;) but liz may be right : wait and see...
My home-made case : http://goo.gl/nprcI ; My presentation http://goo.gl/5hSar et en français : http://goo.gl/28Vif ; Please think to the FAQ and to the Wiki

gerits
Posts: 50
Joined: Thu Aug 04, 2011 11:50 am

Re: Minecraft on Raspberry Pi ? (yes I m crazy)

Wed Aug 10, 2011 9:00 pm

I found this link: http://www.game-requirements.c.....=Minecraft

But I would just wait for the android version to arrive and hope it's not a sony exclusive.

bnolsen
Posts: 76
Joined: Sat Aug 13, 2011 5:37 pm

Re: Minecraft on Raspberry Pi ? (yes I m crazy)

Wed Aug 17, 2011 4:53 pm

There's some c++ knockoffs of minecraft coming out. Here's a link to one of those:
http://celeron.55.lt/minetest/

Yussuf
Posts: 24
Joined: Sun Aug 14, 2011 11:09 am

Re: Minecraft on Raspberry Pi ? (yes I m crazy)

Thu Aug 18, 2011 12:34 pm

I think this version should work better. And even if not: We still can make our own. :P

acidRain
Posts: 6
Joined: Wed Sep 14, 2011 7:44 am

Re: Minecraft on Raspberry Pi ? (yes I m crazy)

Thu Sep 15, 2011 7:29 am

It would be very nice if there was just a way to run a Minecraft server on this, even if its just for those C++ ports...a small low powered server for just me and some buddies to build on in creative mode, (ver 1.8, Adventure Update, FTW!) and none of us are on at the same time, as I've moved to italy for a time...

blc
Posts: 465
Joined: Mon Sep 05, 2011 9:28 am

Re: Minecraft on Raspberry Pi ? (yes I m crazy)

Thu Sep 15, 2011 8:27 am

It is a crazy idea!! :)

Even if you managed to get over the hardware requirements, you'd still run into problems with Java. Minecraft requires the official Sun JDK/JVM and will not run on ports such as OpenJDK. From what I've read, it's unclear whether the RasPi will run the official Java due to the ARM architecture.

Awesome as it would be, the RasPi sadly doesn't have the power to run Minecraft. I doubt you'd even get away with running the server; I used to run it on a virtual host (1.5GHz CPU guaranteed, 512MB RAM) and it would choke badly when there were more than 3 or 4 players. As for the client version, it's a serious memory hog; after the 1.8 update yesterday, I noticed that the Java process in the task manager was using close to 1GB of RAM.

Notch (the Minecraft creator) has stated he plans to make the code open source, but only after its popularity declines and only after an unpsecified amount of time has passed since the launch of the full version (which hasn't even happened yet!). The only hope you have for a port is the Android version - assuming someone can get Android running on the RasPi. That version however is currently limited to Xperia Play handsets, and it's speculated that it'll only be released on other handsets that Sony approve as "Playstation Certified" (meaning powerful CPU, lots of RAM and beefy graphics). You could write a clone in c/c++, but to me that just wouldn't be Minecraft...

acidRain
Posts: 6
Joined: Wed Sep 14, 2011 7:44 am

Re: Minecraft on Raspberry Pi ? (yes I m crazy)

Thu Sep 15, 2011 9:33 am

Can we get a C++ server that would interact with Java Clients?

blc
Posts: 465
Joined: Mon Sep 05, 2011 9:28 am

Re: Minecraft on Raspberry Pi ? (yes I m crazy)

Thu Sep 15, 2011 10:08 am

Quote from acidRain on September 15, 2011, 10:33
Can we get a C++ server that would interact with Java Clients?

You'd have to write one yourself and make it compatible with the official Minecraft client. Without access to the official source code, that's not very likely. And it's not very likely that you'd get access to the source code either; you might be able to reverse engineer the JAR files provided, but that'd probably get you into some trouble with Mojang. To be honest, making a server clone that's compatible with the official client would probably also get you into trouble with Mojang.

They don't really have a problem with people cloning the idea - at least, they haven't started any legal proceedings, unlike many other developers/publishers - and there are Minecraft clones out there, including one that is (or at least was) planned for the Xbox Live market. But they do have a problem when it comes to people messing with or distributing their source code. Mods, addons, plugins, etc, are okay, but porting the official client or server, or making a compatible clone, is well beyond the realm of modding. I wouldn't fancy my chances against whatever legal team Mojang has - Markus Persson made an awful lot of money from Minecraft, and a lot of that probably went into Mojang.

Short answer: I'm afraid it's just not on the cards.

WASD
Posts: 48
Joined: Sat Sep 10, 2011 8:28 pm

Re: Minecraft on Raspberry Pi ? (yes I m crazy)

Thu Sep 15, 2011 10:59 am

I have a Ubuntu Server with 512mb ram and a minecraft server uses more than half of that. I have apache and a few other stuff running. It's around 50% usage in Idle (with cache) and a minecraft server brings it close to 100%, even when noone is online. Which makes me think the server wants more than the 256mb ram it can take. It is suggested on minecraft.net that you start it with 1024mb ram.

So I strongly doubt it will work on 256mb ram. If it does, it could probably handle max 1 player. Java is so ram-hungry.

User avatar
emercer
Posts: 165
Joined: Sun Aug 07, 2011 1:54 am
Location: Sao Paulo, Brazil
Contact: Website

Re: Minecraft on Raspberry Pi ? (yes I m crazy)

Thu Sep 15, 2011 3:58 pm

Ok, you guys do know that Minecraft Pocket runs on Android, right? (Only in the Xperia Play, but that is because of hardware requirements, not software). https://market.android.com/details?id=c ... inecraftpe

The Play has a 1GHz Snapdragon and an Adreno 205 GPU. AFAIK, RasPi has a better GPU and a worse GPU, perhaps they balance out... Now all we need is one of those Dalvik-to-generic-Linux ports already happening to run Android apps on the RasPi.

blc
Posts: 465
Joined: Mon Sep 05, 2011 9:28 am

Re: Minecraft on Raspberry Pi ? (yes I m crazy)

Thu Sep 15, 2011 5:42 pm

Quote from emercer on September 15, 2011, 16:58
Ok, you guys do know that Minecraft Pocket runs on Android, right? (Only in the Xperia Play, but that is because of hardware requirements, not software). https://market.android.com/details?id=c ... inecraftpe

The Play has a 1GHz Snapdragon and an Adreno 205 GPU. AFAIK, RasPi has a better GPU and a worse GPU, perhaps they balance out... Now all we need is one of those Dalvik-to-generic-Linux ports already happening to run Android apps on the RasPi.

I do indeed - in fact, I mentioned it. I also mentioned that it's still not clear whether it will be opened up to *all* Android devices, or only those that Sony approve (through the Playstation Certified scheme). In order to get hold of the APK - legally - you have to buy it through the Market, and the Market won't let you buy it unless you have a compatible device.

Even if it is still possible, the pocket version is only Creative mode; it's not quite the same as the Survival mode on a desktop PC.

Quote from blc on September 15, 2011, 09:27
The only hope you have for a port is the Android version - assuming someone can get Android running on the RasPi. That version however is currently limited to Xperia Play handsets, and it's speculated that it'll only be released on other handsets that Sony approve as "Playstation Certified" (meaning powerful CPU, lots of RAM and beefy graphics).

User avatar
emercer
Posts: 165
Joined: Sun Aug 07, 2011 1:54 am
Location: Sao Paulo, Brazil
Contact: Website

Re: Minecraft on Raspberry Pi ? (yes I m crazy)

Thu Sep 15, 2011 6:28 pm

Oops, I seem to have jumped right over your mention of the Android port. Yep, it's limited to "Playstation Certified" devices (for now), but it proves that the client is feasable, at the very least. Notch's been contracting ports for several devices (including the Kinect), so it's quite possible that the spread of ARM tablets will get the game ported (in due time) to Linux on ARM, or something close enough to it to get it compiled on the RasPi.

Probability? Low, but certainly not null.

ahven
Posts: 12
Joined: Tue Aug 30, 2011 2:02 pm

Re: Minecraft on Raspberry Pi ? (yes I m crazy)

Fri Sep 16, 2011 7:56 am

http://celeron.55.lt/minetest/ seems currently the only way to go. I *might* give it a go and try to build it under my arm rootfs.

EDIT: The server part is compiled and it runs, will leave rest of it (trying out the client and server optimization perhaps?) until the real hardware is in my hands.

willrandship
Posts: 51
Joined: Tue Sep 13, 2011 5:08 pm

Re: Minecraft on Raspberry Pi ? (yes I m crazy)

Fri Sep 16, 2011 5:51 pm

Minecraft is so horribly unoptimized that a C++ rewrite of it could run on old 800 mhz PIII CPUs with integrated graphics. It's a great game, though! :P

The C++ servers could be fairly easily ported to this: They only take 10% (quote from one of their pages) of what the official Java one does, but keep in mind they are fairly buggy and probably won't update very quickly.

Not sure about the client, that's a whole different issue.

Bikko
Posts: 80
Joined: Sat Sep 10, 2011 3:18 pm

Re: Minecraft on Raspberry Pi ? (yes I m crazy)

Mon Oct 24, 2011 6:45 am

It should run fine, Although it is a cut down version I have it on my dell streak 5"

Ampix0
Posts: 94
Joined: Sat Oct 22, 2011 3:03 am

Re: Minecraft on Raspberry Pi ? (yes I m crazy)

Mon Oct 24, 2011 12:45 pm

My AMD phenom2 3.0Ghz x4 processor and XFX ATI 5770 GFX still crashes once in a while playing minecraft.
That came is coded like shit. Its fun! but coded like shit

nvoid82
Posts: 18
Joined: Tue Oct 25, 2011 3:07 pm

Re: Minecraft on Raspberry Pi ? (yes I m crazy)

Tue Oct 25, 2011 4:14 pm

Quote from gerits on August 10, 2011, 21:26
Minecraft requires about 750MB of memory (if the map isn't to big).
Java runs mostly on processing power, not on graphical power.
I think that answers your question, so sadly it's a no (even a server won't work due to insufficient memory)

To give you some hope: Mojang is working on a version for android, since android will run on the raspi, there is a small (not to big) chance it will work. But first you will have to port android to raspi.


Minecraft can be launched with less than 256 megs with a terminal command, and it will run fine without sound on 128 megs.

Also, using said terminal commands, I've been able to get it to a semi playable state on my 800mhz ibook G3.

The main problem with minecraft on the raspberry pi will probably be a version of LWJGL for open Gl ES.

nvoid82
Posts: 18
Joined: Tue Oct 25, 2011 3:07 pm

Re: Minecraft on Raspberry Pi ? (yes I m crazy)

Sun Nov 13, 2011 6:12 pm

Apparentaly, there is a version of LWJGL for open gl es. Technically, minecraft on the pi should be possible.

portets
Posts: 186
Joined: Sat Oct 29, 2011 6:24 am

Re: Minecraft on Raspberry Pi ? (yes I m crazy)

Sun Nov 13, 2011 8:31 pm

i think it'd be better to help out the open source minecraft clone mentioned previously. http://c55.me/minetest/index.php

never played minecraft but this minetest seems like a great start. just tried it and runs great.

being gpl, we can easily band together to make it full-featured and pi-optimised.

edit: and it's free.
edit2: there's also another gpl minecraft clone in pygame http://pygame.org/project-DigD.....1830-.html

Return to “General discussion”