The Official Raspberry Pi Projects Book - Projects_Book_v4

(singke) #1

raspberrypi.org/magpi The Official Raspberry Pi Projects Book 165


BUILD AN AWESOME RETRO HANDHELDBUILD AN AWESOME RETRO HANDHELD FeatureFeature


If you want to upload ROMs to the handheld,
you can do so with the Pi Zero W’s wireless
connection. Otherwise, you’d have to manually
load them onto the microSD card, which would
require dismantling the console to get to the
Pi Zero – not particularly easy or practical
to do. Luckily, RetroPie includes Samba and
SFTP, which allow you to transfer the files over
the network.
For Samba it’s nice and easy: when your
handheld is connected to your network, you
can go to your main computer and find it on
the network shares as \\RETROPIE. Here you
can upload any necessary extra files to the
handheld with minimal hassle.
Windows 10 has an SFTP client built
in; for older Windows machines, the
RetroPie team recommend WinSCP
(magpi.cc/2lCwRhz); for Mac, you can try
Cyberduck (magpi.cc/2lCwjs9).
Once booted up, you can use the same SSH
settings as we used for PuTTY. You can then
drop the files into the corresponding folder in
the roms directory.

Otherwise known as netplay in emulation circles, this allows you to play
multiplayer games with friends, even if they’re on the other side of the
world! Let’s see the SNES do that! Not every emulator supports it and
if it does, you need to follow three extra rules: both parties need to be
running the same version of RetroArch, both must be running the same
emulator, and both need to be running the same ROM.
You then need to configure netplay from the setup script. If you’re
hosting, change your Netplay Mode to host, make the host IP your IP
address, and pick a nickname. The client (other player) needs to go to
the same menu, change Netplay Mode to client, change the host IP to
the other handheld, and pick your nickname. You may need to open up
a specific TCP/UDP port on the host’s router, which you then need to
set as the same on both systems.
Now both of you need to open the same ROM using the ‘js0’ key
(which should be X on a SNES layout) and select ‘Launch with netplay
enabled’. If it’s been set up correctly, you’ll connect!

UPLOADING


FILES


PLAYING


ONLINE


PIRATING VIDEOGAMES IS BAD,
NOT TO MENTION ILLEGAL!
Don’t use illegally downloaded
content on your PiGRRL.

CAUTION!

Free download pdf