Homebrew WIP [Official] switch-lan-play

kwall24

Well-Known Member
Member
Joined
Mar 3, 2016
Messages
100
Trophies
0
Age
30
XP
224
Country
Canada
From what I gather, in order to play BDSP in Local mode with a friend, we would both need ldn_mitm, and both need CFW, correct? I'd like to be able to local play my CFW with his OFW, but I'm thinking that isn't something we can do.
 

microchipman

Well-Known Member
Newcomer
Joined
Sep 1, 2018
Messages
66
Trophies
0
Age
48
XP
126
Country
Canada
From what I gather, in order to play BDSP in Local mode with a friend, we would both need ldn_mitm, and both need CFW, correct? I'd like to be able to local play my CFW with his OFW, but I'm thinking that isn't something we can do.
We can add dying light to the list, I was able to play it tonight. Worked awesome.
 

microchipman

Well-Known Member
Newcomer
Joined
Sep 1, 2018
Messages
66
Trophies
0
Age
48
XP
126
Country
Canada
Hi there! I own 2 Switches and I'd like to play with both using switch-lan-play. Unfortunately when I launch [lan-play-win64.exe] each Switch is trying to connect to the server by disconnecting the other one... Is there a way to connect them both to play together? Thanks for your help.
Did you make sure each switch was on it's own Ipaddres within the ip/sunet range of 10.13.0.XX - 10.13.254.254? So like 10.13.27.54 and 10.13.27.60 or even 10.13.57.18 and 10.13.54.19. Anyways make sure each IP is unique within that range. Make sure atmosphere is refirecting to 90DNS with a hosts file, or leave raw 90DNS for the DNS settings for the wireless connection.
 

microchipman

Well-Known Member
Newcomer
Joined
Sep 1, 2018
Messages
66
Trophies
0
Age
48
XP
126
Country
Canada
Hi there! I own 2 Switches and I'd like to play with both using switch-lan-play. Unfortunately when I launch [lan-play-win64.exe] each Switch is trying to connect to the server by disconnecting the other one... Is there a way to connect them both to play together? Thanks for your help.
Oddly, I never had this issue yesterday, but I am today...crap.
 

orangy57

bruh
Member
Joined
Aug 17, 2015
Messages
916
Trophies
1
Age
21
Location
New Jersey
XP
2,943
Country
United States
this is obviously pretty ignorant, but what would be the logistics of making this into a sysmodule instead of a PC program? This software reminds me of Xlink Kai where the PC creates a Wippien/Hamachi/Tunngle virtual LAN network, and then through some magic that information is sent locally to your console and back when you connect to a specific DNS server. Why couldn't that be done locally on the console itself? Is a there a big overhead in tunneling the information into a virtual network adapter, or are the libraries just not available to do this sort of thing on the switch?

EDIT: This has been answered
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).
 
Last edited by orangy57,
  • Like
Reactions: VeniaSilente

Sno0t

Well-Known Member
Member
Joined
Aug 20, 2015
Messages
223
Trophies
0
XP
1,217
Country
Gambia, The
Hey everyone :)

For the life of me I cant get ldn_mitm to run with my remote friend (300km away)

We both use atmos 1.14, Fw 1.15.1, latest sigpatches, latest ldn_mitm. And both on windows PCs.

We setup and configured everything for switch-lan-play according to the install guide on the official site.
(I use 10.13.10.10 , he uses 10.13.10.11 as IP)
When starting lan-play.exe adn then starting tinfoil, the console shows "IConnection:connected" (Used this to check whether the general process works)

However, when we tried Mario Golf and/or WarioWare, neither local nor LAN mode enabled us to see each other.

I later tried to connect to my (local) Ryujinx with both games (LdnMitm).....also to no avail.
(Tested with and without P2P as well as enabled/disabled "Guest Internet Acces/LAN").

What are we missing/doing wrong?
Should we use another server? (using both switch.lan-play.com:11451)

any help is pretty much appreciated.
Thank you in advance and kind regards
 

scionae

*clicking circles*
Member
Joined
Dec 28, 2016
Messages
666
Trophies
0
XP
2,136
Country
Italy
Hey everyone :)

For the life of me I cant get ldn_mitm to run with my remote friend (300km away)

We both use atmos 1.14, Fw 1.15.1, latest sigpatches, latest ldn_mitm. And both on windows PCs.

We setup and configured everything for switch-lan-play according to the install guide on the official site.
(I use 10.13.10.10 , he uses 10.13.10.11 as IP)
When starting lan-play.exe adn then starting tinfoil, the console shows "IConnection:connected" (Used this to check whether the general process works)

However, when we tried Mario Golf and/or WarioWare, neither local nor LAN mode enabled us to see each other.

I later tried to connect to my (local) Ryujinx with both games (LdnMitm).....also to no avail.
(Tested with and without P2P as well as enabled/disabled "Guest Internet Acces/LAN").

What are we missing/doing wrong?
Should we use another server? (using both switch.lan-play.com:11451)

any help is pretty much appreciated.
Thank you in advance and kind regards
You can try other servers and you can also try rebooting your switch if things don't pan out. From what I read you are doing everything correctly. (to my knowledge)
 
  • Like
Reactions: Sno0t

Sno0t

Well-Known Member
Member
Joined
Aug 20, 2015
Messages
223
Trophies
0
XP
1,217
Country
Gambia, The
You can try other servers and you can also try rebooting your switch if things don't pan out. From what I read you are doing everything correctly. (to my knowledge)
Thank you very much :)
Choosing different server did the trick(s) for the switches.
Is there any way to get ryujinx to join us there ? (One Switch and the ryujinx PC are normally in the same network, but when the switch is connected via switch-lan-play, ryujinx cant find it)
 

scionae

*clicking circles*
Member
Joined
Dec 28, 2016
Messages
666
Trophies
0
XP
2,136
Country
Italy
Thank you very much :)
Choosing different server did the trick(s) for the switches.
Is there any way to get ryujinx to join us there ? (One Switch and the ryujinx PC are normally in the same network, but when the switch is connected via switch-lan-play, ryujinx cant find it)
Only if Ryujinx and the Switch are on the SAME network, not the same ldn_mitm server. So far from my testing it doesn't work if you want to play with a distant friend, unfortunately.
 

librarianmemble

New Member
Newbie
Joined
Dec 2, 2022
Messages
1
Trophies
0
Age
30
XP
14
Country
Indonesia
Only if Ryujinx and the Switch are on the SAME network, not the same ldn_mitm server. So far from my testing it doesn't work if you want to play with a distant friend, unfortunately.
with some work around, you can.
I using a hackedswitch can play with my friend in different island from me just now.
BUT, it's kinda a hassle tho, because you need at least 2 pc.
I play using a switch redirected into a server with my laptop running the lan play client. while my friend use his pc with ryujinx ldn_mitm and network setting same as my switch (bar the ip) and his laptop running the lan play client (the same packet capturing method like switch used to connect to lan play). and both of us are redirected into a server that acts as a "same network" like ryujinx team mentioned
 

Garuda357

Member
Newcomer
Joined
Feb 20, 2016
Messages
24
Trophies
0
Age
29
XP
614
Country
Venezuela
with some work around, you can.
I using a hackedswitch can play with my friend in different island from me just now.
BUT, it's kinda a hassle tho, because you need at least 2 pc.
I play using a switch redirected into a server with my laptop running the lan play client. while my friend use his pc with ryujinx ldn_mitm and network setting same as my switch (bar the ip) and his laptop running the lan play client (the same packet capturing method like switch used to connect to lan play). and both of us are redirected into a server that acts as a "same network" like ryujinx team mentioned
Can you share more details on your setup? I've been trying to replicate your success but the best I get is connection errors.
 

dehydrated_lemur

Well-Known Member
Member
Joined
Mar 15, 2022
Messages
109
Trophies
0
XP
446
Country
United States
I have a question or two....or three.
What exactly does ldn.mtm do?
If I'm using dns.mtm & exosphere what should I make my DNS connection be when changing my Internet settings?
If a stock switch can play lan over the internet without ldn.mtm why do we need it on CFW switch?
Can I stay on this connection when not playing online or is it recommended for me to change it back to "automatic" in the Internet settings?
 

Raugo

Well-Known Member
Member
Joined
Nov 22, 2014
Messages
630
Trophies
0
XP
2,450
Country
Spain
I have a question or two....or three.
What exactly does ldn.mtm do?
If I'm using dns.mtm & exosphere what should I make my DNS connection be when changing my Internet settings?
If a stock switch can play lan over the internet without ldn.mtm why do we need it on CFW switch?
Can I stay on this connection when not playing online or is it recommended for me to change it back to "automatic" in the Internet settings?

ldn.mitm convert the ad-hoc (connection between consoles without using a lan) to a lan connection. Without it you can't use lan-play in some games.
 

masterspike52

Well-Known Member
Member
Joined
Jan 25, 2017
Messages
192
Trophies
0
Age
28
XP
506
Country
United States
Lemme start off by saying switch lan-play is a great thing to use for playing with other people that use it. The problem is there is a mod who's kind of a dickhead for no reason, he doesnt really help anyone at all with anything, and if you ask your met with shitty answers and treated like your a moron. If your in the server and want help with things like hosting your own server or even setting it up, your going to be met with "you don't need your own server" and of course "setup guide is on the website" and then if you try to help someone you get told your spamming the channel, and if you call them out they delete your messages and warn you for posting messages that are off topic. There shouldn't be any reason for anyone to treat anyone with disrespect in any scenario or just because they have a position of power. Like I said switch lan play is great and the creator works extremely hard to make sure it works smoothly but c'mon?
 

Ecner19

Well-Known Member
Newcomer
Joined
Jul 14, 2016
Messages
52
Trophies
0
XP
1,266
Country
Philippines
Hello. I'm having a problem with trying to play local multiplayer of Risk of Rain 2 with my friend. Just to be clear, he and I need a pc to run the same server in lan-play right? Do we need ldn-mitm? We can't make it work though we've followed the instructions and tried many times. Thanks and any help would be appreciated
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • The Real Jdbye @ The Real Jdbye:
    the vram is one advantage when it comes to AI but ends up being slower even with that and really AI is the only use case that needs more than 12gb vram right now
  • Psionic Roshambo @ Psionic Roshambo:
    Interesting lol
  • Psionic Roshambo @ Psionic Roshambo:
    I think I watched a video where two games at 4K where eating just over 16GB of RAM and it's the one case where the 7900XT and XTX pulled ahead (minus RTX of course)
  • Psionic Roshambo @ Psionic Roshambo:
    So my opinion is that they could age a bit better in the future, and maybe AMD will continue improving them via drivers like they tend to do. No guarantee there but they have done it in the past. Just a feeling I have.
  • The Real Jdbye @ The Real Jdbye:
    cyberpunk at 4k without DLSS/fidelityfx *might* exceed 12gb
    +1
  • The Real Jdbye @ The Real Jdbye:
    but that game barely runs at native 4k
  • Psionic Roshambo @ Psionic Roshambo:
    I think it was some newer games and probably poorly optimized PS4 or PS5 ports
  • The Real Jdbye @ The Real Jdbye:
    they definitely will age better but i feel dlss might outweigh that since it looks about as good as native resolution and much less demanding
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    When I played Cyberpunk on my old 2080 Ti it sucked lol
  • The Real Jdbye @ The Real Jdbye:
    AMD could introduce something comparable to DLSS but nvidia's got a lot more experience with that
  • The Real Jdbye @ The Real Jdbye:
    least amd 7xxx has tensor cores which the previous generations didn't so there is the potential for AI upscaling
  • Psionic Roshambo @ Psionic Roshambo:
    They have FSR or whatever it's called and yeah it's still not great
  • The Real Jdbye @ The Real Jdbye:
    so AMD seem to finally be starting to take AI seriously
  • Psionic Roshambo @ Psionic Roshambo:
    Oh yeah those new 8000 CPUs have AI cores built in that's interesting
  • Psionic Roshambo @ Psionic Roshambo:
    Maybe they plan on offloading to the CPU?
  • Psionic Roshambo @ Psionic Roshambo:
    Would be kinda cool to have the CPU and GPU working in random more
  • Psionic Roshambo @ Psionic Roshambo:
    Tandem even
  • The Real Jdbye @ The Real Jdbye:
    i think i heard of that, it's a good idea, shouldn't need a dedicated GPU just to run a LLM or video upscaling
  • The Real Jdbye @ The Real Jdbye:
    even the nvidia shield tv has AI video upscaling
  • The Real Jdbye @ The Real Jdbye:
    LLMs can be run on cpu anyway but it's quite slow
  • BakerMan @ BakerMan:
    Have you ever been beaten by a wet spaghetti noodle by your girlfriend because she has a twin sister, and you got confused and fucked her dad?
  • Psionic Roshambo @ Psionic Roshambo:
    I had a girlfriend who had a twin sister and they would mess with me constantly.... Until one chipped a tooth then finally I could tell them apart.... Lol
  • Psionic Roshambo @ Psionic Roshambo:
    They would have the same hair style the same clothes everything... Really messed with my head lol
  • Psionic Roshambo @ Psionic Roshambo:
    @The Real Jdbye, I could see AMD trying to pull off the CPU GPU tandem thing, would be a way to maybe close the gap a bit with Nvidia. Plus it would kinda put Nvidia at a future disadvantage since Nvidia can't make X86/64 CPUs? Intel and AMD licensing issues... I wonder how much that has held back innovation.
    Psionic Roshambo @ Psionic Roshambo: @The Real Jdbye, I could see AMD trying to pull off the CPU GPU tandem thing, would be a way to...