Netplay - kpa32/retropie-wiki-cn GitHub Wiki
Netplay
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
Configuration
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, the rest that are trying to connect to the host will be clients
Host
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
Client
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 menu by pressing js0 (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.
Windows
If you are on a windows PC set up the network settings from the RGUI:
Note that following are settings when running the pc as a client:
if you want the pc to be the host change netplay client enable to off