Some RetroArch cores have netplay built-in which means that if you have some friends in a different place and still want to play games with them you can.
There are a few stipulations that have to be met before you are able to utilise netplay:
- You both need to be running the same version of RetroArch
- You both need to be running the same emulator
- You both need to have the same exact ROM
So first things first- you need to set up your configurations for netplay:
you can access the netplay configurations from the RetroPie menu in EmulationStation or from the setup script.
One person needs to be the host, everyone else who tries to connect to the host will be clients
If you will be acting as the host...
- Set your Netplay Mode to host
- Change Host IP Address to your IP address
- Either go to your router settings and open the port 55435 for both TCP and UDP or change the TCP/UDP Port setting in RetroArch to one that's already open
- Select a number for Delay Frames. If you are experiencing a very low fps, try increasing this number.
- Pick a Nickname
- When launching a ROM to use netplay you'll open up the runcommand menu by pressing js0 (or any key on your keyboard) as your ROM loads and then you'll select launch netplay
Make sure to tell your friend: - Your IP Address - Your Open Port - Your Delay Frames Number - Your selected Core and ROM
If you will be joining a game...
- Set your Netplay Mode to Client
- Set Spectator Mode Enable to OFF
- Change Host IP Address to the IP Address your friend gave you
- Change TCP/UDP Port to the number your friend gave you
- Change Delay Frames to the number your friend gave you
- Pick a Nickname
- When launching a ROM to use netplay you'll open up the runcommand launch menu by pressing a button (or any key on your keyboard) as your ROM loads and then you'll select launch netplay
Now if you and your friend successfully followed all of these steps, your game should load. If it didn't, try checking if you have the same ROM, the same core and if your host's port is really open. If everything fails, consider switching server and client roles.
If you are on a Windows PC you can set up the network settings from the RGUI:
Note that the following are settings when running as a client:
If you want the PC to be the host change Netplay Client Enable to off.