How to Configure Retropie on Raspberry Pi and Play Games Without Hassle

How to Configure Retropie on Raspberry Pi and Play Games Without Hassle


Getting Retropie up and running on the Raspberry Pi is quite straightforward, but sometimes figuring out the joystick modes and file system problems put people off.

In this article we give you pro tips for handling joysticks and coin slots, quitting games gracefully, transferring ROMs, and upgrading when new versions come out without losing all your games.

Two notes before we start: this is not information about all the emulators, just the most common ones, and when in doubt use a USB joypad modelled on the original console system. (More about this below.)

ROM transfer


The first problem you might face is how to get games into Retropie. You can’t just insert the SD card into the back of your Mac or PC and copy files across. Linux is a completely different file system, so it won’t mount.

Fortunately, in the Retropie menu is an item called File Manager.


The default view is deep in the system, so you need to use the joystick or keyboard to navigate your way back up the file system by clicking on the “/..”


You need to do this about four times to get back to the base directory. Once there, locate and enter the “/media” directory.


Inside that directory you can locate your memory stick (usually /USB0).


Go to the directory for the stick where your ROMs are.


To copy, you have two windows to copy from one to the other. To switch windows, you have to press the “Tab” key. Navigate on the new window using “/..” back up to the top directory as before, but this time go into the “/home” directory.


Inside “/home” is the “/retropie” directory, and inside that are directories for various system files (like the “/bios” images folder for the various emulators) and also the “/ROMs” directory.


Inside the ROMs directory there are folders for all the emulators the system supports.


Open each directory and copy the files from one side of the screen to the other, copying files for each emulator into each folder, in this case SNES.


Copy by selecting the file you want to copy and pressing F5 and pressing Enter to execute the copy.


Note: Mac users will notice the invisible Mac system files beginning with “._” for each file on the stick. Don’t copy these – only the actual files.

Once you are done copying, you can exit the File Manager with F10. You may need to restart the Pi after copying to see all the new ROMs you’ve added.

Joysticks


You will have to use a joystick with Retropie, whigh kind of goes without saying. But the joystick operates in different ways depending on what emulator you are using. Let’s use an SNES-like USB controller as our model.


On all modes, the D-pad controls up and down and left and right, but the buttons work differently on each mode. Here’s a selection of different configurations we’ve noticed.

  •     The Retropie interface defaults to using the “A” button to select and the “B” button to exit. The same is true of RetroArch.
  •     Retroarch is the underlying system for most of the emulators. Enter the menu system within games by holding “Select” and pressing the “X” button.
  •     The File Manager uses the “X” button to select. None of the other buttons work.
  •     Super Nintendo uses all the buttons on the gamepad plus “Start” and “Select.” Some games mostly seem to use the “Y” and “B” buttons, with Y tending to be the fire button and B the jump.
  •     Commodore 64 uses the “A” button (or the Start button) to access the settings for VICE. Once in the menu system, use the “X” button to select and the “A” button to exit. This is a special case because although the joystick is set up for the emulator, you have to explicitly set the joystick in “VICE -> Machine Settings -> Joystick Settings.” Be aware: there was a convention in the C64 world where the default joystick was Joystick 2. Strange but true.
  •     Sega Master System only uses the “A” and “B” button for fire and jump and the “Select” and “Start” buttons as per the original console.
  •     Of course, the MegaDrive and NeoGeo use all four buttons as there were four on the original joypad.

Obviously, if the default joystick configurations annoy you because you know what they should be in the original game system, you can reconfigure them, but this is a very laborious process which we may go into in a future article.

The best idea is to buy an inexpensive controller which is shaped and structured on the original game system but fitted with USB.

The very best joystick for Retropie? An arcade stick.

Incidentally, some games, like those on MAME and NeoGeo which were intended for arcade machines, may need an emulation of the coin slot actuator. The best and easiest way to do this is to have a small keyboard fitted to the Retropie system and use the 5 key to put in a coin and the 1 key to Start for player 1. Use either a small USB keyboard or a tiny bluetooth one if space is an issue. You will need a tiny Bluetooth USB adaptor, too.

Upgrading

If you upgrade your system as new revisions come out, it’s important to back up all your games. Prior to upgrade, use File Manager to copy the entire ROMs and BIOS directories from the Retropie directory to a memory stick. Then wipe and install the new RetroPie on your CD card  and use File Manager to copy the folders back to the RetroPie directory.

Playing on a VGA Monitor

Bonus Tip – if you need to play RetroPie on a VGA monitor, which you will if you are building your Pi into an arcade cabinet, you need one simple bit of kit to accomplish this. An HDMI to VGA adapter costs only a few dollars and can be found on Amazon.


Quitting

And finally, you may find that some emulators are hard to quit and not just because the games are good. At first, you might think the only way to quit out of the game is to restart the Pi, but there are methods to quit gracefully.

To quit RetroArch games, just press the “Start” and “Select” buttons at the same time. That covers most of the games right there. The C64 quit is hidden: press the “A” button on the joystick and scroll to the bottom of the VICE menu to quit. MAME and NeoGeo games quit on the ESC key.

Post a Comment

0 Comments