Thursday, March 29, 2012

Install Minecraft in XBMCbuntu Eden


To run Minecraft you on XBMCbuntu Eden will first need to install Sun's Java JRE, you can my simple step by step guide here.

Now either SSH into your XBMCbuntu box or open a terminal on it and run the following commands:

wget https://s3.amazonaws.com/MinecraftDownload/launcher/minecraft.jar

mkdir scripts

cd scripts

nano mincraft.sh

then paste(ctrl + shift + v at the terminal)  this in and save(ctrl + x and then y to confirm)

#!/bin/bash
openbox &
/usr/lib/jvm/java-6-sun/jre/bin/java -Xmx1024M -Xms512M -cp ~/minecraft.jar net.minecraft.LauncherFrame
killall -9 openbox

then run:

chmod +x minecraft.sh


Now in the XBMC "Advanced Launcher" addon simply create a new launcher that points to the new minecraft.sh script(located at /home/xbmc/scripts/minecraft.sh).

Note: Minecraft is a resource hog and on my Acer Revo 1600 the performance was terrible, I also tested on an older desktop with a decent graphics card and it ran like a dream so if you're running XBMCbuntu on a small nettop don't expect great performance.


1 comment: