Views: 6,858,072 Homepage | Main | Rules/FAQ | Memberlist | Active users | Last posts | Calendar | Stats | Online users | Search 04-19-24 01:18 PM
Guest:

0 users reading Tutorial: How to Connect to WFC in MelonDS (Updated 23/09/2023) | 2 guests | 1 bot

Main - General - Tutorial: How to Connect to WFC in MelonDS (Updated 23/09/2023) Hide post layouts | New reply

Pages: 1 2 3 4 5 6 7
CoolJ
Posted on 08-02-21 02:26 PM (rev. 2 of 08-02-21 03:18 PM) Link | #4125
Posted by Vulpliks
Hey guys, after hours of trying, I finally made it work for me.
Version: 0.9.2
Wifi Settings: Bind socket to any address and Randomize MAC Address both checked
Online: Indirect Mode

The key point is that your ROM needs to be patched, the normal ROM downloaded from the internet will not connect.
Patching is very simple. Download the WfcPatcher tool from here: https://github.com/AdmiralCurtiss/WfcPatcher/releases
Extract the .exe file to some directory, drag your .rom file into the icon of the WfcPatcher.exe, one command line will pop up and suddenly disappear.
The patched rom will appear in the same folder of the original rom, with an additional (NoSSL) at the end of the filename.

When configuring the DNS of the WFC, I used: 95.217.77.151 (both primary and secondary), the network name is MelonAP
First, you can test it. Open a new cmd window and type:

nslookup nas.nintendowifi.net 95.217.77.151

If the server is accessible, you should see something like this:

Server: static.151.77.217.95.clients.your-server.de
Address: 95.217.77.151

Name: nas.nintendowifi.net
Address: 95.217.77.151

Then it worked, I tested both Mario Kart DS and Pokemon Platinum and they are working fine.


I followed these instructions exactly (I already had the wfcpatcher tool and had noSSL roms, but I used the randomize mac address and used this specific DNS IP) and got farther than before, but still not working. In game now, I'm able to see myself in the Union room. (I made a copy of my save file so that I could access it from two separate emulators, this is in diamond for reference). But when I try to communicate in the Union room, it runs into an error. I may be able to use wireshark to figure out what the exact communication is that leads to a failure, but at the moment I don't have time. And as well, I'm not able to actually use WFC at all. I go to the basement of the pokemon center to try and connect using friend codes, and it gives me Error 20100 that there basically is no server to connect to.

When I use that command in my command prompt, it gives the correct server, and the first address is right, but then it says "non-authoritative answer" before giving the correct name, but it incorrectly lists the second address as 69.25.139.141. Does this mean that I'm getting DNS blocked from accessing the server? If so, how can I fix that?


Edited to add: I'm still interested in a fix to this problem for trading/battling with friends over the internet, but for anyone else who just wants to get a trade evo but doesn't want to use a randomizer (or is already 20 hours in and doesn't want to start over like me), you can just use pokegen. It's pretty easy to generate a pokemon and add it into your game, in my case, I clicked on my trade evo mon, changed its species to the evolved form, and it automatically calculated all of the correct stats for it.

Vulpliks
Posted on 08-02-21 11:32 PM Link | #4129
Hi @CoolJ,

Actually, Union Room (Local Multiplayer) and WFC are uncorrelated, these are two different features in Pokémon games.
While in the Union Room, go to Config and uncheck the options Limit Framerate and Audio Sync. This will make your FPS go higher, but as there is a strict timing requirement, this is the way it works.
Just to remind you that in this case, you can use Union Room between two instances in the same computer or (maybe) between two computers in the same network.

The DNS settings only affect the WFC functionality. Try to repeat the same DNS address for both primary and secondary DNS.
If this server is not working for you, maybe you can try using another server.
Wifall updated recently the tutorial, try to follow the steps in the first post: https://melonds.kuribo64.net/board/thread.php?pid=1462#1462

laststand0810
Posted on 08-11-21 09:01 AM Link | #4199
Hi, I would like to ask can I host 2 sessions of melonDS on a single PC and connect them together (for self trading purpose). If it could then how can I achieve it? is there any warning or notice on this matter?

Vulpliks
Posted on 08-11-21 11:45 AM Link | #4200
Posted by laststand0810
Hi, I would like to ask can I host 2 sessions of melonDS on a single PC and connect them together (for self trading purpose). If it could then how can I achieve it? is there any warning or notice on this matter?


Well, it is certainly possible to do that. In this case, you will use the Local Multiplayer implementation of MelonDS to communicate between these two instances.

1. Open two windows of the MelonDS emulator and load the specific game in each of them.
2. Go to Config > Wifi Settings and make sure that the options "Bind Sockets to Any Address" and "Randomize MAC Address" are checked.
3. Go to the Pokémon Center in each of the emulator windows, and search the Union Room (Usually it is in the second floor).
4. When prompted to allow the local communications to be launched, answer yes, and then save the game. Enter in the Union Room.
5. While inside the Union Room, go to the emulator Configs and make sure that both "Limit Framerate" and "Audio Sync" options are left unchecked.

You will see that the FPS rate will increase and the music will also change, but as it requires a strict timing, it is necessary, otherwise, you will have some blue screen errors popping up during the communication.
Then just check if the other player (other instance) is visible in the room and start trading. It may happen that sometimes one of the instances becomes invisible, in this case, just leave the room and try again.


joossof
Posted on 08-13-21 07:31 PM Link | #4215
my game doesnt have wfc it has join a room and make a room i was trying to play plants vs zombies and i did the winpcap and it doesnt work so what should i do i tried everything

Vulpliks
Posted on 08-14-21 02:21 AM Link | #4220
Posted by joossof
my game doesnt have wfc it has join a room and make a room i was trying to play plants vs zombies and i did the winpcap and it doesnt work so what should i do i tried everything


Plants vs Zombies only has the Local Multiplayer option.
You can run two instances of MelonDS on the same computer and play it (I tried and it works), however, as it only works with the touchscreen inputs, it will be quite hard to play together.

For example, Mario Kart DS supports joystick inputs, so if I plug two joysticks on the same laptop, I can play locally with a friend, no problem.
But in this case, if you want to play against a friend, you would need to use MelonDS on two different computers in the same network and check if you can do the Local Multiplayer between them.
Here and here there are some information about it.

[image]

joossof
Posted on 08-14-21 07:26 AM Link | #4221
Posted by Vulpliks
Plants vs Zombies only has the Local Multiplayer option.
You can run two instances of MelonDS on the same computer and play it (I tried and it works), however, as it only works with the touchscreen inputs, it will be quite hard to play together.

For example, Mario Kart DS supports joystick inputs, so if I plug two joysticks on the same laptop, I can play locally with a friend, no problem.
But in this case, if you want to play against a friend, you would need to use MelonDS on two different computers in the same network and check if you can do the Local Multiplayer between them.
Here and here there are some information about it.

[image]


i want to play the game from different computer with someone from different country and idk what to do

Vulpliks
Posted on 08-14-21 09:25 AM Link | #4222
Posted by joossof
i want to play the game from different computer with someone from different country and idk what to do


As this game does not support WFC I don't think it is possible to achieve this in the Nintendo DS version of the game.
This Versus Mode is supposed to be played by two players close to each other.

joossof
Posted on 08-14-21 09:48 AM Link | #4223
Posted by Vulpliks
As this game does not support WFC I don't think it is possible to achieve this in the Nintendo DS version of the game.
This Versus Mode is supposed to be played by two players close to each other.

so there is no other way to play this game right like isnt there like a ip address so he can like join my lan and then we can play

Wifall
Posted on 08-14-21 10:16 AM Link | #4224
Posted by joossof
so there is no other way to play this game right like isnt there like a ip address so he can like join my lan and then we can play

You could try using either Hamachi or Radmin, but the DS local communication is highly sensitive to high response times, therefore any ping above 5 to 10ms or so would be too high and the connection will fail.

What I recommend you to do is playing 2 windows in the same PC and using Parsec to play with your friend.

joossof
Posted on 08-14-21 10:30 AM Link | #4225
Posted by Wifall
You could try using either Hamachi or Radmin, but the DS local communication is highly sensitive to high response times, therefore any ping above 5 to 10ms or so would be too high and the connection will fail.

What I recommend you to do is playing 2 windows in the same PC and using Parsec to play with your friend.

yeah but we will be playing plants vs zombies and also about the ping i have 125 ping so i dont think i will play


Sorer
Posted on 09-14-21 09:04 AM Link | #4460
Well me and Wifall found out you could play certain games online with local wireless with ping even above 200 ms (Medarot DS for example)
But its not the norm for the system lol

DarkFireYoshi
(post deleted) #4500

StrangeSleuth
Posted on 10-22-21 03:04 PM Link | #4608
Hello, I've been trying to play FFCC echoes of time with my friend over internet for a couple days now but I keep running into the error 61020. At first I thought it was because the servers were doing maintenence or something but my friend tried on FFCC and mario kart ds and was able to get in just fine. I'm not really smart with these kinds of things so I don't really understand what's going wrong aside from maybe it not working through my router or with my ISP, but I'm not sure what to do about it. Any help would be appreciated.

Sorry if this is redundant to previous users or if it seems obvious, thanks in advance.

Wifall
Posted on 10-22-21 06:16 PM Link | #4609
Posted by StrangeSleuth
Hello, I've been trying to play FFCC echoes of time with my friend over internet for a couple days now but I keep running into the error 61020. At first I thought it was because the servers were doing maintenence or something but my friend tried on FFCC and mario kart ds and was able to get in just fine. I'm not really smart with these kinds of things so I don't really understand what's going wrong aside from maybe it not working through my router or with my ISP, but I'm not sure what to do about it. Any help would be appreciated.

Sorry if this is redundant to previous users or if it seems obvious, thanks in advance.

The error 61020 is a maintenance error, which is strange except if you guys were trying it when it was offline. I must ask, are you guys using an internet dump of the firmware?

StrangeSleuth
Posted on 10-22-21 06:24 PM Link | #4610
Posted by Wifall
The error 61020 is a maintenance error, which is strange except if you guys were trying it when it was offline. I must ask, are you guys using an internet dump of the firmware?


Thank you for responding.
For clarification, my friend was able to connect fine with no errors, it's just me that's having the issue.

As for your question I'm not sure what you mean by it?

Wifall
Posted on 10-22-21 06:31 PM Link | #4611
Posted by StrangeSleuth
Thank you for responding.
For clarification, my friend was able to connect fine with no errors, it's just me that's having the issue.

As for your question I'm not sure what you mean by it?

I asked if you downloaded your copy of the firmware from the internet. It's something that I saw happening a lot due to the complications of people not knowing how to dump their own firmware.

StrangeSleuth
Posted on 10-23-21 06:02 AM Link | #4612
Posted by Wifall
I asked if you downloaded your copy of the firmware from the internet. It's something that I saw happening a lot due to the complications of people not knowing how to dump their own firmware.


Oh okay, yeah I am. But so is my friend.

Wifall
Posted on 10-23-21 05:51 PM Link | #4614
Posted by StrangeSleuth
Oh okay, yeah I am. But so is my friend.

That's probably the reason, your friend probably did delete the previous WFC settings of the firmware while you didn't. Try following the Extra Step on the tutorial to do so, keep in mind that you'll need to the configuration all over again.

StrangeSleuth
Posted on 10-26-21 06:51 AM Link | #4629
Posted by Wifall
That's probably the reason, your friend probably did delete the previous WFC settings of the firmware while you didn't. Try following the Extra Step on the tutorial to do so, keep in mind that you'll need to the configuration all over again.


Sorry for the late reply, and thank you for replying again! I tried the extra step a few times when I was trying to get it to run on my end and it still always gave me the same error as before. Which leads me to believe that I might be having kind of a unique issue to me and I don't have technical knowledge to figure it out so for now it seems like a lost cause, but if I figure it out I guess I'll post what was wrong.

Thanks again.
Pages: 1 2 3 4 5 6 7

Main - General - Tutorial: How to Connect to WFC in MelonDS (Updated 23/09/2023) Hide post layouts | New reply

Page rendered in 0.046 seconds. (2048KB of memory used)
MySQL - queries: 29, rows: 116/116, time: 0.023 seconds.
[powered by Acmlm] Acmlmboard 2.064 (2018-07-20)
© 2005-2008 Acmlm, Xkeeper, blackhole89 et al.