spacemeowx2 / switch-lan-play

Enjoy games with your friends as if you were on a LAN.
GNU General Public License v3.0
1.81k stars 190 forks source link

Local Wireless "bridge" for non-jailbroken switches #115

Open hrvylein opened 3 years ago

hrvylein commented 3 years ago

Just an idea, but would it be possible to add a function to switch-lan-play to "repeat" the local wireless connection over lan-play server?

Like this: My Switch <-> Virtual WiFi-Repeater from lan-play-client <-> lan-play-server <-> Virtual WiFi-Repeater from lan-play-client <-> Other Switch

Edit: Maybe repeater is the wrong word and bridge fits better.

Skalke commented 3 years ago

so how host console must to start his own server if he will always be in ad-hoc mode? how to implement on PC autoconnect to ad-hoc local server on switch? it's too hard because host console always must be online and have 'connection' to lan-play virtual repeater as you say.

Skalke commented 3 years ago

ldn_mitm is better variant because it's not move console in ad-hoc mode as usual it does. So you can play games with lan-mode ingame to play with unhacked consoles, but i think it's impossible or maybe hard to create ad-hoc connection emulation to switch from any another wifi devices

hrvylein commented 3 years ago

I don't quite get what you are saying. We already have the possibility to play with ldn_mitm and there are a lot of unrecoverable disconnects happening with laggy server, switch losing wifi or bad internet connection. This does not back your argument.

What I was asking for is a wireless bridge that would let us connect with vanilla switches (f.e. Mariko devices) over the internet. I guess it is difficult and maybe impossible to mimic and I have to admit, that this is far beyond my scope.

Maybe it is possible with the use of external hardware like a dd-wrt router. But I'm lacking the knowledge and skills to find out how ad-hoc pairing of the switch works or if they do use standard wifi approved connection handling.

spacemeowx2 commented 3 years ago

Protocol is here: https://switchbrew.org/wiki/LDN_services#ldn

I think the most hard part of the protocol is make wireless adapter associate with the NS. I think we can do this by netlink in Linux. But I haven't try that.

R2MGaming commented 1 year ago

I hate to have to bump this dead issue, but if someone actually did make a local wireless adapter to associate with the Switch between two Switch consoles, a Switch emulator to an actual Switch console, or two different Switch emulators on PC, vice versa, that would be amazing and wouldn't have to require CFW for them. But yeah, that might be hard to do.

test-black commented 11 months ago

may it help? https://github.com/Kinnay/NintendoClients/wiki

R2MGaming commented 11 months ago

I think it might be better with just a spare V1 Switch instead. I got my second V1 Switch from Japan on Ebay so your only option for using it with certain games like Pokémon for example, then that's your only choice.