XargonWan / RetroDECK

RetroDECK brings you an all-in-one sandboxed application to play your retro games (and even not-so-retro games) on Linux/SteamOS.
https://retrodeck.net
GNU General Public License v3.0
733 stars 33 forks source link

Netplay #624

Open XargonWan opened 6 months ago

XargonWan commented 6 months ago

Add the Netplay function system wide.

The netplay function should allow the user to:

Emulators that support this function:

How this can possibly work?

We could add a new "fake" system named like Netplay on ES-DE that will have only three entries:

The theme of this system can follow this rough idea: image

Join room

This will popup a tool that will list all the rooms opened with the Create room tool, each entry will show:

Once the room is selected the users should manually open the desired game (afaik there is no way to tell ES-DE to open it directly).

Create room

This will popup a tool that allow the user to:

Settings

This will call the Configurator with an argument that will show the Netplay options such as:


Once a room is joined or created, the tool is injecting the needed data inside the emulators configs such as:

Lazorne commented 6 months ago

We should try to set the Default port for all emulators to 55435 if possible. It was what RetroArch uses and then the users only needs to portforward one or as little ports as possible.

UPDATE Looks like you can't from the interface at least for some emulators.

Default port list:

RPCS3

3658 Don't looks like you can change the port and don't offer a selfhosted solution. You need to create an account in a fake PSN network.

RetroArch

55435 Can change port and have public lobbies.

Citra and Yuzu

24872 Can change port on lobby creation and have public lobbies.

5000 - Selfhosted lobby server Also have the option of selfhosting a lobby server, default port can be changed.

Dolphin

2626 Can set the port, have public lobby servers and you can also selfhost.

PPSSPP

27312 Default ADHoc server port.

Main problem is that EACH GAME could use a different port, so you will need to look into what ports the games are using and open for them as well.

So here we need to provide some defaults and not change the port offset. Then we could in theory have a tiny wiki article or a database of all portforwards for PPSSPP for RetroDECK.