Вы находитесь на странице: 1из 13

pdfcrowd.com open in browser PRO version Are you a developer?

Try out the HTML to PDF API


Ubuntu, Django, and H
Python Game Develop
Python Game Develop
Configure Notep
14
RetroPie: Raspberry Pi Retro Gaming Setup
Raspberry Pi running the Raspbian OS
Boot into emulationstation, a GUI frontend to RetroArch allowing you to select any
emulators' games
Use of xboxdrv to use an xbox controller to play with
Automount of a windows shared drive where all your ROM's are stored
What I'm going to show you how to configure
RetroPie: Raspberry Pi
Classic Flipcard Magazine Mosaic Sidebar Snapshot Timeslide
Funinstall Get back to the fun in life with helpful tips on co
search
pdfcrowd.com open in browser PRO version Are you a developer? Try out the HTML to PDF API
Configure Notep
14
Download the following:
Windows: Win32DiskImager
Raspbian. For this setup, I got: 2012-10-28-wheezy-raspbian.zip.torrent
Prerequisites
Imaging tool
Operating system
Setup
Dynamic Views template. Powered by Blogger.
pdfcrowd.com open in browser PRO version Are you a developer? Try out the HTML to PDF API
1. Insert your sd card into your
computer. When it mounts, open
up My Computer and find what
drive letter it mounted as.
2. Open Win32DiskImager
3. Click the folder on the right, and
select the 2012-10-28-wheezy-
raspbian.img file.
4. Make sure the device is the same
drive letter as your sd card.
5. Finally, click "Write."
6. After it finishes, you can close Win32DiskImager, and remove your sd card.
1. Insert your imaged sd card into your RaspberryPi
2. Plug in an ethernet cable to provide internet access
3. Plug in a usb keyboard (later connect via ssh)
4. Power on your RaspberryPi
sudo raspi-config
1. Set your memory split to 128 if you have Model A, and 256 if you have Model B
2. Extend the root filesystem
3. Enable the ssh server
4. Exit and reboot
Pre-Boot
Boot
pdfcrowd.com open in browser PRO version Are you a developer? Try out the HTML to PDF API
Note: For systems like the SNES, you may be required to overclock your Pi all the way to
the highest setting or else you'll notice some performance issues. It's not recommended as
it could reduce the lifetime of your device. Do so at your own risk, but just know it's an
option for speed increase.
sudo apt-get update && sudo apt-get upgrade -y
sudo apt-get install -y git vim dialog iotop python-software-
properties xboxdrv
(Information taken from https://github.com/petrockblog/RetroPie-Setup)
cd
git clone --depth=0 git://github.com/petrockblog/RetroPie-Setup.git
cd RetroPie-Setup
chmod +x retropie_setup.sh
sudo ./retropie_setup.sh
Select the first option to compile from source. This step will take 6-7 hours to
complete.
When it's finished, allow a reboot of the RaspberryPi.
sudo vim /etc/inittab
RetroPie
Auto Log On
pdfcrowd.com open in browser PRO version Are you a developer? Try out the HTML to PDF API
Find the line that looks like:
1:2345:respawn:/sbin/getty 38400 tty1
And change it to be:
#1:2345:respawn:/sbin/getty 38400 tty1
1:2345:respawn:/bin/login -f pi tty1 </dev/tty1 >/dev/tty1 2>&1
Where "pi" is your username.
Execute the following key combinations to write the changes.
Esc
:wq
Enter
1. Go to your Windows Computer
2. Add a new user called "pi" with a password of your choice.
3. Create a folder called "roms"
4. Inside of "roms" create two more folders. One called "nes" and the other "snes".
5. Right click on the "roms" directory, and share it. Make sure the "pi" user has read/write
access to the directory.
Back on the Raspberry Pi:
Configure Windows Share
Automount the Windows Share on boot of Raspberry Pi
pdfcrowd.com open in browser PRO version Are you a developer? Try out the HTML to PDF API
sudo mkdir -p /media/roms
sudo vim /etc/fstab
At the end of the file, append the following:
//192.168.1.123/roms /media/roms cifs username=pi,pas
sword=PASSWORD 0 0
Where:
192.168.1.123 - is your servers IP address
roms - is the name of your shared folder
/media/roms - is the location on your raspberry pi where it will mount to
pi - is the windows users account with access to your shared folder
PASSWORD - is the pi user's password on the windows computer
cd && mkdir xbox && cd xbox && touch mapping && touch load.sh &&
chmod +x load.sh && vim load.sh
Add the following text:
#!/bi n/bash
cd /home/pi /xbox
xboxdrv --confi g /home/pi /xbox/mappi ng --si l ent &
Execute the following key combinations to write the changes.
Configure xboxdrv on boot
pdfcrowd.com open in browser PRO version Are you a developer? Try out the HTML to PDF API
Esc
:wq
Enter
vim mapping
Add the following text:
[xboxdrv]
si l ent=true
deadzone=6000
dpad-as-button=true
tri gger-as-button=true
[ui -axi smap]
x2=KEY_LEFT:KEY_RIGHT
y2=KEY_UP:KEY_DOWN
x1=KEY_LEFT:KEY_RIGHT
y1=KEY_UP:KEY_DOWN
pdfcrowd.com open in browser PRO version Are you a developer? Try out the HTML to PDF API
[ui -buttonmap]
a=KEY_V
b=KEY_N
x=KEY_B
y=KEY_M
[ui -buttonmap]
l b=KEY_ESC
rb=KEY_F2
[ui -buttonmap]
l t=BTN_6
rt=KEY_K
[ui -buttonmap]
dl =KEY_LEFT
pdfcrowd.com open in browser PRO version Are you a developer? Try out the HTML to PDF API
dr=KEY_RIGHT
du=KEY_UP
dd=KEY_DOWN
[ui -buttonmap]
back=KEY_BACKSPACE
start=KEY_ENTER
# EOF #
Execute the following key combinations to write the changes.
Esc
:wq
Enter
sudo vim /etc/rc.local
Before the final "exit 0", add the following line:
sudo /home/pi /xbox/l oad.sh
Execute the following key combinations to write the changes.
pdfcrowd.com open in browser PRO version Are you a developer? Try out the HTML to PDF API
Execute the following key combinations to write the changes.
Esc
:wq
Enter
cp /home/pi/RetroPie/configs/nes/retroarch.cfg /home/pi/RetroPie/conf
igs/nes/retroarch.cfg.bak
Your file should look like the following:
# Al l setti ngs made here wi l l overri de the gl obal setti ngs for the current emul ator core
i nput_pl ayer1_j oypad_i ndex = "0"
i nput_pl ayer1_a = "v"
i nput_pl ayer1_b = "b"
Execute the following key combinations to write the changes.
Esc
Configure NES and SNES Controller Layouts
cp /home/pi/RetroPie/configs/snes/retroarch.cfg /home/pi/RetroPie/con
figs/snes/retroarch.cfg.bak
vim /home/pi/RetroPie/configs/nes/retroarch.cfg
pdfcrowd.com open in browser PRO version Are you a developer? Try out the HTML to PDF API
:wq
Enter
Your file should look like the following:
# Al l setti ngs made here wi l l overri de the gl obal setti ngs for the current emul ator core
i nput_pl ayer1_j oypad_i ndex = "0"
i nput_pl ayer1_a = "b"
i nput_pl ayer1_b = "n"
i nput_pl ayer1_x = "v"
i nput_pl ayer1_y = "m"
Execute the following key combinations to write the changes.
Esc
:wq
Enter
vim /home/pi/.emulationstation/es_systems.cfg
Navigate down to the Nintendo Entertainment System
vim /home/pi/RetroPie/configs/snes/retroarch.cfg
Configure new ROM location
pdfcrowd.com open in browser PRO version Are you a developer? Try out the HTML to PDF API
Change:
PATH=/home/pi/RetroPie/roms/nes
to
PATH=/media/roms/nes
Navigate down to the Super Nintendo.
Change:
PATH=/home/pi/RetroPie/roms/snes
to
PATH=/media/roms/nes
Execute the following key combinations to write the changes.
Esc
:wq
Enter
Configure EmulationStation to load on Boot
pdfcrowd.com open in browser PRO version Are you a developer? Try out the HTML to PDF API
sudo raspi-config
Choose the option that starts EmulationStation on Boot
Let it reboot.
Posted 20th December 2012 by Erik Horton
Labels: emulationstation, Raspberry Pi, raspbian, retro gaming, retroarch, retropie, xboxdrv

You should now be booting into emulation station, with a listing of all your
Emulators + Roms to choose from.
I ran through this write up rather fast, so if you run into any issues setting it up
please let me know.

0
Add a comment

Вам также может понравиться