Link
I'm creating a menu system for dingoo linux which resembles the default dingoo menu. Above is a video showing it launching Gnu Robbo (from Gadgetoid). Sorry for the crappy video quality. Next step is to implement a file choser to pick the rom file name before launching the emulator.
If you are interested, I'm using libconfuse to store the menu configuration file. Below is the one I'm using for my test. Customising the menu will be very simple.
- Code: Select all
# Menu file
Background = "res/wallp.png"
Cursor = "res/cursor.png"
Font = "res/FreeSans.ttf"
Menu Games
{
Icon = "res/games.png"
Name = "Games"
MenuItem ScummVM
{
Icon = "res/game1.png"
Name = "GNU Robbo"
Executable = "./gnurobbo"
WorkDir = "./"
}
MenuItem bestgameever
{
Icon = "res/bestgameever.png"
Name = "Best Game Ever"
Executable = "duh"
WorkDir = "./"
}
}
Menu Emulator
{
Icon = "res/emulator.png"
Name = "Emulator"
MenuItem SNES
{
Icon = "res/snes.png"
Name = "SNES"
Executable = "snes"
WorkDir = "./"
}
MenuItem CPS2
{
Icon = "res/cps2.png"
Name = "CPS2"
Executable = "cps2"
WorkDir = "./"
}
}