diff --git a/CMakeLists.txt b/CMakeLists.txt index f0a9159b1..784c2d0ac 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -25,6 +25,16 @@ else() MESSAGE("bcm_host.h not found") endif() +#------------------------------------------------------------------------------- +#check if we're running on olinuxino +MESSAGE("Looking for libMali.so") +if(EXISTS "/usr/lib/libMali.so") + MESSAGE("libMali.so found") + set(GLSystem "OpenGL ES") +else() + MESSAGE("libMali.so not found") +endif() + #finding necessary packages #------------------------------------------------------------------------------- if(${GLSystem} MATCHES "Desktop OpenGL") @@ -167,6 +177,7 @@ else() ) else() LIST(APPEND COMMON_LIBRARIES + EGL ${OPENGLES_LIBRARIES} ) endif() diff --git a/README.md b/README.md index 99c2363d7..ff02eae13 100644 --- a/README.md +++ b/README.md @@ -148,7 +148,7 @@ All systems must be contained within the tag.--> Super Nintendo Entertainment System - ~/roms/snes @@ -180,6 +180,7 @@ The following "tags" are replaced by ES in launch commands: `%ROM_RAW%` - Replaced with the unescaped, absolute path to the selected ROM. If your emulator is picky about paths, you might want to use this instead of %ROM%, but enclosed in quotes. +See [SYSTEMS.md](SYSTEMS.md) for some live examples in EmulationStation. gamelist.xml ============ diff --git a/SYSTEMS.md b/SYSTEMS.md new file mode 100644 index 000000000..7d9424652 --- /dev/null +++ b/SYSTEMS.md @@ -0,0 +1,229 @@ +# Systems + +This outlines how to add support for many different systems into EmulationStation through configuration of `es_systems.cfg`. + +## Nintendo Wii + +### [Dolphin](http://dolphin-emu.org/) +In Options → Configure → Interface, disable *Confirm to Stop*. +``` xml + + wii + Nintendo Wii + /rom/path/here + .elf .dol .gcm .iso .wbfs .ciso .gcz .wad + dolphin-emu -b -e %ROM% + wii + wii + +``` + + +## [Nintendo GameCube](https://en.wikipedia.org/wiki/GameCube) + +### [Dolphin](http://dolphin-emu.org/) +In Options → Configure → Interface, disable *Confirm to Stop*. +``` xml + + gc + Nintendo GameCube + /rom/path/here + .elf .dol .gcm .iso .wbfs .ciso .gcz .wad + dolphin-emu -b -e %ROM% + gc + gc + +``` + + +## Nintendo 64 + +### [RetroArch](http://libretro.com) +Requires a [Nintendo N64 Core](http://wiki.libretro.com/index.php?title=Nintendo_N64_Core_Compatibility), like [`libretro-mupen64plus`](http://wiki.libretro.com/index.php?title=Mupen64Plus). +``` xml + + n64 + Nintendo 64 + /path/to/roms + .z64 .zip .n64 + retroarch --fullscreen -L /usr/lib/libretro/mupen64plus_libretro.so %ROM% + n64 + n64 + +``` + +### [Mupen64Plus](https://code.google.com/p/mupen64plus/) +``` xml + + n64 + Nintendo 64 + /path/to/roms + .z64 .zip .n64 + mupen64plus --nogui --noask --noosd --fullscreen %ROM% + n64 + n64 + +``` + + +## Nintendo Entertainment System + +### [RetroArch](http://libretro.com) +Requires a [Nintendo NES Core](http://wiki.libretro.com/index.php?title=Nintendo_NES_Core_Compatibility), like [`libretro-fceumm`](http://wiki.libretro.com/index.php?title=FCEUmm). +``` xml + + nes + Nintendo Entertainment System + /path/to/roms + .nes .NES .zip + retroarch --fullscreen -L /usr/lib/libretro/fceumm_libretro.so %ROM% + nes + nes + +``` + +### [Mednafen](http://mednafen.sourceforge.net/) +``` xml + + nes + Nintendo Entertainment System + /path/to/roms + .nes .NES .zip + mednafen -video.fs 1 %ROM% + nes + nes + +``` + + +## Super Nintendo Entertainment System + +### [ZSNES](http://zsnes.com/) +``` xml + + snes + Super Nintendo Entertainment System + /path/to/roms + .smc .sfc .swc .fig .mgd .mgh .ufo .bin .gd3 .gd7 .usa .eur .jap .aus .st .bs .dx2 .048 .058 .078 .1 .a .gz .zip .jma + zsnes -m %ROM% + snes + snes + +``` + +### [RetroArch](http://libretro.com) +Requires a [Nintendo SNES Core](http://wiki.libretro.com/index.php?title=Nintendo_SNES_Core_Compatibility), like [`libretro-snes9x-next`](http://wiki.libretro.com/index.php?title=SNES9x_Next). +``` xml + + snes + Super Nintendo Entertainment System + /path/to/roms + .smc .sfc .fig .bin .zip + retroarch --fullscreen -L /usr/lib/libretro/snes9x_next_libretro.so %ROM% + snes + snes + +``` + +## Atari 2600 + +### [Stella](http://stella.sourceforge.net/) +``` xml + + atari2600 + Atari 2600 + /path/to/roms + .bin .zip + stella %ROM% + atari2600 + atari2600 + +``` + +## Nintendo GameBoy Advance + +### [Mednafen](http://mednafen.sourceforge.net/) +``` xml + + gba + Nintendo GameBoy Advance + /path/to/roms + .gba .zip + mednafen -video.fs 1 %ROM% + gba + gba + +``` + +### [VisualBoyAdvance](http://sourceforge.net/projects/vba/) +``` xml + + gba + Nintendo GameBoy Advance + /path/to/roms + .gba .zip + VisualBoyAdvance -F %ROM% + gba + gba + +``` + +### [RetroArch](http://libretro.com) +Requires a [Nintendo GameBoy Advance Core](http://wiki.libretro.com/index.php?title=Nintendo_Game_Boy_Advance_Core_Compatibility), like [`libretro-vba-next`](http://wiki.libretro.com/index.php?title=VBA_Next). +``` xml + + gba + Nintendo GameBoy Advance + /path/to/roms + .gba .zip + retroarch --fullscreen -L /usr/lib/libretro/vba_next_libretro.so %ROM% + gba + gba + +``` + + +## [Steam](http://store.steampowered.com) + +1. Create a folder at `~/.emulationstation/steam` + ``` + mkdir -p ~/.emulationstation/steam + ``` +2. Add text files for each Steam game you would like to have available through +EmulationStation where: + * The file name represents the game's name + * The contents of the file represents the Steam application ID (found from the + game's Steam store page) + + ``` + cd ~/.emulationstation/steam + echo "250900" >> "The Binding of Isaac: Rebirth.txt" + ``` + +``` xml + + steam + Steam + ~/.emulationstation/steam + .txt + steam steam://rungameid/$(tail %ROM%) + pc + steam + +``` + + +## [PlayStation Portable](http://en.wikipedia.org/wiki/PlayStation_Portable) + +### [PPSSPP](http://www.ppsspp.org) +``` xml + + psp + PlayStation Portable + /path/to/roms + .iso + ppsspp --fullscreen --escape-exit "%ROM_RAW%" + psp + psp + +```