Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Emulated local Wi-Fi multiplayer support #242

Open
wants to merge 10 commits into
base: dev
Choose a base branch
from

Conversation

BernardoGomesNegri
Copy link

@BernardoGomesNegri BernardoGomesNegri commented Dec 1, 2024

This patch adds support for emulated local (Wi-Fi) multiplayer using libretro's netpacket API, which allows a core to send and receive arbitrary data packets across the network. In RetroArch, this can be done by using the same interface used for netplay.
Unfortunately, due to the DS's tight latency requirements for local networks, it only works for good LAN connections on a few games. I managed to play Pokémon HeartGold between my phone (connected to a WiFi AP very close by) and my PC (wired), for example. On an emulated connection, the same game worked with 8ms ping and 3% packet loss, but it could get rather laggy at times.
Thanks to @JesseTG for helping me with this.

@BernardoGomesNegri BernardoGomesNegri changed the base branch from main to dev December 1, 2024 16:51
@JesseTG
Copy link
Owner

JesseTG commented Dec 1, 2024

Thanks for contributing! I'll review and test this and get back to you as soon as I can.

@BernardoGomesNegri
Copy link
Author

I seem to have made a bit of a mess when trying to rebase this to the dev branch. I Will try to fix it.

@BernardoGomesNegri
Copy link
Author

Would close issue #225

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants