Skip to content

Instantly share code, notes, and snippets.

@dcpesses
Last active August 29, 2015 14:15
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dcpesses/6bda732aa20eec799a2b to your computer and use it in GitHub Desktop.
Save dcpesses/6bda732aa20eec799a2b to your computer and use it in GitHub Desktop.
# With a little help from http://www.raspberrypi.org/forums/viewtopic.php?f=78&t=85041
sudo raspi-config
# Expand Filesystem
# Advanced Options -> Audio -> Change to 3.5 Headphone
# Internationalisation Options
sudo reboot
# if locale errors show up,
sudo dpkg-reconfigure locales
# Uncheck en_UK.UT8
# Check en_US.UTF8
export LANGUAGE=en_US.UTF-8
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8
sudo locale-gen en_US.UTF-8
sudo dpkg-reconfigure locales
# update repos
sudo apt-get update
sudo apt-get upgrade
# update firmware (unless you want a video boot screen)
#sudo rpi-update
# force on numlock on boot
sudo nano /etc/kbd/config
# Uncomment the line "#LEDS=+num" towards the end and save
# update retropie script & binaries
cd RetroPie-Setup
sudo ./retropie_setup.sh
# Update RetroPie Script
# Binaries based installation
# Setup
sudo apt-get install joystick
# Setup X-Arcade Dual Stick
sudo ./retropie_setup.sh
# Setup -> Enable Xarcade2Jstick
# Map X-Arcade joystick as detailed: http://blog.petrockblock.com/wp-content/uploads/2014/11/RP-Xcade-Mapping.pdf
# overclock if desired (using "sudo raspi-config")
# if desired, create samba share of splashscreen dir (/home/pi/RetroPie-Setup/supplementary/splashscreens/)
sudo nano /etc/samba/smb.conf
# Uncomment out the following lines and paste at the end:
# [splashscreens]
# comment = splashscreens
# path = /home/pi/RetroPie-Setup/supplementary/splashscreens/
# writeable = yes
# guest ok = yes
# create mask = 0644
# directory mask = 0755
# force user = pi
# veto files = /._*/.DS_Store/
# delete veto files = yes
# Hide all boot messages
sudo nano /boot/cmdline.txt
# Replace "console=tty1" by "console=tty3" to redirect boot messages to the third console.
# Add "loglevel=3" to disable non-critical kernel log messages.
# Ex: "dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty3 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait logo.nologo loglevel=3"
# Add video splash screen a la http://blog.petrockblock.com/forums/topic/mushberry-video-splashscreen/page/2/
# mkdir media
# cd media
# sudo wget http://omxplayer.sconde.net/builds/omxplayer_0.3.4~git20140212~bf48901_armhf.deb
# sudo dpkg -i omxplayer_0.3.4~git20140212~bf48901_armhf.deb
# sudo apt-mark hold omxplayer
# copy asplashscreen to nasplashscreen & revise to include videos
## TO-DO: explain process here
# sudo insserv /etc/init.d/nasplashscreen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment