SunFounder Retro Game Box User manual

SunFounder

2
Retro Game Box is a simple kit of ret ro game controller, equipped w it h some basic components
t hat a ret ro game play er needs including t he joy st ick, butt ons and a box for supporting. W orking
w it h , this kit makes it possible for you t o re-ex perience the of t he .
Components List
Arcade Joy st ick
1
#30 Arcade Butt on
6
SunFounder

3
Raspberry Pi I O
Reference Board
1
400mm #110 W ire
8
400mm NH-5P W ire
2
5 x #110 W ire
2
TF Card
1
Cable Tie
10
SunFounder

4
Preparations
Besides a power adapter and a SD card reader, you still need to prepare the following components:
1 x U SB key board
1 x HDMI display w ith a cable
1 x Raspberry Pi
1 x Netw ork cable/U SB W i-Fi adapter
I nst all t he sy st em on y our Raspberry Pi:
1. Enter the w ebsit e of RetroPie htt ps://retropie.org.uk/dow nload/ t o dow nload t he image
of t he RetroPie.
2. Burn t he image into t he SD card by a burning tool like the w in32DiskI mager.
Installing and Wiring the Game Pad
W e hav e uploaded the det ailed inst allation tut orial of t his kit t o YouTube, so y ou can just search for
the Retro Game Box in our channel.
1. Take out all the components inside the package, t hen inst all the butt ons and rockers from the
inside of the box in t he corresponding posit ion.
SunFounder

5
2. Put the Raspberry Pi in t he box and start w iring. The w iring should be like below :
JOYSTICK
D-PAD UP
Blue
D-PAD DOW N
Green
D-PAD LEFT
Red
D-PAD RI GHT
Yellow
COM
Black
BCM GPIO
17
18
27
22
0V
BUTTONS
START
SELECT
A
B
X
Y
COM
BCM GPIO
23
24
25
4
5
6
0V
SunFounder

6
SunFounder

7
Boot and Configuration
1. After follow ing the prev ious procedures closely and they are done correctly , connect t he
Raspberry Pi t o t he U SB key board, display and pow er supply , and t hen w ait for t he boot
interface to appear.
2. If t he Raspberry Pi is boot ed for the first t ime, t here w ill be a prompt for y ou t o set t he controller.
Since the driv er of the Retro Game Box has not been inst alled y et , you need t o configure y our
U SB key board first . Press and hold any key to let t he sy st em confirm t hat y ou’re using the
key board as the controller. Set t he key mapping in the menu popped up then. Please refer t o
the Key row below .
BUTTON
D-PAD
UP
D-PAD
DOW N
D-PAD
LEFT
D-PAD
RI GHT
START
SELECT
A
B
X
Y
Key
U p
Dow n
Left
Right
Enter
Space
Ctrl
Alt
Z
X
You can set the ex tra but tons randomly by y ourself.
3. You’re entering t he EmulationStat ion (ES) then. Press butt on A (Ctrl) to enter t he Ret roPie t o set
the W i-Fi.
SunFounder

8
4. Once the W i-Fi has been connected successfully , press F4 to ex it t he EmulationStation and
open a command line w indow . Use git clone to dow nload the source code:
git clone https://github.com/sunfounder/SunFounder_Retro_IO_Controller.git
If a prompt appears for y ou t o t y pe in t he username and passw ord, it indicat es t hat y ou hav e
ent ered t he w rong pat h. Please check carefully and ret y pe.
SunFounder

9
.***. Tuesday, 27 December 2016, 2:11:03 am UTC
***** Linux 4.4.26+ armv6l GNU/Linux
`***'
|*| Filesystem Size Used Avail Use% Mounted on
|*| /dev/root 7.2G 1.8G 5.2G 26% /
..|*|.. Uptime.............: 0 days, 00 h04m50s
.*** * ***. Memory........... ..: 119436kB (Free) / 250412kB (Total)
*******@@** Running Processes..: 93
`*****@@**' IP Address.........: 192.168.0.1 04
`*******' Temperature........: CPU : 44°C/111°F GPU: 43°C/109°F
`"""' The RetroPie Project, https://retropie .org.uk
pi@retropie:~ $ git clone
https://github.com /sunfounder/Sun Founder_Retro_IO_Controller.git
Cloning into 'SunFounder_Retro_IO _Controller'...
remote: Counting objects: 43, done.
remote: Total 43 (delta 0) , reuse d 0 (delta 0), pack-reused 43
Unpacking objects: 100% (43/43), done.
Checking connectivity... done.
Ent er t he source code direct ory , inst all and configure t he cont rol by t he script aut omat ically :
cd SunFounder_Retr o_IO_Controller
sudo ./install_dep endences
SunFounder

10
pi@retropie:~ $ cd SunFounder_Retro_IO_Controlle r/
pi@retropie:~/SunFounder_Retro_IO_Control ler $ sudo ./install_dependen cies
Copy files
keyboard --> /usr/local/lib/ python2.7/dist- packages/ Done
sunfounder-io-controller --> /usr/local/bin/ Done
sunfounder-io-controller.conf --> /usr/local/etc/ Done
sunfounder-io-controller-init --> /etc/init.d/ Done
Add service
Succeed to add service, serv ice will start when system start
Use 'sudo service io-control ler stop' to stop service,
and 'sudo service io-control ler start' to start ag ain
Installation result:
copy files Success
service Success
The stuff you have change may need reboot to tak e effec t.
Do you want to reboot immediately? (yes/no)
There w ill be a prompt to reboot t he Raspberry Pi for changes t o take effect aft er t he script is
inst alled successfully . Ty pe in yes t o reboot . If there's no error, y ou can now use the Game Pad aft er
rebooting. Hav e fun!
SunFounder

11
Adding Games
Due to the copyright issue, w e cannot offer other detailed ROMS and BIOS of the simulator. There
may be tons of detailed tutorials in the Github w ik i page of the RetroPie:
ht tps://git hub.com/ret ropie/retropie-set up/w iki. You can also look for the ROMs y ou w ant in retro
game forums. Aft er installing the ROM and BIOS, just go t o enjoy the fun of games!
SunFounder

12
Free Support
I f y ou hav e any TECHNICAL questions, add a topic under FORUM sect ion on our w ebsit e and
w e'll reply as soon as possible.
For NON-TECH questions like order and shipment issues, please send an email to
service@sunfounder.com. You're also w elcomed to share y our projects on FORU M.
Copyright Notice
All cont ent s including but not limited to tex ts, images, and code in this manual are ow ned by the
SunFounder Company . You should only use it for personal st udy , inv est igat ion, enjoy ment , or ot her
non-commercial or nonprofit purposes, under the related regulations and copy right s law s, w ithout
infringing the legal rights of t he aut hor and relev ant right holders. For any individual or organization
that uses these for commercial profit w ithout permission, the Company reserv es the right t o take
legal action.
SunFounder
Table of contents