×

Welcome to the Slashdot Beta site -- learn more here. Use the link in the footer or click here to return to the Classic version of Slashdot.

Thank you!

Before you choose to head back to the Classic look of the site, we'd appreciate it if you share your thoughts on the Beta; your feedback is what drives our ongoing development.

Beta is different and we value you taking the time to try it out. Please take a look at the changes we've made in Beta and  learn more about it. Thanks for reading, and for making the site better!

Minecraft Ported To the Raspberry Pi

Soulskill posted about a year ago | from the port-it-to-a-computer-built-inside-minecraft dept.

Games 57

An anonymous reader writes "The amusing 'but does it run Crysis?' question has a cousin: 'but does it run Minecraft?' The makers of Raspberry Pi can now officially say that yes, yes it does. Called Minecraft: Pi Edition, the latest flavor of the popular game carries 'a revised feature set' and 'support for several programming languages,' so you can code directly into Minecraft before or after you start playing. That means you can build structures in the traditional Minecraft way, but you can also break open the code and use a programming language to manipulate things in the game world."

cancel ×
This is a preview of your comment

No Comment Title Entered

Anonymous Coward 1 minute ago

No Comment Entered

57 comments

Hmm (1)

The MAZZTer (911996) | about a year ago | (#42084873)

Is it really ported or still running on Java? The API for hooking into the game world and controlling it sounds pretty cool though.

Re:Hmm (4, Informative)

PhrostyMcByte (589271) | about a year ago | (#42084881)

Java has yet to be ported to the Pi's floating-point, so the only option is to use soft floats. I can't imagine Minecraft running at any acceptable speed. LibreOffice is also painfully unusable on the Pi at the moment, but I don't know how much that depends on float ops.

Re:Hmm (1)

FutureDomain (1073116) | about a year ago | (#42085041)

Java has yet to be ported to the Pi's floating-point, so the only option is to use soft floats.

Does Minecraft work with Icedtea? From what I've seen Icedtea works fine with hard floats, it's just the Oracle Java that doesn't support it yet.

Re:Hmm (0)

noh8rz9 (2716595) | about a year ago | (#42085209)

i played the lite minecraft for 5 mins on my ipad, and it was really really dumb. i just dug a hole for 5 mins, but never got to the bottom. then i couldnt get out.

Re:Hmm (3, Insightful)

sammyF70 (1154563) | about a year ago | (#42085569)

"i played the lite minecraft for 5 mins on my ipad, and I was really really dumb. i just dug a hole for 5 mins, but never got to the bottom. then i couldnt get out."

There.. fixed for you.

Re:Hmm (1)

noh8rz10 (2716597) | about a year ago | (#42087637)

dood, have you ever even played that game? it makes me feel like a redard, placing blocks and deleting blocks. have you seen the thing where people make entire structures using it? lame brain, you know what I mean?

Re:Hmm (3, Informative)

Shark (78448) | about a year ago | (#42085457)

I can confirm that Minecraft runs on Icedtea (it's what I usually run it on), though there's an issue with hardcoded library paths on my system which is easily fixed.

Re:Hmm (1)

tudza (842161) | about a year ago | (#42085473)

Isn't there a version of the OS that allows standard Java to run on it? Tried to load it, couldn't get it to work.

Re:Hmm (-1)

Anonymous Coward | about a year ago | (#42085501)

Minecraft doesn't run at an acceptable speed on any non-windows platform.

Re:Hmm (5, Informative)

petermgreen (876956) | about a year ago | (#42086265)

Quick summary of the java situation on raspbian:

Oracle java doesn't currently work on armv6 hard float.
Openjdk with zero works but is SLOW
Openjdk with jamvm works and seems to be the most workable option right now
Openjdk with cacao is broken on all arm hardfloat platforms at the moment*.
I haven't tried openjdk with shark or avian.

* see debian bugs 688703 [debian.org] and 688702 [debian.org]

Re:Hmm (0)

Anonymous Coward | about a year ago | (#42086381)

It doesn't run at acceptable speeds on a core processor with a proper 3D card.

Re:Hmm (2)

hobarrera (2008506) | about a year ago | (#42085005)

Even though minecraft is java, it uses several native libraries, liblwjgl is one of them.
These *need* to be ported to the target OS+archtecture in order to run minecraft.

Re:Hmm (0)

Anonymous Coward | about a year ago | (#42087593)

It uses one library that needs natives, lwjgl.
Which is FOSS and cross-platform, just build it for your arch.

Re:Hmm (1)

cb88 (1410145) | about a year ago | (#42085319)

No it is the pocket edition. Written in C++ it has/had a limited world size also rather small acutally...

Re:Hmm (2)

Ford Prefect (8777) | about a year ago | (#42085355)

It's apparently a port of Minecraft Pocket Edition [minecraftwiki.net], which is already on Android and iOS. No idea as to the programming language, but I fully imagine it's something with less of a footprint than a full-sized JVM.

Nostalgia Sorta (3, Insightful)

Anonymous Coward | about a year ago | (#42084879)

I remember the days of not 'IF it can run' but 'lets MAKE it run Doom'...

Re:Nostalgia Sorta (5, Informative)

Ford Prefect (8777) | about a year ago | (#42085343)

Some time last year I'd vaguely heard about the Raspberry Pi, and how it was a super-cheap, super-basic ARM board. I'd really not been paying much attention when I happened to click on a YouTube link [youtube.com] apparently showing the Raspberry Pi running 'Quake'.

That's nice, I thought - expecting a 320x200 software-rendered Quake 1 running at an abysmal framerate, in a let's-try-one-up-from-Doom kind of way.

Shitting heck, it was Quake 3 - running at an anti-aliased 1080p at quite a speed.

Having owned multiple, expensive generations of PCs incapable of that kind of graphical performance - nostalgia's awful. Can't they just run Doom and be happy? Stop this relentless, amazing progress, please!

Re:Nostalgia Sorta (0)

Anonymous Coward | about a year ago | (#42087379)

Quake 3 will be 13 years old in a week.

Re:Nostalgia Sorta (1)

tlhIngan (30335) | about a year ago | (#42095227)

Some time last year I'd vaguely heard about the Raspberry Pi, and how it was a super-cheap, super-basic ARM board. I'd really not been paying much attention when I happened to click on a YouTube link apparently showing the Raspberry Pi running 'Quake'.

That's nice, I thought - expecting a 320x200 software-rendered Quake 1 running at an abysmal framerate, in a let's-try-one-up-from-Doom kind of way.

Shitting heck, it was Quake 3 - running at an anti-aliased 1080p at quite a speed.

The thing is, the chip used in the Pi was designed for media streamers (and smart TVs and such) - the things you hook onto your TV to watch stuff off the network or internal storage. As such, it actually has a remarkably powerful GPU. The only reason there's a weak ARM there is for low-cost products - they can take advantage of the ARM for their UI duties while the GPU handles the video and graphical processing (you can talk to the GPU over a high speed bus if you don't want to use the built in CPU).

And that's what people forget - the CPU is weak because it's designed for low-cost, and saving having to add a chip (and stuff like RAM, etc) means they only need a single chip that does it all. The ARM handles UI/network/USB, the GPU handles media (and the ARM is more than powerful enough for that role). The chip's a GPU-first, CPU second meant to shave $5 off the BOM for an external ARM processor.

mood d0wn (-1)

Anonymous Coward | about a year ago | (#42085023)

by the politickers go find something FreeBSD used to Came as a complete Won't be sta8ding to this. For And I probably - Netcraft has

The gauge of a successful platform? (0)

Anonymous Coward | about a year ago | (#42085119)

You know how well a platform is doing when Minecraft is being officially ported to it ;)

WIN.

Yes but... (2)

loony (37622) | about a year ago | (#42085195)

... does it run emacs?

Re:Yes but... (1, Flamebait)

Cito (1725214) | about a year ago | (#42085321)

Hell even trying to run Pico on the Pi bogs it down and VI brings it to it's knees as bad as a forkbomb.

so far the best way is to edit code/configs/scripts on a local desktop/laptop then ftp it them over, cause even basic text editors bring the PI to a slow crawl.

I sorta wish I didn't waste the money on it

my wrt54GL router "seems" to be faster and more responsive in shell than the PI

I was gonna use the PI as a network storage device, chaining 3 or 4 external usb hard drives to it via powered usb hub, and it worked and all but the PI is soooooo slow the transfer rate would dip down to 5K-10K/sec over LAN when trying to save a large file or copy a large file from it to desktop.

Re:Yes but... (3, Informative)

Ford Prefect (8777) | about a year ago | (#42085683)

so far the best way is to edit code/configs/scripts on a local desktop/laptop then ftp it them over, cause even basic text editors bring the PI to a slow crawl.

If you're running 'pico', you're getting 'nano' instead, and it's nano's syntax highlighting that's the problem. Switch it off with Meta-Y and the editor becomes positively speedy. I'm SSH'ed into a Pi right now, and for basic shell stuff it's pretty indistinguishable from any other machine. There's probably something up if it's gratuitously slow.

(I'm on an up-to-date Raspbian [raspbian.org], and I've overclocked things slightly. Software has improved loads the past few months!)

I was gonna use the PI as a network storage device, chaining 3 or 4 external usb hard drives to it via powered usb hub, and it worked and all but the PI is soooooo slow the transfer rate would dip down to 5K-10K/sec over LAN when trying to save a large file or copy a large file from it to desktop.

USB support is now merely 'not very good', while it used to be 'downright terrible'. I get ~3MB/s SCP-ing a large file to the Pi's (slow) SD card, so network performance shouldn't be an issue. Try again with recently updated firmware? Although it's unlikely to make a terribly good NAS anyway, with both disks and ethernet hanging off a slow USB connection...

Re:Yes but... (2, Insightful)

Anonymous Coward | about a year ago | (#42086069)

This is on my raspberry pi: http://ompldr.org/vZ2Z5dg/out.ogv (recordmydesktop seems to make everything pink when "quick subsampling" is active).
It's running X with fbdev, plasma and recordmydesktop and vim still doesn't feel l ike a "slow crawl". I just wait until kwin_gles runs on it then it will be really smooth.

I tried a usb hard disk, just for you. nfs, ext4, noatime. On another computer, nfs mount on mnt/: dd if=/dev/zero of=mnt/zero bs=5M count=200
X is getting sluggish and it has 100% cpu usage, mostly kernel load.
Writes 7.5 Megabyte/second.
Reads 6.8 Megabyte/second.

Re:Yes but... (1)

Anonymous Coward | about a year ago | (#42086137)

Liar, I run both gvim and vim just fine on the pi. Nano loads up nearly instantaneously. And you're lying about the the transfer times as well, I can get a few megs a second over wired ethernet. I'll give you that wireless usb sticks suck on the pi, but everything else works well. You're just trolling or clueless and blaming the pi on your own failures.

Re:Yes but... (1)

zeptic (323902) | about a year ago | (#42092191)

I was gonna use the PI as a network storage device, chaining 3 or 4 external usb hard drives to it via powered usb hub, and it worked and all but the PI is soooooo slow the transfer rate would dip down to 5K-10K/sec over LAN when trying to save a large file or copy a large file from it to desktop.

I think you are doing something wrong. I'm getting 8-9 MB/s using SMB shares on an external USB HDD (whcih also contains the root fs).

Check out this thread to get some pointers: http://www.raspberrypi.org/phpBB3/viewtopic.php?f=36&t=13695 [raspberrypi.org]

Re:Yes but... (1)

slim (1652) | about a year ago | (#42092701)

VI brings it to it's knees as bad as a forkbomb.

Since I used to run Vim (and X) perfectly happily on a 486SX25 with 4 MBs of RAM, I don't believe you.

Just to recap, that's a CPU clock 28 times faster - along with other improvements in CPU technology - and 64 times more RAM if you have the older model.

I wonder what you're doing wrong?

Re:Yes but... (1)

sammyF70 (1154563) | about a year ago | (#42085605)

yes. I t runs emacs nicely, although the startup time can be a tad bit long (20-30sec in my case), depending on your .emacs . Once it's loaded it is completely useable and fast.

One of my two rpis (both are ~old~ ones with only 256MB RAM) is running apache, mysql, dovecot, postfix and bitlbee. It also has weechat (connected to bitlbee and 4 channels on #freenode) and mutt running 24/7. Additionally roundcubemail is installed. Again, depending on the amount of mails to sort and show, RCmail can be a bit slow. This is the rpi I use emacs the most on, mostly to edit config files, write mails and code a bit on side projects when bored at work.

The trick is to change the memory allocation depending on your useage. In the case of this mail server I set the mem to 240/16 as it is headless.(16MB for the GPU is apparently the absolute minimum you can allocate).

Re:Yes but... (4, Insightful)

Anonymous Coward | about a year ago | (#42085807)

The day that a computer can run a modern-ish video game but not a console text editor, that text editor may need to rethink a few of its life choices.

Re:Yes but... (0)

Anonymous Coward | about a year ago | (#42086189)

It can run both just fine. This guy is just clueless, I wouldn't worry about it.

Re:Yes but... (0)

Anonymous Coward | about a year ago | (#42086369)

whooooshh

Minecraft level format has always been open (2)

seibai (1805884) | about a year ago | (#42085525)

It's always been possible to code against minecraft - Notch has kept the level format open since the game released (even if he did change it a bunch of times after he said he wouldn't).

I've already written a bunch of level generators for it, like these two:

Planetoids [minecraftforum.net]

Dungeon Adventure [minecraftforum.net]

Re:Minecraft level format has always been open (1)

yahwotqa (817672) | about a year ago | (#42086591)

I stand in awe in front of any decent minecraft world, but this one truly took my breath: http://www.lo-ping.org/2011/05/29/earth-mapped-to-minecraft-to-scale/ [lo-ping.org]

Re:Minecraft level format has always been open (0)

Anonymous Coward | about a year ago | (#42093083)

Sounds really awesome but I have not been able to find a working download or torrent link. :(

Would be grateful if you could reply with a working link!

Re:Minecraft level format has always been open (0)

Anonymous Coward | about a year ago | (#42138199)

You can get the SSP file on 4shared.com. Search for EarthSSP.7z

Re:Minecraft level format has always been open (1)

arisvega (1414195) | about a year ago | (#42087137)

YOU wrote planetoids? That was a simple but very good idea! The worlds tend to end up a bit useless after updates: for example, when railtracks couldn't be placed on goldstone anymore, my train system was ruined.

Also, when there are new items you cannot get them on your old maps, because those maps are are finite- infinite planetoid maps would be great, not to mention tekkit compatibility!

Sorry to get off-topic, but I got excited- good job!

Re:Minecraft level format has always been open (1)

Sedated2000 (1716470) | about a year ago | (#42096493)

Just an aside, have you tried Feed The Beast? I've been playing that for a while now, and I like it better than the Tekkit pack. It works with Minecraft 1.4.2 and took out some items I felt were overpowered. I love the biomes it added, some of them are simply amazing.

Re:Minecraft level format has always been open (1)

arisvega (1414195) | about a year ago | (#42226047)

Just an aside, have you tried Feed The Beast?

I did, following your reccomendation, and I was shortly after spammed with an unsolicited email from curse dot com, complete with invisible tracking links.

Obviously, my login credencials were intercepted.

I am NOT pleased.

Other ARM Linux platforms (1)

quantumphaze (1245466) | about a year ago | (#42089673)

I really hope that we can also use this port on other Linux ARM boards such as all the A10 platforms that are ever so popular and my old Nokia N900.

I ordered a Cubieboard (mostly for SATA and real Ethernet) and would love to have it run Minecraft when it finaly arrives.

The question is, will binaries compiled for the Broardcom chip's armv6 and FPU work on other chips?

Re:Other ARM Linux platforms (1)

petermgreen (876956) | about a year ago | (#42090777)

I suspect it should be possible to make it work. The CPU features are there.

The one thing that may be a problem is the 3D graphics situation. 3D libraries on embedded boards are a bit of a mess and some messing arround and/or writing of shims may be needed to make things work together. I know you used to have to use a Pi specific method to get an openGL es context on the Pi. I don't know if that is still the case (I haven't been following that side of things myself).

nothing new (0)

Anonymous Coward | about a year ago | (#42089883)

it's called augmented reality for a reason, and why would you look ar bog lego models when you can look st nicely textured nurb models. etc.

Cheap LV Shoes,Gucci Shoes,brand handbags sale (-1, Offtopic)

kaituwei (2779791) | about a year ago | (#42106235)

Hello!! Fashion,low price,the good shopping places, Cheap wholesale and retail Gucci/Shoes , ( Discount UGG/Boots ) LV Shoes , DG Shoes , BURBERRY Shoes , LACOSTE Shoes , Women Boots , handbags(Coach lv fendi d&g/Gucci) , Sunglasses(Oakey,coach/Gucci,Armaini) , free shipping and quantity discount, Accept credit card and PAYPAL ==== http://www.cbssbase.com/ [cbssbase.com] ==== ==== http://www.cbssbase.com/ [cbssbase.com] ====
Check for New Comments
Slashdot Account

Need an Account?

Forgot your password?

Don't worry, we never post anything without your permission.

Submission Text Formatting Tips

We support a small subset of HTML, namely these tags:

  • b
  • i
  • p
  • br
  • a
  • ol
  • ul
  • li
  • dl
  • dt
  • dd
  • em
  • strong
  • tt
  • blockquote
  • div
  • quote
  • ecode

"ecode" can be used for code snippets, for example:

<ecode>    while(1) { do_something(); } </ecode>
Sign up for Slashdot Newsletters
Create a Slashdot Account

Loading...