Wednesday, 5 December 2012

[How to] Create a Raspberry Pie Arcade System



I Have searched endlessly on the internet and have found good information on how to set up a raspberry pi for a pi NOOBIE but I found a lot more of people show casing their pi arcade and there was no clear instruction from start to finish on setting it up so I had to improvise and use scripts from different sources and combine them all together for you. My aim his to help you recreate a raspberry pi arcade system from start to finish with some easy step by step instruction and I will also have a video for the lazy ones that don’t want to read and just listen.
The words that are highlighted is what you should type and at the end of each line press the enter key.
Credits for some of my information go to:
PetrockBlog
Aloshi
Ardamis

These guys have setup Steps also and you can use there thread for a better understanding if what is happening.

Lets Get Started

Step 1 Preparing your PI

Download and install raspberry pi OS  on your pi you can follow the link below on a walk through on how to install the OS on the PI I Used “Wheezy”.

  1. Down load The image from a mirror or torrent. The remainder of this assumes you are using Raspbian "Wheezy" download 2012-10-28-wheezy-raspbian.zip Raspberry pi.
  2. Extract the image file 2012-10-wheezt-raspbian.img from the download .Zip file.
  3. Insert the SD card into your SD card reader and check wahat drive letter it was assigned. You can easily see the drive letter (for example G:) by looking in the left column of windows explorer. If the card is not new, you should format it; otherwise Win32DiskImager may hang.
  4. Download the Win32DiskImager utility. The download links are available on the right handside of the web page, you want the Binary Zip.
  5. Extract the executable file from the zip file and run the Win32DiskImage utility. You Should run the utility as Administrator.
  6. Select the 2012-10-28-wheezy-raspbain.img image file you extracted earlier.
  7. Select the drive letter of the SD card in the device box. Be careful to select the correct drie; if you get the wrong one you can destroy your computers hard disk.
  8. Click Write and wait for the write to complete.
  9. Exit the imager and eject the SD card.
  10. Insert the Card in the Raspberry PI, power it on, and it should boot up. There is an option in the configure script that comes up to expand the partitions to use all of the SD card if you have used one larger than 4GB
“Information From eLinux.org”
Now we have set up our pi and it will boot for the first time. You should now login.
Username: pi
Password: raspberry
You should now be presented with the raspi-config screen.
If Not type raspi-config


We want to select expand_rootfs and press Enter.
Select ok then press Enter.

Now select over clock and press Enter.
Here I used High (recommend) but you can choose what you wish. I wouldn’t use Turbo at the moment as it comes with a warning that when writing to the SD May become corrupt.
Once you have done these steps go down to Finish and your pi will now reboot.

Step 2 Start to install Retro Pie

A Big Thanks to Petrock blog for this
You need to have your pi connected to the internet for this step?
You need to obtain 2 installation packages. Login to your pi.
Now type
sudo apt-get update
This will update your pi to the latest Packages. Now type
sudo apt-get install –y git dialog
After these are finished you should now have access to download and install retro pie
Now type
git clone http://github.com/petrockblog/RetroPie-Setup.git
(All command are case sensitive so watch your spelling and re-check what you type)
Now type this to execute what you have downloaded
cd RetroPie-Setup
chmod +x retropie_setup.sh
sudo ./retropie_setup.sh
You should now be welcomed with the following screen

From here you will have the choice between two different ways of installation
(YEP Take the RED pill or the BLUE pill Neo….)
For this I will Use the Source-code Based Instillation This installation takes some time to install so don’t expect it to be ready within a few hours I would suggest walk away and comeback tomorrow to finish it off.
After selecting the Source-code Based Instillation from the menu you will be presented with this screen.

Hit enter or okay and come back tomorrow thanks.

Step 3 Get the ROMs

At this point while your pie is installing the Retro pie files we can take a minute to search for ROMs that you can play on the pie. ( I haven’t had the chance to test a lot of roms so few may run)
Here is a few websites what I used to download some of my ROMs for my picade
I cannot guarantee all of the ROMs will work on your Picade.
Here are a few notes before you down load them:
The following are the file extensions for each emulator
Atari 2600: .bin
Doom: .WAD
Gameboy Advanced: .gba
Gameboy Color: .gbc
MAME: .zip
Neo Geo: .npg
Gamegear: .gg
Master System: .sms
Mega drive: .smd
NES: .nes
SNES: .smc
(some of them you will need to extract the files before you place them into the ROM folder)
I haven’t tried some of these and know that some will work and some wont also there has been reports on the Snes/Megadrive roms having sound lag I did have this experience playing sonic the hedgehog and also experienced this on some other games. I am sure the guys from retro pie are working on this again my aim is for noobs to get up and running with a Picade.

Here is a list of the keymaps:

Action = Key Pressed
Up = Up Arrow
Down = Down Arrow
Left = Left Arrow
Right = Right Arrow
Select = Enter
End Game = Escape Key (Retrun to menu)
Restart/Shutdown = F1
Open the Fast Select dialog = F2
Close Emulation Station = F4

Mega drive
Keyboard = Joypad
A = A
S = B
D = C

SNES
Keyboard = Joypad
A = Y
S = X
Z = B
X = A

Master system
Keyboard = Joypad
Z = Button 1
X = Button 2

NES
Keyboard = Joypad
Z = Button B
X = Button A

MAME
Shift = Coin Select
To Be updated

Step 4 Getting Ready for play

Once your pi has finished installing Retro pie you will be presented with this screen

Your pi should now restart
Once your pi has restarted login to your pi
Now type startx
Your pi LXDE interface will load up.
Now open file manager and navigate to
/home/pi/Retro Pie/roms/
Now copy the ROMS you have downloaded into the appropriate folders example nes ROMs to Nes folders
*****Additional information*****
You can be funky and change the Themes files you can download themes from the link below
Okay once you have placed your ROMs into the desired folders logout of this and you will be send back to the command line interface.
Now type raspi-config
You will be displayed with this screen

Now scroll down to the memory_split and you will get this screen

I would Suggest you delete what’s there and type in 192 then ok then finish
Your pi will now restart.
Once it has rebooted login and then type emulationstation

Avast! You should now be presented with a screen that will show prdoom (this doesn’t work) if you press left arrow or right arrow you will be able to scroll through your consoles and ROMs and all you have to do is press enter and play the game you want. As a suggestion if you wish to add more ROMs (or use the GUI) I would suggest changing the memory split back to 64 then add the ROMs as it works much faster in transferring them from USB.  If There is anything you think i have missed or would like to contribute to please let me know and i will add it in for you Thanks

No comments:

Post a Comment