Code Monkey home page Code Monkey logo

retropie-setup's Introduction

RetroPie-Setup

General Usage

Shell script to setup the Raspberry Pi, Vero4K, ODroid-C1 or a PC running Ubuntu with many emulators and games, using EmulationStation as the graphical front end. Bootable pre-made images for the Raspberry Pi are available for those that want a ready-to-go system, downloadable from the releases section of GitHub or via our website at https://retropie.org.uk.

This script is designed for use on Raspberry Pi OS (previously called Raspbian) on the Raspberry Pi, OSMC on the Vero4K or Ubuntu on the ODroid-C1 or a PC.

To run the RetroPie Setup Script make sure that your APT repositories are up-to-date and that Git is installed:

sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install git

Then you can download the latest RetroPie setup script with:

cd
git clone --depth=1 https://github.com/RetroPie/RetroPie-Setup.git

The script is executed with:

cd RetroPie-Setup
sudo ./retropie_setup.sh

When you first run the script it may install some additional packages that are needed.

Binaries and Sources

On the Raspberry Pi, RetroPie Setup offers the possibility to install from binaries or source. For other supported platforms only a source install is available. Installing from binary is recommended on a Raspberry Pi as building everything from source can take a long time.

For more information, visit the site at https://retropie.org.uk or the repository at https://github.com/RetroPie/RetroPie-Setup.

Docs

You can find useful information about several components and answers to frequently asked questions in the RetroPie Docs. If you think that there is something missing, you are invited to submit a pull request to the RetroPie-Docs repository.

Thanks

This script just simplifies the usage of the great works of many other people that enjoy the spirit of retrogaming. Many thanks go to them!

retropie-setup's People

Contributors

barbudreadmon avatar chrisnike avatar cmitu avatar dankcushions avatar gemba avatar gerstrong avatar gizmo98 avatar herbfargus avatar hhromic avatar hissingshark avatar hlad avatar joolswills avatar jyuho avatar mali1 avatar markwkidd avatar meleu avatar mmatyas avatar nemo93 avatar obrie avatar petrockblog avatar proxycell avatar psyke83 avatar raelgc avatar retrohursty69 avatar robertybob avatar s1eve-mcdichae1 avatar sselph avatar superfromnd avatar verybadsoldier avatar zerojay avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

retropie-setup's Issues

emulationstation startup script is broken

When running the current emulationstation startup script, the following lines are repeated to the tty:

~/RetroPie/EmulationStation ~/RetroPie/EmulationStation

This happens whether or not the script is run manually or run at bootup through the setup script.

The relevant section of the emulationstation startup script looks like this:

pushd "/home/pi/RetroPie/EmulationStation"
./emulationstation
popd

Perhaps it needs fixing?

Use the official RetroArch repo

All my Raspberry Pi patches from it have already been merged upstream, and the repo on my page is now mostly sticking around for compatibility purposes. If you can switch the RetroArch repo to the one at Themaister/RetroArch, that would be great.

Warn not to start from an X terminal

It seems people often install from a terminal within X, then immediately start EmulationStation from this terminal. While ES seems fine with that, it breaks RetroArch's keyboard input (which means the emulator won't close, and a system restart is required). I think a simple warning would fix the problem.

Change scraper paths

I'm not sure if I PM'd you earlier or not so here it goes. I made a commit to the scraper earlier and renamed it since it's using 2 sources now. The repository path has obviously changed and needs to be changed in your script.

emulationstation menu is broken on reboot.

If I reboot the board after the first run of emulationstation, upon my next load of emulation station I am presented with a menu that gives me the options only to shutdown or restart the board. I have done several reloads, and run into the issue every time.

Add other frequent file extensions to default es_systems.cfg

I've just added support for multiple file extensions in an ES system (just delimit them with a space). I know there's more than one popular format for SNES games (.sfc comes to mind), and probably others too. Sometimes formats are in all-caps too (e.g. ".NES").

This might not be important, but I think it should keep the "why aren't my games being detected?" question away.

Add Debug log

Add function for generating a summary of all essential files and configurations to help debugging and remote support for users.
The information should be put into a log file. It could consists of the following parts:

  • Existence of files: retroarch, emulationstation and font file, emulatorcore libraries. The existence should be checked and logged with the ls -1l command to the log file.
  • Emulator Station configurations (es_systems.cfg and es_input.cfg). Logged with cat >> logfile
  • RetroArch configuration. Logged with cat /etc/retroarch.cfg >> logfile.
    To make reading more easier it would be good to just log the non-comment lines of the configuration files
  • Summary of ROMs directory, e.g., with du -ch --max-depth=1 /home/pi/RetroPie/roms/.
  • Check for extensions of individual ROMs
  • Check for library dependencies with ldd command

ES libraries change once again!

I've just pushed the new OpenGL ES renderer for ES, which changes the dependencies a bit. The README says:

sudo apt-get install libsdl1.2-dev libboost-filesystem-dev libfreeimage-dev libfreetype6-dev

The SDL_ttf, SDL_image, and SDL_gfx libraries are no longer required.

MAME Coin Button?

I'm just curious if there is a button to add a coin to MAME roms?

40: Syntax Error: "(" unexpected

Noob here. Just got my RasPi yesterday, trying to run the retropie_setup shell script, and I'm getting a syntax error:

$ sudo sh ./retropie_setup.sh
$ ./retropie_setup.sh: 40: ./retropie_setup.sh: Syntax error: "(" unexpected

Check package dependencies

on my last recompile , emulation station failed if i remember correctly my system was missing libfreeview-dev or something like that , even though install libraries was selected

es_systems.cfg launch command for MAME incorrect

COMMAND=retroarch -L $rootdir/emulatorcores/imame4all-libretro/libretro.so ROM%
is missing a percent, should be:
COMMAND=retroarch -L $rootdir/emulatorcores/imame4all-libretro/libretro.so %ROM%

No sound - "Audio backend failed to write"

Hi,

I have issues getting any sound from retroarch at all.

First of all, I should mention that sound works fine if I use aplay to play some random WAV file so it's not a system-wide issue.

I use latest rasbian wheezy, firmware, and retropie-setup.

I have tried everything hinted in different threads, including:

  • sdl vs alsa as backend
  • 48000kHz vs 44100kHz
  • unmuting amixer
  • increasing volume in alsamixer

Retroarch logs this:

RetroArch [ERROR] :: [ALSA]: Unknown error occured (Resource temporarily unavailable). RetroArch [ERROR]: Audio backend failed to write. Will continue without sound

Permission problem maybe?
It seems I am not alone, see this thread: http://www.raspberrypi.org/phpBB3/viewtopic.php?f=35&t=6750&start=225

EmulationStation dependencies

Hey, just wanted to let you know that EmulationStation now requires libsdl-image1.2-dev to build, so you'll probably need to update your install script.

Use pushd and popd instead of cd

retropie_setup.sh currently uses cd, assuming you're running it from the user's home directory. Use pushd and popd to remain relative.

Add check for memory split

From Hexxeh:

function detect_split() {
if [[ -f "$FW_PATH/start.elf" && ${FW_RAM} -eq 0 ]]; then
echo "Autodetecting memory split"
FW_RAM=240
for R in 128 192 224 240
do
if [[ -f "$FW_PATH/arm${R}_start.elf" ]]
then
if diff "$FW_PATH/arm${R}_start.elf" "$FW_PATH/start.elf" >/dev/null
then
FW_RAM=$R
break
fi
fi
done
fi
FW_GPU=$((256-FW_RAM))
}

detect_split
if [[ ${FW_RAM} -ne 240 ]] &&[[ ${FW_RAM} -ne 224 ]] && [[ ${FW_RAM} -ne 192 ]] && [[ ${FW_RAM} -ne 128 ]]; then
echo "RAM value must be one of: 240, 224, 192, 128"
exit 1
fi
echo "Using ARM/GPU memory split of ${FW_RAM}MB/${FW_GPU}MB"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.