Homebrew WIP [Official] switch-lan-play

TheTerrarianBrony

New Member
Newbie
Joined
Jun 25, 2020
Messages
1
Trophies
0
Age
25
XP
23
Country
United States
Can this work with emulators like yuzu or ryujinx?

--------------------- MERGED ---------------------------

Can this work on emulators like yuzu or ryujinx, and if they can, can you do it on Pokemon sword/shield?
 

alixglt

Member
Newcomer
Joined
Apr 26, 2020
Messages
15
Trophies
0
Age
33
XP
43
Country
France
Greatings!

I am having problems installing on Mac

I ran the brew install libpcap libuv command and everything was correct

In the step of the command sudo ./lan-play-macos and the message "Commando not found" appears.

I search on the google and found this solution:

Sounds like a bad path environmental, try:
export PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:$PATH


I've done this step and still can't make Lan-play work. Still showing Command not found

ps. I am running the commands from inside the folder where the file lan-play-macos.dmg is

Thanks for the help!

Did you find the way? I have the same problem

thx
 

Yhodarks

Member
Newcomer
Joined
Nov 23, 2018
Messages
6
Trophies
0
Age
26
XP
123
Country
Chile
Sorry for bothering, but I'm trying to help a friend to setup Lan Play on his switch, but he has a Windows Vista Laptop. Everything seems to work fine, but we cant see on game. So I'm here asking for help. Did i miss something related to Vista?, or is better to try get another PC with windows 7 or 10?
btw i made him install WinPCap, because is Vista compatible.
Thanks for your help.
 

Sofiando

Member
Newcomer
Joined
Jul 1, 2020
Messages
12
Trophies
0
Age
27
XP
72
Country
France
Hi, can someone help me to set up for Dragon Quest Builders 2 ? It requires Wireless Mode, but before I had to accept the terms and conditions of SQUARE ENIX, can't connect without remove the DNS, is it the only option ?
 

Food

Well-Known Member
Newcomer
Joined
Jan 4, 2015
Messages
93
Trophies
0
Age
27
XP
145
Country
United States
i have a dedi server that runs 24/7 any way i can set this up to where my friends can connect to my server via ip and we can all play together? as in host a lobby
 

wii07

Well-Known Member
Member
Joined
Sep 9, 2019
Messages
107
Trophies
0
Age
36
XP
299
Country
Finland
One question: Do you guys turn stuff like 90DNS off when you use lan play to get a better upload/download speed? While you using it, the nintendo server cant build up a connection to yout switch anyway i guess?

Why i am thinking of that: When i use the hbg loader for updates (my switch is banned), it runs much faster downloading, when i have 90DNS off.

So in conclusion, wouldnt also the lan play connection be faster with turned that of while playing?
 

Maksbaisnavwujbs

New Member
Newbie
Joined
Dec 6, 2020
Messages
1
Trophies
0
Age
24
Location
Vancouver, British Columbia
XP
23
Country
China
I am having some problems when I installing on my Mac
So once I type the ip port in, It do shows "pcap loop star"t, but then have some error like:

[DEBUG]: packet init buffer 0x106ed4bb0
Server IP: 140.206.251.65 (<-- the case use this IP address

If I try with other IP address. it may show something like:

--------------------- MERGED ---------------------------

Did you find the way? I have the same problem

thx
chomd the file works for me when I have this problem.
 

Imancol

Otak Productions
Member
Joined
Jun 29, 2017
Messages
1,359
Trophies
0
XP
2,472
Country
Colombia
I get an error with ldn_mitm when I activate it, my Atmosphere just crashes on reboot. use de Last Firmware (11.0) and Last Atmosphere (0.16.0-p2)
 

Keriam

Well-Known Member
Member
Joined
Aug 30, 2006
Messages
136
Trophies
1
XP
724
Country
France
Hello,
If I understand correctly this homebrew : we have to use our own server or use a public one. Is there any website with a list of public servers ? I would like to play Diablo 3 : I have bought the game long time ago but my switch is banned so I cannot play online.

thanks
 

jajamundo

Well-Known Member
Member
Joined
Aug 28, 2009
Messages
320
Trophies
1
XP
2,064
Country
United States
Is there a way to set up this using a rapsberry pi?

Thanks!! I dont want to turn on my computer everytime I want to play a game
 

chrome99001

Member
Newcomer
Joined
Jun 7, 2017
Messages
24
Trophies
0
XP
236
Country
Malaysia
so I was wondering, is there any way to do Lan Play without going through a PC? Maybe can make the program to work using the Switch itself?
 

VeniaSilente

Well-Known Member
Newcomer
Joined
Sep 6, 2014
Messages
94
Trophies
0
XP
515
Country
Cote d'Ivoire
It has been explained before but I don't think there is.

Hopefully someone more understanding of the tech behind this will correct me but in the meantime:

The architecture of the lan-play system is such that you setup your Switch to connect to a private network (*not* a VPN), broadcast over your wifi, and on which the connection to their router is done via a routing mechanism on a second machine (your PC) that pretends to be the real lan-server (that's the closest we get to the "V" in VPN). Your Switch doesn't have to do any more actual work in this respect, only the actual game's local play protocol needs to be considered (and that is done via protocol injection / "man in the middle" (mitm) ).

For the Switch to be able to do on this by its own, the first and foremost thing that would be needed would be that its wireless interface driver was able to host two IPs on two networks (which I already don't know if it's physically doable) so that it can connect to the real wifi for the actual internet access and to the private network at the same time; then it would have the ability to add routing tables that lead to itself, so your Switch can see "a different machine" (itself but on the other network) as the routing exit. And *then* it'd still have to have enough memory and CPU left to run the slp component itself that does the redirection.

Considering that things like Tesla menu overlays get very little leeway to work on the Switch, it's unlikely that all this would work.

OTOH, it's almost fire-and-forget to run the slp component on a Linux machine (there's a docker image for it), or on an Android phone (there's a package for F-Droid).
 

chrome99001

Member
Newcomer
Joined
Jun 7, 2017
Messages
24
Trophies
0
XP
236
Country
Malaysia
It has been explained before but I don't think there is.

Hopefully someone more understanding of the tech behind this will correct me but in the meantime:

The architecture of the lan-play system is such that you setup your Switch to connect to a private network (*not* a VPN), broadcast over your wifi, and on which the connection to their router is done via a routing mechanism on a second machine (your PC) that pretends to be the real lan-server (that's the closest we get to the "V" in VPN). Your Switch doesn't have to do any more actual work in this respect, only the actual game's local play protocol needs to be considered (and that is done via protocol injection / "man in the middle" (mitm) ).

For the Switch to be able to do on this by its own, the first and foremost thing that would be needed would be that its wireless interface driver was able to host two IPs on two networks (which I already don't know if it's physically doable) so that it can connect to the real wifi for the actual internet access and to the private network at the same time; then it would have the ability to add routing tables that lead to itself, so your Switch can see "a different machine" (itself but on the other network) as the routing exit. And *then* it'd still have to have enough memory and CPU left to run the slp component itself that does the redirection.

Considering that things like Tesla menu overlays get very little leeway to work on the Switch, it's unlikely that all this would work.

OTOH, it's almost fire-and-forget to run the slp component on a Linux machine (there's a docker image for it), or on an Android phone (there's a package for F-Droid).

now that's a very informative reply. thanks a lot. :bow:
 

spotanjo3

Well-Known Member
Member
Joined
Nov 6, 2002
Messages
11,106
Trophies
3
XP
5,962
Country
United States
Nice work but online is useless to me. I like to play alone and offline. I want to finish the game to the end, that's all.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Skelletonike @ Skelletonike:
    1H left, such a slow week.
  • Sonic Angel Knight @ Sonic Angel Knight:
    Okay, I had spaghetti :P
  • SylverReZ @ SylverReZ:
    Hope they made lots of spaget
  • K3N1 @ K3N1:
    Chill dog
  • SylverReZ @ SylverReZ:
    Chilli dog
  • Skelletonike @ Skelletonike:
    Damn, I'm loving the new zelda.
  • xtremegamer @ xtremegamer:
    loving the new zelda, i started a game, it was so fucking good, so i
    am waiting on my friend to get home so we can start a new one together
  • Skelletonike @ Skelletonike:
    I just dislike that they don't let me choose the voices before the game starts. Happened with botw as well, had to change to japanese and restart.
  • K3N1 @ K3N1:
    But the important question is can you choose gender
  • Skelletonike @ Skelletonike:
    Same way you can choose Gerald's gender.
  • Skelletonike @ Skelletonike:
    *Geralt, damn autocorrect.
  • Psionic Roshambo @ Psionic Roshambo:
    But can he be trans? Lol
  • K3N1 @ K3N1:
    Zelda transforms into link
  • Psionic Roshambo @ Psionic Roshambo:
    Link I'm not the princess your looking for.... *Pulls a crying game*
  • K3N1 @ K3N1:
    *skirt up* it's exactly what I always wanted
  • Skelletonike @ Skelletonike:
    Just scanned all my zelda amiibos, took a while but didn't get anything that cool, did get the lon lon ranch hylian fabrics though.
  • Skelletonike @ Skelletonike:
    It was pretty funny when I scanned wolf link and got a shit load of meat.
  • K3N1 @ K3N1:
    @Skelletonike, btw I ran that custom for mgs4 on the deck I'm amazed it got that far in game
  • K3N1 @ K3N1:
    Plug in*
  • K3N1 @ K3N1:
    Your favorite activity
  • BentlyMods @ BentlyMods:
    My fav actvity is:

    mario-dancing.gif
    BentlyMods @ BentlyMods: My fav actvity is: