Minecraft in Cabrio-FE

18 views
Skip to first unread message

Wes Hodges

unread,
Feb 3, 2015, 1:32:14 AM2/3/15
to cabrio...@googlegroups.com
Hello all!

I haven't seen anything like this posted around, so I figured I would post this just in case anyone has thought about figuring this out.
My daughter wanted to be able to play Minecraft on the cabinet, so I integrated it into Cabrio-FE with these steps: (I use Lubuntu 14.04 64bit, so my steps may vary)

---downloaded and installed Minecraft.jar from here

---set up a new emulator in config.xml called "Java" and set the executable to /bin/bash:
    <emulator>
     
<display-name>Java</display-name>
     
<platform>java</platform>
     
<directory>/bin/</directory>
     
<executable>bash</executable>
   
</emulator>

---created a script used to call Minecraft from the command line: (the launcher.jar file to start Minecraft was in my .minecraft folder)
#!/bin/bash

java
-jar /home/gamer/.minecraft/launcher.jar

---made that script executable:
chmod +x /home/gamer/.cabrio/roms/java/minecraft.sh

-set up Minecraft as a selectable option in Cabrio-FE's gamelist:
      <game>
       
<name>Minecraft</name>
       
<platform>java</platform>
       
<rom-image>/home/gamer/.cabrio/roms/java/minecraft.sh</rom-image>
       
<video>/home/gamer/.cabrio/videos/java/minecraft.flv</video>
       
<images>
         
<image>
           
<type>logo</type>
           
<image-file>/home/gamer/.cabrio/logos/java/minecraft.png</image-file>
         
</image>
       
</images>
     
</game>

And in no time, she was crafting away. I just did a quick couple of Google searches to find the Minecraft logo .png to use as wheel art; the Java logo .png for the platform image; and a 60sec YouTube video/trailer to use as the video snap.

The only thing I think I may find an issue with is the controls. Right now, as my cabinet is not physically built (only a test chassis in my office), I use a wired XBox360 controller to run everything. So far, this has worked great for every emulator, pairing the controller up with AntiMicro, which is a keyboard/gamepad mapper. With Minecraft on the XBox controller, we use one joystick to move (w,s,a,d), one joystick to look (which would normally be the mouse). Fine for now, as I can even navigate through the in-game menus as the triggers are mapped to the left and right mouse buttons. Im just not sure how I will later address that whenever I build the traditional "1 joystick/6 Button" style control board.

Anyway, maybe this will help someone out.
Reply all
Reply to author
Forward
0 new messages