[works somehow] MelonDS online without Ethernet

September 2020 update:
Since this shows up on google for some reason, I just wanted to let you know that with MelonDS 0.9 "- Indirect mode wifi now uses libslirp and works well now and can be used over direct mode which only worked over ethernet and required pcap.", so if you are using the newer version this workaround should not be needed (still I didn't test it personally yet). Go to http://melonds.kuribo64.net/ and have fun :)

Old post:
You guys probably already know about this, but I thought it might be useful to someone.
(Also yay, first blog post, maybe I should have made thread instead)

tldwtw:
You can use MelonDS online with your pc/laptop connected to a WiFi network (not a wired one) in "Direct mode" (the stable one that needs npcap and normally an Ethernet connection).
This workaround takes advantage of Windows 10 "Mobile hotspot" feature, which creates a "fake" Ethernet adapter that you can then select in MelonDS settings as your preferred one.
You can then setup your game NWFC settings normally to connect to play on servers like wiimmifi (using the patcher on nds-constraint DNS).

I don't know how this works (maybe it has something to do with Windows taking care of the NAT?), there are probably other factors involved (firewall settings? hotspot settings? my specific wifi card? The fact I had one device connected to the hotspot?), but I was able to play 8 races on MKDS without disconnecting, so it may be worth investigating.

If you need more information on my setup let me know, pinging @StapleButter because the last time I read on his blog online on a WiFi network only worked with "Indirect mode", which would be probably deprecated in the future. (And it didn't work for me)

EDIT: photos of my network configuration, sorry for the crappy editing and the Italian GUI
View attachment 204616 View attachment 204614 View attachment 204615
  • Like
Reactions: 3 people

Comments

if you use this make sure to turn off automatically disabling internet sharing if no device is connected
 
ah and indirect mode getting deprecated is not true. In long term it's the best solution, we have plans to improve it.
 
  • Like
Reactions: 1 person
Oh wait :ninja:, I'm sorry, didn't realize you were the one working on the JIT ^^'''
I said that because Arisotura always called it a "gross hack" on his blogs;
If there are other existing, more stable ways to create a subnet for melon to work with, maybe you guys should use them instead of creating a new framework with the risk of introducing new bugs...

Now that I think about it, I wonder how Dolphin deals with this...
 
Couldn't get this to work on my PC.
I didnt have anything connected to the hotspot though.
Could you do a more detailed guide? I tried all sorts of stuff and couldnt get this to work at all.
 
Sorry Zinx, notifications seems to be broken for blog posts.
Can you give me more details?
Remember to install npcap and allow melonds on windows firewall on both public and private networks.
Btw, There's a chance your wifi adapter doesn't properly support creating an hotspot...
Also, you can check the error codes the NWFC settings app gives you when testing your connection on the wiimmifi website, they can be helpful sometimes.
 
I already got this to work with ethernet I just wanted to try to see if it works with wireless connection.
I get error 52000 when it does not work btw.
 
I solved this issue.

  • Only Npcap is supported, not Win10pcap. If you have both installed, uninstall both and do a fresh install of Npcap.
  • When installing Npcap, you must only check "Install Npcap in WinPcap API-compatible mode" and nothing else. Do not check "Support raw 802.11 traffic (and monitor mode) for wireless adapters" despite the description stating otherwise!
  • Make sure when you enable the mobile hotspot that power saving is off.
  • The zwei.moe altwfc server at 172.104.88.237 (set this as primary DNS in WFC settings, and secondary DNS as 0.0.0.0) is generally better than wimmifi for DS games because they simply work, rather than requiring wimmifi to manually support each game. For example, Advance Wars: Days of Ruin only works on zwei.moe.
This should fix the error 20100/52000 issues. Enjoy!
 
@CrestComplete I just tried your solution but I still recieved the 52000 error. I am attempting to connect Pokemon Diamond and another but can't make a successful connection in the N. WI-FI settings. Could you send screenshots of you doing this so I can check my work?
 

Blog entry information

Author
Valery0p
Views
2,440
Comments
28
Last update

More entries in Personal Blogs

More entries from Valery0p

General chit-chat
Help Users
  • No one is chatting at the moment.
    Veho @ Veho: Wow, only $700?