Have you gotten tired yet of explaining how to start a ROM every time you hand your GP2X to a friend?
Mocca is my attempt at making a better menu/frontend/launcher for the GP2X. My inspiration was that it should be modal (meaning that it should only show the possibilities relevant to the current task) and complete (meaning that it should show all such possibilities at once), and the name kind of came from there.
Mocca is a bit like bastardshell, in that it searches the entire SD card for files to run. (Thanks no_skill, I made good use of your code ). Mocca is also a bit like like Unified File Manager, in that it will run an emulator or application directly depending on the type of file it is called on.
Mocca's goal is to be as simple as possible, and offering all capabilities of the GP2X's software in a single menu.
It will automatically discover the emulators you have on your SD card, and show and hide the appropriate menu items accordingly.
Easy access to SD card sync: you don't have to guess whether your savegame was succesfully written or not.
Mocca can install itself as the default shell! Watch out when using this feature however -- as it modifies the NAND, there's a possibility this will brick your GP2X. I have only tested it on my own GP2X, running firmware 1.0.0. I make no guarantees about the reliability of this feature. Use at your own risk. If it works on your GP2X too, I'd certainly like to hear though!
If you have replaced the standard shell with Mocca, you can still get to it easily. You'll still need the classic menu for playing music and video, as there are currently no alternatives to GPH's tools, so there's an option in the menu:
This first distribution of Mocca contains recognition for standard GPH executables, nk's NES emu, and pdfview.
If you want to use pdfview, you will need to modify the pdfview.gpe launcher script to the following:
(That is, add the shebang line and the $* argument)
nk's NES emu is recognized, but will not launch ROMs passed to it from the command-line (yet), so it does not perform as it should <_<. The menu is there to show Mocca's goal and what will be possible when mature emulators will begin to arise.
New formats can be added quite easily however (instructions on how to do this are included in the archive). If you create a new scheme, please be so kind to share it with the rest of us.
Also be aware that all launcher scripts need to have a proper shebang line (#!/bin/sh), or Mocca will hang trying to run them! Future versions will probably detect the absence of such a line and fix the situation -- right now you will need to take care.
Edit: Looks like I forgot to mention the controls in the README. Here they are:
stick: move selection
A/B/click: confirm
X/Y: cancel
L, R: move selection left or right(also in file listing)
L+R: quit
START: access menu
When all is said and done, get it here.
P.S: As evidenced by the screenshots, I'm a coder, not a designer. I could use some help in making Mocca look spiffy. If you're interested in helping me beautify this app, drop me a line.
Mocca is my attempt at making a better menu/frontend/launcher for the GP2X. My inspiration was that it should be modal (meaning that it should only show the possibilities relevant to the current task) and complete (meaning that it should show all such possibilities at once), and the name kind of came from there.
Mocca is a bit like bastardshell, in that it searches the entire SD card for files to run. (Thanks no_skill, I made good use of your code ). Mocca is also a bit like like Unified File Manager, in that it will run an emulator or application directly depending on the type of file it is called on.
Mocca's goal is to be as simple as possible, and offering all capabilities of the GP2X's software in a single menu.
It will automatically discover the emulators you have on your SD card, and show and hide the appropriate menu items accordingly.
Easy access to SD card sync: you don't have to guess whether your savegame was succesfully written or not.
Mocca can install itself as the default shell! Watch out when using this feature however -- as it modifies the NAND, there's a possibility this will brick your GP2X. I have only tested it on my own GP2X, running firmware 1.0.0. I make no guarantees about the reliability of this feature. Use at your own risk. If it works on your GP2X too, I'd certainly like to hear though!
If you have replaced the standard shell with Mocca, you can still get to it easily. You'll still need the classic menu for playing music and video, as there are currently no alternatives to GPH's tools, so there's an option in the menu:
This first distribution of Mocca contains recognition for standard GPH executables, nk's NES emu, and pdfview.
If you want to use pdfview, you will need to modify the pdfview.gpe launcher script to the following:
Code:
#!/bin/sh
cd /mnt/sd/pdfview
./pdfview $* >& /dev/null
cd /usr/gp2x
exec ./gp2xmenu
(That is, add the shebang line and the $* argument)
nk's NES emu is recognized, but will not launch ROMs passed to it from the command-line (yet), so it does not perform as it should <_<. The menu is there to show Mocca's goal and what will be possible when mature emulators will begin to arise.
New formats can be added quite easily however (instructions on how to do this are included in the archive). If you create a new scheme, please be so kind to share it with the rest of us.
Also be aware that all launcher scripts need to have a proper shebang line (#!/bin/sh), or Mocca will hang trying to run them! Future versions will probably detect the absence of such a line and fix the situation -- right now you will need to take care.
Edit: Looks like I forgot to mention the controls in the README. Here they are:
stick: move selection
A/B/click: confirm
X/Y: cancel
L, R: move selection left or right(also in file listing)
L+R: quit
START: access menu
When all is said and done, get it here.
P.S: As evidenced by the screenshots, I'm a coder, not a designer. I could use some help in making Mocca look spiffy. If you're interested in helping me beautify this app, drop me a line.
Last edited by a moderator: