You can get them from: https://github.com/mihailescu2m/retrobuilder
Before running them, you need to download libsdl2 packages from http://oph.mdrjr.net/memeka/downloads/ and install them with "dpkg -i libsdl2*.deb"
Currently you can build:
* emulationstation
* mupen64plus (sdl2)
* ppsspp (sdl2)
* retroarch
* libretro-pcsx_rearmed
* libretro_snes9x_next
* libretro-vba_next
Contributions are welcomed. For those interested, each system is defined in an ".inc" file (actually a bash script), which may contain the following functions:
* module_deps (prints out a list of package dependencies, that is picked up and installed by the setup script)
* fetch (required; git clone or git pull, with the --rebase option)
* patch (called after git pull, patches the source and commits changes)
* build (required; for emulators that need more RAM when building/linking, there is a "swap on" and "swap off" function defined in the setup script)
* install (not implemented; needs --prefix option in build)
* uninstall (not implemented; needs --prefix option in build)
* configure (not implemented; should create emulation-station configs, and joystick configs)
All operations are logged by the setup script in the "log" folder (will be created if it does not exist).
In addition, the setup script implements the "remove" option, which erases the emulator folder and logs.
Although currently it works on debian/ubuntu, I have thought of those that use Arch and created hooks for other distros as well.
Other things that might be helpful:
* if your sound is not working, create a file /etc/asound.rc with:
Code: Select all
pcm.!default {
type plug
slave {
pcm "hw:0,1"
}
}
ctl.!default {
type hw
card 0
}
Code: Select all
KERNEL=="mali",SUBSYSTEM=="misc",MODE="0777",GROUP="video"
KERNEL=="ump",SUBSYSTEM=="ump",MODE="0777",GROUP="video"
* if you are on a fresh minimal image, everything compiled and starts, but keyboard is no working, check and create a file in /etc/udev/rules.d such as 10-odroid-input.rules containing:
Code: Select all
KERNEL=="event[0-9]*",MODE="0660",GROUP="plugdev"
KERNEL=="mouse[0-9]*",MODE="0660",GROUP="plugdev"
------------------------------
* SDL2 package for Debian/Ubuntu - clone and build with "dpkg-buildpackage -us -uc -b -j5"
https://github.com/mihailescu2m/libsdl2-2.0.2-dfsg1 branch mali
Binaries still available at: http://oph.mdrjr.net/memeka/downloads/
* RetroPie scripts - install like Retropie (check petrockblog for details)
https://github.com/mihailescu2m/RetroPie-Setup branch odroid
Tested and working (pull requests for more are welcomed):
** update APT packages
** Bash Welcome Tweak
** EmulationStation (after installing the SDL2 package)
** EmulationStation theme simple
** Retroarch
** PSX libretro core
** vba_next libretro code (from unstable menu)
------------------------------
My new project is an arcade powered by the C1. For best performance, I want it to run everything in framebuffer, no X11 installed.
Retroarch was shown to work already on mali_fbdev. But I want my arcade interface to be EmulationStation, because it scrapes artwork as well, and looks so much better.
[youtube]https://www.youtube.com/watch?v=IzTReBWPmok[/youtube]
EmulationStation depends on SDL2.0, which does not have framebuffer or mali support. So I've started writing a mali fbdev + opengl driver for SDL2. I think there are also some linux games that use SDL that will be able to run in console with that.
This is the current status: it works! Not sure input (keyboard/mouse) works yet, I haven't tested the sound... but it's promising. Here is a libretro core: I am hoping to soon release an image with retroarch + emulationstation working on mali-fbdev.