Views: 23,291,501 | Homepage | Main | Rules/FAQ | Memberlist | Active users | Last posts | Calendar | Stats | Online users | Search | 12-11-24 10:07 AM |
Guest: |
0 users reading Tutorial: How to Connect to WFC in MelonDS (Updated 23/09/2023) | 1 bot |
Main - General - Tutorial: How to Connect to WFC in MelonDS (Updated 23/09/2023) | Hide post layouts | New reply |
Wifall |
| ||
Member Normal user Level: 29 Posts: 76/204 EXP: 137878 Next: 10007 Since: 10-25-18 Last post: 421 days ago Last view: 417 days ago |
Updated (23/09/2023) with error codes and possible solutions.
This brief tutorial will (hopefully) teach you how to connect to the alternate WFC servers using the melonDS emulator. If you already connected previously to the official WFC or an alternate one, you'll have to do the Extra Step first. If you want to local multiplayer between two instances, follow this tutorial here 1st step: Make sure MelonDS is on the latest version. - On Windows make sure both MelonDS and the rom file and save are placed in a UAC free directory (desktop, drive root, etc.) Otherwise, right-click on MelonDS and go to proprieties, then go to the compatibility tab and check on the "execute this program as administrator" box, and click ok. - On Linux, make sure both MelonDS and the rom file and save are placed in a non-restricted directory. Both can be downloaded here https://melonds.kuribo64.net/downloads.php - On Android, you can either use the standalone melonDS app (from GitHub, the Play Store one is outdated and will not work) or melonDS DS Retroach core. You can download either on the most recent versions from GitHub or download here: melonDS android standalone: here melonDS DS Retroarch core: here 2nd step: Now boot up your game, select the WFC Settings option (where it's located, depends on the game), and then select the "Nintendo Wi-Fi Connection settings". On the next screen: you will tap either connection 1,2 or 3. On DSi it can be done on the system's settings, go to DSi's settings > 3rd tab > Internet > Connection Settings and then tap either connection 1,2 or 3. 3rd step: Now click on the "Search for an Access Point" option, then after a short load, melonDS emulated access point (melonAP) will appear, select it and tap OK, after a short while, a connection successful message will appear. On DSi mode, you'll also be required to accept the terms of agreement, this must be done BEFORE you set up the DNS! Go to DSi's settings > 3rd tab > Internet > User Agreement to do that. It'll prompt that it needs to access the internet, press Yes. Once connected, select a language, and on the next screen press Next, then click "I Accept" and then click OK. On DS: On DSi: 4th step: Now click on the newly created connection, then scroll down to DNS settings, then tap on NO in the "Auto-obtain DNS" setting, after that, click on edit on Primary DNS setting and type a DNS of an alternate WFC server (do the same on the Secondary DNS), after that tap on save settings. On DSi go to Internet > connection settings, click on the newly created connection, then click in "Change Settings", go to the "Auto-Obtain DNS" tab, click in no. Once you've done this, click on detailed setup, input the DNS there, and click OK. On DS: On DSi: Here's a list of the most famous ones: AltWFC: 172.104.88.237 Wimmfi: 95.217.77.151 Kaeru: 178.62.43.212 Extra Step: You may be unable to connect if your bios file has an old WFC setting saved in the firmware, in this case, on DS in a WiFi-enabled game, go to the WFC setting on your game then tap Option, and select "Erase the Nintendo WFC Configuration Setting" and then tap OK, the game will shutdown after that. On DSi, go to settings > 3rd tab > Internet > Options > Delete Nintendo WFC Configuration, it will prompt you to confirm, and select yes on both prompts. Once you've done it, you must follow the 2nd step and forward. On DS: On DSi: You might find these errors while attempting to connect, along with them you will also find possible solutions: 86420: Natneg error - This is probably caused because of the router, you'll probably need to enable DMZ, or port forward UDP 1024-65535. 61020: Login error - The server is probably in maintenance. You should try another server, but you'll have to execute the extra step first. 52200 and 52201: Connection test failed - Try checking your connection stability, and using another internet connection to see if it fixes the issue. 52100: DNS error - It either means that you misconfigured the DNS or either the ISP or router is blocking DNS requests. 52000: Connection error means that no internet connection was found - It can be caused by misconfiguration of your emulator, PC, or even the router itself. Check which mode you are using, if you are using direct mode, check if npCap, Wincap or libcap package are installed in your system. In Windows, make sure that the emulator is running in admin mode if you are using direct mode. 50199 - Generic internet error means that the connection is interrupted - Try checking your connection stability, and using another internet connection to see if it fixes the issue. 23917: Wimmfi-related code - Your firmware is banned. 20110: Login error, the DNS is probably being blocked by your ISP, If you are getting this. Try this tutorial. In some cases, your ISP may block some of these DNS requests, make sure to test them all and check if they are not down for maintenance. If this fails, using direct mode sometimes may fix these problems. If you want to try direct mode for any reason you'll have to install Wincap (Windows 7), Npcap (Windows 8 or higher), or the Libpcap package (according to your Linux distro), on Windows you will have to run MelonDS.exe in administrator mode. After that, click on config, then click on Wifi settings. Check the "Direct mode" box on the Wi-Fi settings screen and select your wired adapter. 20105: Login error, try deleting your WFC setting as described in the extra step. |
Sorer |
| ||
Member Normal user Level: 23 Posts: 60/116 EXP: 63053 Next: 4670 Since: 12-21-17 Last post: 1057 days ago Last view: 970 days ago |
Couple of notes:
This work on both Windows and Linux OS. For Linux you need to install the libpcap package (according to your distro installation). It's possible that on Linux you might not need an Ethernet/wired connection and you could use wireless because the drivers there work differently than on Windows. |
Rizaia |
| ||
Newcomer Inactive Level: 4 Posts: 1/3 EXP: 215 Next: 64 Since: 03-26-20 Last post: 1712 days ago Last view: 501 days ago |
Hello. I followed all the steps but I can't play online. None of the steps gave me any issue and I only have 1 connection out of the 3 configured, so I guess that's not the problem. I have also tried connecting to both AltWFC and Wimmfi with the same result.
I tried 2 games, mario kart ds and advance wars dark conflict. The following message appears when trying to connect to the wifi mode: With mario kart DS: Nintendo WFC service for this software has been halted. Error Code 20110. With advance wars dark conflict: Nintendo Wi-Fi Connection service for this software has been discontinued. And Error Code 20110 again. My guess is that the alternate WFC servers are either dead or my emulator is trying to connect to the official WFC even though I followed all steps... Any help please? |
Sorer |
| ||
Member Normal user Level: 23 Posts: 63/116 EXP: 63053 Next: 4670 Since: 12-21-17 Last post: 1057 days ago Last view: 970 days ago |
Posted by Rizaia Try putting 8.8.8.8/1.1.1.1 in the secondary DNS. Change the router's DNS IP to the DNS that appear in the tutorial and see if that works. Or, put the DNS on the internet adapter settings on windows (if you use it). |
Rizaia |
| ||
Newcomer Inactive Level: 4 Posts: 2/3 EXP: 215 Next: 64 Since: 03-26-20 Last post: 1712 days ago Last view: 501 days ago |
Posted by Sorer I tried this and didn't work. Posted by Sorer I don't really know how to do that or if I even want to... In any case, after some more attempts I thought I'd share a bit of extra info that might be relevant: The first time I followed this tutorial I didn't click the "erase nintendo WFC configuration" button in the options because I was able to get a "connection successful" message when configurating an access point. However, I read somewhere that erasing the configuration using that button lets the console/game create a new profile for the server or something like that, so I clicked it and erased all the configuration. After doing that, I configurate a new access point following the tutorial but this time I DON'T get the "connection successful" message, even after typing the DNS manually I still don't get a connection successful message by doing a connection test, all I get is the official nintendo message saying the servers have been discontinued (with the same error code I get when trying to connect inside a game). |
squeegily |
| ||
Half-eaten melon Positive Schlub Level: 11 Posts: 13/23 EXP: 4577 Next: 1408 Since: 03-25-20 Last post: 1689 days ago Last view: 1676 days ago |
Posted by RizaiaThat is actually terrible news, if you're surely interpreting the situation correctly Would you mind running these commands in the Windows CMD and reporting back their output (in order)?:
dig , and prepend “@ ” to the DNS server where applicable
e.g.: dig nas.nintendowifi.net @164.132.44.106
**do include any extra "garbage" information the commands output—copy the whole thing (don't forget to wrap the output in [code] tags!)
I have known some routers to block+intercept+override requests to “unauthorized” DNS servers; you can usually disable this, but it'd be necessary to at least peruse the manual to confirm. Would you feel comfortable sharing the manufacturer and model # of your router with us? |
Rizaia |
| ||
Newcomer Inactive Level: 4 Posts: 3/3 EXP: 215 Next: 64 Since: 03-26-20 Last post: 1712 days ago Last view: 501 days ago |
Posted by squeegily Ok... just ignore my previous posts I guess. Before you replied this, I discovered the existence of rom patchers (yes, I am very noob) so I tried to patch my rom and follow this tutorial again. Now I get error 20100 instead of the discontinued servers message. So I guess the question is: is there something else I need to know about all this process a part from using a patched rom and following this tutorial? |
Riza16 |
| ||
Newcomer Inactive Level: 5 Posts: 1/5 EXP: 462 Next: 67 Since: 04-08-20 Last post: 1308 days ago Last view: 936 days ago |
Hello I have an issue in step 5 : after selecting melonAP in the search result menu I get a connection error 52000 while testing, please help |
Generic aka RSDuck |
| ||
Big fire melon Administrator Level: 45 Posts: 24/610 EXP: 654418 Next: 5746 Since: 10-12-19 Last post: 70 days ago Last view: 9 hours ago |
until Indirect Mode works more reliable, there is a workaround presented by Valery0p on Gbatemp, which works even if your computer is connected with wifi to the internet.
It requires Windows 10. Basically you need to use the option to share your internet connection (make sure to disable it turning it automatically off if no device is connected). This creates a virtual ethernet adapter which can be used with melonDS. I have tried it myself and it worked, though no guarantees what so ever, improving Indirect mode is the better solution. ____________________ Take me to your heart / never let me go! "clearly you need to mow more lawns and buy a better pc" - Hydr8gon |
Sorer |
| ||
Member Normal user Level: 23 Posts: 65/116 EXP: 63053 Next: 4670 Since: 12-21-17 Last post: 1057 days ago Last view: 970 days ago |
Speaking about getting connected to WFC in MelonDS I hope there would be a way to disable cheats while connected.
We dont want more cheaters lol. |
Arisotura |
| ||
Big fire melon magical melon girl Level: 58 Posts: 485/945 EXP: 1541384 Next: 36162 Since: 03-28-17 From: France Last post: 40 days ago Last view: 9 hours ago |
client-side security is bound to fail; cheat protection should be implemented on the server. ____________________ Kuribo64 |
Sorer |
| ||
Member Normal user Level: 23 Posts: 66/116 EXP: 63053 Next: 4670 Since: 12-21-17 Last post: 1057 days ago Last view: 970 days ago |
Posted by Arisotura Too bad. I need to see if the wireless thing works btw . |
Sorer |
| ||
Member Normal user Level: 23 Posts: 67/116 EXP: 63053 Next: 4670 Since: 12-21-17 Last post: 1057 days ago Last view: 970 days ago |
Posted by Generic aka RSDuck This method did not work for me for some reason. If it works for others thats great I guess because I can still use an ethernet connection. |
Antact |
| ||
Member Melonoob Level: 7 Posts: 1/10 EXP: 1270 Next: 178 Since: 07-10-20 From: India Last post: 1522 days ago Last view: 1522 days ago |
What is the indirect mode (I barely have any idea of these things)?
Could anyone please guide me on how this network adapter works? I tried using Wi-Fi as the network adapter and in my DS rom(HeartGold) ,disabled 'Auto obtain IP' ,and entered my own IP pathway ,but it gives error 51100. Also ,I couldn't understand the workaround given by Valery0p. Please help. |
Sorer |
| ||
Member Normal user Level: 23 Posts: 74/116 EXP: 63053 Next: 4670 Since: 12-21-17 Last post: 1057 days ago Last view: 970 days ago |
You will neePosted by Antact d to wait for libslirp to be merged and be in the next official release of MelonDS. it will make things easier and will obsolete this tutorial. |
Rayyan |
| ||
Big melon Administrator Level: 30 Posts: 16/238 EXP: 148240 Next: 17629 Since: 06-25-20 From: UK Last post: 212 days ago Last view: 13 days ago |
Do not use these - libslirp has been merged into master.You can find the latest libslirp build here: Windows: https://mega.nz/file/yXYkzKDI#mx7WfrfOSqx00oN4Q2w-yjg1rmweSMmWLdgTjg15Knw Linux: https://mega.nz/file/STYECAhK#FcOfw-w_n34OaofDuE_QLZm00Sj2bAcIdmoyUNQjuU4 ____________________
How to write an emulator
1. throw code to be emulated somewhere 2. make memory system that allows accessing that code 3. emulate CPU 4. have fun implementing all the other hardware -- Arisotura, Tuesday 5th January 2021, 22:00:17 |
Antact |
| ||
Member Melonoob Level: 7 Posts: 3/10 EXP: 1270 Next: 178 Since: 07-10-20 From: India Last post: 1522 days ago Last view: 1522 days ago |
I may sound stupid ,but what does a libslirp build do?
And is this going to be released as MelonDS 0.8.4? |
Rayyan |
| ||
Big melon Administrator Level: 30 Posts: 24/238 EXP: 148240 Next: 17629 Since: 06-25-20 From: UK Last post: 212 days ago Last view: 13 days ago |
Libslirp builds do not need npcap to be installed, can be used over Ethernet or Wifi, and can also emulate DSi wifi. Also, the next version will be 0.9. ____________________
How to write an emulator
1. throw code to be emulated somewhere 2. make memory system that allows accessing that code 3. emulate CPU 4. have fun implementing all the other hardware -- Arisotura, Tuesday 5th January 2021, 22:00:17 |
SLG3 |
| ||
Ice melon No ideas for title Level: 16 Posts: 18/55 EXP: 16622 Next: 3634 Since: 05-25-20 Last post: 1235 days ago Last view: 74 days ago |
That's not working. |
Antact |
| ||
Member Melonoob Level: 7 Posts: 4/10 EXP: 1270 Next: 178 Since: 07-10-20 From: India Last post: 1522 days ago Last view: 1522 days ago |
Why does the current version of MelonDS need a packet capture application like npcap anyways? |
Main - General - Tutorial: How to Connect to WFC in MelonDS (Updated 23/09/2023) | Hide post layouts | New reply |
Page rendered in 0.112 seconds. (2048KB of memory used) MySQL - queries: 28, rows: 116/116, time: 0.051 seconds. Acmlmboard 2.064 (2018-07-20) © 2005-2008 Acmlm, Xkeeper, blackhole89 et al. |