flyinghead / flycast

Flycast is a multiplatform Sega Dreamcast, Naomi, Naomi 2 and Atomiswave emulator
GNU General Public License v2.0
1.28k stars 161 forks source link

Steam deck: Daytona USA Online mode in the same network not working #1552

Closed Glost007 closed 2 weeks ago

Glost007 commented 2 weeks ago

Please Note: This form is the minimum required information for submitting bugs.
Removing this form may lead to your issue being closed until it is completed.

Platform / OS / Hardware: Steamdeck SteamOS

Github hash:

Hardware:

Description of the Issue

Hello, I tried to play Daytona USA online on my Steamdeck with someone else in the same network. I was able to connect to the internet, find a Lobby, create a game and confirm the settings. When I tried to start a Race, the game tried to connect it and after some waiting there was a network error and we were sent back to the lobby.

My Question is: the PSP emulator for the steamdeck needs Sudo permissions to gain access to specific ports to play online, is this necessary for the dreamcast emulator too or is it just because we are playing from the same network?

flyinghead commented 2 weeks ago

Daytona USA cannot be played on the same network since it sends the public IP address in some packets. It also needs port redirection, which is impossible when two players are using the same router. However these are not privileged ports, so sudo shouldn't be needed. See https://dreamcastlive.net/connection-guide/#dmz for details.

Glost007 commented 2 weeks ago

Thank you very much for your answer.